pub trait KAZE: Feature2DTrait + KAZEConst {
// Required method
fn as_raw_mut_KAZE(&mut self) -> *mut c_void;
// Provided methods
fn set_extended(&mut self, extended: bool) -> Result<()> { ... }
fn set_upright(&mut self, upright: bool) -> Result<()> { ... }
fn set_threshold(&mut self, threshold: f64) -> Result<()> { ... }
fn set_n_octaves(&mut self, octaves: i32) -> Result<()> { ... }
fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()> { ... }
fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()> { ... }
}
Expand description
Class implementing the KAZE keypoint detector and descriptor extractor, described in ABD12 .
Note: AKAZE descriptor can only be used with KAZE or AKAZE keypoints .. [ABD12] KAZE Features. Pablo F. Alcantarilla, Adrien Bartoli and Andrew J. Davison. In European Conference on Computer Vision (ECCV), Fiorenze, Italy, October 2012.
Required Methods§
fn as_raw_mut_KAZE(&mut self) -> *mut c_void
Provided Methods§
fn set_extended(&mut self, extended: bool) -> Result<()>
fn set_upright(&mut self, upright: bool) -> Result<()>
fn set_threshold(&mut self, threshold: f64) -> Result<()>
fn set_n_octaves(&mut self, octaves: i32) -> Result<()>
fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>
fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()>
Implementations§
source§impl dyn KAZE + '_
impl dyn KAZE + '_
sourcepub fn create(
extended: bool,
upright: bool,
threshold: f32,
n_octaves: i32,
n_octave_layers: i32,
diffusivity: KAZE_DiffusivityType
) -> Result<Ptr<dyn KAZE>>
pub fn create( extended: bool, upright: bool, threshold: f32, n_octaves: i32, n_octave_layers: i32, diffusivity: KAZE_DiffusivityType ) -> Result<Ptr<dyn KAZE>>
The KAZE constructor
Parameters
- extended: Set to enable extraction of extended (128-byte) descriptor.
- upright: Set to enable use of upright descriptors (non rotation-invariant).
- threshold: Detector response threshold to accept point
- nOctaves: Maximum octave evolution of the image
- nOctaveLayers: Default number of sublevels per scale level
- diffusivity: Diffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
C++ default parameters
- extended: false
- upright: false
- threshold: 0.001f
- n_octaves: 4
- n_octave_layers: 4
- diffusivity: KAZE::DIFF_PM_G2