Struct opencv::features2d::VectorDescriptorMatcher [] [src]

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

Fields

ptr

Methods

impl VectorDescriptorMatcher

fn as_raw_VectorDescriptorMatcher(&self) -> *mut c_void

impl VectorDescriptorMatcher

fn add(&mut self, imgCollection: &VectorOfMat, pointCollection: &VectorOfVectorOfKeyPoint) -> Result<(), String>

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

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

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

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

fn clone(&self, emptyTrainData: bool) -> Result<PtrOfGenericDescriptorMatcher, String>

fault value for arguments: - emptyTrainData: default false

Trait Implementations

impl Drop for VectorDescriptorMatcher

fn drop(&mut self)

impl GenericDescriptorMatcher for VectorDescriptorMatcher

fn as_raw_GenericDescriptorMatcher(&self) -> *mut c_void

fn add(&mut self, images: &VectorOfMat, keypoints: &VectorOfVectorOfKeyPoint) -> Result<(), String>

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

fn get_train_keypoints(&self) -> Result<VectorOfVectorOfKeyPoint, String>

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

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

fn train_classify(&self, queryImage: &Mat, queryKeypoints: &VectorOfKeyPoint, trainImage: &Mat, trainKeypoints: &VectorOfKeyPoint) -> Result<(), String>

fn classify(&mut self, queryImage: &Mat, queryKeypoints: &VectorOfKeyPoint) -> Result<(), String>

fn train_matches(&self, queryImage: &Mat, queryKeypoints: &VectorOfKeyPoint, trainImage: &Mat, trainKeypoints: &VectorOfKeyPoint, matches: &VectorOfDMatch, mask: &Mat) -> Result<(), String>

fn train_classify_matches(&self, queryImage: &Mat, queryKeypoints: &VectorOfKeyPoint, trainImage: &Mat, trainKeypoints: &VectorOfKeyPoint, matches: &VectorOfVectorOfDMatch, k: i32, mask: &Mat, compactResult: bool) -> Result<(), String>

fn train_radius_matches(&self, queryImage: &Mat, queryKeypoints: &VectorOfKeyPoint, trainImage: &Mat, trainKeypoints: &VectorOfKeyPoint, matches: &VectorOfVectorOfDMatch, maxDistance: f32, mask: &Mat, compactResult: bool) -> Result<(), String>

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

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

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

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