Trait opencv::prelude::FlannBasedMatcherTrait[][src]

pub trait FlannBasedMatcherTrait: DescriptorMatcher {
    fn as_raw_FlannBasedMatcher(&self) -> *const c_void;
fn as_raw_mut_FlannBasedMatcher(&mut self) -> *mut c_void; fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()> { ... }
fn clear(&mut self) -> Result<()> { ... }
fn read(&mut self, unnamed: &FileNode) -> Result<()> { ... }
fn write(&self, unnamed: &mut FileStorage) -> Result<()> { ... }
fn train(&mut self) -> Result<()> { ... }
fn is_mask_supported(&self) -> Result<bool> { ... }
fn clone(
        &self,
        empty_train_data: bool
    ) -> Result<Ptr<dyn DescriptorMatcher>> { ... } }

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. :

Required methods

Loading content...

Provided methods

fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>[src]

fn clear(&mut self) -> Result<()>[src]

fn read(&mut self, unnamed: &FileNode) -> Result<()>[src]

fn write(&self, unnamed: &mut FileStorage) -> Result<()>[src]

fn train(&mut self) -> Result<()>[src]

fn is_mask_supported(&self) -> Result<bool>[src]

fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>[src]

C++ default parameters

  • empty_train_data: false
Loading content...

Implementors

Loading content...