use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class DescriptorMatcher method match.
//
// C++: void match(Mat queryDescriptors, vector_DMatch& matches, vector_Mat masks = vector_Mat())
//
// javadoc: DescriptorMatcher::match(queryDescriptors, matches, masks)
public void match(Mat queryDescriptors, MatOfDMatch matches, List<Mat> masks) {
Mat matches_mat = matches;
Mat masks_mat = Converters.vector_Mat_to_Mat(masks);
match_2(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj, masks_mat.nativeObj);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class Core method meanStdDev.
// javadoc: meanStdDev(src, mean, stddev)
public static void meanStdDev(Mat src, MatOfDouble mean, MatOfDouble stddev) {
Mat mean_mat = mean;
Mat stddev_mat = stddev;
meanStdDev_1(src.nativeObj, mean_mat.nativeObj, stddev_mat.nativeObj);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class Core method split.
//
// C++: void split(Mat m, vector_Mat& mv)
//
// javadoc: split(m, mv)
public static void split(Mat m, List<Mat> mv) {
Mat mv_mat = new Mat();
split_0(m.nativeObj, mv_mat.nativeObj);
Converters.Mat_to_vector_Mat(mv_mat, mv);
mv_mat.release();
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class Core method vconcat.
//
// C++: void vconcat(vector_Mat src, Mat& dst)
//
// javadoc: vconcat(src, dst)
public static void vconcat(List<Mat> src, Mat dst) {
Mat src_mat = Converters.vector_Mat_to_Mat(src);
vconcat_0(src_mat.nativeObj, dst.nativeObj);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class DescriptorMatcher method knnMatch.
// javadoc: DescriptorMatcher::knnMatch(queryDescriptors, matches, k)
public void knnMatch(Mat queryDescriptors, List<MatOfDMatch> matches, int k) {
Mat matches_mat = new Mat();
knnMatch_3(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj, k);
Converters.Mat_to_vector_vector_DMatch(matches_mat, matches);
matches_mat.release();
return;
}
Aggregations