Package boofcv.alg.fiducial.qrcode
Class QrGeneratorBase<T extends QrGeneratorBase<T>>
java.lang.Object
boofcv.alg.fiducial.qrcode.QrGeneratorBase<T>
- Direct Known Subclasses:
MicroQrCodeGenerator
,QrCodeGenerator
Base class for rendering QR and Micro QR
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<Point2D_I32>
double
How wide the square which encloses the marker isprotected double
protected int
protected FiducialRenderEngine
Used to render the markerprotected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
positionPattern
(double x, double y, Polygon2D_F64 where) setMarkerWidth
(double value) setRender
(FiducialRenderEngine render) protected void
square
(int row, int col) protected void
timingPattern
(double x, double y, double slopeX, double slopeY, int length)
-
Field Details
-
markerWidth
public double markerWidthHow wide the square which encloses the marker is -
renderData
protected boolean renderData -
moduleWidth
protected double moduleWidth -
numModules
protected int numModules -
bitLocations
-
render
Used to render the marker
-
-
Constructor Details
-
QrGeneratorBase
protected QrGeneratorBase(double markerWidth) -
QrGeneratorBase
protected QrGeneratorBase()
-
-
Method Details
-
positionPattern
-
timingPattern
protected void timingPattern(double x, double y, double slopeX, double slopeY, int length) -
square
protected void square(int row, int col) -
setMarkerWidth
-
setRender
-