[−][src]Trait opencv::hub_prelude::MotionEstimatorBase
Base class for all global motion estimation methods.
Required methods
fn as_raw_MotionEstimatorBase(&self) -> *const c_void
fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void
Provided methods
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn motion_model(&self) -> Result<MotionModel>
Returns
Motion model. See cv::videostab::MotionModel.
fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
Estimates global motion between two 2D point clouds.
Parameters
- points0: Source set of 2D points (32F).
- points1: Destination set of 2D points (32F).
- ok: Indicates whether motion was estimated successfully.
Returns
3x3 2D transformation matrix (32F).
C++ default parameters
- ok: 0