LENSES INEL 6088 Computer Vision LENSES The function of the lens - - PowerPoint PPT Presentation

lenses
SMART_READER_LITE
LIVE PREVIEW

LENSES INEL 6088 Computer Vision LENSES The function of the lens - - PowerPoint PPT Presentation

LENSES INEL 6088 Computer Vision LENSES The function of the lens is to collect more light Image sensor size determines camera format Lens should be chosen so that all features to be measured are covered in the image sensor, plus 10%


slide-1
SLIDE 1

LENSES

INEL 6088 Computer Vision

slide-2
SLIDE 2

2

LENSES

  • The function of the lens is to collect more light
  • Image sensor size determines camera format
  • Lens should be chosen so that all features to be measured are

covered in the image sensor, plus 10% for extra margin

  • Features must be at least 3 pixels across
  • If there are more than 100 features use a second camera
slide-3
SLIDE 3

3

  • Magnification = Wcamera/WFOV
  • FOV: Field of view = object area that is imaged by the lens onto

the image sensor

  • WFOV=width of the FOV
  • Wcamera = width of the camera sensor
  • Working distance = distance from lens to object
  • Thin-lens approximation: lens thickness is neglected
  • Pinhole camera: no lens; images through a small hole
slide-4
SLIDE 4

4

PINHOLE CAMERAS

  • Abstract camera model -

box with a small hole

Pinhole cameras work

in practice

slide-5
SLIDE 5

5

Pinhole too big - many directions are averaged, blurring the image Pinhole too small- diffraction effects blur the image Generally, pinhole cameras are dark, because a very small set of rays from a particular point hits the screen.

slide-6
SLIDE 6

6

THE REASON FOR LENSES

slide-7
SLIDE 7

7

THE THIN LENS

Focal length: distance between lens and camera plane when the object is at infinity Magnification: m = z/z’

Lens maker’s formula:

Basic Properties: (1) Any ray entering the lens parallel to the axis goes through the focus on the

  • ther side; (2) any ray entering the lens from the

focus in one side emerges parallel to the axis on the

  • ther side

β α β α

slide-8
SLIDE 8

tan α = P z − f = P 0 f tan β = P f = P 0 z0 − f P P 0 = z − f f = f z0 − f (z − f)(z0 − f) = z2 − z0f − zf + f 2 = f 2 zz0 = z0f + zf 1 f = 1 z + 1 z0

(ignoring signs so -z ⇒ z and -y’ ⇒ y)

slide-9
SLIDE 9

9

SPHERICAL ABERRATION

slide-10
SLIDE 10

10

LENS SYSTEMS

slide-11
SLIDE 11

11

VIGNETTING

slide-12
SLIDE 12

12

OTHER (POSSIBLY ANNOYING) PHENOMENA

  • Chromatic aberration

Light at different wavelengths follows different paths; hence, some wavelengths are

defocussed

Machines: coat the lens Humans: live with it

  • Scattering at the lens surface

Some light entering the lens system is reflected off each surface it encounters

(Fresnel’s law gives details)

Machines: coat the lens, interior Humans: live with it (various scattering phenomena are visible in the human eye)

  • Geometric phenomena (Barrel distortion, etc.)
slide-13
SLIDE 13

Chromatic aberration

slide-14
SLIDE 14

Light scattering (image flair)

slide-15
SLIDE 15

Barrel distortion

slide-16
SLIDE 16

16

RESOLUTION

  • Listed as resolving power in units of lines per inch/millimeter

RP=1/2d lines/mm d = spacing between pixels in the image plane This equation neglects lens distortion – usually not an issue in M.V.

slide-17
SLIDE 17

17

F/NUMBER

  • Cone angle of the rays that form an image
  • Determines
  • Brightness of image
  • Depth of field
  • Resolution of the lens
  • In MV the f/number can be taken as the ratio of the focal lens to the

diameter of the aperture; large aperture -> small f/number

slide-18
SLIDE 18

18

DEPTH OF FIELD

  • Larger aperture ↔ more light ↔reduced depth of field
  • Depth of field: range of scene (object) distances with scene points

that are in focus to an acceptable degree

  • Out of focus points are imaged to circles. If the diameter of the

circle b is below the resolution of the sensor then defocusing is not significant

slide-19
SLIDE 19

19

DEPTH OF FOCUS D

b: maximum acceptable blur diameter d: lens’ diameter f: focal length z: scene distance (nominal plane of focus) Near plane distance Far plane distance

slide-20
SLIDE 20

20

EXPOSURE

E = Et

  • E : amount of light collected by the camera
  • E : image irradiance; intensity of light falling on the image plane
  • t : duration of exposure (shutter speed)
slide-21
SLIDE 21

21

POLARIZATION

  • Some objects have certain

features that are extremely bright, reflective or objects may be illuminated from an angle that produces intense reflection.

  • Polarize filters are a solution.
slide-22
SLIDE 22

22

POLARIZATION

  • Normally light is linearly polarized:
slide-23
SLIDE 23

23

POLARIZATION

  • A linear polarizer filter absorb E along some directions and

transmit orthogonal to the direction of absorption.

slide-24
SLIDE 24

24

POLARIZER AND TRANSMISSION AXIS (TA)

slide-25
SLIDE 25

25

POLARIZERS

slide-26
SLIDE 26

26

POLARIZERS