Class AgastFeatureDetector
java.lang.Object
org.opencv.core.Algorithm
org.opencv.features2d.Feature2D
org.opencv.features2d.AgastFeatureDetector
Wrapping class for feature detection using the AGAST method. :
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgastFeatureDetector__fromPtr__(long addr) static AgastFeatureDetectorcreate()static AgastFeatureDetectorcreate(int threshold) static AgastFeatureDetectorcreate(int threshold, boolean nonmaxSuppression) static AgastFeatureDetectorcreate(int threshold, boolean nonmaxSuppression, int type) protected voidfinalize()Returns the algorithm string identifier.booleanintintgetType()voidsetNonmaxSuppression(boolean f) voidsetThreshold(int threshold) voidsetType(int type) Methods inherited from class Feature2D
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, writeMethods inherited from class Algorithm
clear, getNativeObjAddr, save
-
Field Details
-
THRESHOLD
public static final int THRESHOLD- See Also:
-
NONMAX_SUPPRESSION
public static final int NONMAX_SUPPRESSION- See Also:
-
AGAST_5_8
public static final int AGAST_5_8- See Also:
-
AGAST_7_12d
public static final int AGAST_7_12d- See Also:
-
AGAST_7_12s
public static final int AGAST_7_12s- See Also:
-
OAST_9_16
public static final int OAST_9_16- See Also:
-
-
Constructor Details
-
AgastFeatureDetector
protected AgastFeatureDetector(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: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
-
finalize
-