public class DetectSquareGridFiducial<T extends boofcv.struct.image.ImageGray<T>>
extends java.lang.Object
There is also always at least two solutions to the ordering. For sake of consistency it will select the orientation where index 0 is the closest to the origin.
| Constructor and Description |
|---|
DetectSquareGridFiducial(int numRows,
int numCols,
double spaceToSquareRatio,
boofcv.abst.filter.binary.InputToBinary<T> inputToBinary,
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> detectorSquare)
COnfigures the detector
|
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.GrayU8 |
getBinary() |
int |
getCalibrationCols() |
java.util.List<georegression.struct.point.Point2D_F64> |
getCalibrationPoints() |
int |
getCalibrationRows() |
java.util.List<java.util.List<SquareNode>> |
getClusters() |
int |
getColumns() |
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> |
getDetectorSquare() |
SquareRegularClustersIntoGrids |
getGrids() |
int |
getRows() |
SquaresIntoRegularClusters |
getSquaresIntoClusters() |
boolean |
process(T image)
Process the image and detect the calibration target
|
public DetectSquareGridFiducial(int numRows,
int numCols,
double spaceToSquareRatio,
boofcv.abst.filter.binary.InputToBinary<T> inputToBinary,
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> detectorSquare)
numRows - Number of black squares in the grid rowsnumCols - Number of black squares in the grid columnsspaceToSquareRatio - Ratio of spacing between the squares and the squares widthinputToBinary - Converts input image into a binary imagedetectorSquare - Detects the squares in the image. Must be configured to detect squarespublic boolean process(T image)
image - Input imagepublic java.util.List<georegression.struct.point.Point2D_F64> getCalibrationPoints()
public int getCalibrationRows()
public int getCalibrationCols()
public boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> getDetectorSquare()
public java.util.List<java.util.List<SquareNode>> getClusters()
public SquaresIntoRegularClusters getSquaresIntoClusters()
public SquareRegularClustersIntoGrids getGrids()
public boofcv.struct.image.GrayU8 getBinary()
public int getColumns()
public int getRows()