pub struct FlannBasedMatcher { /* private fields */ }
Expand description

Flann-based descriptor matcher.

This matcher trains cv::flann::Index on a train descriptor collection and calls its nearest search methods to find the best matches. So, this matcher may be faster when matching a large train collection than the brute force matcher. FlannBasedMatcher does not support masking permissible matches of descriptor sets because flann::Index does not support this. :

Implementations§

C++ default parameters

Trait Implementations§

Clears the algorithm state
Reads algorithm parameters from a file storage
Stores algorithm parameters in a file storage
Stores algorithm parameters in a file storage Read more
@deprecated Read more
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
Clears the train descriptor collections.
Trains a descriptor matcher Read more
Finds the best match for each descriptor from a query set. Read more
Finds the k best matches for each descriptor from a query set. Read more
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Returns a constant link to the train descriptor collection trainDescCollection .
Returns true if there are no train descriptors in the both collections.
Returns true if the descriptor matcher supports masking permissible matches.
Finds the best match for each descriptor from a query set. Read more
Finds the k best matches for each descriptor from a query set. Read more
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Clones the matcher. Read more
Executes the destructor for this type. Read more
C++ default parameters Read more
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.