Type Definition opencv::types::PtrOfFastFeatureDetector
source · [−]pub type PtrOfFastFeatureDetector = Ptr<dyn FastFeatureDetector>;Implementations
sourceimpl PtrOfFastFeatureDetector
impl PtrOfFastFeatureDetector
pub fn as_raw_PtrOfFastFeatureDetector(&self) -> *const c_void
pub fn as_raw_mut_PtrOfFastFeatureDetector(&mut self) -> *mut c_void
Trait Implementations
sourceimpl AlgorithmTraitConst for PtrOfFastFeatureDetector
impl AlgorithmTraitConst for PtrOfFastFeatureDetector
fn as_raw_Algorithm(&self) -> *const c_void
sourcefn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
sourcefn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings Stores algorithm parameters in a file storage Read more
sourcefn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
sourcefn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
sourcefn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
sourceimpl FastFeatureDetector for PtrOfFastFeatureDetector
impl FastFeatureDetector for PtrOfFastFeatureDetector
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<()>
sourceimpl FastFeatureDetectorConst for PtrOfFastFeatureDetector
impl FastFeatureDetectorConst for PtrOfFastFeatureDetector
fn as_raw_FastFeatureDetector(&self) -> *const c_void
fn get_threshold(&self) -> Result<i32>
fn get_nonmax_suppression(&self) -> Result<bool>
fn get_type(&self) -> Result<FastFeatureDetector_DetectorType>
fn get_default_name(&self) -> Result<String>
sourceimpl Feature2DTrait for PtrOfFastFeatureDetector
impl Feature2DTrait for PtrOfFastFeatureDetector
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
sourcefn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
sourcefn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
sourcefn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
sourcefn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
sourcefn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more