Struct opencv::features2d::FREAK [] [src]

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

Fields

ptr

Methods

impl FREAK

fn as_raw_FREAK(&self) -> *mut c_void

impl FREAK

fn new(orientationNormalized: bool, scaleNormalized: bool, patternScale: f32, nOctaves: i32, selectedPairs: &VectorOfint) -> Result<FREAK, String>

Constructor * @param orientationNormalized enable orientation normalization * @param scaleNormalized enable scale normalization * @param patternScale scaling of the description pattern * @param nOctaves number of octaves covered by the detected keypoints * @param selectedPairs (optional) user defined selected pairs

default value for arguments: - orientationNormalized: default true - scaleNormalized: default true - patternScale: default 22.0f - nOctaves: default 4 - selectedPairs: default vector()

fn copy(rhs: &FREAK) -> Result<FREAK, String>

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

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

fn select_pairs(&mut self, images: &VectorOfMat, keypoints: &VectorOfVectorOfKeyPoint, corrThresh: f64, verbose: bool) -> Result<VectorOfint, String>

select the 512 "best description pairs" * @param images grayscale images set * @param keypoints set of detected keypoints * @param corrThresh correlation threshold * @param verbose print construction information * @return list of best pair indexes

default value for arguments: - corrThresh: default 0.7 - verbose: default true

Trait Implementations

impl Drop for FREAK

fn drop(&mut self)

impl Algorithm for FREAK

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 DescriptorExtractor for FREAK

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>