Struct opencv::features2d::ORB [] [src]

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

Fields

ptr

Methods

impl ORB

fn as_raw_ORB(&self) -> *mut c_void

impl ORB

fn new(nfeatures: i32, scaleFactor: f32, nlevels: i32, edgeThreshold: i32, firstLevel: i32, WTA_K: i32, scoreType: i32, patchSize: i32) -> Result<ORB, String>

fault value for arguments: - nfeatures: default 500 - scaleFactor: default 1.2f - nlevels: default 8 - edgeThreshold: default 31 - firstLevel: default 0 - WTA_K: default 2 - scoreType: default ORB::HARRIS_SCORE - patchSize: default 31

fn descriptor_size(&self) -> Result<i32, String>

fn descriptor_type(&self) -> Result<i32, String>

Trait Implementations

impl Drop for ORB

fn drop(&mut self)

impl Algorithm for ORB

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>

impl Feature2D for ORB

fn as_raw_Feature2D(&self) -> *mut c_void

impl FeatureDetector for ORB

fn as_raw_FeatureDetector(&self) -> *mut c_void

fn detect(&self, image: &Mat, keypoints: &VectorOfKeyPoint, mask: &Mat) -> Result<(), String>

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

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

fn create(&mut self, detectorType: &str) -> Result<PtrOfFeatureDetector, String>

impl DescriptorExtractor for ORB

fn as_raw_DescriptorExtractor(&self) -> *mut c_void

fn compute(&self, image: &Mat, keypoints: &VectorOfKeyPoint, descriptors: &Mat) -> Result<(), String>

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

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