cv::FlannBasedMatcher Class Reference
#include <features2d.hpp>
List of all members.
Public Member Functions |
virtual void | add (const vector< Mat > &descriptors) |
virtual void | clear () |
virtual Ptr< DescriptorMatcher > | clone (bool emptyTrainData=false) const |
| FlannBasedMatcher (const Ptr< flann::IndexParams > &indexParams=new flann::KDTreeIndexParams(), const Ptr< flann::SearchParams > &searchParams=new flann::SearchParams()) |
virtual bool | isMaskSupported () const |
virtual void | train () |
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) |
Static Protected Member Functions |
static void | convertToDMatches (const DescriptorCollection &descriptors, const Mat &indices, const Mat &distances, vector< vector< DMatch > > &matches) |
Protected Attributes |
int | addedDescCount |
Ptr< flann::Index > | flannIndex |
Ptr< flann::IndexParams > | indexParams |
DescriptorCollection | mergedDescriptors |
Ptr< flann::SearchParams > | searchParams |
Constructor & Destructor Documentation
cv::FlannBasedMatcher::FlannBasedMatcher |
( |
const Ptr< flann::IndexParams > & |
indexParams = new flann::KDTreeIndexParams() , |
|
|
const Ptr< flann::SearchParams > & |
searchParams = new flann::SearchParams() | |
|
) |
| | |
Member Function Documentation
virtual void cv::FlannBasedMatcher::add |
( |
const vector< Mat > & |
descriptors |
) |
[virtual] |
virtual void cv::FlannBasedMatcher::clear |
( |
|
) |
[virtual] |
virtual Ptr<DescriptorMatcher> cv::FlannBasedMatcher::clone |
( |
bool |
emptyTrainData = false |
) |
const [virtual] |
static void cv::FlannBasedMatcher::convertToDMatches |
( |
const DescriptorCollection & |
descriptors, |
|
|
const Mat & |
indices, |
|
|
const Mat & |
distances, |
|
|
vector< vector< DMatch > > & |
matches | |
|
) |
| | [static, protected] |
virtual bool cv::FlannBasedMatcher::isMaskSupported |
( |
|
) |
const [virtual] |
virtual void cv::FlannBasedMatcher::knnMatchImpl |
( |
const Mat & |
queryDescriptors, |
|
|
vector< vector< DMatch > > & |
matches, |
|
|
int |
k, |
|
|
const vector< Mat > & |
masks = vector< Mat >() , |
|
|
bool |
compactResult = false | |
|
) |
| | [protected, virtual] |
virtual void cv::FlannBasedMatcher::radiusMatchImpl |
( |
const Mat & |
queryDescriptors, |
|
|
vector< vector< DMatch > > & |
matches, |
|
|
float |
maxDistance, |
|
|
const vector< Mat > & |
masks = vector< Mat >() , |
|
|
bool |
compactResult = false | |
|
) |
| | [protected, virtual] |
virtual void cv::FlannBasedMatcher::train |
( |
|
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/grier/opencv/opencv/modules/features2d/include/opencv2/features2d/features2d.hpp