boofcv.abst.fiducial.calib
Class ConfigChessboard
- java.lang.Object
-
- boofcv.abst.fiducial.calib.ConfigChessboard
-
- All Implemented Interfaces:
- Configuration, java.io.Serializable
public class ConfigChessboard extends java.lang.Object implements Configuration
Calibration parameters for chessboard style calibration grid.- See Also:
DetectChessboardFiducial, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description ConfigRefinePolygonCornersToImageconfigRefineCornersConfiguration for refining with corners.ConfigRefinePolygonLineToImageconfigRefineLinesConfiguration for refining with lines.doublemaximumCornerDistanceThe maximum distance in pixels that two corners can be from each other.intnumColsNumber of squares wide the grid is.intnumRowsNumber of squares tall the grid is.booleanrefineWithCornersIf true then it only refines the corner region.ConfigPolygonDetectorsquareConfiguration for square detectordoublesquareWidthPhysical width of each square on the calibration targetConfigThresholdthresholdingConfiguration for thresholding the image
-
Constructor Summary
Constructors Constructor and Description ConfigChessboard(int numRows, int numCols, double squareWidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcheckValidity()Checks to see if the configuration is valid.
-
-
-
Field Detail
-
numRows
public int numRows
Number of squares tall the grid is. Target dependent.
-
numCols
public int numCols
Number of squares wide the grid is. Target dependent.
-
maximumCornerDistance
public double maximumCornerDistance
The maximum distance in pixels that two corners can be from each other. In well focused image this number can be only a few pixels. The default value has been selected to handle blurred images
-
thresholding
public ConfigThreshold thresholding
Configuration for thresholding the image
-
square
public ConfigPolygonDetector square
Configuration for square detector
-
refineWithCorners
public boolean refineWithCorners
If true then it only refines the corner region. Otherwise it will refine the entire line.
-
configRefineLines
public ConfigRefinePolygonLineToImage configRefineLines
Configuration for refining with lines. Ignored if not used.
-
configRefineCorners
public ConfigRefinePolygonCornersToImage configRefineCorners
Configuration for refining with corners. Ignored if not used.
-
squareWidth
public double squareWidth
Physical width of each square on the calibration target
-
-
Constructor Detail
-
ConfigChessboard
public ConfigChessboard(int numRows, int numCols, double squareWidth)
-
-
Method Detail
-
checkValidity
public void checkValidity()
Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
-
DataMelt 3.0 © DataMelt by jWork.ORG