use of boofcv.app.fiducials.CreateSquareFiducialDocumentImage in project BoofCV by lessthanoptimal.
the class BaseFiducialSquareBorder method createRendererImage.
@Override
protected CreateFiducialDocumentImage createRendererImage(String filename) {
CreateSquareFiducialDocumentImage ret = new CreateSquareFiducialDocumentImage(filename);
ret.setBlackBorderFractionalWidth(blackBorderFractionalWidth);
ret.setWhiteBorder((int) spaceBetween);
return ret;
}
use of boofcv.app.fiducials.CreateSquareFiducialDocumentImage in project BoofCV by lessthanoptimal.
the class CreateFiducialSquareBinary method callRenderImage.
@Override
protected void callRenderImage(CreateFiducialDocumentImage renderer) {
List<String> names = new ArrayList<>();
DogArray_I64 numbers = new DogArray_I64();
for (int i = 0; i < this.numbers.length; i++) {
names.add(this.numbers[i].toString());
numbers.add(this.numbers[i]);
}
((CreateSquareFiducialDocumentImage) renderer).render(names, numbers, gridWidth);
}
Aggregations