BRISKTrait

Trait BRISKTrait 

Source
pub trait BRISKTrait: BRISKTraitConst + Feature2DTrait {
    // Required method
    fn as_raw_mut_BRISK(&mut self) -> *mut c_void;

    // Provided methods
    fn set_threshold(&mut self, threshold: i32) -> Result<()> { ... }
    fn set_octaves(&mut self, octaves: i32) -> Result<()> { ... }
    fn set_pattern_scale(&mut self, pattern_scale: f32) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::features2d::BRISK

Required Methods§

Provided Methods§

Source

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Set detection threshold.

§Parameters
  • threshold: AGAST detection threshold score.
Source

fn set_octaves(&mut self, octaves: i32) -> Result<()>

Set detection octaves.

§Parameters
  • octaves: detection octaves. Use 0 to do single scale.
Source

fn set_pattern_scale(&mut self, pattern_scale: f32) -> Result<()>

Set detection patternScale.

§Parameters
  • patternScale: apply this scale to the pattern used for sampling the neighbourhood of a keypoint.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§