[−][src]Trait opencv::features2d::prelude::AffineFeature
Class for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in YM11 .
Required methods
pub fn as_raw_AffineFeature(&self) -> *const c_void
[src]
pub fn as_raw_mut_AffineFeature(&mut self) -> *mut c_void
[src]
Provided methods
pub fn set_view_params(
&mut self,
tilts: &Vector<f32>,
rolls: &Vector<f32>
) -> Result<()>
[src]
&mut self,
tilts: &Vector<f32>,
rolls: &Vector<f32>
) -> Result<()>
pub fn get_view_params(
&self,
tilts: &mut Vector<f32>,
rolls: &mut Vector<f32>
) -> Result<()>
[src]
&self,
tilts: &mut Vector<f32>,
rolls: &mut Vector<f32>
) -> Result<()>
pub fn get_default_name(&self) -> Result<String>
[src]
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]
backend: &Ptr<Feature2D>,
max_tilt: i32,
min_tilt: i32,
tilt_step: f32,
rotate_step_base: f32
) -> Result<Ptr<dyn AffineFeature>>
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 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