Package org.opencv.aruco
Class Board
java.lang.Object
org.opencv.aruco.Board
- Direct Known Subclasses:
CharucoBoard
,GridBoard
Board of markers
A board is a set of markers in the 3D space with a common coordinate system.
The common form of a board of marker is a planar (2D) board, however any 3D layout can be used.
A Board object is composed by:
- The object points of the marker corners, i.e. their coordinates respect to the board system.
- The dictionary which indicates the type of markers of the board
- The identifier of all the markers in the board.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Board
__fromPtr__
(long addr) static Board
create
(List<Mat> objPoints, Dictionary dictionary, Mat ids) Provide way to create Board by passing necessary data.protected void
finalize()
get_ids()
long
void
void
Set ids vector
-
Field Details
-
nativeObj
protected final long nativeObj
-
-
Constructor Details
-
Board
protected Board(long addr)
-
-
Method Details
-
getNativeObjAddr
public long getNativeObjAddr() -
__fromPtr__
-
create
Provide way to create Board by passing necessary data. Specially needed in Python.- Parameters:
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- Returns:
- automatically generated
-
setIds
Set ids vector- Parameters:
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.
-
get_objPoints
-
get_dictionary
-
get_ids
-
set_ids
-
get_rightBottomBorder
-
finalize
-