Trait opencv::features2d::FlannBasedMatcherTraitConst[][src]

pub trait FlannBasedMatcherTraitConst: DescriptorMatcherConst {
    fn as_raw_FlannBasedMatcher(&self) -> *const c_void;

    fn write(&self, unnamed: &mut FileStorage) -> Result<()> { ... }
fn is_mask_supported(&self) -> Result<bool> { ... }
fn clone(
        &self,
        empty_train_data: bool
    ) -> Result<Ptr<dyn DescriptorMatcher>> { ... } }
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. :

Required methods

Provided methods

C++ default parameters
  • empty_train_data: false

Implementors