AKAZE
Class implementing the AKAZE keypoint detector and descriptor extractor, described in CITE: ANB13.
AKAZE descriptors can only be used with KAZE or AKAZE keypoints. This class is thread-safe.
Note
When you need descriptors use Feature2D::detectAndCompute, which provides better performance. When using Feature2D::detect followed by Feature2D::compute scale space pyramid is computed twice.
Note
AKAZE implements T-API. When image is passed as UMat some parts of the algorithm will use OpenCL.
Note
[ANB13] Fast Explicit Diffusion for Accelerated Features in Nonlinear Scale Spaces. Pablo F. Alcantarilla, Jesús Nuevo and Adrien Bartoli. In British Machine Vision Conference (BMVC), Bristol, UK, September 2013.
Member of Features2d
-
Declaration
Objective-C
- (DescriptorType)getDescriptorType NS_SWIFT_NAME(getDescriptorType());
Swift
func getDescriptorType() -> DescriptorType
-
Declaration
Objective-C
- (DiffusivityType)getDiffusivity NS_SWIFT_NAME(getDiffusivity());
Swift
func getDiffusivity() -> DiffusivityType
-
The AKAZE constructor
Declaration
Objective-C
+ (nonnull AKAZE *)create:(DescriptorType)descriptor_type descriptor_size:(int)descriptor_size descriptor_channels:(int)descriptor_channels threshold:(float)threshold nOctaves:(int)nOctaves nOctaveLayers:(int)nOctaveLayers diffusivity:(DiffusivityType)diffusivity;
Swift
class func create(descriptor_type: DescriptorType, descriptor_size: Int32, descriptor_channels: Int32, threshold: Float, nOctaves: Int32, nOctaveLayers: Int32, diffusivity: DiffusivityType) -> AKAZE
Parameters
descriptor_type
Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_size
Size of the descriptor in bits. 0 -> Full size
descriptor_channels
Number of channels in the descriptor (1, 2, 3)
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
-
The AKAZE constructor
Declaration
Objective-C
+ (nonnull AKAZE *)create:(DescriptorType)descriptor_type descriptor_size:(int)descriptor_size descriptor_channels:(int)descriptor_channels threshold:(float)threshold nOctaves:(int)nOctaves nOctaveLayers:(int)nOctaveLayers;
Swift
class func create(descriptor_type: DescriptorType, descriptor_size: Int32, descriptor_channels: Int32, threshold: Float, nOctaves: Int32, nOctaveLayers: Int32) -> AKAZE
Parameters
descriptor_type
Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_size
Size of the descriptor in bits. 0 -> Full size
descriptor_channels
Number of channels in the descriptor (1, 2, 3)
threshold
Detector response threshold to accept point
nOctaves
Maximum octave evolution of the image
nOctaveLayers
Default number of sublevels per scale level DIFF_CHARBONNIER
-
The AKAZE constructor
Declaration
Objective-C
+ (nonnull AKAZE *)create:(DescriptorType)descriptor_type descriptor_size:(int)descriptor_size descriptor_channels:(int)descriptor_channels threshold:(float)threshold nOctaves:(int)nOctaves;
Swift
class func create(descriptor_type: DescriptorType, descriptor_size: Int32, descriptor_channels: Int32, threshold: Float, nOctaves: Int32) -> AKAZE
Parameters
descriptor_type
Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_size
Size of the descriptor in bits. 0 -> Full size
descriptor_channels
Number of channels in the descriptor (1, 2, 3)
threshold
Detector response threshold to accept point
nOctaves
Maximum octave evolution of the image DIFF_CHARBONNIER
-
The AKAZE constructor
Declaration
Objective-C
+ (nonnull AKAZE *)create:(DescriptorType)descriptor_type descriptor_size:(int)descriptor_size descriptor_channels:(int)descriptor_channels threshold:(float)threshold;
Swift
class func create(descriptor_type: DescriptorType, descriptor_size: Int32, descriptor_channels: Int32, threshold: Float) -> AKAZE
Parameters
descriptor_type
Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_size
Size of the descriptor in bits. 0 -> Full size
descriptor_channels
Number of channels in the descriptor (1, 2, 3)
threshold
Detector response threshold to accept point DIFF_CHARBONNIER
-
The AKAZE constructor
Declaration
Objective-C
+ (nonnull AKAZE *)create:(DescriptorType)descriptor_type descriptor_size:(int)descriptor_size descriptor_channels:(int)descriptor_channels;
Swift
class func create(descriptor_type: DescriptorType, descriptor_size: Int32, descriptor_channels: Int32) -> AKAZE
Parameters
descriptor_type
Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_size
Size of the descriptor in bits. 0 -> Full size
descriptor_channels
Number of channels in the descriptor (1, 2, 3) DIFF_CHARBONNIER
-
The AKAZE constructor
Declaration
Objective-C
+ (nonnull AKAZE *)create:(DescriptorType)descriptor_type descriptor_size:(int)descriptor_size;
Swift
class func create(descriptor_type: DescriptorType, descriptor_size: Int32) -> AKAZE
Parameters
descriptor_type
Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_size
Size of the descriptor in bits. 0 -> Full size DIFF_CHARBONNIER
-
The AKAZE constructor
Declaration
Objective-C
+ (nonnull AKAZE *)create:(DescriptorType)descriptor_type;
Swift
class func create(descriptor_type: DescriptorType) -> AKAZE
Parameters
descriptor_type
Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT. DIFF_CHARBONNIER
-
The AKAZE constructor
DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT. DIFF_CHARBONNIER
Declaration
Objective-C
+ (nonnull AKAZE *)create;
Swift
class func create() -> AKAZE
-
Declaration
Objective-C
- (nonnull NSString *)getDefaultName;
Swift
func getDefaultName() -> String
-
Declaration
Objective-C
- (double)getThreshold NS_SWIFT_NAME(getThreshold());
Swift
func getThreshold() -> Double
-
Declaration
Objective-C
- (int)getDescriptorChannels NS_SWIFT_NAME(getDescriptorChannels());
Swift
func getDescriptorChannels() -> Int32
-
Declaration
Objective-C
- (int)getDescriptorSize NS_SWIFT_NAME(getDescriptorSize());
Swift
func getDescriptorSize() -> Int32
-
Declaration
Objective-C
- (int)getNOctaveLayers NS_SWIFT_NAME(getNOctaveLayers());
Swift
func getNOctaveLayers() -> Int32
-
Declaration
Objective-C
- (int)getNOctaves NS_SWIFT_NAME(getNOctaves());
Swift
func getNOctaves() -> Int32
-
Declaration
Objective-C
- (void)setDescriptorChannels:(int)dch NS_SWIFT_NAME(setDescriptorChannels(dch:));
Swift
func setDescriptorChannels(dch: Int32)
-
Declaration
Objective-C
- (void)setDescriptorSize:(int)dsize NS_SWIFT_NAME(setDescriptorSize(dsize:));
Swift
func setDescriptorSize(dsize: Int32)
-
Declaration
Objective-C
- (void)setDescriptorType:(DescriptorType)dtype NS_SWIFT_NAME(setDescriptorType(dtype:));
Swift
func setDescriptorType(dtype: DescriptorType)
-
Declaration
Objective-C
- (void)setDiffusivity:(DiffusivityType)diff NS_SWIFT_NAME(setDiffusivity(diff:));
Swift
func setDiffusivity(diff: DiffusivityType)
-
Declaration
Objective-C
- (void)setNOctaveLayers:(int)octaveLayers NS_SWIFT_NAME(setNOctaveLayers(octaveLayers:));
Swift
func setNOctaveLayers(octaveLayers: Int32)
-
Declaration
Objective-C
- (void)setNOctaves:(int)octaves NS_SWIFT_NAME(setNOctaves(octaves:));
Swift
func setNOctaves(octaves: Int32)
-
Declaration
Objective-C
- (void)setThreshold:(double)threshold NS_SWIFT_NAME(setThreshold(threshold:));
Swift
func setThreshold(threshold: Double)