Package org.opencv.features2d
Class AgastFeatureDetector
java.lang.Object
org.opencv.core.Algorithm
org.opencv.features2d.Feature2D
org.opencv.features2d.AgastFeatureDetector
public class AgastFeatureDetector extends Feature2D
Wrapping class for feature detection using the AGAST method. :
-
Field Summary
Fields Modifier and Type Field Description static int
AGAST_5_8
static int
AGAST_7_12d
static int
AGAST_7_12s
static int
NONMAX_SUPPRESSION
static int
OAST_9_16
static int
THRESHOLD
-
Constructor Summary
Constructors Modifier Constructor Description protected
AgastFeatureDetector(long addr)
-
Method Summary
Modifier and Type Method Description static AgastFeatureDetector
__fromPtr__(long addr)
static AgastFeatureDetector
create()
static AgastFeatureDetector
create(int threshold)
static AgastFeatureDetector
create(int threshold, boolean nonmaxSuppression)
static AgastFeatureDetector
create(int threshold, boolean nonmaxSuppression, int type)
protected void
finalize()
String
getDefaultName()
Returns the algorithm string identifier.boolean
getNonmaxSuppression()
int
getThreshold()
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
-
Field Details
-
THRESHOLD
- See Also:
- Constant Field Values
-
NONMAX_SUPPRESSION
- See Also:
- Constant Field Values
-
AGAST_5_8
- See Also:
- Constant Field Values
-
AGAST_7_12d
- See Also:
- Constant Field Values
-
AGAST_7_12s
- See Also:
- Constant Field Values
-
OAST_9_16
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
__fromPtr__
-
create
-
create
-
create
-
create
-
setThreshold
-
getThreshold
-
setNonmaxSuppression
-
getNonmaxSuppression
-
setType
-
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
-