Package org.opencv.features2d
Class FastFeatureDetector
java.lang.Object
org.opencv.core.Algorithm
org.opencv.features2d.Feature2D
org.opencv.features2d.FastFeatureDetector
Wrapping class for feature detection using the FAST method. :
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FastFeatureDetector
__fromPtr__
(long addr) static FastFeatureDetector
create()
static FastFeatureDetector
create
(int threshold) static FastFeatureDetector
create
(int threshold, boolean nonmaxSuppression) static FastFeatureDetector
create
(int threshold, boolean nonmaxSuppression, int type) protected void
finalize()
Returns the algorithm string identifier.boolean
int
int
getType()
void
setNonmaxSuppression
(boolean f) void
setThreshold
(int threshold) void
setType
(int type) Methods inherited from class org.opencv.features2d.Feature2D
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
Methods inherited from class org.opencv.core.Algorithm
clear, getNativeObjAddr, save
-
Field Details
-
THRESHOLD
public static final int THRESHOLD- See Also:
-
NONMAX_SUPPRESSION
public static final int NONMAX_SUPPRESSION- See Also:
-
FAST_N
public static final int FAST_N- See Also:
-
TYPE_5_8
public static final int TYPE_5_8- See Also:
-
TYPE_7_12
public static final int TYPE_7_12- See Also:
-
TYPE_9_16
public static final int TYPE_9_16- See Also:
-
-
Constructor Details
-
FastFeatureDetector
protected FastFeatureDetector(long addr)
-
-
Method Details
-
__fromPtr__
-
create
-
create
-
create
-
create
-
setThreshold
public void setThreshold(int threshold) -
getThreshold
public int getThreshold() -
setNonmaxSuppression
public void setNonmaxSuppression(boolean f) -
getNonmaxSuppression
public boolean getNonmaxSuppression() -
setType
public void setType(int type) -
getType
public int getType() -
getDefaultName
Description copied from class:Algorithm
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.- Overrides:
getDefaultName
in classFeature2D
- Returns:
- automatically generated
-
finalize
-