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

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

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

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

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

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

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

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

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

C++ default parameters

  • empty_train_data: false
Loading content...

Implementors

Loading content...