boofcv.abst.fiducial.calib
Class ConfigSquareGrid
- java.lang.Object
-
- boofcv.abst.fiducial.calib.ConfigSquareGrid
-
- All Implemented Interfaces:
- Configuration, java.io.Serializable
public class ConfigSquareGrid extends java.lang.Object implements Configuration
Calibration parameters for square-grid style calibration grid.- See Also:
DetectSquareGridFiducial, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description ConfigRefinePolygonCornersToImageconfigRefineCornersConfiguration for refining with corners.ConfigRefinePolygonLineToImageconfigRefineLinesConfiguration for refining with lines.intnumColsNumber of black squares wide the grid is.intnumRowsNumber of black squares tall the grid is.booleanrefineWithCornersShould it refine the corners only? Useful if the input image is distorteddoublespaceWidthPhysical width of hte space between each squareConfigPolygonDetectorsquareConfiguration for square detectordoublesquareWidthPhysical width of the square.ConfigThresholdthresholdingConfiguration for thresholding the image
-
Constructor Summary
Constructors Constructor and Description ConfigSquareGrid(int numRows, int numCols, double squareWidth, double spaceWidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcheckValidity()Checks to see if the configuration is valid.doublegetSpacetoSquareRatio()
-
-
-
Field Detail
-
numRows
public int numRows
Number of black squares tall the grid is. Target dependent.
-
numCols
public int numCols
Number of black squares wide the grid is. Target dependent.
-
thresholding
public ConfigThreshold thresholding
Configuration for thresholding the image
-
square
public ConfigPolygonDetector square
Configuration for square detector
-
squareWidth
public double squareWidth
Physical width of the square.
-
spaceWidth
public double spaceWidth
Physical width of hte space between each square
-
refineWithCorners
public boolean refineWithCorners
Should it refine the corners only? Useful if the input image is distorted
-
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.
-
-
Constructor Detail
-
ConfigSquareGrid
public ConfigSquareGrid(int numRows, int numCols, double squareWidth, double spaceWidth)
-
-
Method Detail
-
getSpacetoSquareRatio
public double getSpacetoSquareRatio()
-
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