Trait opencv::prelude::CUDA_FastFeatureDetector
source · pub trait CUDA_FastFeatureDetector: CUDA_FastFeatureDetectorConst + CUDA_Feature2DAsync {
// Required method
fn as_raw_mut_CUDA_FastFeatureDetector(&mut self) -> *mut c_void;
// Provided methods
fn set_threshold(&mut self, threshold: i32) -> Result<()> { ... }
fn set_max_num_points(&mut self, max_npoints: i32) -> Result<()> { ... }
}
Expand description
Wrapping class for feature detection using the FAST method.
Required Methods§
fn as_raw_mut_CUDA_FastFeatureDetector(&mut self) -> *mut c_void
Provided Methods§
fn set_threshold(&mut self, threshold: i32) -> Result<()>
fn set_max_num_points(&mut self, max_npoints: i32) -> Result<()>
Implementations§
source§impl dyn CUDA_FastFeatureDetector + '_
impl dyn CUDA_FastFeatureDetector + '_
pub const LOCATION_ROW: i32 = 0i32
pub const RESPONSE_ROW: i32 = 1i32
pub const ROWS_COUNT: i32 = 2i32
pub const FEATURE_SIZE: i32 = 7i32
sourcepub fn create(
threshold: i32,
nonmax_suppression: bool,
typ: i32,
max_npoints: i32
) -> Result<Ptr<dyn CUDA_FastFeatureDetector>>
pub fn create( threshold: i32, nonmax_suppression: bool, typ: i32, max_npoints: i32 ) -> Result<Ptr<dyn CUDA_FastFeatureDetector>>
C++ default parameters
- threshold: 10
- nonmax_suppression: true
- typ: cv::FastFeatureDetector::TYPE_9_16
- max_npoints: 5000