Quality Magazine logo
search
cart
facebook twitter linkedin youtube
  • Sign In
  • Create Account
  • Sign Out
  • My Account
Quality Magazine logo
  • NEWS
  • PRODUCTS
    • FEATURED PRODUCTS
    • SUBMIT YOUR PRODUCT
  • CHANNELS
    • AUTOMATION
    • MANAGEMENT
    • MEASUREMENT
    • NDT
    • QUALITY 101
    • SOFTWARE
    • TEST & INSPECTION
    • VISION & SENSORS
  • MARKETS
    • AEROSPACE
    • AUTOMOTIVE
    • ENERGY
    • GREEN MANUFACTURING
    • MEDICAL
  • MEDIA
    • A WORD ON QUALITY PUZZLE
    • EBOOK
    • PODCASTS
    • VIDEOS
    • WEBINARS
  • EVENTS
    • EVENT CALENDAR
    • IMTS
  • DIRECTORIES
    • BUYERS GUIDE >
      • Supplier Insights
    • NDT SOURCEBOOK
    • VISION & SENSORS
    • TAKE A TOUR
  • INFOCENTERS
    • Digital Quality Management Systems
    • NEXT GENERATION SPC & QUALITY ANALYTICS
  • AWARDS
    • ROOKIE OF THE YEAR
    • PLANT OF THE YEAR
    • PROFESSIONAL OF THE YEAR
  • MORE
    • Expert Columns
    • NEWSLETTERS
    • QUALITY STORE
    • INDUSTRY LINKS
    • SPONSOR INSIGHTS
  • EMAG
    • eMAGAZINE
    • ARCHIVES
    • CONTACT
    • ADVERTISE
  • SIGN UP!
Vision & Sensors

Machine Vision

Machine Vision Lighting Solutions for Unwanted Glare

Unwanted glare in machine vision is a common obstacle, but one that’s solvable with the right knowledge and tools.

By Lindsey Sullivan
This diagram illustrates the scattering of light, specifically diffuse reflection.
Image Source: CCS America

The most effective solution for ambient glare is to prevent it from reaching your vision system. Shrouding ensures that ambient light, or changes in ambient light throughout the day, does not impact the image captured at any given time.

February 14, 2026

You could argue that glare is the very reason that machine vision lighting exists. Whether detecting a faint scratch on a glossy surface or decoding an etched code on metal, unwanted reflections can obscure details and compromise inspection accuracy.

The challenge isn’t just seeing the part. It’s seeing it clearly, consistently, and reliably, regardless of surface reflectivity or surrounding light. That’s the role of machine vision lighting: to remove the visual interference that generic lighting introduces and provide clarity in even the most demanding applications.

Unwanted glare usually stems from one of two sources: ambient light in the surrounding environment, or the lighting system itself. Each requires a different approach to diagnosis and correction.

Not All Brightness Is Glare: Oversaturation vs. Glare vs. Specular Reflection

When reviewing an image, a bright spot does not always mean something is wrong. It could be intentional specular reflection in a bright field setup, necessary to reveal certain features. Or it could be oversaturation, where parts of the image become too bright, washing out detail despite having the right light. 

Specular reflection and unwanted glare are closely related. Both occur when light reflects directly off the object into the camera. The difference lies in intent: specular reflection is harnessed purposefully in bright field lighting to create contrast, while glare is the unwanted version of the same phenomenon.

To diagnose whether an unwanted hotspot is glare or simply oversaturation, a good test is to move the light. If it is glare, the bright spot on the sample shifts. If it remains static, it is more likely oversaturation. Recognizing this distinction is key to determining whether there is truly an issue in your vision setup.

Oversaturation can be corrected by adjusting the exposure time, aperture, or light intensity. If the bright spot disappears and the image balances out, it is likely oversaturation. A simple rule of thumb: in your region of interest, the brightest area should sit around 200 on a 0-255 grayscale. Any brighter, and you risk losing critical data.

