Docsity

Lecture Slides on Imaging - Optical Imaging | ECE 460, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
9/11/2008
1
Chapter 3 – Imaging
Electrical and Computer Engineering, UIUCPrinciples of Optical Imaging
GabrielPopescu
UniversityofIllinoisatUrbana‐Champaign
BeckmanInstitute
QuantitativeLightImagingLaboratory
http://light.ece.uiuc.edu
IntroductiontogeometricalopticsandFourieroptics–
precedesMicroscopy
Objectives
ECE460–OpticalImaging
2Chapter3:Imaging
Iftheobjectsencounteredbylightarelargecomparedto
wavelength,theequationsofpropagationcanbegreatly
simplified(λÆ0)
i.e.thewave‐phenomena (scattering,interference,etc)are
neglected
3.1GeometricalOptics
ECE460–OpticalImaging
neglected
Inhomogeneousmedia,lighttravelsinstraightlinesrays
G.O.dealswithraypropagationtroughopticalmedia(eg.
Imagingsystems)
≡
blackbox
imaging
system
OpticalAxis
Im
Ob
3Chapter3:Imaging
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Lecture Slides on Imaging - Optical Imaging | ECE 460 and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

Chapter 3 – Imaging

Principles of Optical Imaging Electrical and Computer Engineering, UIUC

Gabriel Popescu

University of Illinois at Urbana‐Champaign

Beckman Institute

Quantitative Light Imaging Laboratory

http://light.ece.uiuc.edu

ƒ Introduction to geometrical optics and Fourier optics –

precedes Microscopy

Objectives

ECE 460 – Optical Imaging

Chapter 3: Imaging 2

ƒ If the objects encountered by light are large compared to

wavelength, the equations of propagation can be greatly

simplified (λÆ0)

ƒ i.e. the wave‐phenomena (scattering, interference, etc) are

neglected

3.1 Geometrical Optics

ECE 460 – Optical Imaging

neglected

ƒ In homogeneous media, light travels in straight lines rays

ƒ G.O. deals with ray propagation trough optical media (eg.

Imaging systems)

black box

imaging system

Ob Im Optical^ Axis

Chapter 3: Imaging 3

ƒ G.O. predicts image location trough complicated systems;

accuracy is fairly good

ƒ Nowadays there are software programs that can run “ray

propagation” trough arbitrary materials

ƒ So what are the laws of G O?

3.1 Geometrical Optics

ECE 460 – Optical Imaging

ƒ So, what are the laws of G.O.?

Chapter 3: Imaging 4

a) n = constant b) n = n( ) = function of

position

3.2 Fermat’s principle

r

B

L

B

ds

ECE 460 – Optical Imaging

Time:

Æ straight line

Æ

c

v

n

AB

L

t nL

v c

B

c

v r

n r

ds

dt n s ds

v c

AB A

t n s ds

c

(3.1)

A A

Chapter 3: Imaging 5

ƒ Definition:

optical path length

ƒ How can we predict ray bending (eg. mirage)?

ƒ Fermat’s Principle:

3.2 Fermat’s principle

S = ct = n s ds ( ) ≡

(3.2)

ECE 460 – Optical Imaging

ƒ Light connects any two points by a path of minimum time

(the least time principle)

ƒ If n=constant in space, AB=line, of course

B

A

δ n S dS

(3.3)

A

B

Chapter 3: Imaging 6

ƒ Efficient way of propagating rays through optical systems

3.4 Propagation Matrices in G.O

y

Optical System θ 1 y 2

θ 2 OA ≡ Optical Axis

O x

y 1

ECE 460 – Optical Imaging

ƒ Any given ray is completely determined at a certain plane by

the angle with OA, Ѳ 1 , and height w.r.t OA, y 1

ƒ Let’s propagate (y 1

1 ), assume small angles Gaussian

approximation

Chapter 3: Imaging 10

a) Translation

3.4 Propagation Matrices in G.O

y 1

y 2

d

θ OA

ECE 460 – Optical Imaging

