Struct opencv::videostab::MotionFilterBase
source · pub struct MotionFilterBase { /* private fields */ }
Trait Implementations§
source§impl Boxed for MotionFilterBase
impl Boxed for MotionFilterBase
source§unsafe fn from_raw(
ptr: <MotionFilterBase as OpenCVFromExtern>::ExternReceive
) -> Self
unsafe fn from_raw( ptr: <MotionFilterBase as OpenCVFromExtern>::ExternReceive ) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(
self
) -> <MotionFilterBase as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self ) -> <MotionFilterBase as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <MotionFilterBase as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <MotionFilterBase as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(
&mut self
) -> <MotionFilterBase as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self ) -> <MotionFilterBase as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl Debug for MotionFilterBase
impl Debug for MotionFilterBase
source§impl Drop for MotionFilterBase
impl Drop for MotionFilterBase
source§impl From<GaussianMotionFilter> for MotionFilterBase
impl From<GaussianMotionFilter> for MotionFilterBase
source§fn from(s: GaussianMotionFilter) -> Self
fn from(s: GaussianMotionFilter) -> Self
Converts to this type from the input type.
source§impl From<MotionFilterBase> for IMotionStabilizer
impl From<MotionFilterBase> for IMotionStabilizer
source§fn from(s: MotionFilterBase) -> Self
fn from(s: MotionFilterBase) -> Self
Converts to this type from the input type.
source§impl IMotionStabilizerTraitConst for MotionFilterBase
impl IMotionStabilizerTraitConst for MotionFilterBase
fn as_raw_IMotionStabilizer(&self) -> *const c_void
source§impl MotionFilterBaseTrait for MotionFilterBase
impl MotionFilterBaseTrait for MotionFilterBase
fn as_raw_mut_MotionFilterBase(&mut self) -> *mut c_void
fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst ) -> Result<Mat>
fn stabilize_1( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>
source§impl MotionFilterBaseTraitConst for MotionFilterBase
impl MotionFilterBaseTraitConst for MotionFilterBase
fn as_raw_MotionFilterBase(&self) -> *const c_void
source§impl TryFrom<IMotionStabilizer> for MotionFilterBase
impl TryFrom<IMotionStabilizer> for MotionFilterBase
impl Send for MotionFilterBase
Auto Trait Implementations§
impl Freeze for MotionFilterBase
impl RefUnwindSafe for MotionFilterBase
impl !Sync for MotionFilterBase
impl Unpin for MotionFilterBase
impl UnwindSafe for MotionFilterBase
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 of course unsafe as it breaks the Rust aliasing rules, but it might be useful for some performance
sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold
. Read more