Class cv::aruco::GridBoard#
Planar board with grid arrangement of markers. View details
#include <opencv2/objdetect/aruco_board.hpp>Collaboration diagram for cv::aruco::GridBoard:
Public Member Functions#
Public Member Functions inherited from cv::aruco::Board
Return |
Name |
Description |
|---|---|---|
|
Common Board constructor. |
|
|
|
Draw a planar board. |
|
return the Dictionary of markers employed for this board |
|
|
vector of the identifiers of the markers in the board (should be the same size as objPoints) |
|
|
return array of object points of all the marker corners in the board. |
|
|
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, can be used in solvePnP() |
Additional Inherited Members#
Protected Member Functions inherited from cv::aruco::Board
Return |
Name |
Description |
|---|---|---|
Protected Attributes inherited from cv::aruco::Board
Detailed 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.
Constructor & Destructor Documentation#
GridBoard()#
cv::aruco::GridBoard::GridBoard()
Python:
GridBoard()#
cv::aruco::GridBoard::GridBoard(
const Size & size,
float markerLength,
float markerSeparation,
const Dictionary & dictionary,
InputArray ids = noArray() )
Python:
GridBoard constructor.
Parameters
size— number of markers in x and y directionsmarkerLength— marker side length (normally in meters)markerSeparation— separation between two markers (same unit as markerLength)dictionary— dictionary of markers indicating the type of markersids— set of marker ids in dictionary to use on board.
Here is the call graph for this function:
Member Function Documentation#
getGridSize()#
Size cv::aruco::GridBoard::getGridSize()
Python:
cv.aruco.GridBoard.getGridSize() -> retval
getMarkerLength()#
float cv::aruco::GridBoard::getMarkerLength()
Python:
cv.aruco.GridBoard.getMarkerLength() -> retval
getMarkerSeparation()#
float cv::aruco::GridBoard::getMarkerSeparation()
Python:
cv.aruco.GridBoard.getMarkerSeparation() -> retval
Source file#
The documentation for this class was generated from the following file:
opencv2/objdetect/aruco_board.hpp