pub trait KeypointBasedMotionEstimatorTrait: ImageMotionEstimatorBase + KeypointBasedMotionEstimatorTraitConst {
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<()> { ... }
fn estimate_mat(
&mut self,
frame0: &Mat,
frame1: &Mat,
ok: &mut bool
) -> Result<Mat> { ... }
fn estimate(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat> { ... }
}
Required Methods
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<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
- ok: 0
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
- ok: 0