@Namespace(value="cv::aruco") @Properties(inherit=opencv_aruco.class) public class Board extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Board()
Default native constructor.
|
Board(long size)
Native array allocator.
|
Board(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static Board |
create(GpuMatVector objPoints,
Dictionary dictionary,
GpuMat ids) |
static Board |
create(GpuMatVector objPoints,
Dictionary dictionary,
Mat ids) |
static Board |
create(GpuMatVector objPoints,
Dictionary dictionary,
UMat ids) |
static Board |
create(MatVector objPoints,
Dictionary dictionary,
GpuMat ids) |
static Board |
create(MatVector objPoints,
Dictionary dictionary,
Mat ids)
\brief Provide way to create Board by passing necessary data.
|
static Board |
create(MatVector objPoints,
Dictionary dictionary,
UMat ids) |
static Board |
create(UMatVector objPoints,
Dictionary dictionary,
GpuMat ids) |
static Board |
create(UMatVector objPoints,
Dictionary dictionary,
Mat ids) |
static Board |
create(UMatVector objPoints,
Dictionary dictionary,
UMat ids) |
Dictionary |
dictionary()
the dictionary of markers employed for this board
|
Board |
dictionary(Dictionary setter) |
Board |
getPointer(long i) |
IntPointer |
ids()
vector of the identifiers of the markers in the board (same size than objPoints)
The identifiers refers to the board dictionary
|
Board |
ids(IntPointer setter) |
Point3fVectorVector |
objPoints()
array of object points of all the marker corners in the board
each marker include its 4 corners in this order:
- objPoints[i][0] - left-top point of i-th marker
- objPoints[i][1] - right-top point of i-th marker
- objPoints[i][2] - right-bottom point of i-th marker
- objPoints[i][3] - left-bottom point of i-th marker
Markers are placed in a certain order - row by row, left to right in every row.
|
Board |
objPoints(Point3fVectorVector setter) |
Board |
position(long position) |
Point3f |
rightBottomBorder()
coordinate of the bottom right corner of the board, is set when calling the function create()
|
Board |
rightBottomBorder(Point3f setter) |
void |
setIds(GpuMat ids) |
void |
setIds(Mat ids)
\brief Set ids vector
|
void |
setIds(UMat ids) |
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 Board()
public Board(long size)
Pointer.position(long)
.public Board(Pointer p)
Pointer(Pointer)
.public Board getPointer(long i)
getPointer
in class Pointer
@opencv_core.Ptr public static Board create(@ByVal MatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal Mat ids)
objPoints
- array of object points of all the marker corners in the boarddictionary
- the dictionary of markers employed for this boardids
- vector of the identifiers of the markers in the board@opencv_core.Ptr public static Board create(@ByVal UMatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal Mat ids)
@opencv_core.Ptr public static Board create(@ByVal GpuMatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal Mat ids)
@opencv_core.Ptr public static Board create(@ByVal MatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal UMat ids)
@opencv_core.Ptr public static Board create(@ByVal UMatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal UMat ids)
@opencv_core.Ptr public static Board create(@ByVal GpuMatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal UMat ids)
@opencv_core.Ptr public static Board create(@ByVal MatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal GpuMat ids)
@opencv_core.Ptr public static Board create(@ByVal UMatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal GpuMat ids)
@opencv_core.Ptr public static Board create(@ByVal GpuMatVector objPoints, @opencv_core.Ptr Dictionary dictionary, @ByVal GpuMat ids)
public void setIds(@ByVal Mat ids)
ids
- vector of the identifiers of the markers in the board (should be the same size
as objPoints)
Recommended way to set ids vector, which will fail if the size of ids does not match size
of objPoints.@ByRef public Point3fVectorVector objPoints()
public Board objPoints(Point3fVectorVector setter)
@opencv_core.Ptr public Dictionary dictionary()
public Board dictionary(Dictionary setter)
@StdVector public IntPointer ids()
public Board ids(IntPointer setter)
@ByRef public Point3f rightBottomBorder()
Copyright © 2022. All rights reserved.