#include <legacy.hpp>
Inherits cv::BFMatcher.
Public Types | |
| typedef Algorithm *(* | Constructor )(void) |
| typedef int(Algorithm::* | Getter )() const |
| typedef void(Algorithm::* | Setter )(int) |
Public Member Functions | |
| BruteForceMatcher (Distance d=Distance()) | |
| virtual | ~BruteForceMatcher () |
| virtual bool | isMaskSupported () const |
| virtual Ptr< DescriptorMatcher > | clone (bool emptyTrainData=false) const |
| virtual CV_WRAP void | add (const vector< Mat > &descriptors) |
| CV_WRAP const vector< Mat > & | getTrainDescriptors () const |
| virtual CV_WRAP void | clear () |
| virtual CV_WRAP bool | empty () const |
| virtual CV_WRAP void | train () |
| CV_WRAP void | match (const Mat &queryDescriptors, const Mat &trainDescriptors, CV_OUT vector< DMatch > &matches, const Mat &mask=Mat()) const |
| CV_WRAP void | match (const Mat &queryDescriptors, CV_OUT vector< DMatch > &matches, const vector< Mat > &masks=vector< Mat >()) |
| CV_WRAP void | knnMatch (const Mat &queryDescriptors, const Mat &trainDescriptors, CV_OUT vector< vector< DMatch > > &matches, int k, const Mat &mask=Mat(), bool compactResult=false) const |
| CV_WRAP 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, const Mat &trainDescriptors, vector< vector< DMatch > > &matches, float maxDistance, const Mat &mask=Mat(), bool compactResult=false) const |
| 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 |
| 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 |
| CV_WRAP int | getInt (const string &name) const |
| CV_WRAP double | getDouble (const string &name) const |
| CV_WRAP bool | getBool (const string &name) const |
| CV_WRAP string | getString (const string &name) const |
| CV_WRAP Mat | getMat (const string &name) const |
| CV_WRAP vector< Mat > | getMatVector (const string &name) const |
| CV_WRAP Ptr< Algorithm > | getAlgorithm (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 | 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) |
| CV_WRAP void | setInt (const string &name, int value) |
| void | setInt (const char *name, int value) |
| CV_WRAP void | setDouble (const string &name, double value) |
| void | setDouble (const char *name, double value) |
| CV_WRAP void | setBool (const string &name, bool value) |
| void | setBool (const char *name, bool value) |
| CV_WRAP void | setString (const string &name, const string &value) |
| void | setString (const char *name, const string &value) |
| CV_WRAP void | setMat (const string &name, const Mat &value) |
| void | setMat (const char *name, const Mat &value) |
| CV_WRAP void | setMatVector (const string &name, const vector< Mat > &value) |
| void | setMatVector (const char *name, const vector< Mat > &value) |
| CV_WRAP void | setAlgorithm (const string &name, const Ptr< Algorithm > &value) |
| template<typename _Tp > | |
| void | setAlgorithm (const string &name, const Ptr< _Tp > &value) |
| void | setAlgorithm (const char *name, const Ptr< Algorithm > &value) |
| template<typename _Tp > | |
| void | setAlgorithm (const char *name, const Ptr< _Tp > &value) |
| CV_WRAP string | paramHelp (const string &name) const |
| int | paramType (const char *name) const |
| CV_WRAP int | paramType (const string &name) const |
| CV_WRAP void | getParams (CV_OUT vector< string > &names) const |
| virtual AlgorithmInfo * | info () const |
Static Public Member Functions | |
| static CV_WRAP Ptr < DescriptorMatcher > | create (const string &descriptorMatcherType) |
| static CV_WRAP void | getList (CV_OUT vector< string > &algorithms) |
| static CV_WRAP Ptr< Algorithm > | _create (const string &name) |
Protected Member Functions | |
| 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) |
| void | checkMasks (const vector< Mat > &masks, int queryDescriptorsCount) const |
Static Protected Member Functions | |
| 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 | |
| int | normType |
| bool | crossCheck |
| vector< Mat > | trainDescCollection |
typedef Algorithm*(* cv::Algorithm::Constructor)(void) [inherited] |
typedef int(Algorithm::* cv::Algorithm::Getter)() const [inherited] |
typedef void(Algorithm::* cv::Algorithm::Setter)(int) [inherited] |
| cv::BruteForceMatcher< Distance >::BruteForceMatcher | ( | Distance | d = Distance() | ) |
| virtual cv::BruteForceMatcher< Distance >::~BruteForceMatcher | ( | ) | [virtual] |
| virtual bool cv::BFMatcher::isMaskSupported | ( | ) | const [virtual, inherited] |
Implements cv::DescriptorMatcher.
| virtual Ptr<DescriptorMatcher> cv::BFMatcher::clone | ( | bool | emptyTrainData = false | ) | const [virtual, inherited] |
Implements cv::DescriptorMatcher.
| virtual void cv::BFMatcher::knnMatchImpl | ( | const Mat & | queryDescriptors, |
| vector< vector< DMatch > > & | matches, | ||
| int | k, | ||
| const vector< Mat > & | masks = vector< Mat >(), |
||
| bool | compactResult = false |
||
| ) | [protected, virtual, inherited] |
Implements cv::DescriptorMatcher.
| virtual void cv::BFMatcher::radiusMatchImpl | ( | const Mat & | queryDescriptors, |
| vector< vector< DMatch > > & | matches, | ||
| float | maxDistance, | ||
| const vector< Mat > & | masks = vector< Mat >(), |
||
| bool | compactResult = false |
||
| ) | [protected, virtual, inherited] |
Implements cv::DescriptorMatcher.
| virtual CV_WRAP void cv::DescriptorMatcher::add | ( | const vector< Mat > & | descriptors | ) | [virtual, inherited] |
Reimplemented in cv::FlannBasedMatcher.
| CV_WRAP const vector<Mat>& cv::DescriptorMatcher::getTrainDescriptors | ( | ) | const [inherited] |
| virtual CV_WRAP void cv::DescriptorMatcher::clear | ( | ) | [virtual, inherited] |
Reimplemented in cv::FlannBasedMatcher.
| virtual CV_WRAP bool cv::DescriptorMatcher::empty | ( | ) | const [virtual, inherited] |
| virtual CV_WRAP void cv::DescriptorMatcher::train | ( | ) | [virtual, inherited] |
Reimplemented in cv::FlannBasedMatcher.
| CV_WRAP void cv::DescriptorMatcher::match | ( | const Mat & | queryDescriptors, |
| const Mat & | trainDescriptors, | ||
| CV_OUT vector< DMatch > & | matches, | ||
| const Mat & | mask = Mat() |
||
| ) | const [inherited] |
| CV_WRAP void cv::DescriptorMatcher::match | ( | const Mat & | queryDescriptors, |
| CV_OUT vector< DMatch > & | matches, | ||
| const vector< Mat > & | masks = vector< Mat >() |
||
| ) | [inherited] |
| CV_WRAP void cv::DescriptorMatcher::knnMatch | ( | const Mat & | queryDescriptors, |
| const Mat & | trainDescriptors, | ||
| CV_OUT vector< vector< DMatch > > & | matches, | ||
| int | k, | ||
| const Mat & | mask = Mat(), |
||
| bool | compactResult = false |
||
| ) | const [inherited] |
| CV_WRAP void cv::DescriptorMatcher::knnMatch | ( | const Mat & | queryDescriptors, |
| CV_OUT vector< vector< DMatch > > & | matches, | ||
| int | k, | ||
| const vector< Mat > & | masks = vector< Mat >(), |
||
| bool | compactResult = false |
||
| ) | [inherited] |
| void cv::DescriptorMatcher::radiusMatch | ( | const Mat & | queryDescriptors, |
| const Mat & | trainDescriptors, | ||
| vector< vector< DMatch > > & | matches, | ||
| float | maxDistance, | ||
| const Mat & | mask = Mat(), |
||
| bool | compactResult = false |
||
| ) | const [inherited] |
| void cv::DescriptorMatcher::radiusMatch | ( | const Mat & | queryDescriptors, |
| vector< vector< DMatch > > & | matches, | ||
| float | maxDistance, | ||
| const vector< Mat > & | masks = vector< Mat >(), |
||
| bool | compactResult = false |
||
| ) | [inherited] |
| virtual void cv::DescriptorMatcher::read | ( | const FileNode & | ) | [virtual, inherited] |
Reimplemented from cv::Algorithm.
Reimplemented in cv::FlannBasedMatcher.
| virtual void cv::DescriptorMatcher::write | ( | FileStorage & | ) | const [virtual, inherited] |
Reimplemented from cv::Algorithm.
Reimplemented in cv::FlannBasedMatcher.
| static CV_WRAP Ptr<DescriptorMatcher> cv::DescriptorMatcher::create | ( | const string & | descriptorMatcherType | ) | [static, inherited] |
Reimplemented from cv::Algorithm.
| static bool cv::DescriptorMatcher::isPossibleMatch | ( | const Mat & | mask, |
| int | queryIdx, | ||
| int | trainIdx | ||
| ) | [static, protected, inherited] |
| static bool cv::DescriptorMatcher::isMaskedOut | ( | const vector< Mat > & | masks, |
| int | queryIdx | ||
| ) | [static, protected, inherited] |
| static Mat cv::DescriptorMatcher::clone_op | ( | Mat | m | ) | [static, protected, inherited] |
| void cv::DescriptorMatcher::checkMasks | ( | const vector< Mat > & | masks, |
| int | queryDescriptorsCount | ||
| ) | const [protected, inherited] |
| string cv::Algorithm::name | ( | ) | const [inherited] |
| ParamType< _Tp >::member_type cv::Algorithm::get | ( | const string & | name | ) | const [inherited] |
| ParamType< _Tp >::member_type cv::Algorithm::get | ( | const char * | name | ) | const [inherited] |
| CV_WRAP int cv::Algorithm::getInt | ( | const string & | name | ) | const [inherited] |
| CV_WRAP double cv::Algorithm::getDouble | ( | const string & | name | ) | const [inherited] |
| CV_WRAP bool cv::Algorithm::getBool | ( | const string & | name | ) | const [inherited] |
| CV_WRAP string cv::Algorithm::getString | ( | const string & | name | ) | const [inherited] |
| CV_WRAP Mat cv::Algorithm::getMat | ( | const string & | name | ) | const [inherited] |
| CV_WRAP vector<Mat> cv::Algorithm::getMatVector | ( | const string & | name | ) | const [inherited] |
| CV_WRAP Ptr<Algorithm> cv::Algorithm::getAlgorithm | ( | const string & | name | ) | const [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| int | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| double | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| bool | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const string & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const Mat & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| int | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| double | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| bool | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const string & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const Mat & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setInt | ( | const string & | name, |
| int | value | ||
| ) | [inherited] |
| void cv::Algorithm::setInt | ( | const char * | name, |
| int | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setDouble | ( | const string & | name, |
| double | value | ||
| ) | [inherited] |
| void cv::Algorithm::setDouble | ( | const char * | name, |
| double | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setBool | ( | const string & | name, |
| bool | value | ||
| ) | [inherited] |
| void cv::Algorithm::setBool | ( | const char * | name, |
| bool | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setString | ( | const string & | name, |
| const string & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setString | ( | const char * | name, |
| const string & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setMat | ( | const string & | name, |
| const Mat & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setMat | ( | const char * | name, |
| const Mat & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setMatVector | ( | const string & | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setMatVector | ( | const char * | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setAlgorithm | ( | const string & | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setAlgorithm | ( | const string & | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setAlgorithm | ( | const char * | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setAlgorithm | ( | const char * | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| CV_WRAP string cv::Algorithm::paramHelp | ( | const string & | name | ) | const [inherited] |
| int cv::Algorithm::paramType | ( | const char * | name | ) | const [inherited] |
| CV_WRAP int cv::Algorithm::paramType | ( | const string & | name | ) | const [inherited] |
| CV_WRAP void cv::Algorithm::getParams | ( | CV_OUT vector< string > & | names | ) | const [inherited] |
| static CV_WRAP void cv::Algorithm::getList | ( | CV_OUT vector< string > & | algorithms | ) | [static, inherited] |
| static CV_WRAP Ptr<Algorithm> cv::Algorithm::_create | ( | const string & | name | ) | [static, inherited] |
| virtual AlgorithmInfo* cv::Algorithm::info | ( | ) | const [virtual, inherited] |
Reimplemented in cv::BriefDescriptorExtractor, cv::GridAdaptedFeatureDetector, cv::DenseFeatureDetector, cv::EM, cv::GFTTDetector, cv::FastFeatureDetector, cv::StarDetector, cv::MSER, cv::FREAK, cv::ORB, cv::BRISK, cv::BackgroundSubtractorGMG, cv::BackgroundSubtractorMOG2, cv::SURF, cv::BackgroundSubtractorMOG, and cv::SIFT.
int cv::BFMatcher::normType [protected, inherited] |
bool cv::BFMatcher::crossCheck [protected, inherited] |
vector<Mat> cv::DescriptorMatcher::trainDescCollection [protected, inherited] |