public class Board extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
nativeObj |
| Modifier | Constructor and Description |
|---|---|
protected |
Board(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static 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() |
Dictionary |
get_dictionary() |
MatOfInt |
get_ids() |
List<MatOfPoint3f> |
get_objPoints() |
long |
getNativeObjAddr() |
void |
set_ids(MatOfInt ids) |
void |
setIds(Mat ids)
Set ids vector
|
public long getNativeObjAddr()
public static Board __fromPtr__(long addr)
public static Board create(List<Mat> objPoints, Dictionary dictionary, 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 boardpublic void setIds(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.public List<MatOfPoint3f> get_objPoints()
public Dictionary get_dictionary()
public MatOfInt get_ids()
public void set_ids(MatOfInt ids)
Copyright © 2022. All rights reserved.