Package org.opencv.objdetect
Class GridBoard
java.lang.Object
org.opencv.objdetect.Board
org.opencv.objdetect.GridBoard
Planar board with grid arrangement of markers
More common type of board. All markers are placed in the same plane in a grid arrangement.
The board image can be drawn using generateImage() method.
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GridBoard
(long addr) GridBoard
(Size size, float markerLength, float markerSeparation, Dictionary dictionary) GridBoard constructorGridBoard
(Size size, float markerLength, float markerSeparation, Dictionary dictionary, Mat ids) GridBoard constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic GridBoard
__fromPtr__
(long addr) protected void
finalize()
float
float
Methods inherited from class org.opencv.objdetect.Board
generateImage, generateImage, generateImage, getDictionary, getIds, getNativeObjAddr, getObjPoints, getRightBottomCorner, matchImagePoints
-
Constructor Details
-
GridBoard
protected GridBoard(long addr) -
GridBoard
public GridBoard(Size size, float markerLength, float markerSeparation, Dictionary dictionary, Mat ids) GridBoard constructor- Parameters:
size
- number of markers in x and y directionsmarkerLength
- marker side length (normally in meters)markerSeparation
- separation between two markers (same unit as markerLength)dictionary
- dictionary of markers indicating the type of markersids
- set of marker ids in dictionary to use on board.
-
GridBoard
GridBoard constructor- Parameters:
size
- number of markers in x and y directionsmarkerLength
- marker side length (normally in meters)markerSeparation
- separation between two markers (same unit as markerLength)dictionary
- dictionary of markers indicating the type of markers
-
-
Method Details