|
| BFMatcher (int normType=NORM_L2, bool crossCheck=false) |
| Brute-force matcher constructor (obsolete). Please use BFMatcher.create()
|
|
virtual | ~BFMatcher () |
|
virtual CV_NODISCARD_STD Ptr< DescriptorMatcher > | clone (bool emptyTrainData=false) const CV_OVERRIDE |
| Clones the matcher.
|
|
virtual bool | isMaskSupported () const CV_OVERRIDE |
| Returns true if the descriptor matcher supports masking permissible matches.
|
|
virtual | ~DescriptorMatcher () |
|
virtual void | add (InputArrayOfArrays descriptors) |
| Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection.
|
|
virtual void | clear () CV_OVERRIDE |
| Clears the train descriptor collections.
|
|
virtual CV_NODISCARD_STD Ptr< DescriptorMatcher > | clone (bool emptyTrainData=false) const =0 |
| Clones the matcher.
|
|
virtual bool | empty () const CV_OVERRIDE |
| Returns true if there are no train descriptors in the both collections.
|
|
const std::vector< Mat > & | getTrainDescriptors () const |
| Returns a constant link to the train descriptor collection trainDescCollection .
|
|
virtual bool | isMaskSupported () const =0 |
| Returns true if the descriptor matcher supports masking permissible matches.
|
|
void | knnMatch (InputArray queryDescriptors, InputArray trainDescriptors, 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.
|
|
void | knnMatch (InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, int k, InputArrayOfArrays masks=noArray(), bool compactResult=false) |
|
void | match (InputArray queryDescriptors, InputArray trainDescriptors, std::vector< DMatch > &matches, InputArray mask=noArray()) const |
| Finds the best match for each descriptor from a query set.
|
|
void | match (InputArray queryDescriptors, std::vector< DMatch > &matches, InputArrayOfArrays masks=noArray()) |
|
void | radiusMatch (InputArray queryDescriptors, InputArray trainDescriptors, 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.
|
|
void | radiusMatch (InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, InputArrayOfArrays masks=noArray(), bool compactResult=false) |
|
virtual void | read (const FileNode &) CV_OVERRIDE |
| Reads algorithm parameters from a file storage.
|
|
void | read (const String &fileName) |
|
virtual void | train () |
| Trains a descriptor matcher.
|
|
void | write (const Ptr< FileStorage > &fs, const String &name) const |
|
void | write (const String &fileName) const |
|
virtual void | write (FileStorage &) const CV_OVERRIDE |
| Stores algorithm parameters in a file storage.
|
|
void | write (FileStorage &fs, const String &name) const |
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| Clears the algorithm state.
|
|
virtual bool | empty () const |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
|
|
virtual String | getDefaultName () const |
|
virtual void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage.
|
|
virtual void | save (const String &filename) const |
|
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage.
|
|
void | write (FileStorage &fs, const String &name) const |
|
|
virtual void | knnMatchImpl (InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, int k, InputArrayOfArrays masks=noArray(), bool compactResult=false) CV_OVERRIDE |
|
virtual void | radiusMatchImpl (InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, InputArrayOfArrays masks=noArray(), bool compactResult=false) CV_OVERRIDE |
|
void | checkMasks (InputArrayOfArrays masks, int queryDescriptorsCount) const |
|
virtual void | knnMatchImpl (InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, int k, InputArrayOfArrays masks=noArray(), bool compactResult=false)=0 |
|
virtual void | radiusMatchImpl (InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, InputArrayOfArrays masks=noArray(), bool compactResult=false)=0 |
|
void | writeFormat (FileStorage &fs) const |
|
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.