pub trait LpMotionStabilizerTrait: IMotionStabilizerTrait + LpMotionStabilizerTraitConst {
// Required method
fn as_raw_mut_LpMotionStabilizer(&mut self) -> *mut c_void;
// Provided methods
fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
fn set_frame_size(&mut self, val: Size) -> Result<()> { ... }
fn set_trim_ratio(&mut self, val: f32) -> Result<()> { ... }
fn set_weight1(&mut self, val: f32) -> Result<()> { ... }
fn set_weight2(&mut self, val: f32) -> Result<()> { ... }
fn set_weight3(&mut self, val: f32) -> Result<()> { ... }
fn set_weight4(&mut self, val: f32) -> Result<()> { ... }
fn stabilize(
&mut self,
size: i32,
motions: &Vector<Mat>,
range: &impl RangeTraitConst,
stabilization_motions: &mut impl MatTrait,
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::videostab::LpMotionStabilizer
Required Methods§
fn as_raw_mut_LpMotionStabilizer(&mut self) -> *mut c_void
Provided Methods§
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_size(&mut self, val: Size) -> Result<()>
fn set_trim_ratio(&mut self, val: f32) -> Result<()>
fn set_weight1(&mut self, val: f32) -> Result<()>
fn set_weight2(&mut self, val: f32) -> Result<()>
fn set_weight3(&mut self, val: f32) -> Result<()>
fn set_weight4(&mut self, val: f32) -> Result<()>
fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.