Trait opencv::features2d::GenericDescriptorMatcher [] [src]

pub trait GenericDescriptorMatcher {
    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> { ... }
}

Required Methods

fn as_raw_GenericDescriptorMatcher(&self) -> *mut c_void

Provided Methods

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>

fault value for arguments: - mask: default Mat()

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

fault value for arguments: - mask: default Mat() - compactResult: default false

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

fault value for arguments: - mask: default Mat() - compactResult: default false

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

fault value for arguments: - masks: default vector()

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

fault value for arguments: - masks: default vector() - compactResult: default false

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

fault value for arguments: - masks: default vector() - compactResult: default false

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

Implementors