Is the diameter correct? Is a bore in the right position? Do length, angle, and contour meet the specifications? Industrial 2D metrology answers these questions contact-free based on digital images, and—when configured accordingly—right within the production cycle.
A camera system can inspect every manufactured part, document measured values, and detect deviations early on. However, many pixels alone do not make a measuring device. Only the interplay of stable mechanics, suitable optics, defined lighting, calibration, and validated evaluation generates reliable values in millimeters.
At phil-vision, we develop optical measurement systems for individual features as well as for complex geometries. In doing so, we look at the entire measurement chain: from contrast at the component edge to the transfer of results to a PLC, database, or quality management system.
What is industrial 2D metrology?
In 2D metrology, a camera captures the projection of a component in a defined plane. Machine vision finds edges, contours, or prominent features and determines metric sizes from them. Typical measurement tasks include:
- Lengths, widths, distances, and gap dimensions
- Diameters, radii, and roundness
- Angles, parallelism, and squareness
- Positions of bores, cutouts, or edges
- Areas, contours, and shape deviations
- Completeness and correct position of features
Unlike tactile measurement methods, multiple features are captured in one or a few images. This enables short inspection times and wear-free measurements even with sensitive or moving objects.
2D is particularly suitable when relevant dimensions lie in a single plane or are visible as a silhouette. Depths, step heights, and free-form surfaces, on the other hand, usually require a 3D method or an additional sensor.
From image to measured value: the entire chain matters
An industrial measurement is created in several steps:
- Lighting and optics image the relevant feature with high contrast.
- The camera converts the scene into pixel values.
- Calibration describes the imaging scale and distortion.
- Measurement algorithms locate edges or contours.
- Geometric models such as lines, circles, or ellipses are fitted.
- The software calculates dimensions, compares them with tolerances, and documents the result.
Every stage affects the uncertainty. A blurred or reflective edge cannot be measured reliably, even with a powerful algorithm. Conversely, a high-quality lens is not enough if component positioning, temperature, or calibration remain uncontrolled.
Pixel Resolution, Subpixel, and Measurement Accuracy
Simply put, the geometric pixel resolution is calculated as field of view divided by the number of pixels. For example, if a camera images 200 mm across 4,000 pixels, one pixel mathematically corresponds to 0.05 mm. This is an important baseline value, but it is not yet an accuracy specification.
Measurement algorithms determine the position of a brightness edge between pixel centers. This subpixel-accurate localization evaluates the intensity profile across multiple pixels, allowing edges to be resolved much more finely than the pixel grid. However, it does not generate missing image data or eliminate systematic errors.
Therefore, subpixel accuracy does not automatically mean micrometer accuracy. Real measurement uncertainty depends, among other things, on:
- Magnification, sensor, and signal noise
- Sharpness, contrast, and edge shape
- Lens distortion and perspective
- Calibration and position of the measurement object
- mechanical stability and vibration
- Temperature, component surface, and production variance
- Algorithm, measurement strategy, and reference standard
A reliable design therefore starts with the required tolerance and then evaluates the maximum uncertainty the overall process is allowed to contribute.
Why Telecentric Optics Are Often the Better Choice
A standard entocentric lens images closer objects larger than those further away. Even small changes in height or position can therefore alter the measured diameter or distance. Perspective edges also make it more difficult to clearly define features.
A telecentric lens captures nearly parallel rays within its specified working range. The magnification remains largely constant with moderate height changes, and side surfaces have less influence on the visible outer contour. This is particularly advantageous for precise silhouette, diameter, and distance measurements.
However, telecentricity is not an automatic fix. Large fields of view require large and correspondingly complex lenses. Working distance, telecentric range, resolution, aperture, and lighting must match the task. For less demanding applications or well-fixed, flat parts, a high-quality standard lens may be more economical.
Lighting Creates the Measurement Edge
For the software, what matters is not the actual component edge, but its brightness transition in the image. The lighting determines how stable this transition appears.
- Backlight creates a clear silhouette for outer contours, boreholes, and gaps.
- Directional or collimated backlight reduces blurred semi-shadows on elevated or thick components.
- Coaxial incident light makes flat, reflective surfaces and features lying on them visible.
- Diffuse incident light reduces distracting glare on curved or shiny surfaces.
- Dark field illumination highlights edges, burrs, scratches, and local surface structures.
Sometimes geometry and surface cannot be reliably assessed with the same lighting. In such cases, the system captures multiple images sequentially using separately switchable light channels.
Calibration: Turning Pixels into Millimeters
The calibration describes the relationship between image and object coordinates for a single plane. To achieve this, a precise calibration standard is captured within the intended measuring plane. The software determines the imaging scale and can computationally correct lens distortion.
Maintaining the exact same geometric setup as in subsequent operations is crucial. If the calibration standard is positioned at a different height than the measurement feature, systematic deviations can occur in non-telecentric systems. Changes to focus, the lens, camera position, or mechanics may also necessitate a new calibration. For production operations, regular reference checks using a known standard are recommended. This helps detect drift or mechanical changes before they go unnoticed and affect the measurement data.
How machine vision determines geometries
First, the component is localized and, if necessary, transformed into a standardized position. The software then searches for light-dark transitions within defined measurement areas. Robust geometric elements are fitted using sub-pixel-accurate edge points.
For example, two lines can be used to determine a width, a circle for a bore diameter, or multiple contour segments for a nominal-actual comparison. Outliers caused by dirt, minor damage, or reflections can be suppressed within clear limits. For complex components, measurement positions can be imported from CAD data or a product-specific recipe.
A clear and unambiguous measurement definition is essential: Is a burr included in the measurement? Which contour segment defines the diameter? How are chamfers, radii, or interrupted edges handled? A reproducible algorithm requires the exact same rules as an engineering drawing.
Inline measurement even for moving parts
2D metrology can be integrated directly into a production line. For moving components, short exposure times and sufficiently bright lighting prevent motion blur. Triggers or encoders synchronize image capture and transport. A global shutter sensor prevents geometric distortions that can occur with line-by-line readouts.
Cycle time encompasses more than just image capture and evaluation. Part feeding, positioning, communication, result storage, and ejection must also be taken into account. For large objects, multiple cameras or sequentially captured partial images can be combined into a single, unified measurement view.
Validate the measurement system instead of relying on datasheet values
Camera resolution alone does not determine whether a solution is suitable. We test the system using real parts across the intended working range. Key factors include repeatability, systematic deviation, various operator and component influences, as well as stability over time and temperature.
The permissible measurement uncertainty should be sufficiently small compared to the component tolerance. Exactly how small depends on the inspection plan, risk factors, and applicable quality standards. Therefore, we do not provide a blanket accuracy rating for every application, but rather determine it based on the specific setup and suitable reference parts.
Practical Example: Measuring Seals and Inspecting Surfaces
For the inspection of large-format seals, phil-vision combines a high-resolution industrial camera with telecentric optics and two types of lighting. Directed transmitted light accurately captures the outer contour. Coaxial incident light then makes the surface visible. The software automatically switches between both lighting modes and evaluates geometry and defects separately.
Following calibration in the object plane, the system compares edge widths, distances, and angles with CAD-based nominal values. In this specific setup, with a field of view of approximately 200 × 150 mm, a measurement accuracy of around 50 µm is achieved. For smaller fields of view and thin objects, project-specific values below 10 µm are also possible. These values are the results of defined setups—not a general guarantee for arbitrary components.

Why phil-vision?
For us, a measurement task does not end with the selection of a camera. We develop the lighting and optical concept, mechanical setup, calibration, measurement software, and interfaces as a cohesive system. We integrate existing inspection plans, CAD data, and quality requirements at an early stage.
Our solutions range from compact measuring stations to automated inline inspection. Results can be visualized, logged, statistically evaluated, or used directly for process corrections.
Conclusion: Precision is created within the system
2D metrology is a powerful solution when relevant geometries are visible in a defined plane. It measures quickly, non-contactly, and reproducibly, provided that image formation, calibration, and evaluation are designed together.
For clearly defined edges and dimensions, classic, calibrated machine vision is usually the best foundation: transparent, geometrically traceable, and reliably verifiable. AI can serve as a useful supplement when components or measurement areas vary significantly, when features need to be initially localized, or when different parts must be classified. In many cases, the actual metric measurement continues to be handled by classical algorithms. Here, too, a targeted hybrid approach is often more robust than relying on a single method.
Would you like to measure components optically?
Send us your drawing, tolerances, components, or images, along with details on the field of view and cycle time. We will evaluate whether 2D metrology is suitable and develop a reliable concept.