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: &Mat,
frame1: &Mat,
ok: &mut bool
) -> Result<Mat> { ... }
fn estimate_def(&mut self, frame0: &Mat, frame1: &Mat) -> Result<Mat> { ... }
}
Expand description
Mutable methods for crate::videostab::ImageMotionEstimatorBase
Required Methods§
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<()>
sourcefn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>
fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>
C++ default parameters
- ok: 0
sourcefn estimate_def(&mut self, frame0: &Mat, frame1: &Mat) -> Result<Mat>
fn estimate_def(&mut self, frame0: &Mat, frame1: &Mat) -> Result<Mat>
Note
This alternative version of ImageMotionEstimatorBaseTrait::estimate function uses the following default values for its arguments:
- ok: 0
Object Safety§
This trait is not object safe.