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

pub trait AffineFeature: Feature2DTrait {
    pub fn as_raw_AffineFeature(&self) -> *const c_void;
pub fn as_raw_mut_AffineFeature(&mut self) -> *mut c_void; pub fn set_view_params(
        &mut self,
        tilts: &Vector<f32>,
        rolls: &Vector<f32>
    ) -> Result<()> { ... }
pub fn get_view_params(
        &self,
        tilts: &mut Vector<f32>,
        rolls: &mut Vector<f32>
    ) -> Result<()> { ... }
pub fn get_default_name(&self) -> Result<String> { ... } }

Class for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in YM11 .

Required methods

Loading content...

Provided methods

pub fn set_view_params(
    &mut self,
    tilts: &Vector<f32>,
    rolls: &Vector<f32>
) -> Result<()>
[src]

pub fn get_view_params(
    &self,
    tilts: &mut Vector<f32>,
    rolls: &mut Vector<f32>
) -> Result<()>
[src]

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

Loading content...

Implementations

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

pub fn create(
    backend: &Ptr<Feature2D>,
    max_tilt: i32,
    min_tilt: i32,
    tilt_step: f32,
    rotate_step_base: f32
) -> Result<Ptr<dyn AffineFeature>>
[src]

Parameters

  • backend: The detector/extractor you want to use as backend.
  • maxTilt: The highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
  • minTilt: The lowest power index of tilt factor. 0 is used in the paper.
  • tiltStep: Tilt sampling step inline formula in Algorithm 1 in the paper.
  • rotateStepBase: Rotation sampling step factor b in Algorithm 1 in the paper.

C++ default parameters

  • max_tilt: 5
  • min_tilt: 0
  • tilt_step: 1.4142135623730951f
  • rotate_step_base: 72

Implementors

Loading content...