Struct opencv::videostab::KeypointBasedMotionEstimator
source · pub struct KeypointBasedMotionEstimator { /* private fields */ }
Expand description
Describes a global 2D motion estimation method which uses keypoints detection and optical flow for matching.
Implementations§
source§impl KeypointBasedMotionEstimator
impl KeypointBasedMotionEstimator
pub fn new( estimator: Ptr<MotionEstimatorBase> ) -> Result<KeypointBasedMotionEstimator>
Trait Implementations§
source§impl Boxed for KeypointBasedMotionEstimator
impl Boxed for KeypointBasedMotionEstimator
source§impl Drop for KeypointBasedMotionEstimator
impl Drop for KeypointBasedMotionEstimator
source§impl ImageMotionEstimatorBaseTrait for KeypointBasedMotionEstimator
impl ImageMotionEstimatorBaseTrait for KeypointBasedMotionEstimator
fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>
source§impl ImageMotionEstimatorBaseTraitConst for KeypointBasedMotionEstimator
impl ImageMotionEstimatorBaseTraitConst for KeypointBasedMotionEstimator
fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
source§impl KeypointBasedMotionEstimatorTrait for KeypointBasedMotionEstimator
impl KeypointBasedMotionEstimatorTrait for KeypointBasedMotionEstimator
fn as_raw_mut_KeypointBasedMotionEstimator(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_detector(&mut self, val: Ptr<Feature2D>) -> Result<()>
fn set_optical_flow_estimator( &mut self, val: Ptr<ISparseOptFlowEstimator> ) -> Result<()>
fn set_outlier_rejector(&mut self, val: Ptr<IOutlierRejector>) -> Result<()>
fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>
source§fn estimate_mat(
&mut self,
frame0: &Mat,
frame1: &Mat,
ok: &mut bool
) -> Result<Mat>
fn estimate_mat( &mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool ) -> Result<Mat>
C++ default parameters Read more
source§fn estimate(
&mut self,
frame0: &impl ToInputArray,
frame1: &impl ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>
C++ default parameters Read more
source§impl KeypointBasedMotionEstimatorTraitConst for KeypointBasedMotionEstimator
impl KeypointBasedMotionEstimatorTraitConst for KeypointBasedMotionEstimator
fn as_raw_KeypointBasedMotionEstimator(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
fn detector(&self) -> Result<Ptr<Feature2D>>
fn optical_flow_estimator(&self) -> Result<Ptr<ISparseOptFlowEstimator>>
fn outlier_rejector(&self) -> Result<Ptr<IOutlierRejector>>
impl Send for KeypointBasedMotionEstimator
Auto Trait Implementations§
impl RefUnwindSafe for KeypointBasedMotionEstimator
impl !Sync for KeypointBasedMotionEstimator
impl Unpin for KeypointBasedMotionEstimator
impl UnwindSafe for KeypointBasedMotionEstimator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more