Small angles:

2 1

2 1 1

y y d tan

θ θ

θ

2 1 1

2 1 1

y y d

y

θ

θ θ

(3.8)

Chapter 3: Imaging 11

a) Translation

ƒ We can re‐write in compact form:

3.4 Propagation Matrices in G.O

2 1

2 1

y d y

θ θ

⎝ ⎠ ⎝^ ⎠⎝ ⎠

(3.9)

ECE 460 – Optical Imaging

⎝ 2 ⎠ ⎝^ ⎠⎝ 1 ⎠

Chapter 3: Imaging 12

b)Refraction‐spherical dielectric interface

3.4 Propagation Matrices in G.O

x

y

θ 2

θ 1

α 1 α 2 y 1

C

φ OA

ECE 460 – Optical Imaging

ƒ Snell’s law:

ƒ Geometry:

Æ

1 1 2 2

n α = n α

1 1

2 2

1 2

f

f

y y

f

R R

α θ

α θ

(3.10)

1 2 1 1 1 2 2 2

2

n n

n y n y

R R n

θ+ = θ+ ⋅

R

Chapter 3: Imaging 13

b)Refraction‐spherical dieletric interface

ƒ So:

3.4 Propagation Matrices in G.O

2 1 1

1 1 1 2 1

2 2

y y

n y n

n R n

θ

θ θ

ECE 460 – Optical Imaging

Æ (3.11)

2 1

1 2 1 2 1 2 2

y y

n n n

n R n

θ θ

Chapter 3: Imaging 14

b)Refraction‐spherical dieletric interface

ƒ Important: To avoid confusion between Ѳ and – Ѳ angles,

use “sign convention”

  1. angle convention

3.4 Propagation Matrices in G.O

ECE 460 – Optical Imaging

ƒ Counter clock‐wise = positive

  1. distance convention

Left Æ negative

Right Æ positive

OA

A B

OA

Chapter 3: Imaging 15

ƒ Note the reverse order multiplication (chronological

order)

ƒ T = Translation matrix =

3.4 Propagation Matrices in G.O

⎛^ d ⎞ ⎜ ⎟ ⎝ ⎠

⎛ ⎞

ECE 460 – Optical Imaging

ƒ R=refraction matrix = 2 1 1

2 2

1 0

n n n

n R n

⎛ ⎞ ⎜ ⎟ − ⎜ ⎟ ⎜ ⎟ ⎝ ⎠

Chapter 3: Imaging 19

ƒ T i l l 1 5

3.5 The thick Lens

A

B

t

R 2

n 2 =

n

R 1

n 1 =

ECE 460 – Optical Imaging

ƒ Typical glass: n = 1.

ƒ Basic optical component: typically ‐ 2 spherical surfaces

B A B t A B A

y y

R T R

θ θ

2 1

A

A

t y

n n

n

R nR n

θ

M Chapter 3: Imaging 20

ƒ After some algebra:

3.5 The thick Lens

1 1

t t

C

R n

M

t t

C C C C C

(3.14)

ECE 460 – Optical Imaging

ƒ In general convergence of spherical surface

ƒ R

1

> 0, R

2

< 0 Æ C

1

> 0 & C

2

0 Æ convergent

ƒ Note [C] = m ‐ 1 = dioptries

1 2 1 2 2 2

( C C C C ) 1 C

n nR

2 1

n n

C

R

Chapter 3: Imaging 21

ƒ Definition:

ƒ f is the focal distance of lens

ƒ Eq (3.15) is the “lens makers equation”

3.5 The thick Lens

1 2 1 2

1 t

C C C C

f n

ECE 460 – Optical Imaging

Chapter 3: Imaging demo available 22

3.6 Cardinal points

O

O’

F F’

y

y’

Image Formation

Æ Ray Tracing

ECE 460 – Optical Imaging

ƒ O = object; O’=image ; O‐O’=conjugate points

ƒ F’ = focal point image (image of objects from ‐∞)

ƒ F = focal point object

ƒ Transverse magnification:

y '

M

y

(3.16)

Chapter 3: Imaging 23

ƒ Definition: principal planes are the conjugate planes for which

M = 1

H H’ i i l l

3.6 Cardinal points

F’

ECE 460 – Optical Imaging

H, H’ = principal planes

f, f’ = focal distances

! f, f’ measured from H

F’

F

H H’

f

f’

Chapter 3: Imaging 24

3.8 Ray Tracing – thin lenses

'

x f x

y y

T M T

θ θ

x x y

ECE 460 – Optical Imaging

f

θ

x xx

x x

f f y

x

f f

θ

= ⎜^ ⎟

(3.21)

Chapter 3: Imaging 28

; y’ can be found as:

3.8 Ray Tracing – thin lenses

y A B y

θ C D θ

y '= Ay + B θ^ (3.22)

ECE 460 – Optical Imaging

ƒ Condition for conjugate planes:

(Figure page III‐13)

ƒ For conjugate planes, y’ should be independent of angle Ѳ

Æ B = 0

ƒ i.e. stigmatism condition (points are imaged into points)

ƒ We neglect geometric/chromatic aberrations

y

y’

OA

Chapter 3: Imaging 29

ƒ So, B = 0 Æ

Æ

3.8 Ray Tracing – thin lenses

(3.23)

xx

x x

f

x ' x f

ECE 460 – Optical Imaging

ƒ Eq above is the conjugate points equation (thin lens)

ƒ Eq 3.22 becomes: y’= yA

Æ Transverse magnification

x

M A

f

Chapter 3: Imaging 30

ƒ Use Eq 3.23:

(inverted image)

3.8 Ray Tracing – thin lenses

x

M x

f x x

x

ECE 460 – Optical Imaging

( g )

ƒ If object and image space have different refractive indices,

3.23 has the more general form:

(3.25)

(3.26)

x

x '

M

x

n n

x x f

Chapter 3: Imaging 31

ƒ Let’s differentiate (3.26) for air, n’=n=1:

3.8 Ray Tracing – thin lenses

x x n f

x x nf

f = focal distance in air

dx ' dx

ECE 460 – Optical Imaging

ƒ Eq 3.27 says that if the object gets closer to lens, the image

moves away!

2 2

2

2

x x

x

dx dx

x

dx M dx

Chapter 3: Imaging 32

3.8 Ray Tracing – thin lenses

y^ OA

F F’ y’

x (^) x’

ECE 460 – Optical Imaging

y

Δ F

OA

y’

F’

Δ’

Chapter 3: Imaging demo available 33

ƒ Use T = T 2

.T

1 ; T matrix from 3.

3.9 System of lenses

1

1 1

x

f

T

x

= ⎜^ ⎟

(3.29)

ECE 460 – Optical Imaging

ƒ Note:

magnification

1

f f

1 1 1 1 1

x x f x x

1

1 1

x

x M

Chapter 3: Imaging 37

Æ

also:

! det(T ) = 1

3.9 System of lenses

(3.30)

1

1 1

1 1 1

x

f M

x M f

ECE 460 – Optical Imaging

