OpenCV  2.4.13.2
Open Source Computer Vision
cv::OneWayDescriptorMatcher Class Reference

#include <legacy.hpp>

Inheritance diagram for cv::OneWayDescriptorMatcher:
cv::GenericDescriptorMatcher

Classes

class  Params
 

Public Member Functions

 OneWayDescriptorMatcher (const Params &params=Params())
 
virtual ~OneWayDescriptorMatcher ()
 
void initialize (const Params &params, const Ptr< OneWayDescriptorBase > &base=Ptr< OneWayDescriptorBase >())
 
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)
 

Protected Attributes

Ptr< OneWayDescriptorBasebase
 
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

§ OneWayDescriptorMatcher()

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

§ ~OneWayDescriptorMatcher()

virtual cv::OneWayDescriptorMatcher::~OneWayDescriptorMatcher ( )
virtual

Member Function Documentation

§ clear()

virtual void cv::OneWayDescriptorMatcher::clear ( )
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ clone()

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

§ empty()

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

Reimplemented from cv::GenericDescriptorMatcher.

§ initialize()

void cv::OneWayDescriptorMatcher::initialize ( const Params params,
const Ptr< OneWayDescriptorBase > &  base = PtrOneWayDescriptorBase >() 
)

§ isMaskSupported()

virtual bool cv::OneWayDescriptorMatcher::isMaskSupported ( )
virtual

§ knnMatchImpl()

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

§ radiusMatchImpl()

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

§ read()

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

Reimplemented from cv::GenericDescriptorMatcher.

§ train()

virtual void cv::OneWayDescriptorMatcher::train ( )
virtual

Reimplemented from cv::GenericDescriptorMatcher.

§ write()

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

Reimplemented from cv::GenericDescriptorMatcher.

Member Data Documentation

§ base

Ptr<OneWayDescriptorBase> cv::OneWayDescriptorMatcher::base
protected

§ params

Params cv::OneWayDescriptorMatcher::params
protected

§ prevTrainCount

int cv::OneWayDescriptorMatcher::prevTrainCount
protected

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