Optical basics for machine vision systems. Lars Fermum Chief instructor STEMMER IMAGING GmbH

Similar documents
COLOUR INSPECTION, INFRARED AND UV

Optics: An Introduction

BIG PIXELS VS. SMALL PIXELS THE OPTICAL BOTTLENECK. Gregory Hollows Edmund Optics

Using Optics to Optimize Your Machine Vision Application

IMAGE SENSOR SOLUTIONS. KAC-96-1/5" Lens Kit. KODAK KAC-96-1/5" Lens Kit. for use with the KODAK CMOS Image Sensors. November 2004 Revision 2

Imaging Optics Fundamentals

Variable microinspection system. system125

The Importance of Wavelengths on Optical Designs

COURSE NAME: PHOTOGRAPHY AND AUDIO VISUAL PRODUCTION (VOCATIONAL) FOR UNDER GRADUATE (FIRST YEAR)

Optical design of a high resolution vision lens

Macro Varon 4.5/85. Key features. Applications. Web and surface inspections

mm F2.6 6MP IR-Corrected. Sensor size

Smart vision and optical solutions for the food and beverage industry

LENSES. INEL 6088 Computer Vision

Speed and Image Brightness uniformity of telecentric lenses

TECHSPEC COMPACT FIXED FOCAL LENGTH LENS

Optical Components for Laser Applications. Günter Toesko - Laserseminar BLZ im Dezember

MML-High Resolution 5M Series

Xenon-Zirconia 3.3/92

ECEN 4606, UNDERGRADUATE OPTICS LAB

Basler Accessories. Technical Specification BASLER LENS C M. Order Number

Basler Accessories. Technical Specification BASLER LENS C M. Order Number

Optical and mechanical parameters. 100 mm N. of elements 20.5 mm Dimensions 11.7 degrees Weight F/N = 4 (fixed) N.A.

Xenon-Diamond 2.9/106 With beam splitter

Advanced Camera and Image Sensor Technology. Steve Kinney Imaging Professional Camera Link Chairman

APPLICATIONS FOR TELECENTRIC LIGHTING

ME 297 L4-2 Optical design flow Analysis

OPTICAL SYSTEMS OBJECTIVES

BEAM HALO OBSERVATION BY CORONAGRAPH

Telecentric lenses.

Advanced Optics for Vision. Stuart W. Singer Sr. Vice President & CTO Schneider Optics, Inc.

INTRODUCTION THIN LENSES. Introduction. given by the paraxial refraction equation derived last lecture: Thin lenses (19.1) = 1. Double-lens systems

Geometric optics & aberrations

Cardinal Points of an Optical System--and Other Basic Facts

Advanced 3D Optical Profiler using Grasshopper3 USB3 Vision camera

Measuring intensity in watts rather than lumens

Some of the important topics needed to be addressed in a successful lens design project (R.R. Shannon: The Art and Science of Optical Design)

Lenses, exposure, and (de)focus

Criteria for Optical Systems: Optical Path Difference How do we determine the quality of a lens system? Several criteria used in optical design

Lecture 2: Geometrical Optics. Geometrical Approximation. Lenses. Mirrors. Optical Systems. Images and Pupils. Aberrations.

Image Formation and Capture. Acknowledgment: some figures by B. Curless, E. Hecht, W.J. Smith, B.K.P. Horn, and A. Theuwissen

Laser Speckle Reducer LSR-3000 Series

NEW MULTI MAG OPTICS INSIDE! 2012 APRIL edition SPECIAL EXHIBITION ISSUE

Lecture 4: Geometrical Optics 2. Optical Systems. Images and Pupils. Rays. Wavefronts. Aberrations. Outline

Better Imaging with a Schmidt-Czerny-Turner Spectrograph

Notes from Lens Lecture with Graham Reed

Opto Engineering S.r.l.

Measurement of the Modulation Transfer Function (MTF) of a camera lens. Laboratoire d Enseignement Expérimental (LEnsE)

