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

source

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

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Debug for MCC_CChecker

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for MCC_CChecker

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl MCC_CCheckerTrait for MCC_CChecker

source§

fn as_raw_mut_MCC_CChecker(&mut self) -> *mut c_void

source§

fn set_target(&mut self, _target: MCC_TYPECHART) -> Result<()>

source§

fn set_box(&mut self, _box: Vector<Point2f>) -> Result<()>

source§

fn set_charts_rgb(&mut self, _charts_rgb: Mat) -> Result<()>

source§

fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: Mat) -> Result<()>

source§

fn set_cost(&mut self, _cost: f32) -> Result<()>

source§

fn set_center(&mut self, _center: Point2f) -> Result<()>

source§

fn get_target(&mut self) -> Result<MCC_TYPECHART>

source§

fn get_box(&mut self) -> Result<Vector<Point2f>>

source§

fn get_charts_rgb(&mut self) -> Result<Mat>

source§

fn get_charts_y_cb_cr(&mut self) -> Result<Mat>

source§

fn get_cost(&mut self) -> Result<f32>

source§

fn get_center(&mut self) -> Result<Point2f>

source§

impl MCC_CCheckerTraitConst for MCC_CChecker

source§

impl Send for MCC_CChecker

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.