Type Definition opencv::types::PtrOfFlannBasedMatcher [−][src]
pub type PtrOfFlannBasedMatcher = Ptr<FlannBasedMatcher>;Implementations
Trait Implementations
Stores algorithm parameters in a file storage
simplified API for language bindings Stores algorithm parameters in a file storage 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). Read more
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. Read more
Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
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
fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
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.
fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set. Read more
fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set. Read more
fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Clones the matcher. Read more