@Namespace(value="cv::aruco") @Properties(inherit=opencv_objdetect.class) public class CharucoBoard extends Board
Board.Impl
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CharucoBoard()
Deprecated.
|
CharucoBoard(long size)
Native array allocator.
|
CharucoBoard(Pointer p)
Pointer cast constructor.
|
CharucoBoard(Size size,
float squareLength,
float markerLength,
Dictionary dictionary) |
CharucoBoard(Size size,
float squareLength,
float markerLength,
Dictionary dictionary,
GpuMat ids) |
CharucoBoard(Size size,
float squareLength,
float markerLength,
Dictionary dictionary,
Mat ids)
\brief CharucoBoard constructor
|
CharucoBoard(Size size,
float squareLength,
float markerLength,
Dictionary dictionary,
UMat ids) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCharucoCornersCollinear(GpuMat charucoIds) |
boolean |
checkCharucoCornersCollinear(Mat charucoIds)
\brief check whether the ChArUco markers are collinear
|
boolean |
checkCharucoCornersCollinear(UMat charucoIds) |
Point3fVector |
getChessboardCorners()
\brief get CharucoBoard::chessboardCorners
|
Size |
getChessboardSize() |
boolean |
getLegacyPattern() |
float |
getMarkerLength() |
IntVectorVector |
getNearestMarkerCorners()
\brief get CharucoBoard::nearestMarkerCorners, for each charuco corner, nearest marker corner id of each marker
|
IntVectorVector |
getNearestMarkerIdx()
\brief get CharucoBoard::nearestMarkerIdx, for each charuco corner, nearest marker index in ids array
|
CharucoBoard |
getPointer(long i) |
float |
getSquareLength() |
CharucoBoard |
position(long position) |
void |
setLegacyPattern(boolean legacyPattern)
\brief set legacy chessboard pattern.
|
generateImage, generateImage, generateImage, generateImage, generateImage, generateImage, getDictionary, getIds, getObjPoints, getRightBottomCorner, matchImagePoints, matchImagePoints, matchImagePoints, matchImagePoints, matchImagePoints, matchImagePoints, matchImagePoints, matchImagePoints, matchImagePoints
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CharucoBoard(Pointer p)
Pointer(Pointer)
.public CharucoBoard(long size)
Pointer.position(long)
.public CharucoBoard(@Const @ByRef Size size, float squareLength, float markerLength, @Const @ByRef Dictionary dictionary, @ByVal(nullValue="cv::InputArray(cv::noArray())") 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(@Const @ByRef Size size, float squareLength, float markerLength, @Const @ByRef Dictionary dictionary)
public CharucoBoard(@Const @ByRef Size size, float squareLength, float markerLength, @Const @ByRef Dictionary dictionary, @ByVal(nullValue="cv::InputArray(cv::noArray())") UMat ids)
public CharucoBoard(@Const @ByRef Size size, float squareLength, float markerLength, @Const @ByRef Dictionary dictionary, @ByVal(nullValue="cv::InputArray(cv::noArray())") GpuMat ids)
@Deprecated public CharucoBoard()
public CharucoBoard position(long position)
public CharucoBoard getPointer(long i)
getPointer
in class Board
public void setLegacyPattern(@Cast(value="bool") boolean legacyPattern)
public float getSquareLength()
public float getMarkerLength()
@ByVal @Cast(value="std::vector<cv::Point3f>*") public Point3fVector getChessboardCorners()
@ByVal public IntVectorVector getNearestMarkerIdx()
@ByVal public IntVectorVector getNearestMarkerCorners()
@Cast(value="bool") public boolean checkCharucoCornersCollinear(@ByVal Mat charucoIds)
charucoIds
- list of identifiers for each corner in charucoCorners per frame.@Cast(value="bool") public boolean checkCharucoCornersCollinear(@ByVal UMat charucoIds)
Copyright © 2024. All rights reserved.