Struct opencv::mcc::MCC_CChecker
source · pub struct MCC_CChecker { /* private fields */ }
Expand description
CChecker
\brief checker object
This class contains the information about the detected checkers,i.e, their type, the corners of the chart, the color profile, the cost, centers chart, etc.
Implementations§
source§impl MCC_CChecker
impl MCC_CChecker
sourcepub fn create() -> Result<Ptr<MCC_CChecker>>
pub fn create() -> Result<Ptr<MCC_CChecker>>
\brief Create a new CChecker object. \return A pointer to the implementation of the CChecker
Trait Implementations§
source§impl Boxed for MCC_CChecker
impl Boxed for MCC_CChecker
source§unsafe fn from_raw(
ptr: <MCC_CChecker as OpenCVFromExtern>::ExternReceive
) -> Self
unsafe fn from_raw( ptr: <MCC_CChecker as OpenCVFromExtern>::ExternReceive ) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(self) -> <MCC_CChecker as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <MCC_CChecker as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <MCC_CChecker as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <MCC_CChecker as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(
&mut self
) -> <MCC_CChecker as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self ) -> <MCC_CChecker as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl Debug for MCC_CChecker
impl Debug for MCC_CChecker
source§impl Drop for MCC_CChecker
impl Drop for MCC_CChecker
source§impl MCC_CCheckerTrait for MCC_CChecker
impl MCC_CCheckerTrait for MCC_CChecker
fn as_raw_mut_MCC_CChecker(&mut self) -> *mut c_void
fn set_target(&mut self, _target: MCC_TYPECHART) -> Result<()>
fn set_box(&mut self, _box: Vector<Point2f>) -> Result<()>
fn set_charts_rgb(&mut self, _charts_rgb: impl MatTrait) -> Result<()>
fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: impl MatTrait) -> Result<()>
fn set_cost(&mut self, _cost: f32) -> Result<()>
fn set_center(&mut self, _center: Point2f) -> Result<()>
fn get_target(&mut self) -> Result<MCC_TYPECHART>
fn get_box(&mut self) -> Result<Vector<Point2f>>
fn get_charts_rgb(&mut self) -> Result<Mat>
fn get_charts_y_cb_cr(&mut self) -> Result<Mat>
fn get_cost(&mut self) -> Result<f32>
fn get_center(&mut self) -> Result<Point2f>
source§impl MCC_CCheckerTraitConst for MCC_CChecker
impl MCC_CCheckerTraitConst for MCC_CChecker
fn as_raw_MCC_CChecker(&self) -> *const c_void
impl Send for MCC_CChecker
Auto Trait Implementations§
impl Freeze for MCC_CChecker
impl RefUnwindSafe for MCC_CChecker
impl !Sync for MCC_CChecker
impl Unpin for MCC_CChecker
impl UnwindSafe for MCC_CChecker
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