CharucoBoard
ChArUco board Specific class for ChArUco boards. A ChArUco board is a planar board 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. This class also allows the easy creation and drawing of ChArUco boards.
Member of Aruco
- 
                  
                  Create a CharucoBoard object This functions creates a CharucoBoard object given the number of squares in each direction and the size of the markers and chessboard squares. DeclarationObjective-C + (nonnull CharucoBoard *)create:(int)squaresX squaresY:(int)squaresY squareLength:(float)squareLength markerLength:(float)markerLength dictionary:(nonnull Dictionary *)dictionary;Swift class func create(squaresX: Int32, squaresY: Int32, squareLength: Float, markerLength: Float, dictionary: Dictionary) -> CharucoBoardParameterssquaresXnumber of chessboard squares in X direction squaresYnumber of chessboard squares in Y direction squareLengthchessboard square side length (normally in meters) markerLengthmarker side length (same unit than squareLength) dictionarydictionary of markers indicating the type of markers. The first markers in the dictionary are used to fill the white chessboard squares. Return Valuethe output CharucoBoard object 
- 
                  
                  DeclarationObjective-C - (float)getMarkerLength NS_SWIFT_NAME(getMarkerLength());Swift func getMarkerLength() -> Float
- 
                  
                  DeclarationObjective-C - (float)getSquareLength NS_SWIFT_NAME(getSquareLength());Swift func getSquareLength() -> Float
- 
                  
                  Draw a ChArUco board This function return the image of the ChArUco board, ready to be printed. DeclarationParametersoutSizesize of the output image in pixels. imgoutput image with the board. The size of this image will be outSize and the board will be on the center, keeping the board proportions. marginSizeminimum margins (in pixels) of the board in the output image borderBitswidth of the marker borders. 
- 
                  
                  Draw a ChArUco board This function return the image of the ChArUco board, ready to be printed. DeclarationParametersoutSizesize of the output image in pixels. imgoutput image with the board. The size of this image will be outSize and the board will be on the center, keeping the board proportions. marginSizeminimum margins (in pixels) of the board in the output image 
- 
                  
                  Draw a ChArUco board This function return the image of the ChArUco board, ready to be printed. DeclarationParametersoutSizesize of the output image in pixels. imgoutput image with the board. The size of this image will be outSize and the board will be on the center, keeping the board proportions. 
 View on GitHub
View on GitHub CharucoBoard Class Reference
        CharucoBoard Class Reference