Package org.opencv.features2d
Class FastFeatureDetector
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.features2d.FastFeatureDetector
-
public class FastFeatureDetector extends Feature2D
Wrapping class for feature detection using the FAST method. :
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFastFeatureDetector(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FastFeatureDetector__fromPtr__(long addr)static FastFeatureDetectorcreate()static FastFeatureDetectorcreate(int threshold)static FastFeatureDetectorcreate(int threshold, boolean nonmaxSuppression)static FastFeatureDetectorcreate(int threshold, boolean nonmaxSuppression, int type)protected voidfinalize()StringgetDefaultName()Returns the algorithm string identifier.booleangetNonmaxSuppression()intgetThreshold()intgetType()voidsetNonmaxSuppression(boolean f)voidsetThreshold(int threshold)voidsetType(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 Detail
-
TYPE_5_8
public static final int TYPE_5_8
- See Also:
- Constant Field Values
-
TYPE_7_12
public static final int TYPE_7_12
- See Also:
- Constant Field Values
-
TYPE_9_16
public static final int TYPE_9_16
- See Also:
- Constant Field Values
-
THRESHOLD
public static final int THRESHOLD
- See Also:
- Constant Field Values
-
NONMAX_SUPPRESSION
public static final int NONMAX_SUPPRESSION
- See Also:
- Constant Field Values
-
FAST_N
public static final int FAST_N
- See Also:
- Constant Field Values
-
-
Method Detail
-
__fromPtr__
public static FastFeatureDetector __fromPtr__(long addr)
-
create
public static FastFeatureDetector create(int threshold, boolean nonmaxSuppression, int type)
-
create
public static FastFeatureDetector create(int threshold, boolean nonmaxSuppression)
-
create
public static FastFeatureDetector create(int threshold)
-
create
public static FastFeatureDetector create()
-
getDefaultName
public String getDefaultName()
Description copied from class:AlgorithmReturns 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:
getDefaultNamein classFeature2D- Returns:
- automatically generated
-
getNonmaxSuppression
public boolean getNonmaxSuppression()
-
getThreshold
public int getThreshold()
-
getType
public int getType()
-
setNonmaxSuppression
public void setNonmaxSuppression(boolean f)
-
setThreshold
public void setThreshold(int threshold)
-
setType
public void setType(int type)
-
-