OpenCV  2.4.13.7
Open Source Computer Vision
cv::FernDescriptorMatcher Class Reference

#include <legacy.hpp>

Inheritance diagram for cv::FernDescriptorMatcher:
cv::GenericDescriptorMatcher

Classes

class  Params
 

Public Member Functions

 FernDescriptorMatcher (const Params &params=Params())
 
virtual ~FernDescriptorMatcher ()
 
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 ()
 
virtual void add (const vector< Mat > &images, vector< vector< KeyPoint > > &keypoints)
 
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)
 
void trainFernClassifier ()
 
void calcBestProbAndMatchIdx (const Mat &image, const Point2f &pt, float &bestProb, int &bestMatchIdx, vector< float > &signature)
 

Protected Attributes

Ptr< FernClassifierclassifier
 
Params params
 
int prevTrainCount
 
- 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

§ FernDescriptorMatcher()

cv::FernDescriptorMatcher::FernDescriptorMatcher ( const Params params = Params())

§ ~FernDescriptorMatcher()

virtual cv::FernDescriptorMatcher::~FernDescriptorMatcher ( )
virtual

Member Function Documentation

§ calcBestProbAndMatchIdx()

void cv::FernDescriptorMatcher::calcBestProbAndMatchIdx ( const Mat image,
const Point2f pt,
float &  bestProb,
int bestMatchIdx,
vector< float > &  signature 
)
protected

§ clear()

virtual void cv::FernDescriptorMatcher::clear ( )
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ clone()

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

§ empty()

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

Reimplemented from cv::GenericDescriptorMatcher.

§ isMaskSupported()

virtual bool cv::FernDescriptorMatcher::isMaskSupported ( )
virtual

§ knnMatchImpl()

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

§ radiusMatchImpl()

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

§ read()

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

Reimplemented from cv::GenericDescriptorMatcher.

§ train()

virtual void cv::FernDescriptorMatcher::train ( )
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ trainFernClassifier()

void cv::FernDescriptorMatcher::trainFernClassifier ( )
protected

§ write()

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

Reimplemented from cv::GenericDescriptorMatcher.

Member Data Documentation

§ classifier

Ptr<FernClassifier> cv::FernDescriptorMatcher::classifier
protected

§ params

Params cv::FernDescriptorMatcher::params
protected

§ prevTrainCount

int cv::FernDescriptorMatcher::prevTrainCount
protected

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