pub struct TwoPassStabilizer { /* private fields */ }Implementations§
Source§impl TwoPassStabilizer
impl TwoPassStabilizer
pub fn default() -> Result<TwoPassStabilizer>
Trait Implementations§
Source§impl Boxed for TwoPassStabilizer
impl Boxed for TwoPassStabilizer
Source§unsafe fn from_raw(
ptr: <TwoPassStabilizer as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <TwoPassStabilizer as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(
self,
) -> <TwoPassStabilizer as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <TwoPassStabilizer as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(&self) -> <TwoPassStabilizer as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <TwoPassStabilizer as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <TwoPassStabilizer as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <TwoPassStabilizer as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Debug for TwoPassStabilizer
impl Debug for TwoPassStabilizer
Source§impl Drop for TwoPassStabilizer
impl Drop for TwoPassStabilizer
Source§impl From<TwoPassStabilizer> for IFrameSource
impl From<TwoPassStabilizer> for IFrameSource
Source§fn from(s: TwoPassStabilizer) -> Self
fn from(s: TwoPassStabilizer) -> Self
Converts to this type from the input type.
Source§impl From<TwoPassStabilizer> for StabilizerBase
impl From<TwoPassStabilizer> for StabilizerBase
Source§fn from(s: TwoPassStabilizer) -> Self
fn from(s: TwoPassStabilizer) -> Self
Converts to this type from the input type.
Source§impl IFrameSourceTraitConst for TwoPassStabilizer
impl IFrameSourceTraitConst for TwoPassStabilizer
fn as_raw_IFrameSource(&self) -> *const c_void
Source§impl StabilizerBaseTrait for TwoPassStabilizer
impl StabilizerBaseTrait for TwoPassStabilizer
fn as_raw_mut_StabilizerBase(&mut self) -> *mut c_void
fn set_log(&mut self, ilog: Ptr<ILog>) -> Result<()>
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_frame_source(&mut self, val: Ptr<IFrameSource>) -> Result<()>
fn set_mask_source(&mut self, val: &Ptr<IFrameSource>) -> Result<()>
fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>
fn set_deblurer(&mut self, val: Ptr<DeblurerBase>) -> Result<()>
fn set_trim_ratio(&mut self, val: f32) -> Result<()>
fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>
fn set_border_mode(&mut self, val: i32) -> Result<()>
fn set_inpainter(&mut self, val: Ptr<InpainterBase>) -> Result<()>
Source§impl StabilizerBaseTraitConst for TwoPassStabilizer
impl StabilizerBaseTraitConst for TwoPassStabilizer
fn as_raw_StabilizerBase(&self) -> *const c_void
fn log(&self) -> Result<Ptr<ILog>>
fn radius(&self) -> Result<i32>
fn frame_source(&self) -> Result<Ptr<IFrameSource>>
fn mask_source(&self) -> Result<Ptr<IFrameSource>>
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn deblurrer(&self) -> Result<Ptr<DeblurerBase>>
fn trim_ratio(&self) -> Result<f32>
fn do_correction_for_inclusion(&self) -> Result<bool>
fn border_mode(&self) -> Result<i32>
fn inpainter(&self) -> Result<Ptr<InpainterBase>>
Source§impl TryFrom<IFrameSource> for TwoPassStabilizer
impl TryFrom<IFrameSource> for TwoPassStabilizer
Source§impl TryFrom<StabilizerBase> for TwoPassStabilizer
impl TryFrom<StabilizerBase> for TwoPassStabilizer
Source§impl TwoPassStabilizerTrait for TwoPassStabilizer
impl TwoPassStabilizerTrait for TwoPassStabilizer
fn as_raw_mut_TwoPassStabilizer(&mut self) -> *mut c_void
fn set_motion_stabilizer(&mut self, val: Ptr<IMotionStabilizer>) -> Result<()>
fn set_wobble_suppressor( &mut self, val: Ptr<WobbleSuppressorBase>, ) -> Result<()>
fn set_estimate_trim_ratio(&mut self, val: bool) -> Result<()>
fn reset(&mut self) -> Result<()>
fn next_frame(&mut self) -> Result<Mat>
Source§impl TwoPassStabilizerTraitConst for TwoPassStabilizer
impl TwoPassStabilizerTraitConst for TwoPassStabilizer
fn as_raw_TwoPassStabilizer(&self) -> *const c_void
fn motion_stabilizer(&self) -> Result<Ptr<IMotionStabilizer>>
fn wobble_suppressor(&self) -> Result<Ptr<WobbleSuppressorBase>>
fn must_estimate_trima_ratio(&self) -> Result<bool>
impl Send for TwoPassStabilizer
Auto Trait Implementations§
impl Freeze for TwoPassStabilizer
impl RefUnwindSafe for TwoPassStabilizer
impl !Sync for TwoPassStabilizer
impl Unpin for TwoPassStabilizer
impl UnwindSafe for TwoPassStabilizer
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
Source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
Source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res,
) -> Res
unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res, ) -> Res
Helper function to call OpenCV functions that allow in-place modification of a
Mat or another similar object. By passing
a mutable reference to the Mat to this function your closure will get called with the read reference and a write references
to the same Mat. This is unsafe in a general case as it leads to having non-exclusive mutable access to the internal data,
but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place
modification is imgproc::threshold. Read more