+ All Categories
Home > Documents > A Robust Recognition Technique for Dense Checkerboard Patterns

A Robust Recognition Technique for Dense Checkerboard Patterns

Date post: 02-Jan-2017
Category:
Upload: hahanh
View: 236 times
Download: 1 times
Share this document with a friend
4
A Robust Recognition Technique for Dense Checkerboard Patterns Vinh Ninh Dao Masanori Sugimoto The University of Tokyo {dao,sugi}@itl.t.u-tokyo.ac.jp Abstract—The checkerboard pattern is widely used in com- puter vision techniques for camera calibration and simple geometry acquisition, both in practical use and research. However, most of the current techniques fail to recognize the checkerboard pattern under distorted, occluded or discontin- uous conditions, especially when the checkerboard pattern is dense. This paper proposes a novel checkerboard recognition technique that is robust to noise, surface distortion or disconti- nuity, supporting checkerboard recognition in dynamic condi- tions for a wider range of applications. When the checkerboard pattern is used in a projector camera system for geometry reconstruction, by using epipolar geometry, this technique can recognize the corresponding positions of the crossing points, even if the checkerboard pattern is only partly detected. Keywords-checkerboard; pattern recognition; geometry re- construction; handheld projector–camera I. I NTRODUCTION A checkerboard pattern is used widely in many computer vision’s processes, like a camera calibration[1], or in a multiple projector system to register the projection areas for each projectors. A checkerboard pattern is also used to measure geometry structure by projecting from a projector- camera system[7], [9]. The checkerboard pattern is prefered in many computer vision systems because the basic crossing feature points are robustly detected and refined to sub- pixel accuracy. However, until now checkerboard recogni- tion techniques are mainly proposed for camera calibration purpose, and the recognition process is usually sensitive to the pattern’s distortion and noise. Our proposed technique can recognize a checkerboard pattern as groups of feature points connected by adaptively detected feature edges (Figure 1). Feature points and feature edges are first categorized by their direction, and then they are grouped by connections with each other following strong topological rules. In this paper, a checkerboard matching method for printed checkerboard patterns and a checker- board matching method for geometry reconstruction based on epipolar geometry are described. II. RELATED WORKS The recognition process is usually divided into the detec- tion process and the checkerboard matching process. In a checkerboard pattern, the crossing corners can be detected by several different approaches. A common approach to finding the checkerboard corners is to use the universal corner detectors such as that by Harris [5] or SUSAN [8], a) b) c) d) e) f) Figure 1. Checkerboard pattern recognition: a) distorted checkerboard, b) recognition result indexed by color, c) partially occluded checkerboard, d) successful recognition result, e) dense checkerboard pattern displayed from a projector, and f) surface reconstruction. and then to analyze the corners’ geometric relations to eliminate noise[4]. However, these detectors usually produce too many redundant corners, which are not specific to the checkerboard’s internal crossing points. Using the characteristics of the checkerboard, Wang et al. determine the checkerboard’s corners as the intersections of grid lines[10]. The drawback of this approach is that it can only find the corners when the checkerboard pattern is on a planar surface. In the OpenCV library [2], the widely used cvFindChessBoardCorner function searches for the checkerboard’s corners as the common vertices of different rectangular areas. This approach is quite robust to noise and global light illumination; it allows for a small amount of surface distortion, but it fails frequently when the pattern gets denser and the illumination is complex. Recently, Sun et al. proposed using the linear extension of the surrounds of a point and count for the intensity changes in each surrounding layers to identify the crossing corners[9]. With sufficient neighboring points, this direct approach can detect the crossing corners robustly under various different light conditions and distortion. However, in the matching process, most current tech- niques cannot deal with discontinuity, occlusion or false detection problems, which occur frequently when a checker- board pattern is used to measure surface geometry. In this paper, we propose a solution to the problem addressed above. 2010 International Conference on Pattern Recognition 1051-4651/10 $26.00 © 2010 IEEE DOI 10.1109/ICPR.2010.755 3073 2010 International Conference on Pattern Recognition 1051-4651/10 $26.00 © 2010 IEEE DOI 10.1109/ICPR.2010.755 3085 2010 International Conference on Pattern Recognition 1051-4651/10 $26.00 © 2010 IEEE DOI 10.1109/ICPR.2010.755 3081 2010 International Conference on Pattern Recognition 1051-4651/10 $26.00 © 2010 IEEE DOI 10.1109/ICPR.2010.755 3081 2010 International Conference on Pattern Recognition 1051-4651/10 $26.00 © 2010 IEEE DOI 10.1109/ICPR.2010.755 3081
Transcript
Page 1: A Robust Recognition Technique for Dense Checkerboard Patterns

