Struct opencv::videostab::MotionEstimatorL1
source · pub struct MotionEstimatorL1 { /* private fields */ }
Expand description
Describes a global 2D motion estimation method which minimizes L1 error.
Note: To be able to use this method you must build OpenCV with CLP library support. :
Implementations§
source§impl MotionEstimatorL1
impl MotionEstimatorL1
sourcepub fn new(model: MotionModel) -> Result<MotionEstimatorL1>
pub fn new(model: MotionModel) -> Result<MotionEstimatorL1>
C++ default parameters
- model: MM_AFFINE
sourcepub fn new_def() -> Result<MotionEstimatorL1>
pub fn new_def() -> Result<MotionEstimatorL1>
Note
This alternative version of [new] function uses the following default values for its arguments:
- model: MM_AFFINE
Trait Implementations§
source§impl Boxed for MotionEstimatorL1
impl Boxed for MotionEstimatorL1
source§impl Debug for MotionEstimatorL1
impl Debug for MotionEstimatorL1
source§impl Drop for MotionEstimatorL1
impl Drop for MotionEstimatorL1
source§impl From<MotionEstimatorL1> for MotionEstimatorBase
impl From<MotionEstimatorL1> for MotionEstimatorBase
source§fn from(s: MotionEstimatorL1) -> Self
fn from(s: MotionEstimatorL1) -> Self
Converts to this type from the input type.
source§impl MotionEstimatorBaseTrait for MotionEstimatorL1
impl MotionEstimatorBaseTrait for MotionEstimatorL1
fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void
source§fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
Sets motion model. Read more
source§fn 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>
Estimates global motion between two 2D point clouds. Read more
source§fn 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>
Estimates global motion between two 2D point clouds. Read more
source§impl MotionEstimatorBaseTraitConst for MotionEstimatorL1
impl MotionEstimatorBaseTraitConst for MotionEstimatorL1
fn as_raw_MotionEstimatorBase(&self) -> *const c_void
source§fn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more
source§impl MotionEstimatorL1Trait for MotionEstimatorL1
impl MotionEstimatorL1Trait for MotionEstimatorL1
fn as_raw_mut_MotionEstimatorL1(&mut self) -> *mut c_void
source§fn 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 Read more
source§fn 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 Read more
source§impl MotionEstimatorL1TraitConst for MotionEstimatorL1
impl MotionEstimatorL1TraitConst for MotionEstimatorL1
fn as_raw_MotionEstimatorL1(&self) -> *const c_void
impl Send for MotionEstimatorL1
Auto Trait Implementations§
impl RefUnwindSafe for MotionEstimatorL1
impl !Sync for MotionEstimatorL1
impl Unpin for MotionEstimatorL1
impl UnwindSafe for MotionEstimatorL1
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more