[][src]Trait opencv::videostab::prelude::ImageMotionEstimatorBase

pub trait ImageMotionEstimatorBase {
    fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void;
fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void; fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
fn motion_model(&self) -> Result<MotionModel> { ... }
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()> { ... }
fn estimate(
        &mut self,
        frame0: &Mat,
        frame1: &Mat,
        ok: &mut bool
    ) -> Result<Mat> { ... } }

Base class for global 2D motion estimation methods which take frames as input.

Required methods

Loading content...

Provided methods

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

fn motion_model(&self) -> Result<MotionModel>

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

Loading content...

Implementors

Loading content...