|
CV_WRAP | BFMatcher (int normType=NORM_L2, bool crossCheck=false) |
| Brute-force matcher constructor (obsolete). Please use BFMatcher.create()
|
|
virtual bool | isMaskSupported () const CV_OVERRIDE |
| Returns true if the descriptor matcher supports masking permissible matches. [詳解]
|
|
virtual Ptr< DescriptorMatcher > | clone (bool emptyTrainData=false) const CV_OVERRIDE |
| Clones the matcher. [詳解]
|
|
virtual CV_WRAP void | add (InputArrayOfArrays descriptors) |
| Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. [詳解]
|
|
CV_WRAP const std::vector< Mat > & | getTrainDescriptors () const |
| Returns a constant link to the train descriptor collection trainDescCollection .
|
|
virtual CV_WRAP void | clear () CV_OVERRIDE |
| Clears the train descriptor collections. [詳解]
|
|
virtual CV_WRAP bool | empty () const CV_OVERRIDE |
| Returns true if there are no train descriptors in the both collections. [詳解]
|
|
virtual CV_WRAP void | train () |
| Trains a descriptor matcher [詳解]
|
|
CV_WRAP void | match (InputArray queryDescriptors, InputArray trainDescriptors, CV_OUT std::vector< DMatch > &matches, InputArray mask=noArray()) const |
| Finds the best match for each descriptor from a query set. [詳解]
|
|
CV_WRAP void | knnMatch (InputArray queryDescriptors, InputArray trainDescriptors, CV_OUT std::vector< std::vector< DMatch > > &matches, int k, InputArray mask=noArray(), bool compactResult=false) const |
| Finds the k best matches for each descriptor from a query set. [詳解]
|
|
CV_WRAP void | radiusMatch (InputArray queryDescriptors, InputArray trainDescriptors, CV_OUT std::vector< std::vector< DMatch > > &matches, float maxDistance, InputArray mask=noArray(), bool compactResult=false) const |
| For each query descriptor, finds the training descriptors not farther than the specified distance. [詳解]
|
|
CV_WRAP void | match (InputArray queryDescriptors, CV_OUT std::vector< DMatch > &matches, InputArrayOfArrays masks=noArray()) |
|
CV_WRAP void | knnMatch (InputArray queryDescriptors, CV_OUT std::vector< std::vector< DMatch > > &matches, int k, InputArrayOfArrays masks=noArray(), bool compactResult=false) |
|
CV_WRAP void | radiusMatch (InputArray queryDescriptors, CV_OUT std::vector< std::vector< DMatch > > &matches, float maxDistance, InputArrayOfArrays masks=noArray(), bool compactResult=false) |
|
CV_WRAP void | write (const String &fileName) const |
|
CV_WRAP void | read (const String &fileName) |
|
virtual CV_WRAP void | read (const FileNode &) CV_OVERRIDE |
| Reads algorithm parameters from a file storage [詳解]
|
|
virtual void | write (FileStorage &) const CV_OVERRIDE |
| Stores algorithm parameters in a file storage [詳解]
|
|
CV_WRAP void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
|
CV_WRAP void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
|
|
virtual CV_WRAP void | save (const String &filename) const |
|
virtual CV_WRAP String | getDefaultName () const |
|
|
static CV_WRAP Ptr< BFMatcher > | create (int normType=NORM_L2, bool crossCheck=false) |
| Brute-force matcher create method. [詳解]
|
|
static CV_WRAP Ptr< DescriptorMatcher > | create (const String &descriptorMatcherType) |
| Creates a descriptor matcher of a given type with the default parameters (using default constructor). [詳解]
|
|
static CV_WRAP Ptr< DescriptorMatcher > | create (const DescriptorMatcher::MatcherType &matcherType) |
|
template<typename _Tp > |
static Ptr< _Tp > | read (const FileNode &fn) |
| Reads algorithm from the file node [詳解]
|
|
template<typename _Tp > |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
| Loads algorithm from the file [詳解]
|
|
template<typename _Tp > |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
| Loads algorithm from a String [詳解]
|
|
Brute-force descriptor matcher.
For each descriptor in the first set, this matcher finds the closest descriptor in the second set by trying each one. This descriptor matcher supports masking permissible matches of descriptor sets.