[][src]Trait opencv::videostab::prelude::KeypointBasedMotionEstimatorTrait

pub trait KeypointBasedMotionEstimatorTrait: ImageMotionEstimatorBase {
    pub fn as_raw_KeypointBasedMotionEstimator(&self) -> *const c_void;
pub fn as_raw_mut_KeypointBasedMotionEstimator(&mut self) -> *mut c_void; pub fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
pub fn motion_model(&self) -> Result<MotionModel> { ... }
pub fn set_detector(&mut self, val: Ptr<Feature2D>) -> Result<()> { ... }
pub fn detector(&self) -> Result<Ptr<Feature2D>> { ... }
pub fn set_optical_flow_estimator(
        &mut self,
        val: Ptr<dyn ISparseOptFlowEstimator>
    ) -> Result<()> { ... }
pub fn optical_flow_estimator(
        &self
    ) -> Result<Ptr<dyn ISparseOptFlowEstimator>> { ... }
pub fn set_outlier_rejector(
        &mut self,
        val: Ptr<dyn IOutlierRejector>
    ) -> Result<()> { ... }
pub fn outlier_rejector(&self) -> Result<Ptr<dyn IOutlierRejector>> { ... }
pub fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()> { ... }
pub fn estimate_mat(
        &mut self,
        frame0: &Mat,
        frame1: &Mat,
        ok: &mut bool
    ) -> Result<Mat> { ... }
pub fn estimate(
        &mut self,
        frame0: &dyn ToInputArray,
        frame1: &dyn ToInputArray,
        ok: &mut bool
    ) -> Result<Mat> { ... } }

Describes a global 2D motion estimation method which uses keypoints detection and optical flow for matching.

Required methods

Loading content...

Provided methods

pub fn set_motion_model(&mut self, val: MotionModel) -> Result<()>[src]

pub fn motion_model(&self) -> Result<MotionModel>[src]

pub fn set_detector(&mut self, val: Ptr<Feature2D>) -> Result<()>[src]

pub fn detector(&self) -> Result<Ptr<Feature2D>>[src]

pub fn set_optical_flow_estimator(
    &mut self,
    val: Ptr<dyn ISparseOptFlowEstimator>
) -> Result<()>
[src]

pub fn optical_flow_estimator(&self) -> Result<Ptr<dyn ISparseOptFlowEstimator>>[src]

pub fn set_outlier_rejector(
    &mut self,
    val: Ptr<dyn IOutlierRejector>
) -> Result<()>
[src]

pub fn outlier_rejector(&self) -> Result<Ptr<dyn IOutlierRejector>>[src]

pub fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>[src]

pub fn estimate_mat(
    &mut self,
    frame0: &Mat,
    frame1: &Mat,
    ok: &mut bool
) -> Result<Mat>
[src]

pub fn estimate(
    &mut self,
    frame0: &dyn ToInputArray,
    frame1: &dyn ToInputArray,
    ok: &mut bool
) -> Result<Mat>
[src]

Loading content...

Implementors

Loading content...