A Robust Recognition Technique for Dense Checkerboard Patterns

Vinh Ninh Dao Masanori SugimotoThe University of Tokyo

{dao,sugi}@itl.t.u-tokyo.ac.jp

Abstract—The checkerboard pattern is widely used in com-puter vision techniques for camera calibration and simplegeometry acquisition, both in practical use and research.However, most of the current techniques fail to recognize thecheckerboard pattern under distorted, occluded or discontin-uous conditions, especially when the checkerboard pattern isdense. This paper proposes a novel checkerboard recognitiontechnique that is robust to noise, surface distortion or disconti-nuity, supporting checkerboard recognition in dynamic condi-tions for a wider range of applications. When the checkerboardpattern is used in a projector camera system for geometryreconstruction, by using epipolar geometry, this technique canrecognize the corresponding positions of the crossing points,even if the checkerboard pattern is only partly detected.

Keywords-checkerboard; pattern recognition; geometry re-construction; handheld projector–camera

I. INTRODUCTION

A checkerboard pattern is used widely in many computervision’s processes, like a camera calibration[1], or in amultiple projector system to register the projection areasfor each projectors. A checkerboard pattern is also used tomeasure geometry structure by projecting from a projector-camera system[7], [9]. The checkerboard pattern is preferedin many computer vision systems because the basic crossingfeature points are robustly detected and refined to sub-pixel accuracy. However, until now checkerboard recogni-tion techniques are mainly proposed for camera calibrationpurpose, and the recognition process is usually sensitive tothe pattern’s distortion and noise.

Our proposed technique can recognize a checkerboardpattern as groups of feature points connected by adaptivelydetected feature edges (Figure 1). Feature points and featureedges are first categorized by their direction, and then theyare grouped by connections with each other following strongtopological rules. In this paper, a checkerboard matchingmethod for printed checkerboard patterns and a checker-board matching method for geometry reconstruction basedon epipolar geometry are described.

II. RELATED WORKS

The recognition process is usually divided into the detec-tion process and the checkerboard matching process. In acheckerboard pattern, the crossing corners can be detectedby several different approaches. A common approach tofinding the checkerboard corners is to use the universalcorner detectors such as that by Harris [5] or SUSAN [8],

a)

b)

c)

d)

e)

f)

Figure 1. Checkerboard pattern recognition: a) distorted checkerboard, b)recognition result indexed by color, c) partially occluded checkerboard, d)successful recognition result, e) dense checkerboard pattern displayed froma projector, and f) surface reconstruction.

and then to analyze the corners’ geometric relations toeliminate noise[4]. However, these detectors usually producetoo many redundant corners, which are not specific to thecheckerboard’s internal crossing points.

Using the characteristics of the checkerboard, Wang etal. determine the checkerboard’s corners as the intersectionsof grid lines[10]. The drawback of this approach is that itcan only find the corners when the checkerboard pattern ison a planar surface. In the OpenCV library [2], the widelyused cvFindChessBoardCorner function searches for thecheckerboard’s corners as the common vertices of differentrectangular areas. This approach is quite robust to noise andglobal light illumination; it allows for a small amount ofsurface distortion, but it fails frequently when the patterngets denser and the illumination is complex. Recently, Sunet al. proposed using the linear extension of the surroundsof a point and count for the intensity changes in eachsurrounding layers to identify the crossing corners[9]. Withsufficient neighboring points, this direct approach can detectthe crossing corners robustly under various different lightconditions and distortion.

