[][src]Trait opencv::aruco::prelude::BoardTrait

pub trait BoardTrait {
    pub fn as_raw_Board(&self) -> *const c_void;
pub fn as_raw_mut_Board(&mut self) -> *mut c_void; pub fn obj_points(&mut self) -> Vector<Vector<Point3f>> { ... }
pub fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>) { ... }
pub fn dictionary(&mut self) -> Ptr<Dictionary> { ... }
pub fn set_dictionary(&mut self, val: Ptr<Dictionary>) { ... }
pub fn ids(&mut self) -> Vector<i32> { ... }
pub fn set_ids(&mut self, val: Vector<i32>) { ... } }

Board of markers

A board is a set of markers in the 3D space with a common coordinate system. The common form of a board of marker is a planar (2D) board, however any 3D layout can be used. A Board object is composed by:

  • The object points of the marker corners, i.e. their coordinates respect to the board system.
  • The dictionary which indicates the type of markers of the board
  • The identifier of all the markers in the board.

Required methods

Loading content...

Provided methods

pub fn obj_points(&mut self) -> Vector<Vector<Point3f>>[src]

array of object points of all the marker corners in the board each marker include its 4 corners in CCW order. For M markers, the size is Mx4.

pub fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)[src]

array of object points of all the marker corners in the board each marker include its 4 corners in CCW order. For M markers, the size is Mx4.

pub fn dictionary(&mut self) -> Ptr<Dictionary>[src]

the dictionary of markers employed for this board

pub fn set_dictionary(&mut self, val: Ptr<Dictionary>)[src]

the dictionary of markers employed for this board

pub fn ids(&mut self) -> Vector<i32>[src]

vector of the identifiers of the markers in the board (same size than objPoints) The identifiers refers to the board dictionary

pub fn set_ids(&mut self, val: Vector<i32>)[src]

vector of the identifiers of the markers in the board (same size than objPoints) The identifiers refers to the board dictionary

Loading content...

Implementors

impl BoardTrait for Board[src]

impl BoardTrait for CharucoBoard[src]

impl BoardTrait for GridBoard[src]

impl BoardTrait for PtrOfBoard[src]

impl BoardTrait for PtrOfCharucoBoard[src]

impl BoardTrait for PtrOfGridBoard[src]

Loading content...