Type Definition opencv::types::PtrOfMotionEstimatorBase
source · pub type PtrOfMotionEstimatorBase = Ptr<dyn MotionEstimatorBase>;Implementations
sourceimpl PtrOfMotionEstimatorBase
impl PtrOfMotionEstimatorBase
pub fn as_raw_PtrOfMotionEstimatorBase(&self) -> *const c_void
pub fn as_raw_mut_PtrOfMotionEstimatorBase(&mut self) -> *mut c_void
Trait Implementations
sourceimpl MotionEstimatorBase for PtrOfMotionEstimatorBase
impl MotionEstimatorBase for PtrOfMotionEstimatorBase
fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void
sourcefn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
Sets motion model. Read more
sourcefn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
Estimates global motion between two 2D point clouds. Read more
sourceimpl MotionEstimatorBaseConst for PtrOfMotionEstimatorBase
impl MotionEstimatorBaseConst for PtrOfMotionEstimatorBase
fn as_raw_MotionEstimatorBase(&self) -> *const c_void
sourcefn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more