University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging...

39
University of Cyprus Biomedical Imaging and Applied Optics Biomedical Imaging and Applied Optics Basic Imaging Principles Basic Imaging Principles

Transcript of University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging...

Page 1: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

University of CyprusBiomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics

Basic Imaging PrinciplesBasic Imaging Principles

Page 2: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Imaging

Real world Opics Sensor

2

Page 3: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• Sensation ≠ Perception• Perception

• Our understanding (conscious interpretation) of the physical world

• An interpretation of the senses• Different from what is out there

because• Our receptors detect limited number ofOur receptors detect limited number of

existing energy forms• The information does not reach our

brain unaltered. Some features are accentuated and some are suppressed

• The brain interprets the information and often distorts it (“completes the picture” or “feels in the gaps”) to

l iextract conclusions. • Interpretation is affected by cultural,

social and personal experiences stored in our memory

3

Page 4: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• Eye - Sensory organ for visionSuspensory ligament

Ciliary body Choroid

Extrinsic eyemuscle

Lacrimal Glands(under eyelid) Conjunctiva

Iris

Sclera

Retina

Iris

Pupil

Fovea

Canal for teardrainage

Pupil

Iris

Sclera

Lens

Cornea

Aqueous humorOptic nerve

Aqueous humor

Vitreous humorBlood vessels

Optic disc

4Pupillary constriction

Circular (constrictor)muscle runs circularly

Radialmuscleof iris

Circularmuscleof iris

Pupil Iris Radial (dilator) muscle runsradiallyPupillary dilation

Page 5: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• Convex structures of eye produce convergence ofproduce convergence of diverging light rays that reach eyeTwo structures most• Two structures most important in eye’s refractive ability are

• CorneaCornea• Contributes most extensively

to eye’s total refractive ability• Refractive ability remains

constant because curvature

Sympatheticstimulation

Iris

CorneaFlattenedweaklens

Relaxedciliarymuscle

constant because curvature never changes

• Lens • Refractive ability can be

dj t d b h i

Tautsuspensoryligaments

adjusted by changing curvature as needed for near or far vision (accommodation)

Sympatheticstimulation

Roundedstrongl

Contractedciliarymuscle

5

lens

Slackenedsuspensoryligaments

Page 6: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

Far source Near source Normal eye (Emmetropia)

Far source focused on retina withoutFar source focused on retina withoutaccommodation

Near source focused on retina withaccommodation

No accommodations Accommodations

Nearsightedness (Myopia)–Eyeball too long or lens too strong

1 U t d1 1. Uncorrected

Far source focused in front ofretina (where retina would be ineye of normal length)

Focus1.Imageout offocus

No accommodations No accommodationsNear source focused on retinawith accommodations

Farsightedness (Hyperopia)–Eyeball too short or lens too weak1. Image

out of1. Uncorrected

Far source focused on retinawith accommodations

out offocus

6

Near source focused behindretina even with accommodations

Accommodations AccommodationsFocus

Page 7: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• Retina• Several layers of cells• Receptor containing portion is

actually an extension of the CNS

• Macula• Center of vision

F• Fovea• Pinhead-sized depression in

exact center of retinaP i t f t di ti t i i

Optic nerve

Retina

Direction of light

Direction of retinal visual processing

Pigment layer

Choroid layer

Sclera

• Point of most distinct vision• Has only cones

Frontf

Backfof

retinaofretina

7

Fibers ofthe opticnerve

Ganglioncell

Amacrinecell

Bipolarcell

Cone Rod

Photoreceptorcells

Horizontalcell

Retina

Page 8: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• Photoreceptors Rod and cone cells

Back of retina

Cells ofpigment layer

• Rod and cone cells• Photopigments on the disk membranes

• Rod one type• one pigment, high sensitivity

Outersegment

Cone Rod

Discs

• Cones three different types• Red, green, blue sensing pigments, lower sensitivity

• Undergo chemical alterations when activated by light

Outersegment

InnerInner

Mitochondria

g• Change the receptor potential• Induce action potentials• Unlike other receptors, photoreceptors hyperpolarize!

Innersegment

Innersegment Nuclei

Dendritesof bipolar

llSynapticterminal

Synapticterminal

cells

Frontof retina

Rods Cones100 million per retina 3 million per retina

