Trait opencv::hub_prelude::BFMatcherTraitConst
source · [−]pub trait BFMatcherTraitConst: DescriptorMatcherConst {
fn as_raw_BFMatcher(&self) -> *const c_void;
fn is_mask_supported(&self) -> Result<bool> { ... }
fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>> { ... }
}
Expand description
Brute-force descriptor matcher.
For each descriptor in the first set, this matcher finds the closest descriptor in the second set by trying each one. This descriptor matcher supports masking permissible matches of descriptor sets.
Required Methods
fn as_raw_BFMatcher(&self) -> *const c_void
Provided Methods
fn is_mask_supported(&self) -> Result<bool>
sourcefn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>
fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>
C++ default parameters
- empty_train_data: false