spectral focal sweep (sfs): extended depth of field from chromatic aberrations iccp 2010 ollie...

47
Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Upload: bernadette-patterson

Post on 18-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Spectral Focal Sweep (SFS):

Extended Depth of Field from Chromatic Aberrations

ICCP 2010

Ollie Cossairt, Shree NayarColumbia University

Page 2: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Conventional Camera (F/4)

Spectral Focal Sweep: ICCP 2010

BLURRY

Page 3: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Conventional Camera (F/16)

Spectral Focal Sweep: ICCP 2010

NOISY

Page 4: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

EDOF Camera (F/4)

Spectral Focal Sweep: ICCP 2010

CAPTURED

Page 5: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

EDOF Camera (F/4)

Spectral Focal Sweep: ICCP 2010

DEBLURRED

Page 6: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Focus Sweep[Nagahara et al. ’08][Hausler ’72] Lens Focal PlaneSensor

Coded Aperture[Welford ’60] [Levin et al. ‘07][Veeraraghavan et al. ’07] [Zhou and Nayar ’09]

Related Work

Spectral Focal Sweep: ICCP 2010

Phase Plates[Dowski and Cathey ’95] [Chi and George ’01] [Levin et al. ’09]

Color[Guichard et al. ’09]

LensFocal Planes

RGB Sensor RedGreenBlue

Page 7: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Spectral Focal Sweep Idea

Spectral Focal Sweep: ICCP 2010

No moving parts or custom elements

PoorlyCorrected

Lens

+

B&WSensor

+

Focus Sweep

Lens

Focal Plane

Sensor

=

Broadband reflectance

spectra

Page 8: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Broadband reflectance spectra• Works exactly for black and white scenes• Many naturally occurring reflectance spectra

are also broadband [Parkkinen ‘89]

Poorly corrected lens• Simpler lens design optimization

Black & White Sensor• Can also approximate with luminance channel

from color sensor

Spectral Focal Sweep Idea

Spectral Focal Sweep: ICCP 2010

Page 9: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Conventional Focus Sweep PSF

Spectral Focal Sweep: ICCP 2010

v1u

u = object depth (fixed)v = sensor distance (varying)

LensEFL = f

FocalPlane

InstantaneousPSF Sensor

Scene Depth Range

Page 10: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Conventional Focus Sweep PSF

Spectral Focal Sweep: ICCP 2010

u = object depth (fixed)v = sensor distance (varying)

LensEFL = f

FocalPlane

InstantaneousPSF Sensor

v2u

Scene Depth Range

d2

Page 11: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Conventional Focus Sweep PSF

Spectral Focal Sweep: ICCP 2010

v3u

d3

u = object depth (fixed)v = sensor distance (varying)

LensEFL = f

FocalPlane

InstantaneousPSF Sensor

Scene Depth Range

Page 12: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Conventional Focus Sweep PSF

Spectral Focal Sweep: ICCP 2010

Varying either object/sensor distance, or focal length will produce the same

PSF

Integrate over time to get final PSF

Circ/Top-hat function

Defocus disk diameter (A = aperture diameter)

Page 13: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Refractive Dispersion (prism)

Spectral Focal Sweep: ICCP 2010

Snell’s Law of refraction

Refraction depends

on wavelengt

h

Page 14: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Refractive Dispersion (lens)

Spectral Focal Sweep: ICCP 2010

uv

SensorPSFFocalPlanes

Scene Depth Range

For an uncorrected lens, Focal length depends on wavelength

R1 , R2 = lens radii of curvature

Page 15: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Spectral Focal Sweep PSF

Spectral Focal Sweep: ICCP 2010

Each wavelength produces a different defocus disk

A B&W Sensor integrates over wavelength, weighted by the spectral reflectance of the scene

For white objects, a SFS PSF is identical to a mechanical focal sweep PSF

Page 16: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

SFS Lens Design

Spectral Focal Sweep: ICCP 2010

Maximum defocus diameter 100um at 400nm and 700nm

Design Criteria• Wavelength range 400-

700nm• 75mm EFL F/4• 1/3” Sensor, 10um pixel size

Optimization Criteria• Zemax Optical Design

Software• Maximize chromatic defocus

across wavelength range• Minimize spot size at 550nm• Fit to off-the-shelf lenses

Page 17: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Zemax SFS PSFs(white spectrum)

dep

th

field

