Example #1
0
  // javadoc: AlignMTB::process(src, dst, times, response)
  public void process(List<Mat> src, List<Mat> dst, Mat times, Mat response) {
    Mat src_mat = Converters.vector_Mat_to_Mat(src);
    Mat dst_mat = Converters.vector_Mat_to_Mat(dst);
    process_0(nativeObj, src_mat.nativeObj, dst_mat.nativeObj, times.nativeObj, response.nativeObj);

    return;
  }
Example #2
0
  // javadoc: AlignMTB::process(src, dst)
  public void process(List<Mat> src, List<Mat> dst) {
    Mat src_mat = Converters.vector_Mat_to_Mat(src);
    Mat dst_mat = Converters.vector_Mat_to_Mat(dst);
    process_1(nativeObj, src_mat.nativeObj, dst_mat.nativeObj);

    return;
  }
 /**
  * Detects keypoints in an image (first variant) or image set (second variant).
  *
  * @param images Image set.
  * @param keypoints The detected keypoints. In the second variant of the method <code>keypoints[i]
  *     </code> is a set of keypoints detected in <code>images[i]</code>.
  * @param masks Masks for each input image specifying where to look for keypoints (optional).
  *     <code>masks[i]</code> is a mask for <code>images[i]</code>.
  * @see <a
  *     href="http://docs.opencv.org/modules/features2d/doc/common_interfaces_of_feature_detectors.html#featuredetector-detect">org.opencv.features2d.FeatureDetector.detect</a>
  */
 public void detect(List<Mat> images, List<MatOfKeyPoint> keypoints, List<Mat> masks) {
   Mat images_mat = Converters.vector_Mat_to_Mat(images);
   Mat keypoints_mat = new Mat();
   Mat masks_mat = Converters.vector_Mat_to_Mat(masks);
   detect_2(nativeObj, images_mat.nativeObj, keypoints_mat.nativeObj, masks_mat.nativeObj);
   Converters.Mat_to_vector_vector_KeyPoint(keypoints_mat, keypoints);
   return;
 }
  public void setMatVector(String name, List<Mat> value) {
    Mat value_mat = Converters.vector_Mat_to_Mat(value);
    setMatVector_0(nativeObj, name, value_mat.nativeObj);

    return;
  }