pub struct BinaryDescriptor_Params { /* private fields */ }
Expand description
List of BinaryDescriptor parameters:
Implementations§
source§impl BinaryDescriptor_Params
impl BinaryDescriptor_Params
pub fn default() -> Result<BinaryDescriptor_Params>
Trait Implementations§
source§impl BinaryDescriptor_ParamsTrait for BinaryDescriptor_Params
impl BinaryDescriptor_ParamsTrait for BinaryDescriptor_Params
fn as_raw_mut_BinaryDescriptor_Params(&mut self) -> *mut c_void
source§fn set_num_of_octave_(&mut self, val: i32)
fn set_num_of_octave_(&mut self, val: i32)
the number of image octaves (default = 1)
source§fn set_width_of_band_(&mut self, val: i32)
fn set_width_of_band_(&mut self, val: i32)
the width of band; (default: 7)
source§fn set_reduction_ratio(&mut self, val: i32)
fn set_reduction_ratio(&mut self, val: i32)
image’s reduction ratio in construction of Gaussian pyramids
fn set_ksize_(&mut self, val: i32)
source§impl BinaryDescriptor_ParamsTraitConst for BinaryDescriptor_Params
impl BinaryDescriptor_ParamsTraitConst for BinaryDescriptor_Params
fn as_raw_BinaryDescriptor_Params(&self) -> *const c_void
source§fn num_of_octave_(&self) -> i32
fn num_of_octave_(&self) -> i32
the number of image octaves (default = 1)
source§fn width_of_band_(&self) -> i32
fn width_of_band_(&self) -> i32
the width of band; (default: 7)
source§fn reduction_ratio(&self) -> i32
fn reduction_ratio(&self) -> i32
image’s reduction ratio in construction of Gaussian pyramids
fn ksize_(&self) -> i32
source§impl Boxed for BinaryDescriptor_Params
impl Boxed for BinaryDescriptor_Params
source§unsafe fn from_raw(
ptr: <BinaryDescriptor_Params as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <BinaryDescriptor_Params as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(
self,
) -> <BinaryDescriptor_Params as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <BinaryDescriptor_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(
&self,
) -> <BinaryDescriptor_Params as OpenCVTypeExternContainer>::ExternSend
fn as_raw( &self, ) -> <BinaryDescriptor_Params as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(
&mut self,
) -> <BinaryDescriptor_Params as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <BinaryDescriptor_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl Debug for BinaryDescriptor_Params
impl Debug for BinaryDescriptor_Params
source§impl Drop for BinaryDescriptor_Params
impl Drop for BinaryDescriptor_Params
impl Send for BinaryDescriptor_Params
Auto Trait Implementations§
impl Freeze for BinaryDescriptor_Params
impl RefUnwindSafe for BinaryDescriptor_Params
impl !Sync for BinaryDescriptor_Params
impl Unpin for BinaryDescriptor_Params
impl UnwindSafe for BinaryDescriptor_Params
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