ADVANCED OPTICS LAB -ECEN Basic Skills Lab

Opto Engineering. Basics

Lecture 2: Geometrical Optics. Geometrical Approximation. Lenses. Mirrors. Optical Systems. Images and Pupils. Aberrations.

Optoliner NV. Calibration Standard for Sighting & Imaging Devices West San Bernardino Road West Covina, California 91790

How to Choose a Machine Vision Camera for Your Application.

CODE V Introductory Tutorial

LENS ZOOM-SWIR 7x P/N C0628

ECEN 4606, UNDERGRADUATE OPTICS LAB

Chapter 25. Optical Instruments

Exercise 8: Interference and diffraction

Using molded chalcogenide glass technology to reduce cost in a compact wide-angle thermal imaging lens

Lecture PowerPoint. Chapter 25 Physics: Principles with Applications, 6 th edition Giancoli

Chapter 25 Optical Instruments

Dental photography: Dentist Blog. This is what matters when choosing the right camera equipment! Checklist. blog.ivoclarvivadent.

Chapters 1 & 2. Definitions and applications Conceptual basis of photogrammetric processing

For high resolution, large-sized line sensor cameras. Recommendable line sensor cameras - 5.2μm x 12K / 7μm x 8K

Guide to SPEX Optical Spectrometer

Modulation Transfer Function

OCT Spectrometer Design Understanding roll-off to achieve the clearest images

EE119 Introduction to Optical Engineering Spring 2003 Final Exam. Name:

Waves & Oscillations

Introduction. Lighting

7x P/N C1601. General Description

Laboratory experiment aberrations

Chapters 1-3. Chapter 1: Introduction and applications of photogrammetry Chapter 2: Electro-magnetic radiation. Chapter 3: Basic optics

Optical Systems. in Image Processing

LENS OB-SWIR500/7 P/N C0615

Lens Design I. Lecture 5: Advanced handling I Herbert Gross. Summer term

Reflectors vs. Refractors

th e Art o f Ci n e m a to g ra p h y

Where Image Quality Begins

OPTICAL IMAGE FORMATION

Cameras. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

Cameras. CSE 455, Winter 2010 January 25, 2010

On spatial resolution

Ideal for display mura (nonuniformity) evaluation and inspection on smartphones and tablet PCs.

PHY 431 Homework Set #5 Due Nov. 20 at the start of class

Ideal for display mura (nonuniformity) evaluation and inspection on smartphones and tablet PCs.

Evaluating Commercial Scanners for Astronomical Images. The underlying technology of the scanners: Pixel sizes:

BROADCAST ENGINEERING 5/05 WHITE PAPER TUTORIAL. HEADLINE: HDTV Lens Design: Management of Light Transmission

Calibration Report. Short Version. Vexcel Imaging GmbH, A-8010 Graz, Austria

CCAM Microscope Objectives

Applications of Optics

Reflection! Reflection and Virtual Image!

Feasibility and Design for the Simplex Electronic Telescope. Brian Dodson

Nikon AF-S Nikkor 50mm F1.4G Lens Review: 4. Test results (FX): Digital Photograph...

Chapter 1. Basic Electron Optics (Lecture 2)

Compact camera module testing equipment with a conversion lens

Sensitive measurement of partial coherence using a pinhole array

Performance Factors. Technical Assistance. Fundamental Optics

LEICA Summarit-S 70 mm ASPH. f/2.5 / CS

Reikan FoCal Aperture Sharpness Test Report

Transcription:

Optical basics for machine vision systems Lars Fermum Chief instructor STEMMER IMAGING GmbH www.stemmer-imaging.de

AN INTERNATIONAL CONCEPT STEMMER IMAGING customers in UK Germany France Switzerland Sweden Who? What? Theoretical and applied knowledge General machine vision topics Specific products (hardware / software) Tailored to your needs At our European sites At your premises Online / mobile Where? Why? Learn how to use machine vision even more efficiently Benefit from the extensive knowledge of the experts at STEMMER IMAGING

