Lighting

How Lighting Angle Affects Vision System Performance

Lighting Angle in Machine Vision
Featured Articles
When and Why to Use Backlighting in Machine Vision Systems
When and Why to Use Backlighting in Machine Vision Systems
December 02, 2025
The Evolution of LED Lighting in Machine Vision
The Evolution of LED Lighting in Machine Vision
October 01, 2025
Machine Vision Lighting: Diffuse, Direct or Structured – When to Use Each
Machine Vision Lighting: Diffuse, Direct or Structured – When to Use Each
September 15, 2025

When it comes to machine vision, one of the most influential lighting variables is lighting angle, which directly impacts contrast, edge definition, surface visibility and defect detection. Selecting the correct lighting angle can mean the difference between a reliable inspection system and inconsistent results.

Why Lighting Angle Matters in Machine Vision

Lighting angle determines how light interacts with a target’s surface before reaching the camera. Depending on the angle, light may:

  • Reflect directly into the lens
  • Scatter away from the camera
  • Emphasize edges, textures, or height variations
  • Hide or reveal defects

Different materials, like metal, plastic, glass or paper, which respond differently to light direction. A lighting setup that works perfectly for one part may completely fail for another simply due to angle.

 

Common Lighting Angle Techniques

Bright Field Lighting (High-Angle Illumination)

Bright field lighting places the light source close to the camera axis, directing light straight onto the object.

Best for:

  • Printed text and labels
  • Flat, matte surfaces
  • Color inspection
  • Presence / absence checks

Why it works:
Light reflects evenly back into the camera, producing a bright background and clear features with minimal shadows.

Dark Field Lighting (Low-Angle Illumination)

Dark field lighting uses a shallow angle so light skims across the surface instead of reflecting directly into the lens.

Best for:

  • Scratches, dents, and cracks
  • Edge detection
  • Transparent or reflective objects
  • Raised or recessed features

Why it works:
Only surface irregularities scatter light into the camera, making defects appear bright against a dark background.

Grazing or Ultra-Low Angle Lighting

Grazing light is an extreme form of dark field illumination with very shallow angles.

Best for:

  • Fine surface texture analysis
  • Engraved markings
  • Cosmetic defect detection
  • Height variations on flat parts

Why it works:
Even the smallest surface changes cast shadows or scatter light, dramatically increasing contrast.

Diffuse Overhead Lighting

Diffuse lighting spreads light evenly across the target, often using domes or diffusers.

Best for:

  • Glossy or reflective surfaces
  • Curved objects
  • Applications where glare must be minimized

Why it works:
Multiple light angles reduce harsh reflections and hotspots, creating uniform illumination.

Coaxial (On-Axis) Lighting

Coaxial lighting directs light straight down through a beam splitter, aligned with the camera’s optical axis.

Best for:

  • Flat, reflective surfaces
  • PCB inspection
  • Wafer and glass inspection
  • Highly reflective metal parts

Why it works:
Flat surfaces reflect light directly back to the camera, while recessed features appear dark, ideal for detecting missing or misaligned features.


How Lighting Angle Affects Image Quality

Lighting angle influences several key vision performance factors:

  • Contrast: Determines how well features stand out from the background
  • Edge sharpness: Critical for measurement and alignment tasks
  • Defect visibility: Especially important for cosmetic inspection
  • Repeatability: Consistent angles reduce variation between parts

Poor angle selection can lead to glare, washed-out images or invisible defects, even with high-resolution cameras.


Choosing the Right Lighting Angle

When selecting a lighting angle, consider:

  • Surface finish (matte vs. reflective)
  • Feature height (flat vs. raised/recessed)
  • Defect type (cosmetic vs. dimensional)
  • Material properties (metal, plastic, glass)
  • Inspection goal (presence, measurement, defect detection)

In many systems, combining multiple lighting angles delivers the best results.