public class CalibrationDetectorSquareGrid
extends java.lang.Object
implements boofcv.abst.geo.calibration.DetectorFiducialCalibration
DetectorFiducialCalibration for square grid target types.| Constructor and Description |
|---|
CalibrationDetectorSquareGrid(ConfigSquareGrid config) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<georegression.struct.point.Point2D_F64> |
createLayout(int numRows,
int numCols,
double squareWidth,
double spaceWidth)
Creates a target that is composed of squares.
|
DetectSquareGridFiducial<boofcv.struct.image.GrayF32> |
getAlgorithm() |
boofcv.alg.geo.calibration.CalibrationObservation |
getDetectedPoints() |
int |
getGridColumns()
Returns number of columns in the grid
|
int |
getGridRows()
Returns number of rows in the grid
|
java.util.List<georegression.struct.point.Point2D_F64> |
getLayout() |
int |
getPointColumns()
Returns number of columns in calibration point grid
|
int |
getPointRows()
Returns number of rows in calibration point grid
|
boolean |
process(boofcv.struct.image.GrayF32 input) |
public CalibrationDetectorSquareGrid(ConfigSquareGrid config)
public boolean process(boofcv.struct.image.GrayF32 input)
process in interface boofcv.abst.geo.calibration.DetectorFiducialCalibrationpublic static java.util.List<georegression.struct.point.Point2D_F64> createLayout(int numRows,
int numCols,
double squareWidth,
double spaceWidth)
numRows - Number of rows in calibration target. Must be odd.numCols - Number of column in each calibration target. Must be odd.squareWidth - How wide each square is. Units are target dependent.spaceWidth - Distance between the sides on each square. Units are target dependent.public boofcv.alg.geo.calibration.CalibrationObservation getDetectedPoints()
getDetectedPoints in interface boofcv.abst.geo.calibration.DetectorFiducialCalibrationpublic java.util.List<georegression.struct.point.Point2D_F64> getLayout()
getLayout in interface boofcv.abst.geo.calibration.DetectorFiducialCalibrationpublic DetectSquareGridFiducial<boofcv.struct.image.GrayF32> getAlgorithm()
public int getGridRows()
public int getGridColumns()
public int getPointRows()
public int getPointColumns()