Struct opencv::objdetect::GridBoard

source ·
pub struct GridBoard { /* private fields */ }
Expand description

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 image can be drawn using generateImage() method.

Implementations§

GridBoard constructor

Parameters
  • size: number of markers in x and y directions
  • 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
  • ids: set of marker ids in dictionary to use on board.
C++ default parameters
  • ids: noArray()

Trait Implementations§

return the Dictionary of markers employed for this board
return array of object points of all the marker corners in the board. Read more
vector of the identifiers of the markers in the board (should be the same size as objPoints) Read more
get coordinate of the bottom right corner of the board, is set when calling the function create()
Given a board configuration and a set of detected markers, returns the corresponding image points and object points to call solvePnP() Read more
Draw a planar board Read more
Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.