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
Mutable methods for crate::videostab::MotionEstimatorRansacL2
Required Methods§
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<()>
Sourcefn estimate(
&mut self,
points0: &impl ToInputArray,
points1: &impl ToInputArray,
ok: &mut bool,
) -> Result<Mat>
fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>
§C++ default parameters
- ok: 0
Sourcefn estimate_def(
&mut self,
points0: &impl ToInputArray,
points1: &impl ToInputArray,
) -> Result<Mat>
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.