Chessboards are very frequently used for camera calibration, this website also talks a bit about why: wiki. One of the reasons is, that chessboards define many natural interest points. Now my (very simple?) question: Why don't we just use a white board with black dots on it instead of the checkerboard pattern where we first need to detect the corner points? I believe the black dots would be even easier to find...
2 Answers
This is mostly a matter of history.
Checkerboard patterns have proven in the past to:
- yield calibration accurate results
- be easy and robust to implement.
This was confirmed (for example) by a benchmark performed by NASA long time ago, where they were assessing visual solutions to control robotic arms.
Why are checkerboards robust and accurate? Because they provide features that can ve computed as intersection of lines. Linear features were easy to detect accurately (using Canny-Deriche, SUSAN, Hough transform...), while most point detectors were computed with pixel accuracy. Furthermore, checkerboards do provide line intersections, which are:
- robust: if a part of the calibration pattern is occluded, you can still get the coordinates of the intersection points thanks to the line equation
- accurate: line equations can be interpolated from sample points, and this is the case for their intersection too. Thus, you naturally get subpixel precision. This holds also for the old-fashioned pipelines where the corners were actually clicked by somebody
By robust to occlusion, I mean that you just have to continue the parts of the lines that are visible to get the intersection coordinates. With dots this is more hazardous, because you have less clues to infer the overall line direction. Also, when some dots are occluded, it's very difficult to know which ones are indeed occluded. Instead, using checkerboards of known size (e.g. $8 \times 8$ squares), then you can infer which tile exactly is hidden as long as you see the borders of the checkerboard.
A possible advantage of checkerboard patterns is that since you have line featurs, then it may be easier to infer distortion coefficient values, which is harder to do if you need to "connect the dots" of aligned points.
Modern point detectors (starting from Harris corners) perform interpolation to reach subpixel accuracy in point detection, and since checkerboards provide a lot of corners they continued to be used, just switching from line primitives to corner primitives.
-
$\begingroup$ Thanks! Is it the case that dot patterns would quickly get unusable if a couple of the points are occluded? I guess dots/circles are also easy to detect accurately and their center would also be determinable with subpixel accuracy, wouldn't it? I understood your elaboration on "robust", but since Harris Corner Detectors are used now, this point isn't valid anymore, is it? $\endgroup$ Commented Jul 22, 2015 at 9:45
-
-
$\begingroup$ The "strange" pattern in the answer below is used to compute MTF curves, Thus, it is designed to help in computing spatial frequency attenuation through the system (for example if you want to perform deconvolution). The equations of the features are hard to get, which will not help in calibrating internal parameters (in the sense of Computer Vision). $\endgroup$– sansuisoCommented Jul 22, 2015 at 9:55
-
$\begingroup$ Maybe any reference(s) on this? Showing results, conclusions, etc? Thanks! $\endgroup$– TanasisCommented Jun 15, 2017 at 9:10
-
$\begingroup$ Where are the references and sources? I'm surprised this was chosen as the answer... $\endgroup$– chutsuCommented May 30, 2023 at 21:11
You can use any target you'd like as long as you can find the features in a robust way, and you know their location in the real world. For example I used once ISO12233 chart image to calibrate radial distortion with fair accuracy, by knowing what features to look for, and what is their relative location.
Both chessboard and dot chart are regular patterns (same distance between them), which means you don't care about displacement in the world.
Chessboard might be slightly better than dots because dots are large objects and not points, which means they are affected by radial distortion,(Their center in the distorted image is not the center in the undistorted).
Chessboard is more common in home environment, which makes it more popular. It has less features, since it is harder to stack squares in a chart than dots.
All in all, there isn't a lot of difference between the charts, and for any reasonable purpose you can use any of them, but chessboard is just more common, which is why it is used frequently.
-
$\begingroup$ Thank you! So I believe you are saying that both are used and can be used (I btw found out that openCV also has a function for "cirlce patterns"), while dot patterns define more interest points and chessboards suffer less from radial distortion? $\endgroup$ Commented Jul 22, 2015 at 9:48