pub struct WobbleSuppressorBase { /* private fields */ }
Trait Implementations§
Source§impl Boxed for WobbleSuppressorBase
impl Boxed for WobbleSuppressorBase
Source§unsafe fn from_raw(
ptr: <WobbleSuppressorBase as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <WobbleSuppressorBase as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(
self,
) -> <WobbleSuppressorBase as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <WobbleSuppressorBase as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(
&self,
) -> <WobbleSuppressorBase as OpenCVTypeExternContainer>::ExternSend
fn as_raw( &self, ) -> <WobbleSuppressorBase as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <WobbleSuppressorBase as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <WobbleSuppressorBase as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Debug for WobbleSuppressorBase
impl Debug for WobbleSuppressorBase
Source§impl Drop for WobbleSuppressorBase
impl Drop for WobbleSuppressorBase
Source§impl From<MoreAccurateMotionWobbleSuppressor> for WobbleSuppressorBase
impl From<MoreAccurateMotionWobbleSuppressor> for WobbleSuppressorBase
Source§fn from(s: MoreAccurateMotionWobbleSuppressor) -> Self
fn from(s: MoreAccurateMotionWobbleSuppressor) -> Self
Converts to this type from the input type.
Source§impl From<MoreAccurateMotionWobbleSuppressorBase> for WobbleSuppressorBase
impl From<MoreAccurateMotionWobbleSuppressorBase> for WobbleSuppressorBase
Source§fn from(s: MoreAccurateMotionWobbleSuppressorBase) -> Self
fn from(s: MoreAccurateMotionWobbleSuppressorBase) -> Self
Converts to this type from the input type.
Source§impl From<MoreAccurateMotionWobbleSuppressorGpu> for WobbleSuppressorBase
impl From<MoreAccurateMotionWobbleSuppressorGpu> for WobbleSuppressorBase
Source§fn from(s: MoreAccurateMotionWobbleSuppressorGpu) -> Self
fn from(s: MoreAccurateMotionWobbleSuppressorGpu) -> Self
Converts to this type from the input type.
Source§impl From<NullWobbleSuppressor> for WobbleSuppressorBase
impl From<NullWobbleSuppressor> for WobbleSuppressorBase
Source§fn from(s: NullWobbleSuppressor) -> Self
fn from(s: NullWobbleSuppressor) -> Self
Converts to this type from the input type.
Source§impl WobbleSuppressorBaseTrait for WobbleSuppressorBase
impl WobbleSuppressorBaseTrait for WobbleSuppressorBase
fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void
fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>
fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>
fn set_frame_count(&mut self, val: i32) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
Source§impl WobbleSuppressorBaseTraitConst for WobbleSuppressorBase
impl WobbleSuppressorBaseTraitConst for WobbleSuppressorBase
fn as_raw_WobbleSuppressorBase(&self) -> *const c_void
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn frame_count(&self) -> Result<i32>
fn motions(&self) -> Result<Vector<Mat>>
fn motions2(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
impl Send for WobbleSuppressorBase
Auto Trait Implementations§
impl Freeze for WobbleSuppressorBase
impl RefUnwindSafe for WobbleSuppressorBase
impl !Sync for WobbleSuppressorBase
impl Unpin for WobbleSuppressorBase
impl UnwindSafe for WobbleSuppressorBase
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