Vision in shades of gray Color vision

Directionof

light

High sensitivity to light Low sensitivity to light

Much convergence in retinal pathways Little convergence in retinal pathways

Night vision (from sensitivity and convergence)

Day vision (lack sensitivity and convergence)

8

convergence) convergence)

Low acuity High acuity

More numerous in periphery Concentrated in fovea

Page 9: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• Color VisionBlue cone Green cone Red cone

• Perception of color• Depends on the ratio of

stimulation of three different cones

• Different absorption of cone pigments

• Coded and transmitter by different• Coded and transmitter by different pathways

• Processed in color vision center of primary visual cortex

Color perceived

Wavelength of light (nm)of primary visual cortex• Color blindness

• Defective cone• Colors become combinations of

Visiblespectrum

Wavelength of light (nm)

two cones• Most common = red-green color

blindness

9

Page 10: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

10

Page 11: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• >30% of cortex participates in visual information processing

• “What” and “where” pathways

• Depth Perception• Visual field of two eyes slightly y g y

different• Depth perception with one eye

• Other cues (such as size,Other cues (such as size, location, experience)

11

Page 12: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

• Visual field • Area which can be seen without• Area which can be seen without

moving the head) overlap between eyes

• Visual Pathway

Left Right

y• Optic nerve• Optic chiasm• Thalamus

Optic radiation

Lefteye

Righteye

Optic • Optic radiation• Primary visual cortex (occipital lobe)• Higher processing areas

• Information arrives altered at the

nerve

Optic chiasmOptic tract

1

• Information arrives altered at the primary visual cortex

• Upside down and backward because of the lens

Optic tractLateral geniculatenucleus of thalamusO ti di ti

2

3

• The left and right halves of the brain receive information from the left and right halves of the visual field

Optic radiation

Optic lobe

12

field

Page 13: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Vision

We make cameras that act “similar” to the human eye but …

Insect Eyes

FlFly

13Mosquito

Page 14: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Camera Obscura

"When images of illuminated objects ... penetrate through a small hole into a very darkWhen images of illuminated objects ... penetrate through a small hole into a very dark room ... you will see [on the opposite wall] these objects in their proper form and color, reduced in size ... in a reversed position, owing to the intersection of the rays". Leonardo da Vinci

14

http://www.acmi.net.au/AIC/CAMERA_OBSCURA.html (Russell Naughton)Slide credit: David Jacobs

Page 15: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Pinhole Cameras

• Pinhole cameraB ith ll h l i it• Box with a small hole in it

• Image is upside down, but not mirrored left-to-right

• Question: Why does a mirror reverse Q yleft-to-right but not top-to-bottom?

• Problems with Pinhole Cameras• Pinhole size (aperture) must be “very o e s e (ape tu e) ust be e y

small” to obtain a clear image.• However, as pinhole size is made

smaller, less light is received by image planeplane.

• If pinhole is comparable to wavelength of incoming light, DIFFRACTION effects blur the image!

• Sharpest image is obtained when:• Sharpest image is obtained when:

• d: pinhole diameter • Example: If f’ = 50mm, λ = 600nm

λ'2 fd =

15

p ,(red), d = 0.36mm

Page 16: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• Image Formation using (Thin) Lenses

Converging (focusing) LensLenses

• Lenses are used to avoid problems with pinholes.

• Ideal Lens: Same projection as p jpinhole but gathers more light!

• Real Lenses• High index material finiteg• Two radii of curvature • Lensmakers formula

( ) ⎟⎞

⎜⎛ 1111 Diverging (defocusing) Lens

• Focal length

( ) ⎟⎟⎠

⎞⎜⎜⎝

⎛−−=+

212

11111RR

nss io

g g ( g)(Focal length is negative)

• Focal length

( ) ⎟⎟⎠

⎞⎜⎜⎝

⎛−−= 2

1111RR

nf

16

⎟⎠

⎜⎝ 21 RRf

Page 17: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• Image formation using g gone lens

• Ideal thin lens f2f f

D

so

siho

hiIdeal thin lens1 1 1f s s= +

• f = focal lengthi di t

o if s sf2f 2ff

• si = image distance• so = object distance

M ifi ti• Magnificationi is hM = − = −

f2f 2ff

17

o os h

