public class DetectChessboardFiducial<T extends boofcv.struct.image.ImageGray<T>>
extends java.lang.Object
Detects calibration points inside a chessboard calibration target. The image is first the image
is thresholded to create a binary image for square detection, then the binary image is eroded to make sure
the squares don't touch. After that DetectChessboardSquarePoints is called and it detects and sorts
the squares.
The found control points are ensured to be returned in a row-major format with the correct number of rows and columns, with a counter clockwise ordering. Note that when viewed on the monitor this will appear to be clockwise because the y-axis points down. If there are multiple valid solution then the solution with the (0,0) grid point closest top the origin is selected.
| Constructor and Description |
|---|
DetectChessboardFiducial(int numRows,
int numCols,
boofcv.struct.ConfigLength maxCornerDistance,
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> detectorSquare,
boofcv.abst.filter.binary.InputToBinary<T> inputToBinary)
Configures detection parameters
|
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.GrayU8 |
getBinary() |
java.util.List<georegression.struct.point.Point2D_F64> |
getCalibrationPoints() |
int |
getColumns() |
DetectChessboardSquarePoints |
getFindSeeds() |
int |
getRows() |
boolean |
process(T gray) |
void |
reset()
Forgets any past history and resets the detector
|
public DetectChessboardFiducial(int numRows,
int numCols,
boofcv.struct.ConfigLength maxCornerDistance,
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> detectorSquare,
boofcv.abst.filter.binary.InputToBinary<T> inputToBinary)
numRows - Number of rows in the grid. Target dependent.numCols - Number of columns in the grid. Target dependent.maxCornerDistance - The maximum distance two square corners can be from each other in pixelspublic void reset()
public boolean process(T gray)
public DetectChessboardSquarePoints getFindSeeds()
public java.util.List<georegression.struct.point.Point2D_F64> getCalibrationPoints()
public boofcv.struct.image.GrayU8 getBinary()
public int getColumns()
public int getRows()