SFS Lens Corrected lens

Spectral Focal Sweep: ICCP 2010

15x

Page 18: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Zemax SFS PSFs(white spectrum)

dep

th

Corrected lens

Spectral Focal Sweep: ICCP 2010

field

SFS Lens

1

15x

Page 19: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

• Munsell database of 1250 measured reflectance spectra

• Zemax simulation of SFS PSF at 12 depth locations (1.5m-3m, 100um max defocus dia.)

• For each Munsell spectrum– Calculate average deblurring error when a

white spectrum is used for deblurring

Simulating Real Spectra

Spectral Focal Sweep: ICCP 2010

Page 20: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Average Deblurring Error

Spectral Focal Sweep: ICCP 2010

Input Image:

Munsell color PSFs:

White PSF at center depth:

PSF Distance Metric:

Average Deblurring Error:

[Zhou and Nayar ‘09]

Averaged over many images

Page 21: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Munsell Spectra PSFs

Spectral Focal Sweep: ICCP 2010

Corrected lens

dep

th

Most Munsell spectra show little PSF variation

1

15x

Page 22: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Average Deblurring Error(%95 of Munsell spectra)

Spectral Focal Sweep: ICCP 2010

Most Munsell PSFs introduce negligible deblurring artifacts

Page 23: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Doublet SFS Implementation

Spectral Focal Sweep: ICCP 2010

Edmund Optics #481841” Dia. 100mm FL Plano-convex asphere

Thorlabs #LE19291” Dia. 300mm FL positive meniscus

Zemax Design Implementation

Page 24: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Experimental Setup

Spectral Focal Sweep: ICCP 2010

B&W Examples(Basler 1/3” sensor)

Color Examples(Canon 450D sensor)

Corrected Lens SFS Doublet Lens

F/1.4

75

mm

EFL C

osm

icar

F/2.8

10

0m

m

EFL C

annon

F/4 S

FS 7

5m

mEFL D

ouble

tF/4

SFS

75

mm

EFL D

ouble

t

Page 25: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Measured SFS PSFs(white spectrum)

Spectral Focal Sweep: ICCP 2010

Measured SFS PSF approximately depth-invariant

SFS

lens

Cosm

ica

r

depth

Page 26: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Deblurring

Deblur with measured white PSF

B&W Images• Wiener deconvolution

Color Images• Transform from RGB to YUV space• Wiener deconvolution of Y image• Transform back to RGB space

Spectral Focal Sweep: ICCP 2010

Page 27: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

EDOF Examples

Spectral Focal Sweep: ICCP 2010

Page 28: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 Corrected Lens

Spectral Focal Sweep: ICCP 2010

8ms exposure

Page 29: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Camera

Spectral Focal Sweep: ICCP 2010

8ms exposure

(Captured)

Page 30: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Camera

Spectral Focal Sweep: ICCP 2010

8ms exposure

(Deblurred)

Page 31: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 Corrected Lens

Spectral Focal Sweep: ICCP 2010

8ms exposure

Background Foreground

Page 32: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

8ms exposure

(Captured)

Page 33: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

(Deblurred)

8ms exposure

Page 34: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 Corrected Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

Background

Foreground

Page 35: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Captured)

Page 36: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Deblurred)

Page 37: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 Corrected Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

BackgroundForeground

Page 38: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Captured)

Page 39: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Deblurred)

Page 40: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 Corrected Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

Background

Foreground

Page 41: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Captured)

Page 42: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Deblurred)

Page 43: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 Corrected Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

Background

Foreground

Page 44: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Captured)

Page 45: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

F/4 SFS Lens

Spectral Focal Sweep: ICCP 2010

16ms exposure

(Deblurred)

Page 46: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

Limitations

Spectral Focal Sweep: ICCP 2010

• Broadband assumption does not always hold (e.g. %5 of Munsell Spectra)– deblurring artifacts introduced

• Color deblurring method does not correct blur in chrominance channels

Page 47: Spectral Focal Sweep (SFS): Extended Depth of Field from Chromatic Aberrations ICCP 2010 Ollie Cossairt, Shree Nayar Columbia University

• Works exactly for B&W scenes• Works well for many naturally occurring

spectra• Results for color images “look” good• Easy to build EDOF camera

Conclusion

Spectral Focal Sweep: ICCP 2010

Broadbandspectra

Chromaticaberrations

B&Wsensor

Focussweep+ + ==