Trait opencv::prelude::FastFeatureDetector
source · pub trait FastFeatureDetector: FastFeatureDetectorConst + Feature2DTrait {
fn as_raw_mut_FastFeatureDetector(&mut self) -> *mut c_void;
fn set_threshold(&mut self, threshold: i32) -> Result<()> { ... }
fn set_nonmax_suppression(&mut self, f: bool) -> Result<()> { ... }
fn set_type(&mut self, typ: FastFeatureDetector_DetectorType) -> Result<()> { ... }
}
Required Methods§
fn as_raw_mut_FastFeatureDetector(&mut self) -> *mut c_void
Provided Methods§
fn set_threshold(&mut self, threshold: i32) -> Result<()>
fn set_nonmax_suppression(&mut self, f: bool) -> Result<()>
fn set_type(&mut self, typ: FastFeatureDetector_DetectorType) -> Result<()>
Implementations§
source§impl dyn FastFeatureDetector + '_
impl dyn FastFeatureDetector + '_
sourcepub fn create(
threshold: i32,
nonmax_suppression: bool,
typ: FastFeatureDetector_DetectorType
) -> Result<Ptr<dyn FastFeatureDetector>>
pub fn create(
threshold: i32,
nonmax_suppression: bool,
typ: FastFeatureDetector_DetectorType
) -> Result<Ptr<dyn FastFeatureDetector>>
C++ default parameters
- threshold: 10
- nonmax_suppression: true
- typ: FastFeatureDetector::TYPE_9_16