Class CharucoBoard
- Namespace
- OpenCvSharp.Aruco
- Assembly
- OpenCvSharp.dll
ChArUco board — a planar chessboard where the markers are placed inside the white squares.
public class CharucoBoard : Board, IDisposable
- Inheritance
-
CharucoBoard
- Implements
- Inherited Members
Constructors
- CharucoBoard(int, int, float, float, Dictionary, IEnumerable<int>?)
Creates a CharucoBoard.
Properties
- ChessboardSize
Gets the number of chessboard squares in x and y directions.
- LegacyPattern
Gets or sets the legacy pattern mode for compatibility with patterns created before OpenCV 4.6.
- MarkerLength
Gets the marker side length.
- SquareLength
Gets the chessboard square side length.
Methods
- CheckCharucoCornersCollinear(InputArray)
Check whether the ChArUco markers are collinear.
- GenerateImage(Size, OutputArray, int, int)
Generate the board image.
- GetChessboardCorners()
Get CharucoBoard::chessboardCorners
- GetNearestMarkerCorners()
Get CharucoBoard::nearestMarkerCorners, for each charuco corner, nearest marker corner id of each marker
- GetNearestMarkerIdx()
Get CharucoBoard::nearestMarkerIdx, for each charuco corner, nearest marker index in ids array
- MatchImagePoints(Point2f[], InputArray, OutputArray, OutputArray)
Given a board configuration and a set of detected ChArUco corners, returns the corresponding image points and object points, can be used in solvePnP(). Overload of MatchImagePoints(Point2f[][], InputArray, OutputArray, OutputArray) for CharucoBoard, whose detected corners are a flat list of ChArUco corners rather than a jagged per-marker array.