Class ECoCheckDetector<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.fiducial.calib.ecocheck.ECoCheckDetector<T>
- All Implemented Interfaces:
VerbosePrint
Detects chessboard patterns with marker and grid coordinate information encoded inside of the inner white squares. Multiple unique markers can be detected and damaged/partial targets will work. If no binary patterns are found in a chessboard, then an "anonymous" pattern is returned. Anonymous chessboards are useful when trying to track distant targets. Which corners were decoded next to a binary pattern is recorded as those corners are extremely unlikely to be a false positive.
Processing steps: 1) x-corner detector. 2) find clusters of corners. 3) clusters into grids. 4) detect encoded binary data inside of grids. 5) align coordinate systems-
Field Summary
Modifier and TypeFieldDescriptionprotected ChessboardCornerClusterFinder<T>
Cluster Finderprotected ChessboardCornerClusterToGrid
Cluster to gridprotected DetectChessboardCornersXPyramid<T>
Chessboard corner detectorfinal DogArray<ECoCheckFound>
Found chessboard patternsUsed to sample the input image when "undistorting" the bit patterndouble
If more than this number of points fail the test consider it a failureprotected ECoCheckUtils
Common utilities for decoding ECoCheck patternsint
Number of points along a side it will sample when trying to determine if a border is white. -
Constructor Summary
ConstructorDescriptionECoCheckDetector
(ECoCheckUtils utils, ConfigChessboardX config, Class<T> imageType) Specifies configuration for detector -
Method Summary
Modifier and TypeMethodDescriptionType of input image it processesvoid
Processes the image and searches for all chessboard patterns.void
setVerbose
(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Field Details
-
whiteBorderSampleCount
public int whiteBorderSampleCountNumber of points along a side it will sample when trying to determine if a border is white. Disable by settings to zero. -
maxWhiteBorderFailFraction
public double maxWhiteBorderFailFractionIf more than this number of points fail the test consider it a failure -
utils
Common utilities for decoding ECoCheck patterns -
detector
Chessboard corner detector -
clusterFinder
Cluster Finder -
clusterToGrid
Cluster to grid -
interpolate
Used to sample the input image when "undistorting" the bit pattern -
found
Found chessboard patterns
-
-
Constructor Details
-
ECoCheckDetector
Specifies configuration for detector
-
-
Method Details
-
process
Processes the image and searches for all chessboard patterns. -
getImageType
Type of input image it processes -
setVerbose
public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration) - Specified by:
setVerbose
in interfaceVerbosePrint
-