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
    • EBOOKS
    • 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 Lens Performance

A number of factors are important in lens design, including lens resolution, spatial distortion, and uniformity of illumination.

By Mark Williamson
Figure 1. Modulation transfer function

Figure 1. Modulation transfer function

May 1, 2019

The cameras, lenses and illumination used in a machine vision system all make significant contributions to the overall quality of the images that are produced. The rapid developments in CMOS image sensor technology over the last few years have created significant challenges for lens manufacturers. The move towards higher and higher sensor resolutions means that there are now many sensors with much smaller pixels, requiring higher resolution lenses. On the other hand, higher resolution sensors that maintain larger pixel sizes for higher sensitivity are often larger format and so will require larger format high resolution lenses. In addition, many applications that require lenses with very long focal lengths such as surveillance, sports, aerial photography, and photography on theme park rides are increasingly coming under the umbrella of machine vision and need to be addressed. A number of factors are important in lens design and these include lens resolution, spatial distortion and uniformity of illumination through the lens.

Understanding lens performance - modulation transfer function (MTF)

The ideal lens would produce an image which perfectly matches the object, including all of its details and brightness variations. In practice this is never completely possible as lenses act as low pass filters. The image quality of a lens, taking into consideration all aberrations, can be described quantitatively by its modulation transfer function. MTF is defined by the ability of a lens to reproduce lines (grids) with different spacings (spatial frequency in line pairs/mm). The more line pairs/mm that can be distinguished, the better the resolution of the lens. The loss of contrast due to the lens is shown in the MTF-graph for each spatial frequency (Figure 1). Large structures, such as coarsely spaced lines, are generally transferred with relatively good contrast. Smaller structures, such as finely spaced lines, are transferred with low contrast. The amount of attenuation of any given frequency or detail is classified in terms of MTF and this gives an indication of the transfer efficiency of the lens. For any lens there is a point at which the modulation is zero. This limit is often called the resolution limit and is usually quoted in line pairs per millimeter (lp/mm), or with some macro lenses in terms of the minimum line size in µm which also equates to the minimum pixel size for which the lens is suitable. The MTF deteriorates moving from the center axis of the lens towards the edges, which is an important consideration if the nominal resolution is required across the entire image. MTF can also vary depending on the direction of the lines at a point on the lens due to astigmatism and is also a function of the aperture setting at which it is measured, so care must be taken when comparing lens performance. Since a lens must be chosen so that the resolving power fits with the pixel size of the image sensor, the smaller the pixels, the higher the resolution required from the lens. 

Top Tip: Increasing sensor resolutions while maintaining the sensor size to keep costs down requires lenses with a higher MTF to resolve these smaller pixels.  One should always consider the system cost as lower cost smaller pixel sizes demand higher resolution lenses.

Spatial distortion

Figure 2. Spatial distortion

Spatial distortion

In addition to variations in resolution, all lenses also suffer from a certain amount of spatial distortion. Figure 2 shows how an image can be either stretched or compressed in a nonlinear way, making accurate measurements across the entire sensor very difficult. Although there are software methods available to correct this, they cannot take the physical depth of the object into account and it is always preferable to choose a good quality low distortion lens rather than attempt to correct these errors in software. As a general rule, a shorter focal length lens will have significantly more distortion than one with a longer focal length, as the light hits the sensor from a bigger angle. Using a more complex lens design, it is possible to keep distortion low and many lens manufacturers have been working hard on their optical designs allowing them to reduce spatial distortion to the order of 0.1%.

Top Tip:  To minimize distortion at minimum cost, longer working distances will give the best results.

Illumination uniformity

All images from lenses suffer from vignetting, which is a decrease in illumination intensity from the center to the edge of the image and this can affect the suitability of a lens for an application. Mechanical vignetting occurs when shading towards the edges of the image results from the light beam being mechanically blocked, usually by the lens mount. This occurs mainly when the image circle (or format) of the lens is too small for the size of the sensor. All lenses are also influenced by ‘Cos4 vignetting’ which is caused by the fact that the light has to travel a further distance to the edge of the image and reaches the sensor at a shallow angle. This is also exaggerated on lenses with micro lenses on top of each pixel as the angle focuses the light in to a nonsensitive part of the sensor. This can be minimized if the lens is stopped down by two f-stops. By improving illumination uniformity across the entire sensor, lens manufacturers can eliminate the need for light intensity compensation, which could introduce noise into the image.

