Package org.opencv.aruco
Class Board
- java.lang.Object
- 
- org.opencv.aruco.Board
 
- 
- Direct Known Subclasses:
- CharucoBoard,- GridBoard
 
 public class Board extends java.lang.ObjectBoard 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 SummaryFields Modifier and Type Field Description protected longnativeObj
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBoard(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Board__fromPtr__(long addr)static Boardcreate(java.util.List<Mat> objPoints, Dictionary dictionary, Mat ids)Provide way to create Board by passing necessary data.protected voidfinalize()Dictionaryget_dictionary()MatOfIntget_ids()java.util.List<MatOfPoint3f>get_objPoints()longgetNativeObjAddr()voidset_ids(MatOfInt ids)voidsetIds(Mat ids)Set ids vector
 
- 
- 
- 
Method Detail- 
getNativeObjAddrpublic long getNativeObjAddr() 
 - 
__fromPtr__public static Board __fromPtr__(long addr) 
 - 
createpublic static Board create(java.util.List<Mat> objPoints, Dictionary dictionary, Mat ids) 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 board
- dictionary- the dictionary of markers employed for this board
- ids- vector of the identifiers of the markers in the board
- Returns:
- automatically generated
 
 - 
setIdspublic void setIds(Mat ids) 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_objPointspublic java.util.List<MatOfPoint3f> get_objPoints() 
 - 
get_dictionarypublic Dictionary get_dictionary() 
 - 
get_idspublic MatOfInt get_ids() 
 - 
set_idspublic void set_ids(MatOfInt ids) 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- java.lang.Object
- Throws:
- java.lang.Throwable
 
 
- 
 
-