Trait opencv::hub_prelude::AgastFeatureDetector
source · [−]pub trait AgastFeatureDetector: AgastFeatureDetectorConst + Feature2DTrait {
fn as_raw_mut_AgastFeatureDetector(&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: AgastFeatureDetector_DetectorType) -> Result<()> { ... }
}
Required methods
fn as_raw_mut_AgastFeatureDetector(&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: AgastFeatureDetector_DetectorType) -> Result<()>
Implementations
sourceimpl dyn AgastFeatureDetector + '_
impl dyn AgastFeatureDetector + '_
sourcepub fn create(
threshold: i32,
nonmax_suppression: bool,
typ: AgastFeatureDetector_DetectorType
) -> Result<Ptr<dyn AgastFeatureDetector>>
pub fn create(
threshold: i32,
nonmax_suppression: bool,
typ: AgastFeatureDetector_DetectorType
) -> Result<Ptr<dyn AgastFeatureDetector>>
C++ default parameters
- threshold: 10
- nonmax_suppression: true
- typ: AgastFeatureDetector::OAST_9_16