Class cv::xfeatures2d::KAZE#

Class implementing the KAZE keypoint detector and descriptor extractor, described in [11] . View details

Collaboration diagram for cv::xfeatures2d::KAZE:

Public Types#

enum cv::xfeatures2d::KAZE {
    cv::xfeatures2d::DIFF_PM_G1 = 0,
    cv::xfeatures2d::DIFF_PM_G2 = 1,
    cv::xfeatures2d::DIFF_WEICKERT = 2,
    cv::xfeatures2d::DIFF_CHARBONNIER = 3
}

Public Member Functions#

Public Member Functions inherited from cv::Feature2D
Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

Detailed Description#

Class implementing the KAZE keypoint detector and descriptor extractor, described in 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.

Member Typedef Documentation#

DiffusivityType#

typedef int cv::xfeatures2d::KAZE::DiffusivityType

Member Enumeration Documentation#

enum KAZE

DIFF_PM_G1

DIFF_PM_G2

DIFF_WEICKERT

DIFF_CHARBONNIER

Member Function Documentation#

create()#

static Ptr< KAZE > cv::xfeatures2d::KAZE::create(
bool extended = false,
bool upright = false,
float threshold = 0.001f,
int nOctaves = 4,
int nOctaveLayers = 4,
int diffusivity = KAZE::DIFF_PM_G2 )

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

getDefaultName()#

String cv::xfeatures2d::KAZE::getDefaultName()

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.

getDiffusivity()#

int cv::xfeatures2d::KAZE::getDiffusivity()

getExtended()#

bool cv::xfeatures2d::KAZE::getExtended()

getNOctaveLayers()#

int cv::xfeatures2d::KAZE::getNOctaveLayers()

getNOctaves()#

int cv::xfeatures2d::KAZE::getNOctaves()

getThreshold()#

double cv::xfeatures2d::KAZE::getThreshold()

getUpright()#

bool cv::xfeatures2d::KAZE::getUpright()

setDiffusivity()#

void cv::xfeatures2d::KAZE::setDiffusivity(int diff)

setExtended()#

void cv::xfeatures2d::KAZE::setExtended(bool extended)

setNOctaveLayers()#

void cv::xfeatures2d::KAZE::setNOctaveLayers(int octaveLayers)

setNOctaves()#

void cv::xfeatures2d::KAZE::setNOctaves(int octaves)

setThreshold()#

void cv::xfeatures2d::KAZE::setThreshold(double threshold)

setUpright()#

void cv::xfeatures2d::KAZE::setUpright(bool upright)

Source file#

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