Page 18: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses for imaging

• Imaging with twoImaging with two lenses

• Depends on separationDepends on separation

• Interesting case --t l

ff f f

telescope• equal focal lengths

4 f imaging

• 4 f imaging

• unequal focal lengthsifi ti f /f• magnification = f2/f1

f1f1 f2 f2

18

Imaging telescope

Page 19: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• Imaging scattering vs. Transparent objects• Scattering object acts as array of sources• Transmission object -- curvature important

• 4 f configuration betterg

illumination 4 f imaging 2 f imagingillumination

Scattering

Transmission

ff f f 2 f2 f

Transmissionillum.

ill

19f ff f 2 f 2 f

illum.

Page 20: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• Beam expanders Galilaen f2• Analogous to 4 f imaging

• wavefront curvature preserved• magnification is focal length

ratio

- f1

ratio• independent of lens spacing

• Two types• Galilaen and spatial-filter Spatial-filter arrangement

d

Galilaen and spatial filter arrangements

• Galilaen easier to to set and maintain alignment

Spatial-filter arrangement

Spatial filter for laser beam cleanupPinholeaperture

Aberratedlaser beam

Cleaned laser beam

20

f f

Page 21: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• F-number: ( f )

/# ffD

=• (M is magnification)

• Numerical aperture: , for small angles:• (n is refractive index)

DsinNA n φ=

12 2 /#DNAf f

= =(n is refractive index)

• Focal spot diameter:

f f2.44 1.222.44 /#fd f

D NAλ λλ= = =

• Depth of focus: , for small angles: 221.22 cosfz

Dλ φ⎛ ⎞= ⎜ ⎟⎝ ⎠

2

1.22zNA

λ=

zφ dDφ

21f

Page 22: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• Gromit captured at f/22 (left) and at f/4 (right).

22

Page 23: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• Gaussian Beams• E.g. from laser, or single mode fiber, 2w is the effective D• Intensity profile:

22 /20

wreII −=

• Beam waist:2

20

0 1 ⎟⎟⎠

⎞⎜⎜⎝

⎛+=

wzww

πλ

2

• Confocal parameter:

• Far from waist: divergence angle:

λπ 2

0wzR =

zλ 63702 λλΘ• Far from waist: , divergence angle:

0ww

π→

00

637.0wwπ

==Θ

23

Page 24: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

Standard Lens Gaussian BeamStandard Lens Gaussian Beam

Aperture size D 2w

Focal spot size 2.44 fd

= 02.542

2fd w λ

= =p

Depth of focus

D221 22 fz λ ⎛ ⎞= ⎜ ⎟

0 2w221 27 fz λ ⎛ ⎞= ⎜ ⎟Depth of focus 1.22z

Dλ= ⎜ ⎟⎝ ⎠

1.272

zw

λ= ⎜ ⎟⎝ ⎠

24

Page 25: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses

• Problems with LensesCompound (Thick) Lens Vignetting

principal planes 1L2L3L B

nodal pointsα

αA

Chromatic Abberation Radial and Tangential Distortion

thickness more light from A than B !

Chromatic Abberation Radial and Tangential Distortion

F F

ideal actual

RFBF GF

image plane

idealactual

25

Lens has different refractive indicesfor different wavelengths.

g p

Page 26: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• Lens Aberrations• Chromatic• Spherical• Marginal Astigmatism• Coma• Curvature of Field• Curvature of Field• Distortion• Vignetting

26

Page 27: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• Chromatic Aberrations• Longitudinal (axial)

• Various focal points on the axis.

• Lateral (magnification)• Different image sizes• Result in colored ‘ghost’

iimages• Material dependent

• λ dependent n• The higher the power of the

lens, the more the chromatic aberration.

• Correction:• Doublet lens or triplet lens• Change lens materials.

27

• Control edge thickness

Page 28: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• Spherical Aberrations• Spherical lens

• Peripheral rays have shorter focal length than paraxial rays Peripheral rays refract more than paraxial rays.

R lt i t f f• Results in out-of-focus image.

• Wide beam aberration – not important in narrow beam design.

• On-axis aberration• Correction

• Parabolic curves• Aplanatic lens design

28

Aplanatic lens design.

Page 29: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• Marginal Astigmatism• A.k.a Oblique astigmatism