Specification of lenses

OPTICS Purpose and requirements profile of lenses: Depiction of the complete field of view on the sensor with high resolution, high contrast and, typically, the smallest optical errors possible Optical depiction principle Reproduction scale/ focal width suitable Mechanical mount suitable for the camera Image circle diameter suitable for sensor size

USE OF THE CORRECT LENS Fixed focal lengths Lenses for special wavelengths (UV/IR) Entocentric lenses Lenses for micro head camera Pericentric lenses Boroscopes Zoom lens Colour-corrected lenses Telecentric lenses Lenses for 3CCD cameras Mirror based optical systems Macro lenses

ENTOCENTRIC LENSES Entocentric lens, f =25mm Entocentric lens, f =6mm Entocentric lenses provide a fixed opening angle, with increasing working distance, the field of view will also increase. There are many fixed focal length lenses available with compact design, weight and costs. Caution with shorter focal lengths due to perspectivic effects and distortions. But it could be also very helpful for inspecting threads, holes etc.

ENTROCENTIC VS TELECENTRIC LENSES Entocentric image perspectives Object with different working distance appears with different size Reproduction scale is different for all working distances Telecentric image perspectives Within the telecentric range of lens objects appear with same size Telecentric range is typically bigger than depth of field.

MECHANICAL LENS CONNECTIONS The lenses must be able to illuminate the entire image field of the sensor homogeneously. Lens mounts: CCD sensors 1/3" to 1": VGA 9 mega pixels: C-mount Area scan cameras with high resolution & pixel size (CCD bigger than 1 inch ) and line scan cameras: F-mount or M42 Especially large line scan camera sensors require M72, M96 etc. Rather unusual for area scan cameras

OPTICAL DEPICTION Lens equation: 1/u = 1/v + 1/f Magnification: Beta = (v/ u) or: (Image height / Object height)

SENSOR SIZES & FLANGE BACK DISTANCE Typical sensor sizes for C-mount cameras: The size of the image circle diameter must be selected so that the entire sensor is illuminated as homogeneously as possible. Flange back distance: C-mount: 17.5mm F-mount: 46.5 mm CS-mount: 12.5mm M42: undefined!

OPTICAL DEPICTION (2) "Lenses" calculation (focal length): Focal length f= Working Distance / (Object / Image +1) "Working distance" calculation Working distance u = Focal length * (Object / Sensor size +1) Object is 50 mm, camera 1/3"=4.8 mm CCD lenses used 300 mm f= 300 mm / (50 mm / 4.8 mm +1) f= 26.28 mm focal length Lens required: 25 mm Object is 150 mm, camera 1/2"=6.4 mm CCD lenses used:16 mm u = 16 mm * (150 mm / 6.4 mm +1) u = 391 mm object distance The working distance is approx. 391 mm Focal width calculator >>> LensSensor app for Apple, devices & PC (Android in preparation)

IMAGE QUALITY OF THE LENSES Low geometric distortion High image sharpness and contrast Low scattered light Lens quality 10,0 7,5 5,0 2,5 Spectral transmission Scattered light 6% 12% 24% 0 300 400 500 600 700 800 900 1000 nm Absense of colour fringing Brightness distribution

IMAGE SHARPNESS AND CONTRAST A lens must be able to depict fine structures and details sharply and with high contrast. The sharpness and contrast is determined using black and white test patterns. MTF curve For each line pair, a contrast value can be determined as a contrast transfer function MTF (Modulation Transfer Function). Standard lens high resolution lens

RESOLUTION VS DIFFRACTION AT SLIT The ability to detect the smallest defined structures and be able to separate from each other is called resolution. Structures can eventually no longer be detected, they melt into each other. This effect depends on f-number of lens, wavelength of used light, position in field of view and working distance. f-number 2.8 f-number 16

