public class CharucoBoard extends Board
| Constructor and Description |
|---|
CharucoBoard(Size size,
float squareLength,
float markerLength,
Dictionary dictionary)
CharucoBoard constructor
|
CharucoBoard(Size size,
float squareLength,
float markerLength,
Dictionary dictionary,
Mat ids)
CharucoBoard constructor
|
| Modifier and Type | Method and Description |
|---|---|
static CharucoBoard |
__fromPtr__(long addr) |
boolean |
checkCharucoCornersCollinear(Mat charucoIds)
check whether the ChArUco markers are collinear
|
MatOfPoint3f |
getChessboardCorners()
get CharucoBoard::chessboardCorners
|
Size |
getChessboardSize() |
boolean |
getLegacyPattern() |
float |
getMarkerLength() |
float |
getSquareLength() |
void |
setLegacyPattern(boolean legacyPattern)
set legacy chessboard pattern.
|
generateImage, generateImage, generateImage, getDictionary, getIds, getNativeObjAddr, getObjPoints, getRightBottomCorner, matchImagePointspublic CharucoBoard(Size size, float squareLength, float markerLength, Dictionary dictionary)
size - number of chessboard squares in x and y directionssquareLength - squareLength chessboard square side length (normally in meters)markerLength - marker side length (same unit than squareLength)dictionary - dictionary of markers indicating the type of markers
The first markers in the dictionary are used to fill the white chessboard squares.public CharucoBoard(Size size, float squareLength, float markerLength, Dictionary dictionary, Mat ids)
size - number of chessboard squares in x and y directionssquareLength - squareLength chessboard square side length (normally in meters)markerLength - marker side length (same unit than squareLength)dictionary - dictionary of markers indicating the type of markersids - array of id used markers
The first markers in the dictionary are used to fill the white chessboard squares.public static CharucoBoard __fromPtr__(long addr)
public boolean checkCharucoCornersCollinear(Mat charucoIds)
charucoIds - list of identifiers for each corner in charucoCorners per frame.public MatOfPoint3f getChessboardCorners()
public Size getChessboardSize()
public boolean getLegacyPattern()
public float getMarkerLength()
public float getSquareLength()
public void setLegacyPattern(boolean legacyPattern)
legacyPattern - automatically generatedGenerated on 2023-06-28 12:47:21 / OpenCV 4.8.0