[][src]Trait opencv::hub_prelude::MCC_CChecker

pub trait MCC_CChecker {
    pub fn as_raw_MCC_CChecker(&self) -> *const c_void;
pub fn as_raw_mut_MCC_CChecker(&mut self) -> *mut c_void; pub fn set_target(&mut self, _target: MCC_TYPECHART) -> Result<()> { ... }
pub fn set_box(&mut self, _box: Vector<Point2f>) -> Result<()> { ... }
pub fn set_charts_rgb(&mut self, _charts_rgb: Mat) -> Result<()> { ... }
pub fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: Mat) -> Result<()> { ... }
pub fn set_cost(&mut self, _cost: f32) -> Result<()> { ... }
pub fn set_center(&mut self, _center: Point2f) -> Result<()> { ... }
pub fn get_target(&mut self) -> Result<MCC_TYPECHART> { ... }
pub fn get_box(&mut self) -> Result<Vector<Point2f>> { ... }
pub fn get_charts_rgb(&mut self) -> Result<Mat> { ... }
pub fn get_charts_y_cb_cr(&mut self) -> Result<Mat> { ... }
pub fn get_cost(&mut self) -> Result<f32> { ... }
pub fn get_center(&mut self) -> Result<Point2f> { ... } }

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.

Required methods

Loading content...

Provided methods

pub fn set_target(&mut self, _target: MCC_TYPECHART) -> Result<()>[src]

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

pub fn set_charts_rgb(&mut self, _charts_rgb: Mat) -> Result<()>[src]

pub fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: Mat) -> Result<()>[src]

pub fn set_cost(&mut self, _cost: f32) -> Result<()>[src]

pub fn set_center(&mut self, _center: Point2f) -> Result<()>[src]

pub fn get_target(&mut self) -> Result<MCC_TYPECHART>[src]

pub fn get_box(&mut self) -> Result<Vector<Point2f>>[src]

pub fn get_charts_rgb(&mut self) -> Result<Mat>[src]

pub fn get_charts_y_cb_cr(&mut self) -> Result<Mat>[src]

pub fn get_cost(&mut self) -> Result<f32>[src]

pub fn get_center(&mut self) -> Result<Point2f>[src]

Loading content...

Implementations

impl<'_> dyn MCC_CChecker + '_[src]

pub fn create() -> Result<Ptr<dyn MCC_CChecker>>[src]

\brief Create a new CChecker object. \return A pointer to the implementation of the CChecker

Implementors

Loading content...