However, in the matching process, most current tech-niques cannot deal with discontinuity, occlusion or falsedetection problems, which occur frequently when a checker-board pattern is used to measure surface geometry. In thispaper, we propose a solution to the problem addressed above.

2010 International Conference on Pattern Recognition

1051-4651/10 $26.00 © 2010 IEEE

DOI 10.1109/ICPR.2010.755

3073

2010 International Conference on Pattern Recognition

1051-4651/10 $26.00 © 2010 IEEE

DOI 10.1109/ICPR.2010.755

3085

2010 International Conference on Pattern Recognition

1051-4651/10 $26.00 © 2010 IEEE

DOI 10.1109/ICPR.2010.755

3081

2010 International Conference on Pattern Recognition

1051-4651/10 $26.00 © 2010 IEEE

DOI 10.1109/ICPR.2010.755

3081

2010 International Conference on Pattern Recognition

1051-4651/10 $26.00 © 2010 IEEE

DOI 10.1109/ICPR.2010.755

3081

Page 2: A Robust Recognition Technique for Dense Checkerboard Patterns

III. CHECKERBOARD DETECTION

We use three steps in detecting a checkerboard. First,crossing feature points are detected, categorized and refinedto subpixel accuracy. In the second step, feature edgesare detected based on the detected feature points and thencategorized by direction. In the third step, feature points andfeature edges are connected, following topological rules, tocreate meshes of feature points and to eliminate noise.

A. Feature point detection

Feature points are first approximately detected by usingthe method proposed by Sun et al.[9]. This method detectsall pixels P that have four alternate black and white areassurround by extending its neighboring pixels at the samelevel to one-dimensional array, and counting for the intensityshifts (Figure 2). For the next step, we merge all the detected

P

2

2 2 22

2 2

22

2 2

2222

2

0 1 2 3 4 5 6 7 8 9 10 11 12 0151413

Inte

nsi

ty

1

111

1

111

Linear extension of the second neighboring pixels

Figure 2. Extension of neighboring pixels

pixel corners that are adjacent to each other, then take thecenter of mass as the initial corner position for refiningto subpixel accuracy. We use the method described in theOpenCV library [2] to find the radial saddle point. Thismethod does not require the radial saddle point to be insidethe initial pixel position, and it gives good convergence afterseveral iterations. Finally, feature points are categorized byusing a linear filter as in Figure 3. The filter in Figure 3(c)is efficient for categorizing feature points that are relativelyaligned in the horizontal or vertical directions. By rotatingthe recognition image to an appropriate angle given by thetrend line of detected feature points, we can always applythis filter.

a) P+ b) P-

-1

-1

-1

-1

-1 -1

-1 -1

1 1

1 1

1 1

1 1

c) linear filter

Figure 3. The categories of feature point

B. Feature edge detection

Feature edge detection has been subject to intensiveresearch in image processing, and various techniques havebeen proposed[8], [3]. However, these techniques are uni-versal; they detect many false edges due to noise that is notspecific to the checkerboard pattern. For the checkerboard,

we concentrate on the step edges that are the boundariesof the black and white areas in the checkerboard pattern.There are exactly four edges connecting each feature point.In the first detection step, we use four different Sobel filters(Figure 4) to differentiate the image in different directions.For each edge image, we find the corresponding feature

a) H- b) H+ c)V- d) V+

Figure 4. The categories of feature edge

