Trait ImageMotionEstimatorBaseTrait

Source
pub trait ImageMotionEstimatorBaseTrait: ImageMotionEstimatorBaseTraitConst {
    // Required method
    fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void;

    // Provided methods
    fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
    fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()> { ... }
    fn estimate(
        &mut self,
        frame0: &impl MatTraitConst,
        frame1: &impl MatTraitConst,
        ok: &mut bool,
    ) -> Result<Mat> { ... }
    fn estimate_def(
        &mut self,
        frame0: &impl MatTraitConst,
        frame1: &impl MatTraitConst,
    ) -> Result<Mat> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

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

Source

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

Source

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

§C++ default parameters
  • ok: 0
Source

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

§Note

This alternative version of ImageMotionEstimatorBaseTrait::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§