EstervQrCode 2.0.0
Library for qr code manipulation
Loading...
Searching...
No Matches
Public Member Functions | List of all members

Planar board with grid arrangement of markers. More...

#include <aruco_board.hpp>

Inheritance diagram for cv::aruco::GridBoard:
cv::aruco::Board

Public Member Functions

CV_WRAP GridBoard (const Size &size, float markerLength, float markerSeparation, const Dictionary &dictionary, InputArray ids=noArray())
 GridBoard constructor.
 
CV_WRAP Size getGridSize () const
 
CV_WRAP float getMarkerLength () const
 
CV_WRAP float getMarkerSeparation () const
 
CV_DEPRECATED_EXTERNAL GridBoard ()
 
- Public Member Functions inherited from cv::aruco::Board
CV_WRAP Board (InputArrayOfArrays objPoints, const Dictionary &dictionary, InputArray ids)
 Common Board constructor.
 
CV_WRAP const DictionarygetDictionary () const
 return the Dictionary of markers employed for this board
 
CV_WRAP const std::vector< std::vector< Point3f > > & getObjPoints () const
 return array of object points of all the marker corners in the board.
 
CV_WRAP const std::vector< int > & getIds () const
 vector of the identifiers of the markers in the board (should be the same size as objPoints)
 
CV_WRAP const Point3fgetRightBottomCorner () const
 get coordinate of the bottom right corner of the board, is set when calling the function create()
 
CV_WRAP void matchImagePoints (InputArrayOfArrays detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints) const
 Given a board configuration and a set of detected markers, returns the corresponding image points and object points, can be used in solvePnP()
 
CV_WRAP void generateImage (Size outSize, OutputArray img, int marginSize=0, int borderBits=1) const
 Draw a planar board.
 
CV_DEPRECATED_EXTERNAL Board ()
 

Additional Inherited Members

- Protected Member Functions inherited from cv::aruco::Board
 Board (const Ptr< Impl > &impl)
 
- Protected Attributes inherited from cv::aruco::Board
Ptr< Impl > impl
 

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() [1/2]

CV_WRAP cv::aruco::GridBoard::GridBoard ( const Size size,
float  markerLength,
float  markerSeparation,
const Dictionary dictionary,
InputArray  ids = noArray() 
)

GridBoard constructor.

Parameters
sizenumber of markers in x and y directions
markerLengthmarker side length (normally in meters)
markerSeparationseparation between two markers (same unit as markerLength)
dictionarydictionary of markers indicating the type of markers
idsset of marker ids in dictionary to use on board.

◆ GridBoard() [2/2]

CV_DEPRECATED_EXTERNAL cv::aruco::GridBoard::GridBoard ( )

Member Function Documentation

◆ getGridSize()

CV_WRAP Size cv::aruco::GridBoard::getGridSize ( ) const

◆ getMarkerLength()

CV_WRAP float cv::aruco::GridBoard::getMarkerLength ( ) const

◆ getMarkerSeparation()

CV_WRAP float cv::aruco::GridBoard::getMarkerSeparation ( ) const

The documentation for this class was generated from the following file: