org.bytedeco.opencv.opencv_features2d.FastFeatureDetector Maven / Gradle / Ivy
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
package org.bytedeco.opencv.opencv_features2d;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import org.bytedeco.opencv.opencv_core.*;
import static org.bytedeco.opencv.global.opencv_core.*;
import org.bytedeco.opencv.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_imgcodecs.*;
import org.bytedeco.opencv.opencv_videoio.*;
import static org.bytedeco.opencv.global.opencv_videoio.*;
import org.bytedeco.opencv.opencv_highgui.*;
import static org.bytedeco.opencv.global.opencv_highgui.*;
import org.bytedeco.opencv.opencv_flann.*;
import static org.bytedeco.opencv.global.opencv_flann.*;
import static org.bytedeco.opencv.global.opencv_features2d.*;
/** \} features2d_main
* \addtogroup features2d_main
* \{
/** \brief Wrapping class for feature detection using the FAST method. :
*/
@Namespace("cv") @Properties(inherit = org.bytedeco.opencv.presets.opencv_features2d.class)
public class FastFeatureDetector extends Feature2D {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public FastFeatureDetector(Pointer p) { super(p); }
/** enum cv::FastFeatureDetector::DetectorType */
public static final int
TYPE_5_8 = 0, TYPE_7_12 = 1, TYPE_9_16 = 2;
/** enum cv::FastFeatureDetector:: */
public static final int
THRESHOLD = 10000, NONMAX_SUPPRESSION = 10001, FAST_N = 10002;
public static native @Ptr FastFeatureDetector create( int threshold/*=10*/,
@Cast("bool") boolean nonmaxSuppression/*=true*/,
@Cast("cv::FastFeatureDetector::DetectorType") int type/*=cv::FastFeatureDetector::TYPE_9_16*/ );
public static native @Ptr FastFeatureDetector create( );
public native void setThreshold(int threshold);
public native int getThreshold();
public native void setNonmaxSuppression(@Cast("bool") boolean f);
public native @Cast("bool") boolean getNonmaxSuppression();
public native void setType(@Cast("cv::FastFeatureDetector::DetectorType") int type);
public native @Cast("cv::FastFeatureDetector::DetectorType") int getType();
public native @Str @Override BytePointer getDefaultName();
}