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

Real-World Optics

By David L. Dechow
December 22, 2009
Learn practical tips for applying optics in real-world applications.

No matter what components may be part of a machine vision application, there is one that simply cannot be eliminated or compromised: the lens. The fundamental purpose of the lens in the imaging chain is to capture reflected or directed light rays and reduce-or in some

cases enlarge-those rays so that they fit the size of the target image sensor relative to the desired real-world field of view (FOV). In addition, other optical components may be used in machine vision to modify or enhance the image, but always in concert with a lens as the main optical component.

Here are some tips that may help with your next machine vision project.

Lens Selection Made Easy

A wide variety of lenses are available for use in machine vision, but selection of a lens begins with a simple calculation of either focal length or magnification. The required input data are the desired size of the real-world image or FOV, the size of the camera sensor that will be used for imaging, and for the focal length calculation to be the desired working distance from the lens to the object. Most camera sensor chips are designated by diagonal size, that is: ⅓, ½ and ⅔ inch. In reality these chips vary somewhat in horizontal and vertical dimension. Normally the horizontal dimension is larger than the vertical dimension. For example, a typical ½ inch sensor is 6.4- by 4.8-millimeters (mm) in physical size.

To calculate an approximate required lens focal length for an application, divide the desired working distance by the desired field of view, and multiply that by the sensor size.

Example:
Required FOV in the vertical direction: 50 mm
Desired working distance: 400 mm
Sensor size in the vertical direction: 4.8 mm
Probable lens focal length or f-number: approximately 38 mm

To calculate the desired magnification, take the smallest physical dimension and divide that dimension by the desired real-world FOV for that imaging direction.

Example:
Required FOV in the vertical direction: 50 mm
Sensor size in the vertical direction: 4.8 mm
Required magnification: approximately 0.1X

These numbers will be close to the actual lens specification, but there are things to remember. A lens with the exact f-number from the calculation likely will not be available. Compromise in FOV or working distance will have to be made. Also, the calculation does not take into account lens limitations per manufacturer design and construction. Even when the formula yields a specific focal length, a commercial lens with that focal length may not be physically able to produce an image at the desired working distance. Use the formulas as a starting point, and carefully review manufacturer specifications for candidate lenses to be sure.

Use Machine Vision Lenses

Camera lenses in general are a commodity item. The product is mass-produced for uses other than machine vision, for example, security imaging. However, because a machine vision task often relies on a high level of image quality, many manufacturers offer a specific product line targeted for machine vision applications.

In particular, lenses manufactured for machine vision applications have higher-quality optics and usually multiple optical components, resulting in more accurate image reproduction. One measure of image quality is the number of line pairs per millimeter that the lens is able to accurately reproduce. For example, the higher the lines per inch (LPI), presumably the more accurate the lens.

While this is a good measure, a more accurate specification is the Modulation Transfer Function (MTF) of the lens. Simply put, this metric is a relationship between the number of LP/mm reproduced and the contrast level at varying numbers of line pairs. The greater the MTF of a lens, the better the spatial frequency response, producing a sharper, higher contrast image. However, be aware that there is no industry standard for lens testing, so the numbers are inconsistent from brand to brand. Regardless, it is important for any machine vision application to achieve the best possible contrast and image accuracy. Always use a quality machine vision lens.

Be creative with lens selection and be prepared to make compromises in physical layout in order to match the best lens with the application. When in doubt, seek assistance from machine vision experts and product manufacturers for assistance with optical design.

Share This Story

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

David L. Dechow is an engineer, programmer, and entrepreneur specializing in the integration of machine vision, robotics, and other industrial automation technologies. Over a long career in manufacturing, he has served various companies including Landing AI, Integro Technologies, and Fanuc America. He also was founder, owner, and principal engineer for two successful systems integration firms. Currently Dechow provides technology consulting and integration services through his company Machine Vision Source (MVSource.com) and also works with TECH B2B Marketing helping companies with technology training delivery, services and support.

Dechow is a recipient of the A3 Automated Imaging Achievement Award honoring industry leaders for outstanding career contributions in industrial and/or scientific imaging. He is a member of the Association for Advancing Automation (A3) Imaging Technology Strategy Board, and technical advisory board member with Saccade Vision Ltd.

As a key educator within the machine vision industry, Dechow has participated in the training of hundreds of engineers as an instructor with the A3 Certified Vision Professional program. He also is well known for his frequent informative technical articles, papers, webinars, and conference sessions and classes covering a wide range of technical topics involving machine vision and enabling technologies in industrial automation. For more information, email [email protected].

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

  • Robotic machine visual system

    The Expanding Role for Machine Vision in Smart Factories

    See More
  • Machine Vision Meets Metrology

    See More
  • Image Analysis for Machine Vision

    See More

Related Products

See More Products
  • Quality Brain Teasers: Real World Challenges to Build Your Manufacturing Skills (ebook)

  • Factory Physics for Managers: How Leaders Improve Performance in a Post-Lean Six Sigma World

  • RFID: Tool Tracking Solutions DVD

See More Products
×

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