Package boofcv.abst.fiducial.calib
Class ConfigChessboardX
java.lang.Object
boofcv.abst.fiducial.calib.ConfigChessboardX
- All Implemented Interfaces:
Configuration
,Serializable
Calibration parameters for chessboard style calibration grid.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Ratio used to decide if two corners are spatially close enough to each other to be considered as the same corner.double
How similar the direction of two corners relative to each other need to be.double
Relative threshold for two corners being connected.double
Maximum search distance for nearest neighbor search.int
Maximum number of neighbors returned by nearest neighbor searchdouble
How similar two corner orientations need to beint
Size of a corner in the corner detector.double
Non-maximum threshold relative to maximum x-corner intensity.int
The minimum allowed size for the top most layer in the pyramid.double
After the initial candidate x-corners have been found a more accurate x-corner intensity is computed which doesn't compromise as much for speed.boolean
If true then a chessboard has to have at least one square which is connected to only one other square. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.setTo
(ConfigChessboardX src) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
detNonMaxRadius
public int detNonMaxRadiusSize of a corner in the corner detector. 1 is recommended in general. 2 or higher can be used to run faster if the image quality and the apparent target size is large. -
detNonMaxThresholdRatio
public double detNonMaxThresholdRatioNon-maximum threshold relative to maximum x-corner intensity. 0 to 1, inclusive -
detRefinedXCornerThreshold
public double detRefinedXCornerThresholdAfter the initial candidate x-corners have been found a more accurate x-corner intensity is computed which doesn't compromise as much for speed. If the refined intensity is less than this value it will be discarded. -
detPyramidTopSize
public int detPyramidTopSizeThe minimum allowed size for the top most layer in the pyramid. size = min(width,height). To have only one layer in the pyramid at the same resolution as the input set this to a value of ≤ 0 -
connEdgeThreshold
public double connEdgeThresholdRelative threshold for two corners being connected. The edge between them must have sufficient intensity. The definition of sufficient is based on the contrast of the two x-corners. -
connDirectionTol
public double connDirectionTolHow similar the direction of two corners relative to each other need to be. 0 to 1. Higher is more tolerant -
connOrientationTol
public double connOrientationTolHow similar two corner orientations need to be -
connAmbiguousTol
public double connAmbiguousTolRatio used to decide if two corners are spatially close enough to each other to be considered as the same corner. -
connMaxNeighbors
public int connMaxNeighborsMaximum number of neighbors returned by nearest neighbor search -
connMaxNeighborDistance
public double connMaxNeighborDistanceMaximum search distance for nearest neighbor search. Units = pixels. -
gridRequireCornerSquares
public boolean gridRequireCornerSquaresIf true then a chessboard has to have at least one square which is connected to only one other square. BoofCV's calibration targets requirements this. Other projects might not.
-
-
Constructor Details
-
ConfigChessboardX
public ConfigChessboardX()
-
-
Method Details
-
setTo
-
checkValidity
public void checkValidity()Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-