OpenCV  2.4.13.5
Open Source Computer Vision
cv::BruteForceMatcher< Distance > Class Template Reference

#include <legacy.hpp>

Inheritance diagram for cv::BruteForceMatcher< Distance >:
cv::BFMatcher cv::DescriptorMatcher cv::Algorithm

Public Member Functions

 BruteForceMatcher (Distance d=Distance())
 
virtual ~BruteForceMatcher ()
 
- Public Member Functions inherited from cv::BFMatcher
 BFMatcher (int normType=NORM_L2, bool crossCheck=false)
 
virtual ~BFMatcher ()
 
virtual bool isMaskSupported () const
 
virtual Ptr< DescriptorMatcherclone (bool emptyTrainData=false) const
 
AlgorithmInfoinfo () const
 
- Public Member Functions inherited from cv::DescriptorMatcher
virtual ~DescriptorMatcher ()
 
virtual void add (const vector< Mat > &descriptors)
 
const vector< Mat > & getTrainDescriptors () const
 
virtual void clear ()
 
virtual bool empty () const
 
virtual void train ()
 
void match (const Mat &queryDescriptors, const Mat &trainDescriptors, CV_OUT vector< DMatch > &matches, const Mat &mask=Mat()) const
 
void knnMatch (const Mat &queryDescriptors, const Mat &trainDescriptors, CV_OUT vector< vector< DMatch > > &matches, int k, const Mat &mask=Mat(), bool compactResult=false) const
 
void radiusMatch (const Mat &queryDescriptors, const Mat &trainDescriptors, vector< vector< DMatch > > &matches, float maxDistance, const Mat &mask=Mat(), bool compactResult=false) const
 
void match (const Mat &queryDescriptors, CV_OUT vector< DMatch > &matches, const vector< Mat > &masks=vector< Mat >())
 
void knnMatch (const Mat &queryDescriptors, CV_OUT vector< vector< DMatch > > &matches, int k, const vector< Mat > &masks=vector< Mat >(), bool compactResult=false)
 
void radiusMatch (const Mat &queryDescriptors, vector< vector< DMatch > > &matches, float maxDistance, const vector< Mat > &masks=vector< Mat >(), bool compactResult=false)
 
virtual void read (const FileNode &)
 
virtual void write (FileStorage &) const
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
string name () const
 
template<typename _Tp >
ParamType< _Tp >::member_type get (const string &name) const
 
template<typename _Tp >
ParamType< _Tp >::member_type get (const char *name) const
 
int getInt (const string &name) const
 
double getDouble (const string &name) const
 
bool getBool (const string &name) const
 
string getString (const string &name) const
 
Mat getMat (const string &name) const
 
vector< MatgetMatVector (const string &name) const
 
Ptr< AlgorithmgetAlgorithm (const string &name) const
 
void set (const string &name, int value)
 
void set (const string &name, double value)
 
void set (const string &name, bool value)
 
void set (const string &name, const string &value)
 
void set (const string &name, const Mat &value)
 
void set (const string &name, const vector< Mat > &value)
 
void set (const string &name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void set (const string &name, const Ptr< _Tp > &value)
 
void setInt (const string &name, int value)
 
void setDouble (const string &name, double value)
 
void setBool (const string &name, bool value)
 
void setString (const string &name, const string &value)
 
void setMat (const string &name, const Mat &value)
 
void setMatVector (const string &name, const vector< Mat > &value)
 
void setAlgorithm (const string &name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (const string &name, const Ptr< _Tp > &value)
 
void set (const char *name, int value)
 
void set (const char *name, double value)
 
void set (const char *name, bool value)
 
void set (const char *name, const string &value)
 
void set (const char *name, const Mat &value)
 
void set (const char *name, const vector< Mat > &value)
 
void set (const char *name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void set (const char *name, const Ptr< _Tp > &value)
 
void setInt (const char *name, int value)
 
void setDouble (const char *name, double value)
 
void setBool (const char *name, bool value)
 
void setString (const char *name, const string &value)
 
void setMat (const char *name, const Mat &value)
 
void setMatVector (const char *name, const vector< Mat > &value)
 
void setAlgorithm (const char *name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (const char *name, const Ptr< _Tp > &value)
 
string paramHelp (const string &name) const
 
int paramType (const char *name) const
 
int paramType (const string &name) const
 
void getParams (CV_OUT vector< string > &names) const
 

Additional Inherited Members

- Public Types inherited from cv::Algorithm
typedef Algorithm *(* Constructor) (void)
 
typedef int(Algorithm::* Getter) () const
 
typedef void(Algorithm::* Setter) (int)
 
- Static Public Member Functions inherited from cv::DescriptorMatcher
static Ptr< DescriptorMatchercreate (const string &descriptorMatcherType)
 
- Static Public Member Functions inherited from cv::Algorithm
static void getList (CV_OUT vector< string > &algorithms)
 
static Ptr< Algorithm_create (const string &name)
 
template<typename _Tp >
static Ptr< _Tp > create (const string &name)
 
- Protected Member Functions inherited from cv::BFMatcher
virtual void knnMatchImpl (const Mat &queryDescriptors, vector< vector< DMatch > > &matches, int k, const vector< Mat > &masks=vector< Mat >(), bool compactResult=false)
 
virtual void radiusMatchImpl (const Mat &queryDescriptors, vector< vector< DMatch > > &matches, float maxDistance, const vector< Mat > &masks=vector< Mat >(), bool compactResult=false)
 
- Protected Member Functions inherited from cv::DescriptorMatcher
void checkMasks (const vector< Mat > &masks, int queryDescriptorsCount) const
 
- Static Protected Member Functions inherited from cv::DescriptorMatcher
static bool isPossibleMatch (const Mat &mask, int queryIdx, int trainIdx)
 
static bool isMaskedOut (const vector< Mat > &masks, int queryIdx)
 
static Mat clone_op (Mat m)
 
- Protected Attributes inherited from cv::BFMatcher
int normType
 
bool crossCheck
 
- Protected Attributes inherited from cv::DescriptorMatcher
vector< MattrainDescCollection
 

Constructor & Destructor Documentation

§ BruteForceMatcher()

template<class Distance >
cv::BruteForceMatcher< Distance >::BruteForceMatcher ( Distance  d = Distance())
inline

§ ~BruteForceMatcher()

template<class Distance >
virtual cv::BruteForceMatcher< Distance >::~BruteForceMatcher ( )
inlinevirtual

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