Package org.opencv.features2d
Class KAZE
- java.lang.Object
- 
- org.opencv.core.Algorithm
- 
- org.opencv.features2d.Feature2D
- 
- org.opencv.features2d.KAZE
 
 
 
- 
 public class KAZE extends Feature2D Class implementing the KAZE keypoint detector and descriptor extractor, described in CITE: ABD12 . Note: AKAZE descriptor can only be used with KAZE or AKAZE keypoints .. [ABD12] KAZE Features. Pablo F. Alcantarilla, Adrien Bartoli and Andrew J. Davison. In European Conference on Computer Vision (ECCV), Fiorenze, Italy, October 2012.
- 
- 
Field SummaryFields Modifier and Type Field Description static intDIFF_CHARBONNIERstatic intDIFF_PM_G1static intDIFF_PM_G2static intDIFF_WEICKERT
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedKAZE(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KAZE__fromPtr__(long addr)static KAZEcreate()The KAZE constructor DIFF_CHARBONNIERstatic KAZEcreate(boolean extended)The KAZE constructorstatic KAZEcreate(boolean extended, boolean upright)The KAZE constructorstatic KAZEcreate(boolean extended, boolean upright, float threshold)The KAZE constructorstatic KAZEcreate(boolean extended, boolean upright, float threshold, int nOctaves)The KAZE constructorstatic KAZEcreate(boolean extended, boolean upright, float threshold, int nOctaves, int nOctaveLayers)The KAZE constructorstatic KAZEcreate(boolean extended, boolean upright, float threshold, int nOctaves, int nOctaveLayers, int diffusivity)The KAZE constructorprotected voidfinalize()java.lang.StringgetDefaultName()Returns the algorithm string identifier.intgetDiffusivity()booleangetExtended()intgetNOctaveLayers()intgetNOctaves()doublegetThreshold()booleangetUpright()voidsetDiffusivity(int diff)voidsetExtended(boolean extended)voidsetNOctaveLayers(int octaveLayers)voidsetNOctaves(int octaves)voidsetThreshold(double threshold)voidsetUpright(boolean upright)- 
Methods inherited from class org.opencv.features2d.Feature2Dcompute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
 - 
Methods inherited from class org.opencv.core.Algorithmclear, getNativeObjAddr, save
 
- 
 
- 
- 
- 
Field Detail- 
DIFF_PM_G1public static final int DIFF_PM_G1 - See Also:
- Constant Field Values
 
 - 
DIFF_PM_G2public static final int DIFF_PM_G2 - See Also:
- Constant Field Values
 
 - 
DIFF_WEICKERTpublic static final int DIFF_WEICKERT - See Also:
- Constant Field Values
 
 - 
DIFF_CHARBONNIERpublic static final int DIFF_CHARBONNIER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
__fromPtr__public static KAZE __fromPtr__(long addr) 
 - 
createpublic static KAZE create(boolean extended, boolean upright, float threshold, int nOctaves, int nOctaveLayers, int diffusivity) The KAZE constructor- Parameters:
- extended- Set to enable extraction of extended (128-byte) descriptor.
- upright- Set to enable use of upright descriptors (non rotation-invariant).
- threshold- Detector response threshold to accept point
- nOctaves- Maximum octave evolution of the image
- nOctaveLayers- Default number of sublevels per scale level
- diffusivity- Diffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
- Returns:
- automatically generated
 
 - 
createpublic static KAZE create(boolean extended, boolean upright, float threshold, int nOctaves, int nOctaveLayers) The KAZE constructor- Parameters:
- extended- Set to enable extraction of extended (128-byte) descriptor.
- upright- Set to enable use of upright descriptors (non rotation-invariant).
- threshold- Detector response threshold to accept point
- nOctaves- Maximum octave evolution of the image
- nOctaveLayers- Default number of sublevels per scale level DIFF_CHARBONNIER
- Returns:
- automatically generated
 
 - 
createpublic static KAZE create(boolean extended, boolean upright, float threshold, int nOctaves) The KAZE constructor- Parameters:
- extended- Set to enable extraction of extended (128-byte) descriptor.
- upright- Set to enable use of upright descriptors (non rotation-invariant).
- threshold- Detector response threshold to accept point
- nOctaves- Maximum octave evolution of the image DIFF_CHARBONNIER
- Returns:
- automatically generated
 
 - 
createpublic static KAZE create(boolean extended, boolean upright, float threshold) The KAZE constructor- Parameters:
- extended- Set to enable extraction of extended (128-byte) descriptor.
- upright- Set to enable use of upright descriptors (non rotation-invariant).
- threshold- Detector response threshold to accept point DIFF_CHARBONNIER
- Returns:
- automatically generated
 
 - 
createpublic static KAZE create(boolean extended, boolean upright) The KAZE constructor- Parameters:
- extended- Set to enable extraction of extended (128-byte) descriptor.
- upright- Set to enable use of upright descriptors (non rotation-invariant). DIFF_CHARBONNIER
- Returns:
- automatically generated
 
 - 
createpublic static KAZE create(boolean extended) The KAZE constructor- Parameters:
- extended- Set to enable extraction of extended (128-byte) descriptor. DIFF_CHARBONNIER
- Returns:
- automatically generated
 
 - 
createpublic static KAZE create() The KAZE constructor DIFF_CHARBONNIER- Returns:
- automatically generated
 
 - 
setExtendedpublic void setExtended(boolean extended) 
 - 
getExtendedpublic boolean getExtended() 
 - 
setUprightpublic void setUpright(boolean upright) 
 - 
getUprightpublic boolean getUpright() 
 - 
setThresholdpublic void setThreshold(double threshold) 
 - 
getThresholdpublic double getThreshold() 
 - 
setNOctavespublic void setNOctaves(int octaves) 
 - 
getNOctavespublic int getNOctaves() 
 - 
setNOctaveLayerspublic void setNOctaveLayers(int octaveLayers) 
 - 
getNOctaveLayerspublic int getNOctaveLayers() 
 - 
setDiffusivitypublic void setDiffusivity(int diff) 
 - 
getDiffusivitypublic int getDiffusivity() 
 - 
getDefaultNamepublic java.lang.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 class- Feature2D
- Returns:
- automatically generated
 
 
- 
 
-