Mechanical vignetting

Figure 3. Mechanical vignetting

Environmental influences

Many vision systems are deployed in a manufacturing environment, which means that they are exposed to a variety of environmental influences, ranging from dirt, moisture and temperature to mechanical and electromagnetic effects. There are a number of protective enclosures available which can protect against the ingress of dirt and moisture. Mechanical stability of the lens assembly is of critical importance to avoid blurring and ensure robust and repeatable measurements. Most lenses used in machine vision applications are manufactured with metal housings and focus mechanisms to guarantee the stability of the lens. Many lenses are also available with anti-shock and vibration characteristics, making them suitable for even the harshest environments. Lens manufacturers have come up with a range of designs, a number of them patented, to limit the displacement of the image resulting from the lens glass shifting as a result of vibrations and impacts. These include the use of locking screws to prevent movement of focus and aperture, or even a fixed aperture, and the bonding of all of the elements in the lens body.

Lens mounts

Fixing a lens to a camera is achieved using one of a number of standardized lens mounts. The most commonly used in machine vision applications is the C-mount, which benefits from a very wide range of lenses and accessories including the ability to provide computer controlled iris and focus. A much less commonly used mount is the CS-mount. This is essentially the same as C-mount, but with a 5 mm shorter flange focal length. Smaller lens mount systems such as S-mount are normally used for board level cameras and micro head cameras. These lenses only allow a minimum of adjustment. For large format sensors and line scan applications, the larger format F-mount system can be used, although the more robust M42 mount (sometimes called T-mount), is used increasingly as an alternative. These large format lenses don’t support the capability of computer controlled iris and focus.  One interesting development is the emergence of machine vision applications using lenses with very long focal lengths up to 600 mm. Developed for use mainly by professional photographers, these large format lenses also include motorized iris and focus. This requires the specialized EF lens mount, which incorporates these facilities. An increasing number of machine vision cameras are now being manufactured with EF mount capabilities and EF lenses with their novel optical capabilities being made available to the wider machine vision market through recent direct distribution agreements.

Different lens mounts

Figure 4. Different lens mounts

Getting it right

With so many machine vision lens options available, selecting the best one for the particular application may not be a trivial exercise. It is important to consider the system as a whole. For example, many modern megapixel cameras use small sensor sizes to reduce costs, but the resulting small pixel sizes require higher quality and therefore more expensive optics. For some applications it may be beneficial to choose a more expensive camera with larger pixels that requires less demanding optics to reduce the overall system cost. Working with expert vision technology suppliers can mitigate the risks in these decisions. V&S

KEYWORDS: high resolution lighting machine vision vision systems

Share This Story

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

Mark Williamson is is managing director of Stemmer Imaging Ltd in the UK and a member of Stemmer Imaging AG’s senior leadership team. For more information, call +44 1252 780000, email [email protected] or visit www.stemmer-imaging.co.uk.

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

iStock-1352825159-jpg.jpg

U.S. Should Substantially Boost Support for Manufacturing USA Program, Issue National Industrial Manufacturing Strategy, Says New Report

Dorsey Calibration Lab photo by Tom LaBarbera Picture this Studios

Ensuring Product Quality in a Competitive Manufacturing Landscape

Visions Sensors Ebook

eBook | How AI-driven Vision Systems Are Transforming Automotive Quality Control

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

  • Real world test pattern through lens with a graph showing modulation transfer function.

    Key Considerations When Selecting a Machine Vision Lens

    See More
  • Machine vision lenses

    Understand Tradeoffs to Maximize Lens Performance

    See More
  • Navitar White Paper

    Improvements in Machine Vision Accuracy with Lens-Sensor Active Alignment

    See More

Related Products

See More Products
  • Machine Vision and Error Proofing DVD

  • Optimizing Factory Performance: Cost-Effective Ways to Achieve Significant and Sustainable Improvement

  • Green Lean: Achieving Outstanding Environmental Performance with Lean 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