pub trait KeypointBasedMotionEstimatorGpuTrait: ImageMotionEstimatorBaseTrait + KeypointBasedMotionEstimatorGpuTraitConst {
// Required method
fn as_raw_mut_KeypointBasedMotionEstimatorGpu(&mut self) -> *mut c_void;
// Provided methods
fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
fn set_outlier_rejector(&mut self, val: Ptr<IOutlierRejector>) -> Result<()> { ... }
fn estimate(
&mut self,
frame0: &impl MatTraitConst,
frame1: &impl MatTraitConst,
ok: &mut bool
) -> Result<Mat> { ... }
fn estimate_def(
&mut self,
frame0: &impl MatTraitConst,
frame1: &impl MatTraitConst
) -> Result<Mat> { ... }
fn estimate_1(
&mut self,
frame0: &impl GpuMatTraitConst,
frame1: &impl GpuMatTraitConst,
ok: &mut bool
) -> Result<Mat> { ... }
fn estimate_def_1(
&mut self,
frame0: &impl GpuMatTraitConst,
frame1: &impl GpuMatTraitConst
) -> Result<Mat> { ... }
}Expand description
Mutable methods for crate::videostab::KeypointBasedMotionEstimatorGpu
Required Methods§
fn as_raw_mut_KeypointBasedMotionEstimatorGpu(&mut self) -> *mut c_void
Provided Methods§
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_outlier_rejector(&mut self, val: Ptr<IOutlierRejector>) -> Result<()>
sourcefn estimate(
&mut self,
frame0: &impl MatTraitConst,
frame1: &impl MatTraitConst,
ok: &mut bool
) -> Result<Mat>
fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>
§C++ default parameters
- ok: 0
sourcefn estimate_def(
&mut self,
frame0: &impl MatTraitConst,
frame1: &impl MatTraitConst
) -> Result<Mat>
fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>
§Note
This alternative version of KeypointBasedMotionEstimatorGpuTrait::estimate function uses the following default values for its arguments:
- ok: 0
sourcefn estimate_1(
&mut self,
frame0: &impl GpuMatTraitConst,
frame1: &impl GpuMatTraitConst,
ok: &mut bool
) -> Result<Mat>
fn estimate_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, ok: &mut bool ) -> Result<Mat>
§C++ default parameters
- ok: 0
sourcefn estimate_def_1(
&mut self,
frame0: &impl GpuMatTraitConst,
frame1: &impl GpuMatTraitConst
) -> Result<Mat>
fn estimate_def_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst ) -> Result<Mat>
§Note
This alternative version of KeypointBasedMotionEstimatorGpuTrait::estimate function uses the following default values for its arguments:
- ok: 0
Object Safety§
This trait is not object safe.