OpenCV  2.4.13.4
Open Source Computer Vision
cv::VectorDescriptorMatcher Class Reference

#include <features2d.hpp>

Inheritance diagram for cv::VectorDescriptorMatcher:
cv::GenericDescriptorMatcher

Public Member Functions

 VectorDescriptorMatcher (const Ptr< DescriptorExtractor > &extractor, const Ptr< DescriptorMatcher > &matcher)
 
virtual ~VectorDescriptorMatcher ()
 
virtual void add (const vector< Mat > &imgCollection, vector< vector< KeyPoint > > &pointCollection)
 
virtual void clear ()
 
virtual void train ()
 
virtual bool isMaskSupported ()
 
virtual void read (const FileNode &fn)
 
virtual void write (FileStorage &fs) const
 
virtual bool empty () const
 
virtual Ptr< GenericDescriptorMatcherclone (bool emptyTrainData=false) const
 
- Public Member Functions inherited from cv::GenericDescriptorMatcher
 GenericDescriptorMatcher ()
 
virtual ~GenericDescriptorMatcher ()
 
const vector< Mat > & getTrainImages () const
 
const vector< vector< KeyPoint > > & getTrainKeypoints () const
 
void classify (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, const Mat &trainImage, vector< KeyPoint > &trainKeypoints) const
 
void classify (const Mat &queryImage, vector< KeyPoint > &queryKeypoints)
 
void match (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, const Mat &trainImage, vector< KeyPoint > &trainKeypoints, vector< DMatch > &matches, const Mat &mask=Mat()) const
 
void knnMatch (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, const Mat &trainImage, vector< KeyPoint > &trainKeypoints, vector< vector< DMatch > > &matches, int k, const Mat &mask=Mat(), bool compactResult=false) const
 
void radiusMatch (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, const Mat &trainImage, vector< KeyPoint > &trainKeypoints, vector< vector< DMatch > > &matches, float maxDistance, const Mat &mask=Mat(), bool compactResult=false) const
 
void match (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, vector< DMatch > &matches, const vector< Mat > &masks=vector< Mat >())
 
void knnMatch (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, vector< vector< DMatch > > &matches, int k, const vector< Mat > &masks=vector< Mat >(), bool compactResult=false)
 
void radiusMatch (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, vector< vector< DMatch > > &matches, float maxDistance, const vector< Mat > &masks=vector< Mat >(), bool compactResult=false)
 

Protected Member Functions

virtual void knnMatchImpl (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, vector< vector< DMatch > > &matches, int k, const vector< Mat > &masks, bool compactResult)
 
virtual void radiusMatchImpl (const Mat &queryImage, vector< KeyPoint > &queryKeypoints, vector< vector< DMatch > > &matches, float maxDistance, const vector< Mat > &masks, bool compactResult)
 

Protected Attributes

Ptr< DescriptorExtractorextractor
 
Ptr< DescriptorMatchermatcher
 
- Protected Attributes inherited from cv::GenericDescriptorMatcher
KeyPointCollection trainPointCollection
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::GenericDescriptorMatcher
static Ptr< GenericDescriptorMatchercreate (const string &genericDescritptorMatcherType, const string &paramsFilename=string())
 

Constructor & Destructor Documentation

§ VectorDescriptorMatcher()

cv::VectorDescriptorMatcher::VectorDescriptorMatcher ( const Ptr< DescriptorExtractor > &  extractor,
const Ptr< DescriptorMatcher > &  matcher 
)

§ ~VectorDescriptorMatcher()

virtual cv::VectorDescriptorMatcher::~VectorDescriptorMatcher ( )
virtual

Member Function Documentation

§ add()

virtual void cv::VectorDescriptorMatcher::add ( const vector< Mat > &  imgCollection,
vector< vector< KeyPoint > > &  pointCollection 
)
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ clear()

virtual void cv::VectorDescriptorMatcher::clear ( )
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ clone()

virtual Ptr<GenericDescriptorMatcher> cv::VectorDescriptorMatcher::clone ( bool  emptyTrainData = false) const
virtual

§ empty()

virtual bool cv::VectorDescriptorMatcher::empty ( ) const
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ isMaskSupported()

virtual bool cv::VectorDescriptorMatcher::isMaskSupported ( )
virtual

§ knnMatchImpl()

virtual void cv::VectorDescriptorMatcher::knnMatchImpl ( const Mat queryImage,
vector< KeyPoint > &  queryKeypoints,
vector< vector< DMatch > > &  matches,
int  k,
const vector< Mat > &  masks,
bool  compactResult 
)
protectedvirtual

§ radiusMatchImpl()

virtual void cv::VectorDescriptorMatcher::radiusMatchImpl ( const Mat queryImage,
vector< KeyPoint > &  queryKeypoints,
vector< vector< DMatch > > &  matches,
float  maxDistance,
const vector< Mat > &  masks,
bool  compactResult 
)
protectedvirtual

§ read()

virtual void cv::VectorDescriptorMatcher::read ( const FileNode fn)
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ train()

virtual void cv::VectorDescriptorMatcher::train ( )
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ write()

virtual void cv::VectorDescriptorMatcher::write ( FileStorage fs) const
virtual

Reimplemented from cv::GenericDescriptorMatcher.

Member Data Documentation

§ extractor

Ptr<DescriptorExtractor> cv::VectorDescriptorMatcher::extractor
protected

§ matcher

Ptr<DescriptorMatcher> cv::VectorDescriptorMatcher::matcher
protected

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