Illumination technique is one of the most critical decisions in machine vision system design. The choice between direct and diffuse illumination determines which surface features are visible, which defects are detectable, and whether the image has sufficient contrast for reliable algorithm performance.
Direct and diffuse illumination are not simply two brightness settings. They are fundamentally different approaches to directing light at a surface. Each exploits different optical phenomena. Each reveals different categories of surface information. A thorough understanding of both is essential for any engineer designing a machine vision inspection cell.
1. Principles of Direct Lighting
Direct illumination directs light at the object from a defined angle or set of angles. The light travels in a controlled direction and strikes the surface at a specific angle of incidence. The camera collects light that is either reflected specularly or scattered diffusely from the surface, depending on the surface finish.
On a smooth, reflective surface, direct illumination at a controlled angle produces a specular reflection. The reflection is bright and sharp. If the surface is perfectly flat and the illumination angle is optimised, the entire surface appears uniformly bright. Any deviation from flatness — a scratch, a dent, a raised burr — deflects the reflected light away from the camera and appears dark against the bright background. This is the principle behind bright-field direct illumination for flat surface inspection.

Do you want help choosing the product?
Dark-Field Direct Illumination
When the illumination angle is changed so that the specular reflection does not enter the camera lens, the smooth surface appears dark. Only surface features that scatter light — scratches, particles, raised edges, texture variations — appear bright against the dark background. This is dark-field illumination.
Dark-field illumination is used in semiconductor wafer inspection, optical component quality control, and detection of fine surface scratches on metallic and plastic parts. The contrast reversal compared to bright-field — defects appear bright rather than dark — is a key advantage when the defect area is small relative to the total surface area.
Coaxial Direct Illumination
Coaxial illumination is a specialised form of direct illumination where the light is directed along the optical axis of the camera using a beam splitter. The specular reflection from a flat, perpendicular surface travels back along the optical axis and enters the camera, appearing uniformly bright. Tilted or curved surfaces reflect light away from the axis and appear dark.
Coaxial illumination is the technique of choice for inspecting flat, highly reflective surfaces such as PCB pads, polished metal components, and glass surfaces. It eliminates shadow artefacts from off-axis direct illumination and makes surface height variations visible as brightness transitions.
2. Principles of Diffuse Lighting
Diffuse illumination illuminates the object from a large solid angle — from many directions simultaneously rather than from a single defined direction. The light arrives at the surface from all angles within the illuminated hemisphere. For a matt surface, this produces even illumination regardless of surface orientation or local curvature.
The key characteristic of diffuse illumination is its insensitivity to surface orientation. A curved part, a three-dimensional assembly, or a surface with complex geometry is illuminated consistently. There are no shadows from surface relief features, no bright specular hotspots, and no dark regions from surface facets that reflect away from the camera.
Dome Illumination
The dome illuminator is the standard tool for achieving diffuse illumination in machine vision. A hemispherical or flat dome enclosure is coated internally with a highly diffuse white material. LEDs illuminate the interior of the dome. The object is placed at the opening and is illuminated by light arriving from the entire interior surface of the dome.
Dome illumination is used for reflective objects where direct illumination would produce unacceptable glare: cosmetic packaging, automotive trim, electronic components, and jewellery. It suits any application where the surface has variable curvature and needs to be inspected uniformly.
Flat Dome Illumination
The flat dome illuminator is a lower-profile variant that provides diffuse illumination through a flat front aperture. It is well suited for inspection stations where mounting space is limited, or where the object is too large to be enclosed in a standard dome.
RODER Vision FD-series flat dome illuminators are designed for applications requiring high-quality diffuse illumination in a flat, low-profile form. Multiple sizes cover fields of view from small components to large assemblies.
3. Application Matrix: When to Choose Each Technique
The choice between direct and diffuse illumination is determined by the surface characteristics of the object and the nature of the inspection task. The following framework covers the most common inspection scenarios.
Flat Reflective Surfaces: PCB, Metal, Glass
Flat reflective surfaces are best inspected with coaxial direct illumination. For surface defect detection such as scratches and pits, low-angle dark-field direct illumination is more sensitive than any diffuse technique. Dome illumination produces a uniform image on flat reflective surfaces but typically has lower contrast for detecting small surface defects.
Three-Dimensional and Curved Components
Components with complex three-dimensional geometry or variable curvature are best illuminated with diffuse techniques. Dome or flat dome illumination eliminates shadow and glare artefacts that direct illumination produces on curved surfaces. This is the preferred approach for moulded plastic components, cast metal parts, and assemblies where the surface normal direction varies significantly across the field of view.
Label, Print, and Barcode Inspection
Label reading, OCR, and barcode inspection typically use direct illumination at a controlled angle to maximise contrast between the printed ink and the label substrate. On glossy labels, low-angle or polarised illumination reduces specular reflections from the substrate surface. On matt labels, front-facing direct illumination at a moderate angle is usually sufficient.
Surface Texture and Defect Detection
Raised features and surface relief are best revealed by low-angle direct illumination where shadows enhance their visibility. Colour or contamination defects on complex-geometry surfaces are better revealed by diffuse illumination where surface geometry does not interfere with colour uniformity measurement.
4. RODER Vision Products for Each Approach
RODER Vision produces illuminator families optimised for both direct and diffuse illumination techniques. The four families below cover the most representative solutions for each approach.
Products and Technologies

DL6 — High Density LED Matrix
Direct illumination for flat surfaces, label inspection, and barcode reading. High intensity in strobe mode. HTTM thermal stability. Multi-wavelength.

DC6 — High Density LED Ring
Near-coaxial direct ring illumination for flat surface inspection, print quality, and PCB component verification. Compact and multi-wavelength.

FD2 — Flat Dome LED Illuminators
Diffuse illumination for reflective, curved, or complex-geometry parts. Shadowless output. Eliminates specular glare. Multiple sizes available.

DL5 — High Intensity LED Matrix
High-intensity direct illumination for dark-field and bright-field techniques. Very high peak intensity in strobe mode for high-speed surface inspection.
Frequently Asked Questions
Direct illumination is preferred for flat surface defect detection, coaxial inspection of highly reflective surfaces such as PCB pads or polished metal, dark-field scratch detection, and barcode or OCR applications where a defined illumination angle maximises print contrast.
Diffuse illumination suits complex three-dimensional geometry, curved surfaces, and highly reflective parts where direct illumination would produce unacceptable shadows or specular hotspots. Typical applications include cosmetic packaging, cast and moulded component inspection, and complex assemblies.
Yes. Illuminators are triggered independently by the vision system controller. A flat dome provides diffuse illumination for one task, while a ring illuminator provides direct illumination for another. Both serve the same camera station.
Dark-field uses very low-angle direct illumination. The smooth surface appears dark and surface features that scatter light — scratches, particles, raised edges — appear bright. It is used for detection of fine surface defects on polished parts where contrast under conventional illumination is too low.
No. Wavelength selection is independent of the direct vs. diffuse choice. NIR wavelengths can reduce specular reflections from plastic surfaces. UV wavelengths enhance visibility of contamination and fluorescent materials. Both apply equally to direct and diffuse illumination geometries.
More information and contacts
Systems and Sensor Integration Partners : www.roder.it
Artificial Vision Division : www.rodervision.com
More information about RODER VISION : about us
Contact for general information : info@roder.it
The information on this website is provided for information purposes only. Although it has been prepared with the utmost care, it does not constitute a contractual offer or a binding commitment to supply. It may contain transcription, translation or typographical errors. For precise and up-to-date information, please contact our company directly.