Diagnosing how to solve for unwanted glare is less straightforward. It starts with identifying what type of glare is interfering with your image.

Understanding the Two Sources of Glare

There are two primary types of glare that engineers encounter:

  • Ambient glare is a “contamination” problem. Uncontrolled environmental lighting, such as sunlight through a window or overhead fluorescent lights reflect into the camera.
  • Machine vision lighting glare is a design problem. It occurs when the machine vision lighting itself reflects off the sample and into the camera in a way that obscures target features rather than enhancing them.

If you turn the lights off in the testing area and the hotspot disappears, it is an ambient glare problem. Machine vision lighting glare will appear in the image regardless.

Each has its own set of possible solutions, which is why it is important to know which type is causing issues.

Solving for Ambient Glare

When ambient glare interferes with your imaging system, the key is to prevent external light from contaminating your inspection environment.

Shrouding is a physical method of isolating the vision system from environmental light. Enclosures or housings prevent light outside the system from reaching the sample or the camera. This approach is the most effective solution for ambient glare. Shrouding also supports system repeatability, allowing vision algorithms to operate in a stable lighting environment day and night, across seasons.

If a shroud is unfeasible due to space constraints or mechanical movement, the next best solution is to overpower the ambient light by manipulating the vision system’s exposure settings and lighting intensity. 

Overpowering glare works by reducing the camera's exposure time so that ambient light is too weak to register, then using a high-intensity or overdriven machine vision light to ensure only the intended illumination is captured. This effectively drowns out ambient interference by making your controlled light the dominant source in the image.

Start by shortening the camera’s exposure time until ambient light alone no longer produces a visible image. Then, increase the machine vision lighting intensity so the target is properly illuminated within that shortened exposure window. 

If standard intensity is insufficient, overdriving the light is the next step. Overdriving involves delivering short bursts of high-intensity light without damaging the LED. This requires a controller capable of regulating pulse width and duty cycle to protect the hardware while boosting brightness, or a light specially designed to overdrive at an extremely high brightness.

(Image: “Glare_Overpower” images)

Caption: The image with a faster shutter speed (right) has significantly less glare compared to one captured with a slower shutter (left). A faster shutter speed means light has less time to reach the camera, and that includes the light causing unwanted glare.

slow shutter
fast shutter

The image with a faster shutter speed (right) has significantly less glare compared to one captured with a slower shutter (left). A faster shutter speed means light has less time to reach the camera, and that includes the light causing unwanted glare.
Image Source: CCS America

Bandpass filters are especially useful when using monochromatic lighting (red, blue, green). When applied to the lens, these filters allow only the wavelength of your machine vision light to pass through while blocking out most of the unwanted ambient spectrum. While not as effective as shrouding or overdriving, bandpass filters can reduce the impact of ambient glare on an image. 

bandpass
bandpass

By combining a red monochrome light with a red bandpass filter, non-red wavelengths are blocked from entering the camera sensor. While it does not completely eliminate glare, it can reduce its effects by as much as 80%.
Image Source: CCS America

Solving for Machine Vision Lighting Glare

When the glare is caused by your machine vision lights, the issue lies in how the light is interacting with the target and how that interaction is captured by the camera. Reducing the unwanted glare requires adjusting the lighting configuration, but it is difficult to say one solution is more effective than the other. Because the restrictions of the system, such as limited space or the position of other parts of the system, can determine which adjustments can be made.

One place to start is the geometry of your setup. If light is reflecting from the object directly into the camera, repositioning the light source at a different angle can divert the reflection away from the lens. Even small adjustments, such as changing the angle, can dramatically reduce glare. The goal is to illuminate the part in a way that highlights the features of interest while avoiding direct reflective paths to the camera that interfere with showing those features.

Switching to a more effective lighting form factor can do a lot to improve glare. For example, coaxial lights use a beam splitter to deliver light from directly above the object, making them excellent for flat, specular surfaces like glass, PCBs, or machined parts. Then there are form factors for emitting diffused light. Dome lights are the primary diffused light form factor, and they can be especially effective for curved or shiny surfaces that reflect light unpredictably. By lighting the target from all directions, they minimize the chance of any one reflection hitting the camera. 

It is also possible to get more diffuse light not by switching to a different form factor, but by adding a diffuser accessory to the existing light to increase the scattering of its light rays. In situations where there is not enough space to accommodate another form factor or the glare is not a major problem using the existing lighting, a diffuser can be the best option. Keep in mind that while diffusion increases uniformity, it does so at the cost of brightness. Choosing the right diffuser (mild, moderate, or heavy) can balance your application’s intensity and uniformity requirements to remove glare without losing the brightness needed to detect target features.

food container

Diffuse lights are frequently used to remove glare when inspecting shiny workpieces. In this example, a flat dome light provides diffuse illumination to remove glare from an image of a reflective film of a food lid.
Image Source: CCS America

Polarization is another effective method to control reflections. When polarizers are placed on both the light and the camera lens at perpendicular orientations, they block specular reflections while allowing diffuse reflections to pass through.

polarizer

Polarizers aligned perpendicularly block unwanted glare by only allowing diffused light scattered by the sample to reach the sensor.
Image Source: CCS America

Here’s how it works: polarized light reflects specularly off a surface while retaining its polarization. By aligning the camera polarizer perpendicular to that of the light, you can block this reflected light, reducing glare. Meanwhile, diffuse reflections, which lose polarization, are still visible.

This technique is highly effective for glossy or mirrored surfaces but reduces overall light throughput. It’s best used in systems where light intensity is ample or can be increased to compensate.

no polarizer
with polarizer

When the polarizer on the light and on the camera are misaligned, you will still see glare in an image (left). By rotating the polarizers until they are perpendicular, the glare will disappear from the image (right).Image Source: CCS America

The Source of Glare Determines Your Solution

Unwanted glare in machine vision is a common obstacle, but one that’s solvable with the right knowledge and tools. Whether the issue stems from environmental lighting or from the vision lighting system itself, engineers have multiple options they can turn to depending on the application. By understanding the type and source of glare, and by applying pragmatic, proven solutions, engineers can design systems that deliver precise, reliable, and high-quality images even in the most reflective or unpredictable environments.

READ MORE

  • How to Evaluate Machine Vision Lighting for High-Speed Inspections 
  • Machine Vision Trends 
  • How Robotics Applications Benefit from Machine Vision Lighting Advances 
KEYWORDS: lighting manufacturing metrology quality

Share This Story

Looking for a reprint of this article?
From high-res PDFs to custom plaques, order your copy today!

Lindsey Sullivan is the technical marketing manager at CCS America. For more information, call (781)272-6900, email [email protected] or visit www.ccsamerica.com/.

LinkedIn: www.linkedin.com/company/ccs-america-inc

Recommended Content

JOIN TODAY
to unlock your recommendations.

Already have an account? Sign In

  • 2024 Quality Rookie of the Year Justin Wise 1440x750px banner with "Quality Rookie of the Year" logo inset

    Meet the 2024 Quality Rookie of the Year: Justin Wise

    Justin Wise is an exceptional individual who has been...
    Aerospace
    By: Michelle Bangert
  • Man with umbrella and coat stands outside while it rains at night looking at a building.

    Nondestructive Testing: Is there an ethics problem?

    I was a whistleblower who exposed fraudulent activities...
    NDT
    By: Dale Norwood
  • Unraveling Deflategate: Football stadium with closeup of football on field

    Unraveling the Tom Brady Deflategate

    The Deflategate scandal erupted following the 2014 AFC...
    Measurement
    By: Greg Cenker and Henry Zumbrun
Manage My Account
  • eMagazine Subscriptions
  • Newsletters
  • Online Registration
  • Subscription Customer Service
  • Manage My Preferences

More Videos

