[][src]Trait opencv::features2d::prelude::AKAZE

pub trait AKAZE: Feature2DTrait {
    pub fn as_raw_AKAZE(&self) -> *const c_void;
pub fn as_raw_mut_AKAZE(&mut self) -> *mut c_void; pub fn set_descriptor_type(
        &mut self,
        dtype: AKAZE_DescriptorType
    ) -> Result<()> { ... }
pub fn get_descriptor_type(&self) -> Result<AKAZE_DescriptorType> { ... }
pub fn set_descriptor_size(&mut self, dsize: i32) -> Result<()> { ... }
pub fn get_descriptor_size(&self) -> Result<i32> { ... }
pub fn set_descriptor_channels(&mut self, dch: i32) -> Result<()> { ... }
pub fn get_descriptor_channels(&self) -> Result<i32> { ... }
pub fn set_threshold(&mut self, threshold: f64) -> Result<()> { ... }
pub fn get_threshold(&self) -> Result<f64> { ... }
pub fn set_n_octaves(&mut self, octaves: i32) -> Result<()> { ... }
pub fn get_n_octaves(&self) -> Result<i32> { ... }
pub fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()> { ... }
pub fn get_n_octave_layers(&self) -> Result<i32> { ... }
pub fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()> { ... }
pub fn get_diffusivity(&self) -> Result<KAZE_DiffusivityType> { ... }
pub fn get_default_name(&self) -> Result<String> { ... } }

Class implementing the AKAZE keypoint detector and descriptor extractor, described in ANB13.

@details AKAZE descriptors can only be used with KAZE or AKAZE keypoints. This class is thread-safe.

Note: When you need descriptors use Feature2D::detectAndCompute, which provides better performance. When using Feature2D::detect followed by Feature2D::compute scale space pyramid is computed twice.

Note: AKAZE implements T-API. When image is passed as UMat some parts of the algorithm will use OpenCL.

Note: [ANB13] Fast Explicit Diffusion for Accelerated Features in Nonlinear Scale Spaces. Pablo F. Alcantarilla, Jesús Nuevo and Adrien Bartoli. In British Machine Vision Conference (BMVC), Bristol, UK, September 2013.

Required methods

Loading content...

Provided methods

pub fn set_descriptor_type(&mut self, dtype: AKAZE_DescriptorType) -> Result<()>[src]

pub fn get_descriptor_type(&self) -> Result<AKAZE_DescriptorType>[src]

pub fn set_descriptor_size(&mut self, dsize: i32) -> Result<()>[src]

pub fn get_descriptor_size(&self) -> Result<i32>[src]

pub fn set_descriptor_channels(&mut self, dch: i32) -> Result<()>[src]

pub fn get_descriptor_channels(&self) -> Result<i32>[src]

pub fn set_threshold(&mut self, threshold: f64) -> Result<()>[src]

pub fn get_threshold(&self) -> Result<f64>[src]

pub fn set_n_octaves(&mut self, octaves: i32) -> Result<()>[src]

pub fn get_n_octaves(&self) -> Result<i32>[src]

pub fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>[src]

pub fn get_n_octave_layers(&self) -> Result<i32>[src]

pub fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()>[src]

pub fn get_diffusivity(&self) -> Result<KAZE_DiffusivityType>[src]

pub fn get_default_name(&self) -> Result<String>[src]

Loading content...

Implementations

impl<'_> dyn AKAZE + '_[src]

pub fn create(
    descriptor_type: AKAZE_DescriptorType,
    descriptor_size: i32,
    descriptor_channels: i32,
    threshold: f32,
    n_octaves: i32,
    n_octave_layers: i32,
    diffusivity: KAZE_DiffusivityType
) -> Result<Ptr<dyn AKAZE>>
[src]

The AKAZE constructor

Parameters

  • descriptor_type: Type of the extracted descriptor: DESCRIPTOR_KAZE, DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
  • descriptor_size: Size of the descriptor in bits. 0 -> Full size
  • descriptor_channels: Number of channels in the descriptor (1, 2, 3)
  • 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

  • descriptor_type: AKAZE::DESCRIPTOR_MLDB
  • descriptor_size: 0
  • descriptor_channels: 3
  • threshold: 0.001f
  • n_octaves: 4
  • n_octave_layers: 4
  • diffusivity: KAZE::DIFF_PM_G2

Implementors

impl AKAZE for PtrOfAKAZE[src]

Loading content...