pub trait KeypointBasedMotionEstimatorTrait: ImageMotionEstimatorBaseTrait + KeypointBasedMotionEstimatorTraitConst {
    // Required method
    fn as_raw_mut_KeypointBasedMotionEstimator(&mut self) -> *mut c_void;

    // Provided methods
    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<()> { ... }
    fn estimate_mat(
        &mut self,
        frame0: &Mat,
        frame1: &Mat,
        ok: &mut bool
    ) -> Result<Mat> { ... }
    fn estimate(
        &mut self,
        frame0: &impl ToInputArray,
        frame1: &impl ToInputArray,
        ok: &mut bool
    ) -> Result<Mat> { ... }
}
Expand description

Required Methods§

Provided Methods§

source

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source

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

source

fn set_optical_flow_estimator( &mut self, val: Ptr<ISparseOptFlowEstimator> ) -> Result<()>

source

fn set_outlier_rejector(&mut self, val: Ptr<IOutlierRejector>) -> Result<()>

source

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>

source

fn estimate( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>

Implementors§