Trait opencv::prelude::KeypointBasedMotionEstimatorGpuTrait [−][src]
pub trait KeypointBasedMotionEstimatorGpuTrait: ImageMotionEstimatorBase {
fn as_raw_KeypointBasedMotionEstimatorGpu(&self) -> *const c_void;
fn as_raw_mut_KeypointBasedMotionEstimatorGpu(&mut self) -> *mut c_void;
fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
fn motion_model(&self) -> Result<MotionModel> { ... }
fn set_outlier_rejector(
&mut self,
val: Ptr<dyn IOutlierRejector>
) -> Result<()> { ... }
fn outlier_rejector(&self) -> Result<Ptr<dyn IOutlierRejector>> { ... }
fn estimate(
&mut self,
frame0: &Mat,
frame1: &Mat,
ok: &mut bool
) -> Result<Mat> { ... }
fn estimate_1(
&mut self,
frame0: &GpuMat,
frame1: &GpuMat,
ok: &mut bool
) -> Result<Mat> { ... }
}
Required methods
fn as_raw_KeypointBasedMotionEstimatorGpu(&self) -> *const c_void
fn as_raw_mut_KeypointBasedMotionEstimatorGpu(&mut self) -> *mut c_void
Provided methods
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn motion_model(&self) -> Result<MotionModel>
fn set_outlier_rejector(&mut self, val: Ptr<dyn IOutlierRejector>) -> Result<()>
fn outlier_rejector(&self) -> Result<Ptr<dyn IOutlierRejector>>
C++ default parameters
- ok: 0
C++ default parameters
- ok: 0