pub struct CharucoBoard { /* private fields */ }
Expand description

ChArUco board is a planar chessboard where the markers are placed inside the white squares of a chessboard.

The benefits of ChArUco boards is that they provide both, ArUco markers versatility and chessboard corner precision, which is important for calibration and pose estimation. The board image can be drawn using generateImage() method.

Implementations§

CharucoBoard constructor

Parameters
  • size: number of chessboard squares in x and y directions
  • squareLength: squareLength chessboard square side length (normally in meters)
  • markerLength: marker side length (same unit than squareLength)
  • dictionary: dictionary of markers indicating the type of markers
  • ids: array of id used markers The first markers in the dictionary are used to fill the white chessboard squares.
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
get CharucoBoard::chessboardCorners
get CharucoBoard::nearestMarkerIdx
get CharucoBoard::nearestMarkerCorners
check whether the ChArUco markers are collinear 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.