Intensity DIFFRACTION AT SLIT These effects of blur are caused by diffraction at slit, the light point is represented as diffraction disk ( airy disk ) Light sources Aperture Image 2: Diffraction at circular aperture Image 3: Diffraction at double slit Two nearby light points are just resolved if the main maximum of the diffraction pattern of L1 coincides with the first diffraction minimum of L2 Diameter diffraction airy disk d= 2*1.22 * * ( =f-number, = wave length)

RESOLUTION OF LENSES Lenses are often classified in CCTV, megapixel, 5 - or 10-Megapixel Lenses. This is intended to show what camera sensors can typically be used. Idea: Resolving a certain pixel size or a certain number of line pairs on the sensor. Example: 100 line pairs / mm corresponds to 100 white and 100 black lines with 5 microns thickness. With small camera pixels high resolution lenses are needed. Just cheap cameras with a small sensor and pixels need the best lenses! The optics should ideally reach 2/3 of lp / mm of the sensor, otherwise moiré effects may occur. Sensor resolution pixel size lp/mm 1/3 Sony ICX424 656 x 492 7.40 µm 67 2/3 Sony ICX285 1388 x 1038 6.45 µm 78 1/2 Sony ICX274 1624 x 1234 4.40 µm 114 1/3 Sony ICX445 1292 x 964 3.75 µm 133 2/3 Sony ICX655 2452 x 2056 3,45 µm 145 Line pair 1/2.5 Aptina MT9P031 2588 x 1940 2.20 µm 227 1/2 Aptina MT9J003STM 3840 x 2748 1,67 µm 300

SPECTRAL TRANSMISSION & ANTIREFLECTION COATING Different coatings avoid surface reflections and thus increase transmission. However, anti-reflection coatings also reduce the glare. Although these antireflection coatings are often only a few microns thick, they can increase image quality substantially. Mode of operation Anti-reflection coating Make sure to use a high-quality lens! Caution regarding inspections in IR: Many anti-reflection coatings are only optimised for the visible wavelength range. Result: powerful light diffusion effects. Please clean lenses carefully!

GEOMETRY - ACCURATE REPRODUCTION Ideal case: The image generated by the lens is an exact reproduction of the object. However, lenses involve a certain degree of distortion and the image is often non-linearly distorted. Result: Exact measurements are often very difficult to make. Positioning or pick & place applications are imprecise. Use distortion-free lenses as far as possible. Software-based approaches are only of limited help, as the spatial depth of objects with corrections cannot be taken into account, for example.

FUNCTION OF THE LENS APERTURE Aperture and depth of field Stopping down the lens reduces many optical errors. 2 to 3 f-stops are ideal. (Chromatic longitudinal error, coma, astigmatism, vignetting and spherical aberration) However, from f number 8 and more, effective image resolution will be decreased due to diffraction effects. F-stop (=>depth of field), exposure time camera (=> motion blur?) and sensor gain (=> sensor noise) compete with image brightness. Possibly use multiple or stronger light sources or led flash controller.

TIPS AND TRICKS: EXTENSION RINGS Allow flexible use of the lens Usage of extension tubes Reduction of minimum object distance (MOD) Smaller field of view, increasing reproduction scale Available as 0.5 mm, 1, 5, 10, 20 and 40 mm extension rings

THE KEY TO PERFECT INSPECTIONS CHOOSE YOUR PERFECT LENS There are many different products available, suitable for all application purposes: Macro, Colour, High Res (small pixels), telecentric, auto iris, zoom, shock resistant, different lens mounts, cheap, 3CCD etc. Lens design is always a compromise between price, general quality and image errors. With smaller sensor pixels and smaller imagers, the resolving capacity of lenses and mechanical precision increases and thus gets more expensive. Ask our vision experts at STEMMER IMAGING for your ideal lens, which will fit your demands.

Thanks a lot for your attention! STEMMER IMAGING GmbH Gutenbergstraße 9 13 82178 Puchheim, Deutschland Telefon: +49 89 80902-0 Fax: +49 89 80902-116 info@stemmer-imaging.de www.stemmer-imaging.de Your contact: Lars Fermum