[−][src]Trait opencv::prelude::FlannBasedMatcherTrait
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
pub fn as_raw_FlannBasedMatcher(&self) -> *const c_void
[src]
pub fn as_raw_mut_FlannBasedMatcher(&mut self) -> *mut c_void
[src]
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]
&self,
empty_train_data: bool
) -> Result<Ptr<dyn DescriptorMatcher>>
C++ default parameters
- empty_train_data: false