pub trait MCC_CChecker: MCC_CCheckerConst {
Show 13 methods // Required method fn as_raw_mut_MCC_CChecker(&mut self) -> *mut c_void; // Provided methods 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: Mat) -> Result<()> { ... } fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: Mat) -> 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> { ... }
}
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.

Required Methods§

Provided Methods§

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>

Implementations§

source§

impl dyn MCC_CChecker + '_

source

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

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

Implementors§