@Namespace(value="cv") @Properties(inherit=opencv_features2d.class) public class AKAZE extends Feature2D
\details 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.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
DESCRIPTOR_KAZE
enum cv::AKAZE::DescriptorType
|
static int |
DESCRIPTOR_KAZE_UPRIGHT
enum cv::AKAZE::DescriptorType
|
static int |
DESCRIPTOR_MLDB
enum cv::AKAZE::DescriptorType
|
static int |
DESCRIPTOR_MLDB_UPRIGHT
enum cv::AKAZE::DescriptorType
|
Constructor and Description |
---|
AKAZE(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static AKAZE |
create() |
static AKAZE |
create(int descriptor_type,
int descriptor_size,
int descriptor_channels,
float threshold,
int nOctaves,
int nOctaveLayers,
int diffusivity)
\brief The AKAZE constructor
|
BytePointer |
getDefaultName()
Returns the algorithm string identifier.
|
int |
getDescriptorChannels() |
int |
getDescriptorSize() |
int |
getDescriptorType() |
int |
getDiffusivity() |
int |
getNOctaveLayers() |
int |
getNOctaves() |
double |
getThreshold() |
void |
setDescriptorChannels(int dch) |
void |
setDescriptorSize(int dsize) |
void |
setDescriptorType(int dtype) |
void |
setDiffusivity(int diff) |
void |
setNOctaveLayers(int octaveLayers) |
void |
setNOctaves(int octaves) |
void |
setThreshold(double threshold) |
compute, compute, compute, compute, compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, empty, position, read, read, read, write, write, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int DESCRIPTOR_KAZE_UPRIGHT
public static final int DESCRIPTOR_KAZE
public static final int DESCRIPTOR_MLDB_UPRIGHT
public static final int DESCRIPTOR_MLDB
public AKAZE(Pointer p)
Pointer.Pointer(Pointer)
.@opencv_core.Ptr public static AKAZE create(@Cast(value="cv::AKAZE::DescriptorType") int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers, @Cast(value="cv::KAZE::DiffusivityType") int diffusivity)
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 sizedescriptor_channels
- Number of channels in the descriptor (1, 2, 3)threshold
- Detector response threshold to accept pointnOctaves
- Maximum octave evolution of the imagenOctaveLayers
- Default number of sublevels per scale leveldiffusivity
- Diffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or
DIFF_CHARBONNIER@opencv_core.Ptr public static AKAZE create()
public void setDescriptorSize(int dsize)
public int getDescriptorSize()
public void setDescriptorChannels(int dch)
public int getDescriptorChannels()
public void setThreshold(double threshold)
public double getThreshold()
public void setNOctaves(int octaves)
public int getNOctaves()
public void setNOctaveLayers(int octaveLayers)
public int getNOctaveLayers()
@opencv_core.Str public BytePointer getDefaultName()
Algorithm
getDefaultName
in class Feature2D
Copyright © 2020. All rights reserved.