Class cv::xfeatures2d::TBMR#

Class implementing the Tree Based Morse Regions (TBMR) as described in [344] extended with scaled extraction ability. View details

Collaboration diagram for cv::xfeatures2d::TBMR:

Public Member Functions#

Public Member Functions inherited from cv::xfeatures2d::AffineFeature2D
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::xfeatures2d::AffineFeature2D

Return

Name

Description

static Ptr< AffineFeature2D >

create(Ptr< FeatureDetector > keypoint_detector)

Creates an instance where keypoint detector and descriptor extractor are identical.

static Ptr< AffineFeature2D >

create(
    Ptr< FeatureDetector > keypoint_detector,
    Ptr< DescriptorExtractor > descriptor_extractor )

Creates an instance wrapping the given keypoint detector and descriptor extractor.

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 Tree Based Morse Regions (TBMR) as described in Najman2014 extended with scaled extraction ability.

Features are ellipses (similar to MSER, however a MSER feature can never be a TBMR feature and vice versa).

Note

This algorithm is based on Component Tree (Min/Max) as well as MSER but uses a Morse-theory approach to extract features.

Param min_area:

prune areas smaller than minArea

Param max_area_relative:

prune areas bigger than maxArea = max_area_relative * input_image_size

Param scale_factor:

scale factor for scaled extraction.

Param n_scales:

number of applications of the scale factor (octaves).

Member Function Documentation#

create()#

static Ptr< TBMR > cv::xfeatures2d::TBMR::create(
int min_area = 60,
float max_area_relative = 0.01f,
float scale_factor = 1.25f,
int n_scales = -1 )

getDefaultName()#

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

getMaxAreaRelative()#

float cv::xfeatures2d::TBMR::getMaxAreaRelative()

getMinArea()#

int cv::xfeatures2d::TBMR::getMinArea()

getNScales()#

int cv::xfeatures2d::TBMR::getNScales()

getScaleFactor()#

float cv::xfeatures2d::TBMR::getScaleFactor()

setMaxAreaRelative()#

void cv::xfeatures2d::TBMR::setMaxAreaRelative(float maxArea)

setMinArea()#

void cv::xfeatures2d::TBMR::setMinArea(int minArea)

setNScales()#

void cv::xfeatures2d::TBMR::setNScales(int n_scales)

setScaleFactor()#

void cv::xfeatures2d::TBMR::setScaleFactor(float scale_factor)

Source file#

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