! det(T 1

Æ T^ =^ T T 2. 1 =

2 1

2 2 1 1

1 2

1

2 1 2 1 2

M M

f M f M

M M

M

f f M M M

(3.31)

Chapter 3: Imaging 38

ƒ 2 ‐lens system is equivalent to:

3.9 System of lenses

1

2 1 2

1 2

1 M 1

f f f M

M M M

ECE 460 – Optical Imaging

ƒ Microscopes achieve M=10‐ 100 easily

ƒ Can be reduced to 2 ‐lens system

ƒ Question: cascading many lenses such that M= 6 , would we

be able to see atoms?

ƒ Well, G.O can’t answer that.

ƒ So,back to wave optics

Chapter 3: Imaging 39

ƒ becomes important

ƒ How is the wavefront changed by a lens?

3.10 Lens as a phase transformer

i o E E e

φ = ⋅

b(x,y)

ECE 460 – Optical Imaging

ƒ Æ

( , ) [ ( , )]

o φ = knb x y + k b − b x y

glass air

( 1) ( , ) o = kb + k n − b x y

(3.32)

C 1

P α

b (^1) b 2

b 0

R 1 R 2

Chapter 3: Imaging 40

ƒ Let’s calculate b(x,y); assume small angles

ƒ Taylor expansion:

3.10 Lens as a phase transformer

1 1 1 b = R − ( PC )=

2 2 2 1 1 1 1

R R ( α R ) R 1 1 α

x

  • x +

ECE 460 – Optical Imaging

Taylor expansion:

Æ

ƒ So:

x o x →

2 2

b R R

⎡ ⎛ (^) α⎞⎤ α = ⎢ − (^) ⎜ − (^) ⎟⎥=

⎢⎣ ⎝ ⎠⎥⎦

2 2

1

tan

x y

R

α α

2 2

1 1

x y b x y R

(3.33)

(3.34)

Chapter 3: Imaging 41

Æ

ƒ This is the thickness approximation

3.10 Lens as a phase transformer

1 2

o b x y = b − b x y − b x y =

(3.35)

2 2

1 2

o

x y b R R

ECE 460 – Optical Imaging

ƒ The phase φ becomes:

ƒ But we know:

o φ x y = φ− k n − b x y = 2 2

1 2

o

x y k n R R

φ

+ ⎡^ ⎤

(3.36)

1 2

( n 1) f R R

Chapter 3: Imaging 42

ƒ! For amplitude is OK

ƒ! For phase

Æ The wavelet becomes:

3.11 Huygens‐Fresnel principle

R z

2 2

2

x y kR kz z z

⎣ ⎝^ ⎠⎦

ECE 460 – Optical Imaging

ƒ Remember, for the lens we found:

ƒ Free space acts on the wavefront like a divergent lens

(note “+” sign in phase)

2 2 ( ) 2 ( , )

ikz k x y i z e h x y e z

 (3.40a)

2 2 ( ) 2

o

k i x y i f e

t x y e e

φ

(3.40b)

Chapter 3: Imaging 46

ƒ At a given plane, a field is made of point sources

E 3 40 b h i l f h (f

3.11 Huygens‐Fresnel principle

E ( , x y ) = E x ( ', y ') δ ( x − x ') δ( y − y ') dx dy ' '

∫ ∫

y

x

ECE 460 – Optical Imaging

ƒ Eq 3 .40 a‐b represent the impulse response of the system (free

space or lens)

ƒ Recall linear systems (Chapter 2, page 12, Eq 2.16)

ƒ Final response (output) is the convolution of the input with

the impulse response (or Greeen’s function)

ƒ Nice! Space or time signals work the same!

Chapter 3: Imaging 47

3.11 Huygens‐Fresnel principle

z

y

x

θ

U ( , ξ η) U x y ( ,^ )

ECE 460 – Optical Imaging

U x y ( , ) = U ( , ξ η ) ( h x − ξ , y −η ) d ξ η d

∫ ∫ 2 2 ( ) ( ) 2 ( , ) ( , )

ik x y z U x y U e d d

ξ η

⎡ − + − ⎤ ⎣ ⎦ =

(3.41)

ξ x

Chapter 3: Imaging 48

ƒ Fresnel diffraction equation = convolution

ƒ Fresnel diffraction equation is an approximation

of Huygens principle ( th century)

3.11 Huygens‐Fresnel principle

2 2

2 1 2

x y R z z

⎛ (^) ⎡ + ⎤⎞ ⎜ =^ ⎢ + ⎥⎟ ⎜ ⎟ ⎝ ⎣ ⎦⎠

( , ) 1 ( ) ( ) ( )

ikR e U U d d

ξ η

ξ θ ξ ξ ∫ ∫

(3 42)

ECE 460 – Optical Imaging

ƒ! Fresnel is good enough for our pourpose

ƒ Note: we don’t care about constants A (no x‐y dependence)

( , ) ( , ) cos ( , ) ( , )

U x y U d d i R

ξ η θ ξ η ξ η λ ξ η

∫ ∫

2 2 ( ) ( ) 2 ( , )

ik x y z U e d d

ξ η

⎡ − + − ⎤ ⎣ ⎦ = ∫ ∫

(3.42)

Chapter 3: Imaging 49

ƒ One more approximation (far field)

ƒ The phase factor in Fresnel is:

3.12 Fraunhofer Approximation

2 2 ( , ) ( ) ( ) 2

k x y x y z

2 2 2 2 ( ) ( ) 2( )

k

= ⎡ x + y + ξ +η x ξ + y η⎤

(3 43)

ECE 460 – Optical Imaging

ƒ If , we obtain the Fraunhofer equation:

ƒ Thus eq. 3.44 defines a Fourier transform

ƒ Useful to calculate diffraction patterns!

x y x y z

(3.43)

2 2 z >> k ( ξ +η)

≈ 0

2 ( ) ( , ) ( , )

x y z U x y A U e d d

π ξ η λ

− + ∞

−∞

∫ ∫

(3.44)

Chapter 3: Imaging 50

ƒ Let’s define:

Æ

3.12 Fraunhofer Approximation

x

y

x f z

y f z

λ

λ

=

=

2 ( ) ( ) ( )

i f f U f f U d d

π ξ η

∞ (^) − +

ECE 460 – Optical Imaging

Æ

ƒ Example: diffraction on a slit

2 ( ) ( , ) ( , ).

i f (^) x fy x y U f f U e d d

π ξ η

−∞

(3.45)

z

k

a

x

ξ

Chapter 3: Imaging 51

3.13 Fourier Properties of lenses

U(x1,y 1 )

U(x2,y 2 )

F F’

U(x 3, y 3 )

OA

z

U(x 4, y 4 )

ECE 460 – Optical Imaging

ƒ Propagation:

U(x 1 ,y 1 ) U(x 2 ,y 2

U(x 2 ,y 2 ) U(x 3 ,y 3

U(x 3 ,y 3 ) U(x 4 ,y 4

Fresnel

Fresnel

Lens

d 1 d 2

Chapter 3: Imaging 55

3.13 Fourier Properties of lenses

2 2 2 1 2 1 1

2 2 3 3

2 2 2 12 1 1 1 1

2 3 3 23 3 3

ik x x y y d

k i x y f

ik

U x y A U x y e dx dy

U x y A U x y e

⎡ (^) − + − ⎤ ⎣ ⎦

− ⎡ + ⎤ ⎣ ⎦

⎡ ⎤

∫∫

ECE 460 – Optical Imaging

ƒ Combining Eqs (3.49) is a little messy, but there is a special

case when eqs simplify Æ very useful

2 2 4 3 4 3 (^22) 4 4 34 3 3 3 3

ik x x y y d U x y A U x y e dx dy

⎡ − + − ⎤ ⎣ ⎦ = ∫∫

(3.49)

Chapter 3: Imaging 56

ƒ If d 1 = d 2 = f

3.13 Fourier Properties of lenses

1 1 2 ( ) 4 4 41 1 1 1 1 1

x y i x f y f U x y A U x y e dx dy

π

∞ − +

−∞

∫ ∫ (3.50)

U 1

F

U 4

F’ f f

ECE 460 – Optical Imaging

ƒ Same eq as (3.45); now z Æ f

ƒ Lenses work as Fourier transformers

ƒ Useful for spatial filtering

4 4 x ; y

x y f f λ f λ f

Chapter 3: Imaging 57

ƒ Exercise: Use Matlab to FFT images (look “fft2” in help)

a)

3.13 Fourier Properties of lenses

FFT iFFT

ECE 460 – Optical Imaging

Final

b)

ƒ Note the relationship between the frequencies passed and the

details / contrast in the final image

FFT (^) iFFT

Chapter 3: Imaging 58

Final

Granting (amplitude) High‐pass

Band‐pass