Package boofcv.alg.fiducial.square
Class FiducialSquareHammingGenerator
java.lang.Object
boofcv.alg.drawing.FiducialImageGenerator
boofcv.alg.fiducial.square.FiducialSquareHammingGenerator
public class FiducialSquareHammingGenerator extends FiducialImageGenerator
Renders a square hamming fiducial. Bits with a value of 0 are white and bits with a value of 1 are black.
-
Field Summary
Fields Modifier and Type Field Description double
offsetX
The top-left corner of the markerdouble
offsetY
The top-left corner of the markerFields inherited from class boofcv.alg.drawing.FiducialImageGenerator
markerWidth, renderer
-
Constructor Summary
Constructors Constructor Description FiducialSquareHammingGenerator(ConfigHammingMarker config)
-
Method Summary
Modifier and Type Method Description void
generate(int markerIdx)
void
generateNoInit(int markerIdx)
void
renderCodes(ConfigHammingMarker.Marker marker)
Renders unique IDs on all the inner squares
-
Field Details
-
offsetX
public double offsetXThe top-left corner of the marker -
offsetY
public double offsetYThe top-left corner of the marker
-
-
Constructor Details
-
FiducialSquareHammingGenerator
-
-
Method Details
-
generate
public void generate(int markerIdx) -
generateNoInit
public void generateNoInit(int markerIdx) -
renderCodes
Renders unique IDs on all the inner squares
-