edges by dynamically expanding the pixel connecting thefeature points. At the crossing feature point, the convolutionintegral used to apply the Sobel filters usually returns zeroor a very small value; thus, the edges’ ending points arefound by taking the pixels with largest value on the secondneighboring pixel of each feature point. The threshold fordeciding the continuity of an edge is taken to be half ofthe value at its ends. An edge connecting with two featurepoints will have two different continuity thresholds at itsends. In this case, we take the smallest value and merge theconnected edges into one.

C. Grouping

After having applied the above processes, we have acollection of categorized feature points {P+,P–} and fea-ture edges {H+,H–,V+,V–}. At this step, we apply someconstraints to eliminate falsely detected points and edges:

• A feature point must connect four feature edges indifferent categories.

• If a feature edge connects two feature points, the featurepoints must be in different categories.

Geometrically:• If an edge is in the H+/H– category, then its left feature

point must be in the P+/P– and its right feature pointmust be in the P–/P+ category.

• If an edge is in the V+/V– category, then its upperfeature point must be in the P+/P– and its lower featurepoint must be in the P–/P+ category.

These constraints are invariant to checkerboard directionbecause they only depend on the geometrical structure. Byfollowing the connections made by feature edges, we canreconstruct a strong grid structure from the collection offeature points. However, there may still be errors causedby occlusion or discontinuity on the object’s surface, andthe error may spread during the indexing process(Figure 5).These errors can be detected by checking the consistency ofthe loops in the groups. However, it is not obvious wherethe error is in the example shown in Figure 5. The featurepoints in positions (1,0) and (2,0) may be falsely detected, or

30743086308230823082

Page 3: A Robust Recognition Technique for Dense Checkerboard Patterns

0,0

0,1

0,2

0,3

1,0 2,0 3,0

3,1

3,2

3,3

P+

P-

H+ / V+solid

dash H- / V-

Figure 5. Inconsistent indexing

the edges between feature points (0,1)–(3,1), (0,2)–(3,2) and(0,3)–(3,3) may be in error due to edge collapse. Becauseedge collapse is rare and falsely detected feature points aremore common, we solve the problem by setting the priorityof the detected feature points based on their number ofneighbors, then start the indexing process with points fromhigh to low priority.

IV. CHECKERBOARD MATCHING

By grouping the feature points into groups and using theedge constraints to index the feature points in a grid order,we can easily match a checkerboard pattern with the grouphaving equal width and height with the checkerboard pattern.It helps to find the matching group when the checkerboardpattern is partially occluded but while its dimensions arepreserved. In the case where the occluded area is large, orwhen groups of feature points are segmented by a surfacediscontinuity and no group has the same dimension with thecheckerboard pattern, the matching process is complicatedor impossible to solve by only using the groups’ dimensions.

However, if the checkerboard pattern is displayed on acalibrated projector camera system, we can find the corre-sponding position for the groups of feature points based onepipolar geometry. If all of the corresponding epipolar linesare separated from each other, and all detected feature pointslie exactly on the predefined epipolar lines, the checkerboardmatching can be carried out for each feature point [6]. Whenthe checkerboard pattern is dense, these conditions are rarelysatisfied; feature point detection is affected by noise, anddifferent feature points may map to the same epipolar line.

These ambiguities are resolved when the groups arecomposed of feature points in more than two differentepipolar lines. Where multiple feature points map to thesame epipolar line, we can arrange the orientation of theprojector and the camera such that the epipole on the cameraimage is not at infinity. In this manner, we can ensure thatthe neighboring feature points of those points do not mapto the same epipolar line and are thus distinguishable. Thisis because in a checkerboard pattern the crossing points lieon a parallel grid, whereas, in an image, all epipolar lines

go through the same epipole and are not parallel with eachother.

In a group, if the corresponding position of a point isdefined, the corresponding positions of all points in thegroup are consequently decided. We can choose a featurepoint with the highest number of neighbors to be the originof the group, then search for the corresponding epipolarline of this origin feature point by taking the one whichminimizes the sum of the distance from all feature points inthe group to the equivalent epipolar lines.

