4 #ifndef OPENCV_OBJDETECT_ARUCO_BOARD_HPP
5 #define OPENCV_OBJDETECT_ARUCO_BOARD_HPP
7 #include <opencv2/core.hpp>
Template class for 3D points specified by its coordinates x, y and z.
Definition: types.hpp:255
Template class for specifying the size of an image or rectangle.
Definition: types.hpp:335
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:296
Board of ArUco markers.
Definition: aruco_board.hpp:25
Board(const Ptr< Impl > &impl)
CV_DEPRECATED_EXTERNAL Board()
Ptr< Impl > impl
Definition: aruco_board.hpp:99
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 Dictionary & getDictionary() const
return the Dictionary of markers employed for this board
CV_WRAP Board(InputArrayOfArrays objPoints, const Dictionary &dictionary, InputArray ids)
Common Board constructor.
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 void generateImage(Size outSize, OutputArray img, int marginSize=0, int borderBits=1) const
Draw a planar board.
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...
CV_WRAP const Point3f & getRightBottomCorner() const
get coordinate of the bottom right corner of the board, is set when calling the function create()
ChArUco board is a planar chessboard where the markers are placed inside the white squares of a chess...
Definition: aruco_board.hpp:135
CV_WRAP void setLegacyPattern(bool legacyPattern)
set legacy chessboard pattern.
CV_PROP std::vector< std::vector< int > > getNearestMarkerCorners() const
get CharucoBoard::nearestMarkerCorners, for each charuco corner, nearest marker corner id of each mar...
CV_WRAP Size getChessboardSize() const
CV_WRAP CharucoBoard(const Size &size, float squareLength, float markerLength, const Dictionary &dictionary, InputArray ids=noArray())
CharucoBoard constructor.
CV_WRAP float getSquareLength() const
CV_PROP std::vector< std::vector< int > > getNearestMarkerIdx() const
get CharucoBoard::nearestMarkerIdx, for each charuco corner, nearest marker index in ids array
CV_DEPRECATED_EXTERNAL CharucoBoard()
CV_WRAP bool getLegacyPattern() const
CV_WRAP std::vector< Point3f > getChessboardCorners() const
get CharucoBoard::chessboardCorners
CV_WRAP float getMarkerLength() const
CV_WRAP bool checkCharucoCornersCollinear(InputArray charucoIds) const
check whether the ChArUco markers are collinear
Dictionary is a set of unique ArUco markers of the same size.
Definition: aruco_dictionary.hpp:29
Planar board with grid arrangement of markers.
Definition: aruco_board.hpp:107
CV_DEPRECATED_EXTERNAL GridBoard()
CV_WRAP Size getGridSize() const
CV_WRAP GridBoard(const Size &size, float markerLength, float markerSeparation, const Dictionary &dictionary, InputArray ids=noArray())
GridBoard constructor.
CV_WRAP float getMarkerLength() const
CV_WRAP float getMarkerSeparation() const
CV_EXPORTS InputOutputArray noArray()
InputArray InputArrayOfArrays
Definition: mat.hpp:443
CV__DEBUG_NS_END typedef const _InputArray & InputArray
Definition: mat.hpp:442
CvSize size
Definition: core_c.h:112
#define CV_EXPORTS_W_SIMPLE
Definition: cvdef.h:473
#define CV_DEPRECATED_EXTERNAL
Definition: cvdef.h:458
#define CV_PROP
Definition: cvdef.h:479
#define CV_WRAP
Definition: cvdef.h:481
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441