Industrial lighting
About this app
An interactive machine-vision lab: a metallic glossy test object with embossing, a fine scratch and a dirt spot under six industrial lighting types (ring light, dome light, dark field, bright field, backlight, line light). An inspection camera shows the grayscale test image live, and a pixel-based visibility score makes it tangible that lighting decides the feasibility of the inspection task.
Why lighting decides
In industrial machine vision the success of an inspection task often depends more on lighting than on the camera. The same part can reveal or hide a defect depending on the light. Common rules of thumb: dark field, i.e. flat grazing light, makes scratches and edges glow. Diffuse dome light suppresses glare and reveals matte contamination on glossy surfaces. Backlight shows only the silhouette and suits contour and dimensional checks. Coaxial bright field makes mirror-like surfaces bright and tilted defect facets dark. A line light uses the light-section principle for reliefs.
What the app shows
A shiny metallic test part carries three features: an embossing, a fine scratch and a smudge. Six lighting types are available: ring light, dome light, dark field, bright field, backlight and line light, plus an intensity slider. An inspection camera shows the greyscale test image live. For each feature the app computes a visibility score from the contrast of the image pixels. For each lighting type a short text explains its effect.
Try it yourself
Select the scratch as inspection feature and switch between lighting types: under dark field the score rises clearly, under backlight the scratch disappears. For the smudge, try dome light. With the line light you see how the embossing deforms the light stripe. Rotate the part with the mouse and watch how glare and score change with the angle.
Frequently asked questions
- Which lighting is best for detecting scratches?
- Dark field lighting usually works best for scratches and edges. Light falls flat from the side, smooth surfaces reflect it away from the camera and stay dark. Only edges and grooves scatter light into the camera and light up.
- What is dome lighting in machine vision?
- A dome light is diffuse illumination that lights the object evenly from almost all directions. Specular glare on shiny parts disappears. Matte spots such as dirt or printing stand out well.
- What is backlighting used for?
- With backlighting the light source sits behind the object and the camera sees only a high-contrast silhouette. This suits contour, position and dimensional checks. Surface detail is not visible.
- How is the visibility score in the app computed?
- The score is computed live from the contrast of the camera image pixels at each feature’s location. It shows how clearly the scratch, smudge and embossing stand out under the current lighting.
Subject: Computer Vision
More from Computer Vision
- 3D Gaussian Splatting
- Convolution playground
- CV Foundational Skills
- Neural Rendering (NeRF)
- Photogrammetry & Its Limits
- Pixel grid
- Stereo & ToF — depth vision
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps