Struct opencv::features2d::StarDetector [] [src]

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

Fields

ptr

Methods

impl StarDetector

fn as_raw_StarDetector(&self) -> *mut c_void

impl StarDetector

fn new(_maxSize: i32, _responseThreshold: i32, _lineThresholdProjected: i32, _lineThresholdBinarized: i32, _suppressNonmaxSize: i32) -> Result<StarDetector, String>

the full constructor

default value for arguments: - _maxSize: default 45 - _responseThreshold: default 30 - _lineThresholdProjected: default 10 - _lineThresholdBinarized: default 8 - _suppressNonmaxSize: default 5

Trait Implementations

impl Drop for StarDetector

fn drop(&mut self)

impl Algorithm for StarDetector

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 FeatureDetector for StarDetector

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>