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

Gain Control on Lighting

By Jeff Schmitz
December 23, 2010
Unless light is controlled, it is impossible for a vision system to perform reliably.

Lighting is the first tool for building a stable contrast foundation for vision systems. Source: PPT Vision


When machine operators are polled about the most challenging aspect of applying vision systems, the overwhelming majority have a single word answer: lighting. What makes lighting such a critical component when applying a vision sensor?

The heart of a machine vision application is light. Essentially an image processor, the digital imager used in both machine vision and consumer digital cameras is a light collector. Each tiny imager component, picture element or pixel is a microscopic light measurement sensor.

Each pixel’s light level-in the 300,000 to 5 million pixels typically present in a machine vision system-is processed in a machine vision algorithm. The only other pixel data is its X-Y address-its location-on the image processor grid.

Unless light-both applied light and ambient light noise-are controlled, it is essentially impossible for a vision system to perform reliably.

Sophisticated image filtering algorithms, such as edge enhancement, Gaussian, meridian, average and binary filtering, light leveling, morphing and erosion controls, maximizes contrast for marginal contrast images. Source: PPT Vision

Best Practices

Light is the most critical tool for creating adequate contrast for a successful and reliable machine vision application.

Quite simply, contrast is the delta between the light levels on the feature of interest and every other feature visible to the imager. The total scope of the area seen by the imager, or field of view, is divided between the feature of interest and the background of these features.

Illumination, or lumen levels, from the feature of interest are differentiated from all other elements of a field of view. In the case of front lighting-lighting from the top-the lumen level on features of interest is maximized. In the case of backlighting, the light level is minimized or completely blocked.

Choices for lights to create and amplify contrast are nearly infinite. Lights are available in differing photon producers, such as halogen, incandescent, light-emitting diode (LED), and also differing shapes-spot, area blocks-or evenly illuminated backlights, for example, linear, diffused, reflective domes, coaxial, and all in differing colors or wavelengths. To cut through the cacophony of options, the best advice is to backlight the application, if possible.

Backlighting entails placing a light opposite the smart camera to maximize contrast. This results in creating a silhouette. Opaque objects are dark, whereas more translucent or empty air spaces in the rest of the field of view are contrastingly bright. This is the most ideal method of applying machine vision for opaque object presence, shape and measurement.

When backlighting a part for gaging it becomes critical to collimate the backlight as it shines on the part, silhouetting the part from the camera. Incoherent light will wrap around the silhouetted part, distorting its measurement.

Collimation can be achieved with a collimating filter on the surface of the light, or more simply by increasing the distance between the light, the part and the camera.

When deploying either method, its cost is less lumens from the light shining on the camera and being blocked by the part, lessening contrast. However, the contrast from this method has such a significant margin that the light loss from increasing the distance of or filtering the backlight greatly benefits both the accuracy and repeatability of the measurement without compromising required contrast.

Often backlighting is not feasible because the mechanical space to fit the part between the camera and light is unavailable, or the feature of interest is on the surface of an opaque background. Then the art of optimal lighting for creating contrast becomes more complex.

Significant arrays of lighting options become available for surface lighting an object. To build adequate lighting with top or low angle surface lighting requires experimentation-often very time-consuming trials-with the part, the camera and various lighting options. Shortening this time-extensive experimentation is to see if a ring light surrounding or an area light closely adjacent to the camera creates adequate contrast levels. The simplest way of selecting front or dark angle lights is to contract a professional vision integrator.

After the lighting method is determined, a critical practice is to make the controlled light used to create contrast in the application free of light noise from ambient factory light.

The best ways to eliminate ambient light from affecting robust contrast include:

  • Mechanically shroud the part being inspected and its lighting-build a chamber isolating the application from outside light.

  • Build a cave for the vision application for the vision application is at most ideal for the vision system design engineer, but often is not practical on the factory floor.

  • Use high-powered lights for the application. Flood the inspection with many photons so that ambient lighting has very little effect on the strong contrast levels created for the application.

  • Progressing LED brightness levels are making this achievement more and more achievable every year.

  • Use infrared light and filters to optically shroud the application from visible light. Most commonly, this is done with infrared light wavelengths and matching wavelength infrared band-pass lens filters.

     



  • Smarter Vision Algorithms

    Sometimes, light-engineered contrast seems too minimal for an application to succeed. Contrast, even with optimal lighting, is imperfect and not perfectly consistent. This is where smart camera image pre-processing tools come into play.

    Software delivers scores of tools for extrapolating better contrast. Sophisticated image filtering algorithms, such as edge enhancement, Gaussian, meridian, average and binary filtering, light leveling, morphing and erosion controls, maximizes contrast for marginal contrast images.

    Image geometry tools use image sampling, line-profiling and other algorithms to further interpolate data from images with less-than-ideal contrast.

    Lighting is the first tool for building a stable contrast foundation for vision systems. Image filtering and geometry are the next steps for robust contrast and reliable vision sensing.

    Controlled light creates contrast. Maximized contrast is a requirement for all successful vision system applications. The brighter LEDs continually being developed make contrast control better and better.

    Tech Tips

    • Light is the most critical tool for creating adequate contrast for a successful and reliable machine vision application.

    • When backlighting for gaging a part, it becomes critical to collimate the backlight as it shines on the part, silhouetting the part from the camera.

    • Maximized contrast is a requirement for all successful vision system applications.




    Share This Story

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

    Jeff Schmitz is corporate business manager, vision sensors, for Banner Engineering (Minneapolis). For more information, call (800) 809-7043, e-mail [email protected] or visit www.bannerengineering.com.

    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

    a titanium diaphragm speaker driver

    The One Thing Elon Gets Right Is Designed to Scare You

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

    Supercharging Digital Gauging at Bobcat North America

    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 9, 2026

    Future-Proof your Quality Processes with Advanced 3D Optical CMM Technology

    Discover how to effortlessly capture complex data, leverage true multi-sensor automation, and ensure continuous operation without creating inspection delays.

    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.
    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

    • QualityHeadlines.jpg

      35th Control on Pace for May

      See More
    • The Ethernet Enabled Vision Sensor

      See More
    • Concrete space interior, 3d rendering

      Navigating the LED Lighting Shift: A Critical Step in Color Quality Control

      See More

    Related Products

    See More Products
    • 9781260108385_20.jpg

      Manufacturing Planning And Control For Supply Chain Management: The CPIM Reference, Second Edition

    • A Primer on the Taguchi Method, 2nd Edition

    See More Products

    Related Directories

    • Smart Vision Lights

      Smart Vision Lights is a leading designer and manufacturer of high-brightness LED lights for industrial applications, including machine vision. Smart Vision Lights products come with universal internal current-control drivers, offering constant or strobed operation, reduced wiring requirements, and easy installation.
    ×

    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