Trait MotionEstimatorRansacL2Trait

Source
pub trait MotionEstimatorRansacL2Trait: MotionEstimatorBaseTrait + MotionEstimatorRansacL2TraitConst {
    // Required method
    fn as_raw_mut_MotionEstimatorRansacL2(&mut self) -> *mut c_void;

    // Provided methods
    fn set_ransac_params(
        &mut self,
        val: &impl RansacParamsTraitConst,
    ) -> Result<()> { ... }
    fn set_min_inlier_ratio(&mut self, val: f32) -> Result<()> { ... }
    fn estimate(
        &mut self,
        points0: &impl ToInputArray,
        points1: &impl ToInputArray,
        ok: &mut bool,
    ) -> Result<Mat> { ... }
    fn estimate_def(
        &mut self,
        points0: &impl ToInputArray,
        points1: &impl ToInputArray,
    ) -> Result<Mat> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_ransac_params(&mut self, val: &impl RansacParamsTraitConst) -> Result<()>

Source

fn set_min_inlier_ratio(&mut self, val: f32) -> Result<()>

Source

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>

§C++ default parameters
  • ok: 0
Source

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ) -> Result<Mat>

§Note

This alternative version of MotionEstimatorRansacL2Trait::estimate function uses the following default values for its arguments:

  • ok: 0

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§