Trait opencv::prelude::ToFileMotionWriterTrait

source ·
pub trait ToFileMotionWriterTrait: ImageMotionEstimatorBaseTrait + ToFileMotionWriterTraitConst {
    // Required method
    fn as_raw_mut_ToFileMotionWriter(&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 ToFileMotionWriterTrait::estimate function uses the following default values for its arguments:

  • ok: 0

Object Safety§

This trait is not object safe.

Implementors§