Class cv::xfeatures2d::MSDDetector#

Class implementing the MSD (Maximal Self-Dissimilarity) keypoint detector, described in [305]. View details

Collaboration diagram for cv::xfeatures2d::MSDDetector:

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 MSD (Maximal Self-Dissimilarity) keypoint detector, described in Tombari14.

The algorithm implements a novel interest point detector stemming from the intuition that image patches which are highly dissimilar over a relatively large extent of their surroundings hold the property of being repeatable and distinctive. This concept of “contextual self-dissimilarity” reverses the key paradigm of recent successful techniques such as the Local Self-Similarity descriptor and the Non-Local Means filter, which build upon the presence of similar - rather than dissimilar - patches. Moreover, it extends to contextual information the local self-dissimilarity notion embedded in established detectors of corner-like interest points, thereby achieving enhanced repeatability, distinctiveness and localization accuracy.

Member Function Documentation#

create()#

static Ptr< MSDDetector > cv::xfeatures2d::MSDDetector::create(
int m_patch_radius = 3,
int m_search_area_radius = 5,
int m_nms_radius = 5,
int m_nms_scale_radius = 0,
float m_th_saliency = 250.0f,
int m_kNN = 4,
float m_scale_factor = 1.25f,
int m_n_scales = -1,
bool m_compute_orientation = false )

getComputeOrientation()#

bool cv::xfeatures2d::MSDDetector::getComputeOrientation()

getDefaultName()#

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

getKNN()#

int cv::xfeatures2d::MSDDetector::getKNN()

getNmsRadius()#

int cv::xfeatures2d::MSDDetector::getNmsRadius()

getNmsScaleRadius()#

int cv::xfeatures2d::MSDDetector::getNmsScaleRadius()

getNScales()#

int cv::xfeatures2d::MSDDetector::getNScales()

getPatchRadius()#

int cv::xfeatures2d::MSDDetector::getPatchRadius()

getScaleFactor()#

float cv::xfeatures2d::MSDDetector::getScaleFactor()

getSearchAreaRadius()#

int cv::xfeatures2d::MSDDetector::getSearchAreaRadius()

getThSaliency()#

float cv::xfeatures2d::MSDDetector::getThSaliency()

setComputeOrientation()#

void cv::xfeatures2d::MSDDetector::setComputeOrientation(bool compute_orientation)

setKNN()#

void cv::xfeatures2d::MSDDetector::setKNN(int kNN)

setNmsRadius()#

void cv::xfeatures2d::MSDDetector::setNmsRadius(int nms_radius)

setNmsScaleRadius()#

void cv::xfeatures2d::MSDDetector::setNmsScaleRadius(int nms_scale_radius)

setNScales()#

void cv::xfeatures2d::MSDDetector::setNScales(int use_orientation)

setPatchRadius()#

void cv::xfeatures2d::MSDDetector::setPatchRadius(int patch_radius)

setScaleFactor()#

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

setSearchAreaRadius()#

void cv::xfeatures2d::MSDDetector::setSearchAreaRadius(int use_orientation)

setThSaliency()#

void cv::xfeatures2d::MSDDetector::setThSaliency(float th_saliency)

Source file#

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