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
sourceimpl KeypointBasedMotionEstimator
impl KeypointBasedMotionEstimator
pub fn new(
estimator: Ptr<dyn MotionEstimatorBase>
) -> Result<KeypointBasedMotionEstimator>
Trait Implementations
sourceimpl Boxed for KeypointBasedMotionEstimator
impl Boxed for KeypointBasedMotionEstimator
sourceimpl Drop for KeypointBasedMotionEstimator
impl Drop for KeypointBasedMotionEstimator
sourceimpl ImageMotionEstimatorBase for KeypointBasedMotionEstimator
impl ImageMotionEstimatorBase 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: &dyn ToInputArray) -> Result<()>
sourceimpl ImageMotionEstimatorBaseConst for KeypointBasedMotionEstimator
impl ImageMotionEstimatorBaseConst for KeypointBasedMotionEstimator
fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
sourceimpl 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<dyn ISparseOptFlowEstimator>
) -> Result<()>
fn set_outlier_rejector(&mut self, val: Ptr<dyn IOutlierRejector>) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
sourcefn 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
sourcefn estimate(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
C++ default parameters Read more
sourceimpl 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<dyn ISparseOptFlowEstimator>>
fn outlier_rejector(&self) -> Result<Ptr<dyn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more