Struct opencv::videostab::LpMotionStabilizer
source · pub struct LpMotionStabilizer { /* private fields */ }
Implementations§
source§impl LpMotionStabilizer
impl LpMotionStabilizer
sourcepub fn new(model: MotionModel) -> Result<LpMotionStabilizer>
pub fn new(model: MotionModel) -> Result<LpMotionStabilizer>
C++ default parameters
- model: MM_SIMILARITY
sourcepub fn new_def() -> Result<LpMotionStabilizer>
pub fn new_def() -> Result<LpMotionStabilizer>
Note
This alternative version of [new] function uses the following default values for its arguments:
- model: MM_SIMILARITY
Trait Implementations§
source§impl Boxed for LpMotionStabilizer
impl Boxed for LpMotionStabilizer
source§impl Debug for LpMotionStabilizer
impl Debug for LpMotionStabilizer
source§impl Drop for LpMotionStabilizer
impl Drop for LpMotionStabilizer
source§impl From<LpMotionStabilizer> for IMotionStabilizer
impl From<LpMotionStabilizer> for IMotionStabilizer
source§fn from(s: LpMotionStabilizer) -> Self
fn from(s: LpMotionStabilizer) -> Self
Converts to this type from the input type.
source§impl IMotionStabilizerTraitConst for LpMotionStabilizer
impl IMotionStabilizerTraitConst for LpMotionStabilizer
fn as_raw_IMotionStabilizer(&self) -> *const c_void
source§impl LpMotionStabilizerTrait for LpMotionStabilizer
impl LpMotionStabilizerTrait for LpMotionStabilizer
fn as_raw_mut_LpMotionStabilizer(&mut self) -> *mut c_void
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: &Range, stabilization_motions: &mut Mat ) -> Result<()>
source§impl LpMotionStabilizerTraitConst for LpMotionStabilizer
impl LpMotionStabilizerTraitConst for LpMotionStabilizer
fn as_raw_LpMotionStabilizer(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
fn frame_size(&self) -> Result<Size>
fn trim_ratio(&self) -> Result<f32>
fn weight1(&self) -> Result<f32>
fn weight2(&self) -> Result<f32>
fn weight3(&self) -> Result<f32>
fn weight4(&self) -> Result<f32>
impl Send for LpMotionStabilizer
Auto Trait Implementations§
impl RefUnwindSafe for LpMotionStabilizer
impl !Sync for LpMotionStabilizer
impl Unpin for LpMotionStabilizer
impl UnwindSafe for LpMotionStabilizer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more