Struct opencv::objdetect::CharucoParameters
source · pub struct CharucoParameters { /* private fields */ }
Implementations§
source§impl CharucoParameters
impl CharucoParameters
pub fn default() -> Result<CharucoParameters>
Trait Implementations§
source§impl Boxed for CharucoParameters
impl Boxed for CharucoParameters
source§unsafe fn from_raw(
ptr: <CharucoParameters as OpenCVFromExtern>::ExternReceive
) -> Self
unsafe fn from_raw( ptr: <CharucoParameters as OpenCVFromExtern>::ExternReceive ) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(
self
) -> <CharucoParameters as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self ) -> <CharucoParameters as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <CharucoParameters as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <CharucoParameters as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(
&mut self
) -> <CharucoParameters as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self ) -> <CharucoParameters as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl CharucoParametersTrait for CharucoParameters
impl CharucoParametersTrait for CharucoParameters
fn as_raw_mut_CharucoParameters(&mut self) -> *mut c_void
source§fn set_camera_matrix(&mut self, val: Mat)
fn set_camera_matrix(&mut self, val: Mat)
cameraMatrix optional 3x3 floating-point camera matrix
source§fn set_dist_coeffs(&mut self, val: Mat)
fn set_dist_coeffs(&mut self, val: Mat)
distCoeffs optional vector of distortion coefficients
source§fn set_min_markers(&mut self, val: i32)
fn set_min_markers(&mut self, val: i32)
minMarkers number of adjacent markers that must be detected to return a charuco corner, default = 2
source§fn set_try_refine_markers(&mut self, val: bool)
fn set_try_refine_markers(&mut self, val: bool)
try to use refine board, default false
source§impl CharucoParametersTraitConst for CharucoParameters
impl CharucoParametersTraitConst for CharucoParameters
fn as_raw_CharucoParameters(&self) -> *const c_void
source§fn camera_matrix(&self) -> Mat
fn camera_matrix(&self) -> Mat
cameraMatrix optional 3x3 floating-point camera matrix
source§fn dist_coeffs(&self) -> Mat
fn dist_coeffs(&self) -> Mat
distCoeffs optional vector of distortion coefficients
source§fn min_markers(&self) -> i32
fn min_markers(&self) -> i32
minMarkers number of adjacent markers that must be detected to return a charuco corner, default = 2
source§fn try_refine_markers(&self) -> bool
fn try_refine_markers(&self) -> bool
try to use refine board, default false
source§impl Clone for CharucoParameters
impl Clone for CharucoParameters
source§impl Debug for CharucoParameters
impl Debug for CharucoParameters
source§impl Drop for CharucoParameters
impl Drop for CharucoParameters
impl Send for CharucoParameters
Auto Trait Implementations§
impl Freeze for CharucoParameters
impl RefUnwindSafe for CharucoParameters
impl !Sync for CharucoParameters
impl Unpin for CharucoParameters
impl UnwindSafe for CharucoParameters
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