or Radial astigmatism • Rays that propagate in twoRays that propagate in two

perpendicular planes have different foci

• Spherical lens, narrowSpherical lens, narrow beam entering off-axis.

• Beam enters obliquely to lens axis therefore effectslens axis, therefore effects periphery

• Narrow beam aberration.

• Correction • Aspheric design for high

powers and large lenses

29

powers and large lenses.

Page 30: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• ComaComa• Off-axis point sources

appear distorted, like pp ,having a tail (coma)

• Results in out-of-focus image

• Wide beam aberration

• Correction • parabolic curves planatic• parabolic curves, planatic

lens design.

30

Page 31: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• Curvature of Field• A.k.a. Petzval field

curvature• Light does not focus on aLight does not focus on a

flat focal plane. The focal plane is curved.

• Old movie screens They ywere curved, not flat, to focus the sides of the movie as well as the center.

• The retina is not a flat• The retina is not a flat plane. It is curved.

• Affects the periphery

• Correction • minimized with corrected

curve design base curves

31

curve design base curves.

Page 32: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• Distortion • A deviation from rectilinear

projection straight lines in a scene do not remainin a scene do not remain straight in an image

• Image is in focus, but not h d h hshaped the same as the

object• Usually from the presence

Distortion – pincushion – high plus lens

Usually from the presence of apertures in the system which distort the radial magnificationmagnification

• Correction: • Aspheric design lenses

32

• Aspheric design lenses Distortion – barrel – high minus lens

Page 33: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lens Aberrations

• Vignettingg g• Reduction of an image's

brightness or saturation at the periphery compared to the image center

• Mechanical (block) optical• Mechanical (block), optical (front lenses block light to the back), natural (light fall off not by blocking

• Correction: • Reduce aperture• Different design

33

Page 34: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Fresnel Lenses

• Start with conventional lens• Constrain optical thickness to be modulo l• Advantage -- thinner and lighter

Fresnel vs conventional lens

34

Page 35: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Graded index (GRIN) lens

• Glass rod with radial index gradient• Quadratic gradient -- high index in center

• like lens • optical path length varies quadratically from centerp p g q y

• Periodic focusing• laser spot size varies sinusoidally with distance

GRIN fiber probes

GRIN rod lens

GRIN periodic focusing

35

Page 36: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Lenses as Fourier Transformers

• 4 f configuration -- transform plane in centerg

Fourier transform of letter “E”

36

Page 37: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Image Formation

• Image resolution1 N b f i l ( 1024 1024)1. Number of pixels (e.g. 1024x1024)2. Smallest resolvable spatial

frequency smallest resolvable detail = optical resolutionp

• Optical resolution• Rayleigh criterion

• 3 dB down between peaks1.22d λ

=31.02

dBd λ=3 dB down between peaks

• Sparrow criterion• Width of PSF

• Aberrations degrade the resolution

dNA3dBd

NA

θ

PSF

dθR

x

D

DNAx

≈ d

PSF

37

Page 38: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Image Formation

ExampleCh t i ti• Characteristics

• Resolution: 1 mm• Field of View: 1 x 1 m

Choice of camera• Choice of camera1m/1mm x 2 (Nyquist) =2000 pixels

• ≥ 4 MPixel (2000 x 2000)• Π.χ. CCD, 5 MPixel, 2x2 cm Areaχ

• si = 17 mm (c-mount)• M = 2 cm / 1 m = 2x10-2

• so = s/M = 85 cm• f = 16 67 mm• f = 16,67 mm

• Is this optically possible?• d= Μ x 1 mm = 2 x 10-5 m• D = 2 44 λ s / d = 1 3 mm• D = 2.44 λ si / d = 1.3 mm• Any lens with a diameter over 1.3 mm.• In the case of microscopic objects the

diameter may be prohibitive!

38

Page 39: University of Cyprus Biomedical Imaging and Applied ... · University of Cyprus Biomedical Imaging and Applied OpticsBiomedical Imaging and Applied Optics Basic Imaging PrinciplesBasic

Image Formation

Example

• Practical Problems• f = 16,67 mm are not available

commercially• Recalculate the system• M = 2x10-2

• f = 20 mm• Solve the equations

• Ssi = 20,4 mm• So = 102 cm

39