public class CharucoBoard extends Board
Modifier | Constructor and Description |
---|---|
protected |
CharucoBoard(long addr) |
|
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
|
protected void |
finalize() |
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, matchImagePoints
protected CharucoBoard(long addr)
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 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 static CharucoBoard __fromPtr__(long addr)
public void setLegacyPattern(boolean legacyPattern)
legacyPattern
- automatically generatedpublic boolean getLegacyPattern()
public Size getChessboardSize()
public float getSquareLength()
public float getMarkerLength()
public MatOfPoint3f getChessboardCorners()
public boolean checkCharucoCornersCollinear(Mat charucoIds)
charucoIds
- list of identifiers for each corner in charucoCorners per frame.Copyright © 2024. All rights reserved.