OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Features2dModule.AKAZE Class Reference

Class implementing the AKAZE keypoint detector and descriptor extractor, described in [ANB13]. More...

Public Member Functions

override string getDefaultName ()
 
int getDescriptorChannels ()
 
int getDescriptorSize ()
 
int getDescriptorType ()
 
int getDiffusivity ()
 
int getMaxPoints ()
 
int getNOctaveLayers ()
 
int getNOctaves ()
 
double getThreshold ()
 
void setDescriptorChannels (int dch)
 
void setDescriptorSize (int dsize)
 
void setDescriptorType (int dtype)
 
void setDiffusivity (int diff)
 
void setMaxPoints (int max_points)
 
void setNOctaveLayers (int octaveLayers)
 
void setNOctaves (int octaves)
 
void setThreshold (double threshold)
 
- Public Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
void compute (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > descriptors)
 
void compute (Mat image, MatOfKeyPoint keypoints, Mat descriptors)
 Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).
 
int defaultNorm ()
 
int descriptorSize ()
 
int descriptorType ()
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints)
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > masks)
 
void detect (Mat image, MatOfKeyPoint keypoints)
 Detects keypoints in an image (first variant) or image set (second variant).
 
void detect (Mat image, MatOfKeyPoint keypoints, Mat mask)
 Detects keypoints in an image (first variant) or image set (second variant).
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors)
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors, bool useProvidedKeypoints)
 
override bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
override string getDefaultName ()
 
void read (string fileName)
 
void write (string fileName)
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
virtual void clear ()
 Clears the algorithm state.
 
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new AKAZE __fromPtr__ (IntPtr addr)
 
static AKAZE create ()
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type)
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type, int descriptor_size)
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type, int descriptor_size, int descriptor_channels)
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type, int descriptor_size, int descriptor_channels, float threshold)
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves)
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers)
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers, int diffusivity)
 The AKAZE constructor.
 
static AKAZE create (int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers, int diffusivity, int max_points)
 The AKAZE constructor.
 
- Static Public Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
static new Feature2D __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Static Public Attributes

const int DESCRIPTOR_KAZE = 3
 
const int DESCRIPTOR_KAZE_UPRIGHT = 2
 
const int DESCRIPTOR_MLDB = 5
 
const int DESCRIPTOR_MLDB_UPRIGHT = 4
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
- Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Class implementing the AKAZE keypoint detector and descriptor extractor, described in [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.
AKAZE implements T-API. When image is passed as UMat some parts of the algorithm will use OpenCL.
[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 Function Documentation

◆ __fromPtr__()

static new AKAZE OpenCVForUnity.Features2dModule.AKAZE.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [2/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type)
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [3/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type,
int descriptor_size )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [4/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type,
int descriptor_size,
int descriptor_channels )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [5/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type,
int descriptor_size,
int descriptor_channels,
float threshold )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [6/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type,
int descriptor_size,
int descriptor_channels,
float threshold,
int nOctaves )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [7/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type,
int descriptor_size,
int descriptor_channels,
float threshold,
int nOctaves,
int nOctaveLayers )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [8/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type,
int descriptor_size,
int descriptor_channels,
float threshold,
int nOctaves,
int nOctaveLayers,
int diffusivity )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ create() [9/9]

static AKAZE OpenCVForUnity.Features2dModule.AKAZE.create ( int descriptor_type,
int descriptor_size,
int descriptor_channels,
float threshold,
int nOctaves,
int nOctaveLayers,
int diffusivity,
int max_points )
static

The AKAZE constructor.

Parameters
descriptor_typeType of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
descriptor_sizeSize of the descriptor in bits. 0 -> Full size
descriptor_channelsNumber of channels in the descriptor (1, 2, 3)
thresholdDetector response threshold to accept point
nOctavesMaximum octave evolution of the image
nOctaveLayersDefault number of sublevels per scale level
diffusivityDiffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
max_pointsMaximum amount of returned points. In case if image contains more features, then the features with highest response are returned. Negative value means no limitation.

◆ Dispose()

override void OpenCVForUnity.Features2dModule.AKAZE.Dispose ( bool disposing)
protectedvirtual

Reimplemented from OpenCVForUnity.DisposableObject.

◆ getDefaultName()

override string OpenCVForUnity.Features2dModule.AKAZE.getDefaultName ( )
virtual

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.

Reimplemented from OpenCVForUnity.CoreModule.Algorithm.

◆ getDescriptorChannels()

int OpenCVForUnity.Features2dModule.AKAZE.getDescriptorChannels ( )

◆ getDescriptorSize()

int OpenCVForUnity.Features2dModule.AKAZE.getDescriptorSize ( )

◆ getDescriptorType()

int OpenCVForUnity.Features2dModule.AKAZE.getDescriptorType ( )

◆ getDiffusivity()

int OpenCVForUnity.Features2dModule.AKAZE.getDiffusivity ( )

◆ getMaxPoints()

int OpenCVForUnity.Features2dModule.AKAZE.getMaxPoints ( )

◆ getNOctaveLayers()

int OpenCVForUnity.Features2dModule.AKAZE.getNOctaveLayers ( )

◆ getNOctaves()

int OpenCVForUnity.Features2dModule.AKAZE.getNOctaves ( )

◆ getThreshold()

double OpenCVForUnity.Features2dModule.AKAZE.getThreshold ( )

◆ setDescriptorChannels()

void OpenCVForUnity.Features2dModule.AKAZE.setDescriptorChannels ( int dch)

◆ setDescriptorSize()

void OpenCVForUnity.Features2dModule.AKAZE.setDescriptorSize ( int dsize)

◆ setDescriptorType()

void OpenCVForUnity.Features2dModule.AKAZE.setDescriptorType ( int dtype)

◆ setDiffusivity()

void OpenCVForUnity.Features2dModule.AKAZE.setDiffusivity ( int diff)

◆ setMaxPoints()

void OpenCVForUnity.Features2dModule.AKAZE.setMaxPoints ( int max_points)

◆ setNOctaveLayers()

void OpenCVForUnity.Features2dModule.AKAZE.setNOctaveLayers ( int octaveLayers)

◆ setNOctaves()

void OpenCVForUnity.Features2dModule.AKAZE.setNOctaves ( int octaves)

◆ setThreshold()

void OpenCVForUnity.Features2dModule.AKAZE.setThreshold ( double threshold)

Member Data Documentation

◆ DESCRIPTOR_KAZE

const int OpenCVForUnity.Features2dModule.AKAZE.DESCRIPTOR_KAZE = 3
static

◆ DESCRIPTOR_KAZE_UPRIGHT

const int OpenCVForUnity.Features2dModule.AKAZE.DESCRIPTOR_KAZE_UPRIGHT = 2
static

◆ DESCRIPTOR_MLDB

const int OpenCVForUnity.Features2dModule.AKAZE.DESCRIPTOR_MLDB = 5
static

◆ DESCRIPTOR_MLDB_UPRIGHT

const int OpenCVForUnity.Features2dModule.AKAZE.DESCRIPTOR_MLDB_UPRIGHT = 4
static

The documentation for this class was generated from the following file: