Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.opencv.ximgproc.StructuredEdgeDetection Maven / Gradle / Ivy
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ximgproc;
import org.opencv.core.Algorithm;
import org.opencv.core.Mat;
// C++: class StructuredEdgeDetection
//javadoc: StructuredEdgeDetection
public class StructuredEdgeDetection extends Algorithm {
protected StructuredEdgeDetection(long addr) { super(addr); }
// internal usage only
public static StructuredEdgeDetection __fromPtr__(long addr) { return new StructuredEdgeDetection(addr); }
//
// C++: void computeOrientation(Mat _src, Mat& _dst)
//
//javadoc: StructuredEdgeDetection::computeOrientation(_src, _dst)
public void computeOrientation(Mat _src, Mat _dst)
{
computeOrientation_0(nativeObj, _src.nativeObj, _dst.nativeObj);
return;
}
//
// C++: void detectEdges(Mat _src, Mat& _dst)
//
//javadoc: StructuredEdgeDetection::detectEdges(_src, _dst)
public void detectEdges(Mat _src, Mat _dst)
{
detectEdges_0(nativeObj, _src.nativeObj, _dst.nativeObj);
return;
}
//
// C++: void edgesNms(Mat edge_image, Mat orientation_image, Mat& _dst, int r = 2, int s = 0, float m = 1, bool isParallel = true)
//
//javadoc: StructuredEdgeDetection::edgesNms(edge_image, orientation_image, _dst, r, s, m, isParallel)
public void edgesNms(Mat edge_image, Mat orientation_image, Mat _dst, int r, int s, float m, boolean isParallel)
{
edgesNms_0(nativeObj, edge_image.nativeObj, orientation_image.nativeObj, _dst.nativeObj, r, s, m, isParallel);
return;
}
//javadoc: StructuredEdgeDetection::edgesNms(edge_image, orientation_image, _dst)
public void edgesNms(Mat edge_image, Mat orientation_image, Mat _dst)
{
edgesNms_1(nativeObj, edge_image.nativeObj, orientation_image.nativeObj, _dst.nativeObj);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: void computeOrientation(Mat _src, Mat& _dst)
private static native void computeOrientation_0(long nativeObj, long _src_nativeObj, long _dst_nativeObj);
// C++: void detectEdges(Mat _src, Mat& _dst)
private static native void detectEdges_0(long nativeObj, long _src_nativeObj, long _dst_nativeObj);
// C++: void edgesNms(Mat edge_image, Mat orientation_image, Mat& _dst, int r = 2, int s = 0, float m = 1, bool isParallel = true)
private static native void edgesNms_0(long nativeObj, long edge_image_nativeObj, long orientation_image_nativeObj, long _dst_nativeObj, int r, int s, float m, boolean isParallel);
private static native void edgesNms_1(long nativeObj, long edge_image_nativeObj, long orientation_image_nativeObj, long _dst_nativeObj);
// native support for java finalize()
private static native void delete(long nativeObj);
}