Struct opencv::features2d::BFMatcher [] [src]

pub struct BFMatcher {
    pub ptr: *mut c_void,
}

Fields

ptr

Methods

impl BFMatcher

fn as_raw_BFMatcher(&self) -> *mut c_void

impl BFMatcher

fn new(normType: i32, crossCheck: bool) -> Result<BFMatcher, String>

fault value for arguments: - normType: default NORM_L2 - crossCheck: default false

fn is_mask_supported(&self) -> Result<bool, String>

Trait Implementations

impl Drop for BFMatcher

fn drop(&mut self)

impl DescriptorMatcher for BFMatcher

fn as_raw_DescriptorMatcher(&self) -> *mut c_void

fn add(&mut self, descriptors: &VectorOfMat) -> Result<(), String>

fn get_train_descriptors(&self) -> Result<VectorOfMat, String>

fn clear(&mut self) -> Result<(), String>

fn empty(&self) -> Result<bool, String>

fn train(&mut self) -> Result<(), String>

fn train_matches(&self, queryDescriptors: &Mat, trainDescriptors: &Mat, matches: &VectorOfDMatch, mask: &Mat) -> Result<(), String>

fn knn_train_matches(&self, queryDescriptors: &Mat, trainDescriptors: &Mat, matches: &VectorOfVectorOfDMatch, k: i32, mask: &Mat, compactResult: bool) -> Result<(), String>

fn train_radius_matches(&self, queryDescriptors: &Mat, trainDescriptors: &Mat, matches: &VectorOfVectorOfDMatch, maxDistance: f32, mask: &Mat, compactResult: bool) -> Result<(), String>

fn matches(&mut self, queryDescriptors: &Mat, matches: &VectorOfDMatch, masks: &VectorOfMat) -> Result<(), String>

fn knn_matches(&mut self, queryDescriptors: &Mat, matches: &VectorOfVectorOfDMatch, k: i32, masks: &VectorOfMat, compactResult: bool) -> Result<(), String>

fn radius_matches(&mut self, queryDescriptors: &Mat, matches: &VectorOfVectorOfDMatch, maxDistance: f32, masks: &VectorOfMat, compactResult: bool) -> Result<(), String>

impl Algorithm for BFMatcher

fn as_raw_Algorithm(&self) -> *mut c_void

fn name(&self) -> Result<String, String>

fn get_int(&self, name: &str) -> Result<i32, String>

fn get_double(&self, name: &str) -> Result<f64, String>

fn get_bool(&self, name: &str) -> Result<bool, String>

fn get_string(&self, name: &str) -> Result<String, String>

fn get_mat(&self, name: &str) -> Result<Mat, String>

fn get_mat_vector(&self, name: &str) -> Result<VectorOfMat, String>

fn set_int(&mut self, name: &str, value: i32) -> Result<(), String>

fn set_double(&mut self, name: &str, value: f64) -> Result<(), String>

fn set_bool(&mut self, name: &str, value: bool) -> Result<(), String>

fn set_string(&mut self, name: &str, value: &str) -> Result<(), String>

fn set_mat(&mut self, name: &str, value: &Mat) -> Result<(), String>

fn set_VectorOfMat(&mut self, name: &str, value: &VectorOfMat) -> Result<(), String>

fn param_help(&self, name: &str) -> Result<String, String>

fn param_type(&self, name: &str) -> Result<i32, String>

fn get_params(&self, names: &VectorOfString) -> Result<(), String>

fn get_list(&mut self, algorithms: &VectorOfString) -> Result<(), String>