Checker Board Detection
Checker Board Detection
Checker Board Detection
binarizes the image locally according to a given mask size distance to every corner of every other quadrangle. Store
and method and generally delivers higher level segmentation the smallest such distance and the respective corner and
results for nonuniformly lit images. Two kernel implemen quadrangle ID.
tations are available: “mean” and “Gaussian”. In the original • Check whether this distance is smaller than the smallest
approach “mean” is used, which requires considerably less edge length of both quadrangles. This is intended to
computational power and is thus well suited for the checker make sure, that no quadrangle gets linked to quadran
board detection from a video stream, where execution time gles too far away.
is critical. The checkers in the thresholded blackandwhite • If these tests are passed, then the two corners are linked
image tend to be grown together due to blur, noise and/or and the extracted corner position is set to the arithmetic
too coarse sampling. For correct identification, they need to mean of their former positions.
be separated. An erosion step is applied. The extracted corners finally form a pattern described
3) Erosion: The inclusion of an erosion step (by using a through their position and neighborhood relation with respect
3x3 “rect” kernel, see Fig. 5 right) is the main ingenious idea to the other corners.
behind Vezhnevets’ implementation. In this way it is possible 6) Further Steps: From all erosion runs, the algorithm
to separate the checkerboard at the corners and obtain a set then selects the corner pattern with the highest number of
of black quadrangles (foursided polygons). The contours found corners. No information exchange between different
Fig. 5. Left: 3x3 “Cross” kernel. Right: 3x3 “Rect” kernel.
TABLE I TABLE IV
TEST IMAGE SETS TEST IMAGE SET 3
Img. set Resolution Blur Brightness Cameramirror shape Method OpenCV Our method
Set 1 1280x960 no daylight hyperbolic, central Number of found corners Number of found corners
Set 2 1280x960 no reduced iris hyperbolic, central Mean 11.4 of 30 29.7 of 30
Set 3 1280x960 yes daylight hyperbolic, central Min 3 28
Set 4 640x480 no daylight Christmas ball, noncentral Max 21 30
Set 5 640x480 no daylight spherical, central Corner inaccuracy [pxl] Corner inaccuracy [pxl]
Set 6 640x480 yes daylight spherical, central Mean 1.48 0.62
Variance 0.23 0.63
TABLE II TABLE V
TEST IMAGE SET 1 TEST IMAGE SET 4