use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class HOGDescriptor method detect.
//
// C++: void detect(Mat img, vector_Point& foundLocations, vector_double& weights, double hitThreshold = 0, Size winStride = Size(), Size padding = Size(), vector_Point searchLocations = std::vector<Point>())
//
// javadoc: HOGDescriptor::detect(img, foundLocations, weights, hitThreshold, winStride, padding, searchLocations)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride, Size padding, MatOfPoint searchLocations) {
Mat foundLocations_mat = foundLocations;
Mat weights_mat = weights;
Mat searchLocations_mat = searchLocations;
detect_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, searchLocations_mat.nativeObj);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class Objdetect method groupRectangles.
// javadoc: groupRectangles(rectList, weights, groupThreshold)
public static void groupRectangles(MatOfRect rectList, MatOfInt weights, int groupThreshold) {
Mat rectList_mat = rectList;
Mat weights_mat = weights;
groupRectangles_1(rectList_mat.nativeObj, weights_mat.nativeObj, groupThreshold);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class AlignMTB method process.
//
// C++: void process(vector_Mat src, vector_Mat dst)
//
// 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;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class AlignMTB method process.
//
// C++: void process(vector_Mat src, vector_Mat dst, Mat times, Mat response)
//
// 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;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class MergeExposures method process.
//
// C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response)
//
// javadoc: MergeExposures::process(src, dst, times, response)
public void process(List<Mat> src, Mat dst, Mat times, Mat response) {
Mat src_mat = Converters.vector_Mat_to_Mat(src);
process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj, response.nativeObj);
return;
}
Aggregations