V. EXPERIMENT

We have conducted several experiments to investigatethe validity of the method. In our experiments, a Logicoolcamera (QCAM-200V 640 × 480) was used to recognizea printed checkerboard pattern under severe distorted andpartially occluded conditions (Figure 1). We verified thatthe recognition result is robust to surface distortion andpartial occlusion. By projecting the checkerboard pattern ona surface of a colored box, we confirmed that the recog-nition technique is minimally affected by the surface color(Figure 6). We reconstructed a human face by projecting a

a) b) c)

Figure 6. Projecting checkerboard pattern: a) a color box, b) feature pointsand feature edges extraction result, and c) surface geometry reconstruction.

40 × 40 checkerboard pattern as in Figure 7. In this case,when the matching is not decided by the size of the groups,we use epipolar geometry to search for the correspondingposition of the detected groups of feature points. Using acomputer with an Intel Core 2 Duo 2.4 GHz CPU and a 2GB RAM, our implementation achieved a recognition speedof 12 to 13 fps for a 30× 20 checkerboard pattern and 5 to6 fps for a 40× 40 checkerboard pattern.

VI. CONCLUSION

In this paper, we proposed a checkerboard pattern recogni-tion technique by means of the recognition of feature pointsand feature edges, and we proposed a matching techniquebased on the grouping of the checkerboard pattern. Ourmethod is rapid and robust to noise. It is also minimallyaffected by surface color, and light conditions. In the future,we will implement this technique on a mobile projectorcamera system to reconstruct a 3D model of an object inreal time.

ACKNOWLEDGMENT

The authors would like to thank... more thanks here

30753087308330833083

Page 4: A Robust Recognition Technique for Dense Checkerboard Patterns

a) b)

c) d) e)

Figure 7. Face geometry reconstruction: a) checkerboard pattern is focuson a human face, b) pattially recognized result, c) right view, d) front view,and e) left view of the face’s geometry.

REFERENCES

[1] J.-Y. Bouguet. Camera calibration toolbox for matlab.http://www.vision.caltech.edu/bouguetj/calib doc/.

[2] G. Bradski. The OpenCV Library. Dr. Dobbfs Journal ofSoftware Tools, 2000.

[3] J. Canny. A computational approach to edge detection. IEEETrans. Pattern Anal. Mach. Intell., 8(6):679-698, 1986.

[4] S. Chang, B. Alan, and F. Mark. Automatic grid finding incalibration patterns using delaunay triangulation, 2003.

[5] C. Harris and M. Stephens. A combined corner and edgedetection. Proceedings of The Fourth Alvey Vision Conference,pages 147-151, 1988.

[6] T. P. Koninckx and L. V. Gool. Real-time range acquisitionby adaptive structured light. IEEE Transactions on PatternAnalysis and Machine Intelligence (PAMI), 28(3):432-445,2006.

[7] R. Raskar, J. van Baar, P. Beardsley, T. Willwacher, S. Rao, andC. Forlines. ilamps: geometrically aware and self-configuringprojectors. SIGGRAPH f03: ACM SIGGRAPH 2003 Papers,pages 809-818, 2003.

[8] S. M. Smith and J. M. Brady. Susan - a new approach tolow level image processing. International Journal of ComputerVision, 23:45-78, 1995.

[9] W. Sun, X. Yang, S. Xiao, and W. Hu. Robust checkerboardrecognition for efficient nonplanar geometry registration inprojector-camera systems. Proceedings of the 5th ACM/IEEEInternational Workshop on Projector camera systems (PRO-CAMS), pages 1-7, 2008.

[10] Z. Wang, W. Wu, X. Xu, and D. Xue. Recognition andlocation of the internal corners of planar checkerboard cali-bration pattern image. Applied Mathematics and Computation,185(2):894 - 906, 2007. Special Issue on Intelligent ComputingTheory and Methodology.

30763088308430843084


Recommended