public class DetectChessboardSquarePoints<T extends boofcv.struct.image.ImageGray<T>>
extends java.lang.Object
| Constructor and Description |
|---|
DetectChessboardSquarePoints(int numRows,
int numCols,
boofcv.struct.ConfigLength maxCornerDistance,
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> detectorSquare)
Configures chess board detector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adjustBeforeOptimize(georegression.struct.shapes.Polygon2D_F64 polygon,
org.ddogleg.struct.GrowQueue_B touchesBorder,
boolean clockwise)
The polygon detected from the contour is too small because the binary image was eroded.
|
org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> |
getCalibrationPoints() |
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> |
getDetectorSquare() |
java.util.List<java.util.List<SquareNode>> |
getGraphs() |
SquareCrossClustersIntoGrids |
getGrids() |
int |
getNumCols() |
int |
getNumRows() |
SquaresIntoCrossClusters |
getShapeToClusters() |
boolean |
process(T input,
boofcv.struct.image.GrayU8 binary)
Detects chessboard in the binary image.
|
public DetectChessboardSquarePoints(int numRows,
int numCols,
boofcv.struct.ConfigLength maxCornerDistance,
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> detectorSquare)
numRows - Number of rows in square gridnumCols - Number of columns in square gridmaxCornerDistance - Maximum distance in pixels that two "overlapping" corners can be from each other.public boolean process(T input, boofcv.struct.image.GrayU8 binary)
input - Original input image.binary - Binary image of chessboardpublic void adjustBeforeOptimize(georegression.struct.shapes.Polygon2D_F64 polygon,
org.ddogleg.struct.GrowQueue_B touchesBorder,
boolean clockwise)
public java.util.List<java.util.List<SquareNode>> getGraphs()
public SquaresIntoCrossClusters getShapeToClusters()
public SquareCrossClustersIntoGrids getGrids()
public boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> getDetectorSquare()
public org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F64> getCalibrationPoints()
public int getNumRows()
public int getNumCols()