public class ConfigSquareGridBinary
extends java.lang.Object
implements boofcv.struct.Configuration
CalibrationDetectorSquareFiducialGrid that uses a
DetectFiducialSquareBinary for the inner fiducials.| Modifier and Type | Field and Description |
|---|---|
ConfigFiducialBinary |
configDetector
Description of the binary fiducial detector
|
boofcv.factory.filter.binary.ConfigThreshold |
configThreshold
Description of image thresholding algorithm
|
long[] |
ids
Ordered list of expected square fiducial ID numbers.
|
int |
numCols
Number of squares wide the grid is.
|
int |
numRows
Number of squares tall the grid is.
|
double |
spaceWidth
Physical width space between each square
|
double |
squareWidth
Physical width of the square.
|
| Constructor and Description |
|---|
ConfigSquareGridBinary() |
ConfigSquareGridBinary(int numRows,
int numCols,
double squareWidth,
double spaceWidth)
Configures the grid with the following specifications and configures the fiducial detector to be
3x3 with fiducials id number 0 to (numRows*numCols)-1.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkValidity() |
static ConfigSquareGridBinary |
parseSimple(java.io.BufferedReader reader)
Parses a simple configuration text sequence that describes the target type.
|
public ConfigFiducialBinary configDetector
public boofcv.factory.filter.binary.ConfigThreshold configThreshold
public long[] ids
public int numRows
public int numCols
public double squareWidth
public double spaceWidth
public ConfigSquareGridBinary(int numRows,
int numCols,
double squareWidth,
double spaceWidth)
public ConfigSquareGridBinary()
public void checkValidity()
checkValidity in interface boofcv.struct.Configurationpublic static ConfigSquareGridBinary parseSimple(java.io.BufferedReader reader) throws java.io.IOException
# Description of a binary grid calibration target binary_width 3 grid_shape 4 square_width 40 space_width 20 numbers 0 1 2 3 4 5 6 7 8 9 10 11
reader - Inputjava.io.IOException