#include <features2d.hpp>
Classes | |
class | Params |
Public Member Functions | |
virtual void | clear () |
virtual Ptr < GenericDescriptorMatcher > | clone (bool emptyTrainData=false) const |
FernDescriptorMatcher (const Params ¶ms=Params()) | |
virtual bool | isMaskSupported () |
virtual void | read (const FileNode &fn) |
virtual void | train () |
virtual void | write (FileStorage &fs) const |
virtual | ~FernDescriptorMatcher () |
Protected Member Functions | |
void | calcBestProbAndMatchIdx (const Mat &image, const Point2f &pt, float &bestProb, int &bestMatchIdx, vector< float > &signature) |
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 () |
Protected Attributes | |
Ptr< FernClassifier > | classifier |
Params | params |
int | prevTrainCount |
virtual cv::FernDescriptorMatcher::~FernDescriptorMatcher | ( | ) | [virtual] |
void cv::FernDescriptorMatcher::calcBestProbAndMatchIdx | ( | const Mat & | image, | |
const Point2f & | pt, | |||
float & | bestProb, | |||
int & | bestMatchIdx, | |||
vector< float > & | signature | |||
) | [protected] |
virtual void cv::FernDescriptorMatcher::clear | ( | ) | [virtual] |
Reimplemented from cv::GenericDescriptorMatcher.
virtual Ptr<GenericDescriptorMatcher> cv::FernDescriptorMatcher::clone | ( | bool | emptyTrainData = false |
) | const [virtual] |
Implements cv::GenericDescriptorMatcher.
virtual bool cv::FernDescriptorMatcher::isMaskSupported | ( | ) | [virtual] |
Implements cv::GenericDescriptorMatcher.
virtual void cv::FernDescriptorMatcher::knnMatchImpl | ( | const Mat & | queryImage, | |
vector< KeyPoint > & | queryKeypoints, | |||
vector< vector< DMatch > > & | matches, | |||
int | k, | |||
const vector< Mat > & | masks, | |||
bool | compactResult | |||
) | [protected, virtual] |
Implements cv::GenericDescriptorMatcher.
virtual void cv::FernDescriptorMatcher::radiusMatchImpl | ( | const Mat & | queryImage, | |
vector< KeyPoint > & | queryKeypoints, | |||
vector< vector< DMatch > > & | matches, | |||
float | maxDistance, | |||
const vector< Mat > & | masks, | |||
bool | compactResult | |||
) | [protected, virtual] |
Implements cv::GenericDescriptorMatcher.
virtual void cv::FernDescriptorMatcher::read | ( | const FileNode & | fn | ) | [virtual] |
Reimplemented from cv::GenericDescriptorMatcher.
virtual void cv::FernDescriptorMatcher::train | ( | ) | [virtual] |
Reimplemented from cv::GenericDescriptorMatcher.
void cv::FernDescriptorMatcher::trainFernClassifier | ( | ) | [protected] |
virtual void cv::FernDescriptorMatcher::write | ( | FileStorage & | fs | ) | const [virtual] |
Reimplemented from cv::GenericDescriptorMatcher.
Ptr<FernClassifier> cv::FernDescriptorMatcher::classifier [protected] |
Params cv::FernDescriptorMatcher::params [protected] |
int cv::FernDescriptorMatcher::prevTrainCount [protected] |