boofcv.abst.fiducial.calib
Class CalibrationDetectorChessboard
- java.lang.Object
-
- boofcv.abst.fiducial.calib.CalibrationDetectorChessboard
-
- All Implemented Interfaces:
- CalibrationDetector
public class CalibrationDetectorChessboard extends java.lang.Object implements CalibrationDetector
Wrapper aroundDetectChessboardFiducialforCalibrationDetector
-
-
Constructor Summary
Constructors Constructor and Description CalibrationDetectorChessboard(ConfigChessboard config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description DetectChessboardFiducial<GrayF32>getAlgorithm()CalibrationObservationgetDetectedPoints()Returns the set of detected points from the most recent call toCalibrationDetector.process(GrayF32).intgetGridColumns()Returns number of columns in the chessboard gridintgetGridRows()Returns number of rows in the chessboard gridjava.util.List<Point2D_F64>getLayout()Returns the layout of the calibration points on the targetstatic java.util.List<Point2D_F64>gridChess(int numRows, int numCols, double squareWidth)This target is composed of a checkered chess board like squares.booleanprocess(GrayF32 input)Image processing for calibration target detection
-
-
-
Constructor Detail
-
CalibrationDetectorChessboard
public CalibrationDetectorChessboard(ConfigChessboard config)
-
-
Method Detail
-
process
public boolean process(GrayF32 input)
Description copied from interface:CalibrationDetectorImage processing for calibration target detection- Specified by:
processin interfaceCalibrationDetector- Parameters:
input- Gray scale image containing calibration target- Returns:
- true if target was detected and false if not
-
getDetectedPoints
public CalibrationObservation getDetectedPoints()
Description copied from interface:CalibrationDetectorReturns the set of detected points from the most recent call toCalibrationDetector.process(GrayF32). Each time this function is invoked a new instance of the list and points is returned. No data reuse here.- Specified by:
getDetectedPointsin interfaceCalibrationDetector- Returns:
- List of detected points in row major grid order.
-
getLayout
public java.util.List<Point2D_F64> getLayout()
Description copied from interface:CalibrationDetectorReturns the layout of the calibration points on the target- Specified by:
getLayoutin interfaceCalibrationDetector- Returns:
- List of calibration points
-
getGridRows
public int getGridRows()
Returns number of rows in the chessboard grid- Returns:
- number of rows
-
getGridColumns
public int getGridColumns()
Returns number of columns in the chessboard grid- Returns:
- number of columns
-
getAlgorithm
public DetectChessboardFiducial<GrayF32> getAlgorithm()
-
gridChess
public static java.util.List<Point2D_F64> gridChess(int numRows, int numCols, double squareWidth)
This target is composed of a checkered chess board like squares. Each corner of an interior square touches an adjacent square, but the sides are separated. Only interior square corners provide calibration points.- Parameters:
numRows- Number of grid rows in the calibration targetnumCols- Number of grid columns in the calibration targetsquareWidth- How wide each square is. Units are target dependent.- Returns:
- Target description
-
-
DataMelt 3.0 © DataMelt by jWork.ORG