Trait opencv::features2d::prelude::AffineFeature
source · [−]pub trait AffineFeature: AffineFeatureConst + Feature2DTrait {
fn as_raw_mut_AffineFeature(&mut self) -> *mut c_void;
fn set_view_params(
&mut self,
tilts: &Vector<f32>,
rolls: &Vector<f32>
) -> Result<()> { ... }
}
Required Methods
fn as_raw_mut_AffineFeature(&mut self) -> *mut c_void
Provided Methods
Implementations
sourceimpl dyn AffineFeature + '_
impl dyn AffineFeature + '_
sourcepub fn create(
backend: &Ptr<Feature2D>,
max_tilt: i32,
min_tilt: i32,
tilt_step: f32,
rotate_step_base: f32
) -> Result<Ptr<dyn AffineFeature>>
pub fn create(
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