Sponsored Content

Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the Quality audience. All Sponsored Content is supplied by the advertising company and any opinions expressed in this article are those of the author and not necessarily reflect the views of Quality or its parent company, BNP Media. Interested in participating in our Sponsored Content section? Contact your local rep!

close
  • Key Takeaways for Quality Leaders
    Sponsored byComplianceQuest

    Key Takeaways for Quality Leaders from the 2026 Gartner Magic Quadrant™ for QMS

  • This image shows a person seated next to a Bobcat T66 compact track loader.
    Sponsored byPolyWorks by InnovMetric

    Supercharging Digital Gauging at Bobcat North America

  • Dorsey Calibration Lab photo by Tom LaBarbera Picture this Studios
    Sponsored byDorsey Metrology International

    Ensuring Product Quality in a Competitive Manufacturing Landscape

Popular Stories

This image shows a person seated next to a Bobcat T66 compact track loader.

Supercharging Digital Gauging at Bobcat North America

a professional in the aviation field performing maintenance, repair, and overhaul (MRO) work

Manufacturing Retention: Strategies for Improving Company Culture, Engagement and Skill Development

Dorsey Calibration Lab photo by Tom LaBarbera Picture this Studios

Ensuring Product Quality in a Competitive Manufacturing Landscape

2026 Quality Professional of the Year!

Events

June 22, 2026

Automate 2026

Automate is North America's largest robotics and automation event — and the best place to take your ideas from insight to impact.
 
Our show floor features the world’s leading automation solutions, from AI and robotics to motion control, vision systems, and more. Plus, our educational conference is second to none, led by the brightest minds in automation today.
 
Ready to transform the way you work? Take the next step at Automate.
July 14, 2026

Quality Leaders Forum: Better Communication, Better Quality Data

The Quality Leaders Forum is a quarterly, editor-moderated fireside chat series hosted by Quality Magazine, featuring candid conversations with senior manufacturing and operations executives shaping enterprise-level quality.

View All Submit An Event

Products

Lean Manufacturing and Service Fundamentals, Applications, and Case Studies

Lean Manufacturing and Service Fundamentals, Applications, and Case Studies

See More Products
Quality Podcast Channel Custom Content

Related Articles

  • Robotic vision sensor camera system.

    How to Evaluate Machine Vision Lighting for High-Speed Inspections

    See More
  • Strobe: A New Era for LEDs and Machine Vision Lighting

    See More
  • VS 0522 Lighting feature photo

    Three Challenges In Machine Vision Lighting Today And How To Solve Them

    See More

Related Products

See More Products
  • Machine Vision and Error Proofing DVD

  • RFID: Tool Tracking Solutions DVD

See More Products

Related Directories

  • Machine Vision Store

    Machine Vision Store has a laser-sharp focus on machine vision imaging. We deliver a select group of components - cameras, lenses, lights, industrial vision PC's - from leading manufacturers known for quality. Components we understand, support and stand behind. Components and consulting services that will power your success.
×

Stay in the know with Quality’s comprehensive coverage of
the manufacturing and metrology industries.

Newsletters | Website | eMagazine

JOIN TODAY!
  • RESOURCES
    • Advertise
    • Contact Us
    • Directories
    • Manufacturing Division
    • Store
    • Want More
  • SIGN UP TODAY
    • Create Account
    • eMagazine
    • Newsletters
    • Customer Service
    • Manage Preferences
  • SERVICES
    • Marketing Services
    • Market Research
    • Reprints
    • List Rental
    • Survey/Respondent Access
  • STAY CONNECTED
    • LinkedIn
    • Facebook
    • YouTube
    • X (Twitter)
  • PRIVACY
    • PRIVACY POLICY
    • TERMS & CONDITIONS
    • DO NOT SELL MY PERSONAL INFORMATION
    • PRIVACY REQUEST
    • ACCESSIBILITY

Copyright ©2026. All Rights Reserved BNP Media, Inc. and BNP Media II, LLC.

Design, CMS, Hosting & Web Development :: ePublishing