[][src]Struct opencv::aruco::GridBoard

pub struct GridBoard { /* fields omitted */ }

Planar board with grid arrangement of markers More common type of board. All markers are placed in the same plane in a grid arrangement. The board can be drawn using drawPlanarBoard() function (see also: drawPlanarBoard)

Implementations

impl GridBoard[src]

impl GridBoard[src]

pub fn create(
    markers_x: i32,
    markers_y: i32,
    marker_length: f32,
    marker_separation: f32,
    dictionary: &Ptr<Dictionary>,
    first_marker: i32
) -> Result<Ptr<GridBoard>>
[src]

Create a GridBoard object

Parameters

  • markersX: number of markers in X direction
  • markersY: number of markers in Y direction
  • markerLength: marker side length (normally in meters)
  • markerSeparation: separation between two markers (same unit as markerLength)
  • dictionary: dictionary of markers indicating the type of markers
  • firstMarker: id of first marker in dictionary to use on board.

Returns

the output GridBoard object

This functions creates a GridBoard object given the number of markers in each direction and the marker size and marker separation.

C++ default parameters

  • first_marker: 0

Trait Implementations

impl BoardTrait for GridBoard[src]

impl Boxed for GridBoard[src]

impl Drop for GridBoard[src]

impl GridBoardTrait for GridBoard[src]

impl Send for GridBoard[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.