Camera calibration targets: how to choose and use them
The right calibration target depends on lens, lighting and tolerance: compare checkerboard, dot grid and ChArUco, target size, accuracy and substrate.
Why calibrate, and what you actually need
Calibration establishes the relationship between pixels and real-world geometry. It corrects lens distortion, provides metric scale and locates the camera in a coordinate frame. Not every system needs the full treatment. Over-specifying wastes commissioning time, while under-specifying produces an inspection that is repeatable but wrong.
The standard model is a pinhole camera plus a polynomial distortion model: focal length in pixels, principal point, and radial and tangential coefficients. A planar target seen at several orientations gives enough constraints to solve it. The solver refines all parameters by minimising reprojection error, which is the distance between where points were detected and where the model predicts them.
The effect is not small. A lens with 1% distortion on a 200 x 167 mm field shifts points near the corner by about 1.3 mm, which is about 16 pixels at 0.082 mm per pixel. A single mm-per-pixel factor cannot correct that.
- Simple scale: one mm-per-pixel factor from a known feature. Adequate for low-distortion lenses, parts at a fixed height and relative checks.
- Intrinsic calibration and distortion correction: needed for dimensional measurement across the field of view with entocentric lenses.
- Plane or extrinsic calibration: gives camera pose relative to a plane, so you can measure on a conveyor or tilted surface in world units.
- Hand-eye and multi-camera calibration: links cameras to robots or to each other, and depends on the intrinsics being right.
Checkerboard vs dot grid vs ChArUco
Checkerboard features are X-corners. A corner stays a point under perspective and lens distortion, so its sub-pixel location avoids the geometric bias that affects circles. Almost all calibration tools support it, and it tolerates uneven illumination because each corner is located from its own local neighbourhood. Its weaknesses: most basic detectors need the whole pattern in the frame, which discourages coverage of the image corners where distortion is highest, and heavy defocus degrades localisation. Use one even and one odd square count, so orientation is unambiguous.
Dot grids use the centroid or fitted ellipse of each dot, which draws on many edge pixels. That gives strong sub-pixel accuracy and good tolerance of defocus, because blur is symmetric around the centre. They are the natural choice for backlit metrology and telecentric lenses, where perspective is absent. The catch is that under perspective, the centre of the projected circle is not the projection of the circle's centre, and that bias grows with dot size and tilt. Good software models it; otherwise keep dots no larger than detection requires and avoid large tilts. Dots about half the pitch in diameter are a common layout, and asymmetric grids or a few larger marks resolve orientation.
ChArUco prints ArUco fiducial markers inside the white squares of a checkerboard. Each marker has a unique ID, so each corner is individually identified. You get checkerboard-style corners without needing the whole board in view, which lets you push corners to the edges of the frame. That is valuable on wide-angle lenses and in multi-camera rigs where each view sees only part of the board. The costs are more complex detection and a larger minimum feature size, because the markers themselves must resolve. Record the dictionary, square size, marker size and layout, because the detector needs them exactly.
- Front-lit calibration with a standard lens and the whole board in view: checkerboard.
- Backlit or telecentric metrology, or some unavoidable defocus: dot grid.
- Wide-angle lenses, occlusion, partial views or multi-camera overlap: ChArUco or another coded pattern.
- Laser profilers and structured-light sensors: follow the sensor's procedure, which often uses a 3D artefact.
Sizing the target to the field of view
Two goals compete. The target must be large enough for its features to be measurable and to constrain the model, and small enough to move around and stay in focus when tilted. For full intrinsic calibration with multiple poses, a typical choice is a target covering about 50 to 70% of the image width in each pose, moved so the full set of images covers the whole frame, including the corners. For single-plane measurement, where the target stays in the measuring plane, use one that fills almost the entire field, because that one pose has to constrain distortion everywhere.
Feature size is set in pixels. Typical minimums are squares of at least about 20 pixels, dots of at least 10 to 20 pixels in diameter, and ArUco markers large enough for each bit to span 3 to 5 pixels, which for a 4 x 4 marker with its border is about 20 to 30 pixels. More features help until they become too small to localise, and there is little gain once you have several hundred points per view.
Worked example: a 5 MP camera (2448 x 2048) covers about 200 x 167 mm, or 0.082 mm per pixel. A target about 130 mm wide fills 65% of the width. With 5 mm squares, each square spans about 61 pixels, comfortably above the minimum. A 26 x 19 square board gives 25 x 18 = 450 inner corners and has one even and one odd dimension. Over 20 poses you collect about 9,000 points.
Now check depth of field, which is often the real limit. A 130 mm target tilted by 30 degrees moves its edges +/-65 x sin(30) = +/-32.5 mm in depth. If the depth of field at your working aperture is about +/-15 mm, the outer corners go soft. Reduce the tilt, since at 15 degrees the edges move about +/-17 mm, or use a smaller target. Do not change aperture or focus to make this easier, because they are part of what you are calibrating.
Accuracy classes, temperature and flatness
There is no universal accuracy class system for calibration targets, so compare makers' figures directly. Look for absolute position tolerance across the whole pattern, not just between adjacent features, because errors can accumulate. Also look for flatness, the reference temperature (usually 20 °C), and whether the target has an individual measurement certificate, ideally traceable to a national metrology institute through an accredited laboratory (ISO/IEC 17025). The measured positions of a certified target can often be loaded into the software, in which case stability matters more than nominal tolerance.
Set the requirement from the measurement tolerance. A common metrology rule of thumb is a ratio of 4:1 to 10:1 between tolerance and reference uncertainty. For a +/-50 µm tolerance, the target must be known to about +/-5 to +/-12 µm, which points to film, ceramic or chrome on glass. For robot guidance with a +/-1 mm tolerance, +/-100 to +/-250 µm is enough, and a good printed aluminium panel will do. Compare with the pixel scale as well: at 0.082 mm per pixel and 0.1 pixel feature localisation you can resolve about 8 µm, so a +/-100 µm target would dominate the error budget.
Thermal expansion is the hidden error on larger targets. Over a 10 K change, a 300 mm target grows by 69 µm in aluminium (23 ppm/K), 27 µm in soda-lime glass (9 ppm/K), about 10 µm in borosilicate glass (3.3 ppm/K) and 1.5 µm in fused silica (0.5 ppm/K). A scale correction from measured temperature helps if the substrate's coefficient is known. Let targets stabilise at cell temperature before use.
Flatness matters with entocentric lenses, because out-of-plane error becomes lateral error: shift = height error x tan(field angle). A 100 µm bow at a 20 degree field angle shifts a point by about 36 µm. Telecentric lenses are largely immune. Support large panels properly, because they sag under their own weight and warp if clamped unevenly.
- Office print on paper: often hundreds of microns, and unstable with humidity and handling. For prototyping only.
- Digital print on aluminium composite: typically tens to a few hundred microns, depending on process and size.
- Photographic film: typically about 5 to 25 µm at moderate sizes, when mounted flat and kept stable.
- Ceramic: typically single-digit to low tens of microns, depending on process.
- Chrome on glass: typically about 0.5 to 5 µm at small to moderate sizes.
Substrates: chrome on glass, film, ceramic and aluminium
The choice depends on lighting, size, environment and required accuracy. Start from the lighting, because it eliminates options quickly: a backlit setup needs a transparent substrate, and a sensor that dislikes specular surfaces needs a matte one. Then let the field size and tolerance decide among what remains. Whichever you pick, store targets in a case, clean them as the maker recommends, and inspect them for damage before each use, because a scratched or contaminated feature becomes a measurement error.
- Chrome on glass: a photolithographic pattern on soda-lime, borosilicate or fused silica. It offers the highest feature definition, and opaque features on clear glass make it the natural backlit target. Bright chrome is mirror-like under front light, so use low-reflective chrome or a diffuse backing for front-lit use. It is fragile, and sizes are limited.
- Film: a photographic emulsion on polyester, usually mounted on glass or another stable base. It gives fine features economically and in larger sizes, and it works backlit. It is sensitive to temperature, humidity and how it is mounted, and it scratches.
- Ceramic: opaque, matte and dimensionally stable, at about 7 ppm/K for alumina, and tolerant of handling and cleaning. Good for front-lit 2D calibration and for 3D sensors that dislike specular surfaces. It cannot be backlit. Some white ceramics let light penetrate slightly, which can bias laser and structured-light measurements.
- Aluminium and aluminium composite: printed or anodised panels that are light and rigid, and the practical option for fields of a metre or more. Flatness and thermal expansion limit accuracy, so measure the panel rather than trusting nominal values.
- Paper on board: acceptable only for experiments. Print scaling, humidity and warp all matter, and the pattern often does not measure what the file says. Check the printed pitch with a caliper at the very least.
Backlit targets, telecentric lenses and 3D cameras
Backlit targets give the highest edge contrast, because light either passes or is blocked and surface finish and glare stop mattering. Chrome on glass with a diffuse LED panel behind it is the standard arrangement. Keep highlights below saturation, because blooming shifts apparent edges and shrinks dots. Face the patterned side towards the lens: if the pattern sits behind the glass, the glass moves the apparent plane by about one-third of its thickness. Calibrate at the application's wavelength, since lateral chromatic aberration means scale and distortion differ by colour. Check targets at the working wavelength too: many printed inks lose contrast in the near-infrared, where some black dyes become almost transparent.
Telecentric lenses do not suit the standard pinhole procedure. Magnification is nominally constant with distance, so there is no perspective cue for solving focal length. Use a telecentric or affine camera model if your software offers one, or calibrate magnification and residual distortion directly with a dot grid in the measuring plane. A chrome-on-glass dot grid with a telecentric or collimated backlight is the usual choice, with the pattern nearly filling the field. Tilt appears as a cosine error: 1 degree shortens the measurement by 0.015%, or about 7.6 µm over 50 mm, so align carefully or let the software estimate it.
3D cameras usually ship factory calibrated, so field calibration typically means alignment and verification rather than redoing the intrinsics. Use the plate or procedure the sensor specifies, and keep it matte, flat and stable. A single flat plane cannot calibrate the height axis of a laser triangulation profiler, so use a sawtooth or stepped artefact of known geometry, or a plane moved through known heights. Matte spheres are valuable for aligning several sensors, because a sphere looks the same from any direction. Hand-eye calibration needs varied motion, including rotations around at least two non-parallel axes, because small rotations give a poorly conditioned solution. To verify accuracy, measure gauge blocks or a ball bar; VDI/VDE 2634 describes acceptance procedures for optical 3D systems.
Line scan is another special case. The target calibrates scale across travel, while scale along travel comes from the encoder, so verify the two together with a round or square feature on the moving transport.
Procedure and common mistakes
Prepare first. Set focus and aperture to their final values and lock them, and make sure the camera and lens mount are mechanically final. Let the camera and light warm up, typically for 30 to 60 minutes, because focus and scale drift during warm-up. Set exposure so white is high but unsaturated, around 70 to 90% of full scale. Calibrate at the resolution, binning and region of interest in use, because the intrinsic values change with them.
Capture 15 to 30 well-distributed views: the centre, all four corners, all edges, and varied tilt around both axes, roughly +/-15 to +/-30 degrees where depth of field allows. Hold the target still and use a short exposure to avoid motion blur, especially on rolling-shutter sensors. Tilt is not optional: with a set of parallel views, focal length and distance cannot be separated. Solve with the simplest model that fits, typically two or three radial and two tangential coefficients, and add more only if the residuals call for it. A too-flexible model fits the target and extrapolates badly at the corners. Very wide lenses need a fisheye model.
Check the residuals, then verify. As a typical guide, reprojection RMS below 0.5 pixel is acceptable for many tasks, and 0.1 to 0.2 pixel is achievable with good targets and lighting. Look at the residual map rather than only the number: random noise is fine, whereas a swirl or radial pattern points to an inadequate model or a warped target. Remove outliers only for a specific reason, because deleting views to improve the number hides problems. Then check accuracy against an independent reference, such as a certified scale, gauge block or different target in the real measuring plane.
Measure at the height you calibrated. With an entocentric lens, scale changes with distance: a part 5 mm above the calibration plane at 300 mm from the entrance pupil appears about 1.7% larger, or 1.7 mm over 100 mm. Shim the target so its surface sits in the measuring plane, or use a model that includes height. If you rectify images, remember that interpolation softens edges; metrology often works better by measuring in the raw image and then transforming the feature coordinates.
Treat calibration as a maintained process. Keep a verification target near the cell, check it on a schedule, and define the triggers for recalibration: lens change, collision, mount adjustment or drift beyond a set limit. Store calibration data with the camera serial number, lens, settings and date.
Calibration is only as good as the procedure around it, and that matters most in measurement stations. AIS Vision can validate the measurement method on real parts and integrate the calibration routine into the station.
- Focus, aperture or camera moved after calibration.
- Views clustered in the centre, leaving the corners unconstrained.
- Parallel views with no tilt.
- Wrong pitch entered, mixed units or a printed target that was never measured.
- Saturated or blurred features, or glare on glossy substrates.
- Target bent, warm from handling, or hand-held during a long exposure.
- Calibration plane different from the measuring plane.
- Different wavelength for calibration and inspection.
- Treating low reprojection error as proof of accuracy.
Frequently asked questions
Related categories
- Calibration targets
- Telecentric lenses
- 3D cameras
Related guides
Telecentric lenses and illumination for precise gauging
Learn how telecentric lenses hold magnification constant, what limits field and depth, when collimated lighting helps and when the cost is justified.
3D vision explained: laser, stereo, structured light, ToF
Compare laser triangulation, stereo, structured light and time-of-flight 3D by range, accuracy, surface limits and data rate, then pick the right fit.
Understanding resolution and field of view
How to size camera resolution from field of view and the smallest defect using the 3-5 px rule, plus why optics, lighting and bandwidth cap usable resolution.
How to validate a machine vision application: a practical checklist
A field checklist to de-risk a machine vision project before you buy hardware: define defects and tolerances, collect representative samples, prove the imaging, budget resolution and field of view, lock motion and triggers, then run a structured proof of concept against measurable acceptance criteria.











