Class cv::xfeatures2d::HarrisLaplaceFeatureDetector#

Class implementing the Harris-Laplace feature detector as described in [214].

Collaboration diagram for cv::xfeatures2d::HarrisLaplaceFeatureDetector:

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 Harris-Laplace feature detector as described in [214].

Member Function Documentation#

create()#

static Ptr< HarrisLaplaceFeatureDetector > cv::xfeatures2d::HarrisLaplaceFeatureDetector::create(
int numOctaves = 6,
float corn_thresh = 0.01f,
float DOG_thresh = 0.01f,
int maxCorners = 5000,
int num_layers = 4 )

Creates a new implementation instance.

Parameters

  • numOctaves — the number of octaves in the scale-space pyramid

  • corn_thresh — the threshold for the Harris cornerness measure

  • DOG_thresh — the threshold for the Difference-of-Gaussians scale selection

  • maxCorners — the maximum number of corners to consider

  • num_layers — the number of intermediate scales per octave

getCornThresh()#

float cv::xfeatures2d::HarrisLaplaceFeatureDetector::getCornThresh()

getDefaultName()#

String cv::xfeatures2d::HarrisLaplaceFeatureDetector::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.

getDOGThresh()#

float cv::xfeatures2d::HarrisLaplaceFeatureDetector::getDOGThresh()

getMaxCorners()#

int cv::xfeatures2d::HarrisLaplaceFeatureDetector::getMaxCorners()

getNumLayers()#

int cv::xfeatures2d::HarrisLaplaceFeatureDetector::getNumLayers()

getNumOctaves()#

int cv::xfeatures2d::HarrisLaplaceFeatureDetector::getNumOctaves()

setCornThresh()#

void cv::xfeatures2d::HarrisLaplaceFeatureDetector::setCornThresh(float corn_thresh_)

setDOGThresh()#

void cv::xfeatures2d::HarrisLaplaceFeatureDetector::setDOGThresh(float DOG_thresh_)

setMaxCorners()#

void cv::xfeatures2d::HarrisLaplaceFeatureDetector::setMaxCorners(int maxCorners_)

setNumLayers()#

void cv::xfeatures2d::HarrisLaplaceFeatureDetector::setNumLayers(int num_layers_)

setNumOctaves()#

void cv::xfeatures2d::HarrisLaplaceFeatureDetector::setNumOctaves(int numOctaves_)

Source file#

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