52
Coded Photography

Coded Photography - Ramesh Raskar

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Coded Photography - Ramesh Raskar

Coded Photography

Page 2: Coded Photography - Ramesh Raskar

Lenslet-based Light Field camera

[Adelson and Wang, 1992, Ng et al. 2005 ]

Light Field Inside a Camera

Page 3: Coded Photography - Ramesh Raskar

Stanford Plenoptic Camera [Ng et al 2005]

4000 × 4000 pixels ÷ 292 × 292 lenses = 14 × 14 pixels per lens

Contax medium format camera Kodak 16-megapixel sensor

Adaptive Optics microlens array 125μ square-sided microlenses

Page 4: Coded Photography - Ramesh Raskar

Digital Refocusing

[Ng et al 2005]

Can we achieve this with a Mask alone?

Page 5: Coded Photography - Ramesh Raskar

Mask based Light Field CameraMask Sensor

[Veeraraghavan, Raskar, Agrawal, Tumblin, Mohan, Siggraph 2007 ]

Page 6: Coded Photography - Ramesh Raskar

Mask based Light Field CameraMask Sensor

Page 7: Coded Photography - Ramesh Raskar

1/f0

Mask Tile

Cosine Mask Used

Page 8: Coded Photography - Ramesh Raskar

Captured 2D Photo

Encoding due to Mask

[Veeraraghavan, Raskar, Agrawal, Tumblin, Mohan, Siggraph 2007 ]

Page 9: Coded Photography - Ramesh Raskar

2D FFT

Traditional Camera Photo

Heterodyne Camera Photo

Magnitude of 2D FFT

2D FFT

Magnitude of 2D FFT

Page 10: Coded Photography - Ramesh Raskar

In Focus Photo

LED

2D Photo

Page 11: Coded Photography - Ramesh Raskar

Out of Focus Photo: Open Aperture

Page 12: Coded Photography - Ramesh Raskar

Out of Focus Photo: Coded Aperture

Page 13: Coded Photography - Ramesh Raskar

Captured Blurred Photo

[Veeraraghavan, Raskar, Agrawal, Tumblin, Mohan, Siggraph 2007 ]

Page 14: Coded Photography - Ramesh Raskar

Refocused on Person

Increase DoF +large aperture

Page 15: Coded Photography - Ramesh Raskar

Out of Focus Photo: Coded Aperture

Engineering the PSF when you cannot capture Lightfield

Page 16: Coded Photography - Ramesh Raskar

Digital Refocusing

Captured Blurred Photo

Page 17: Coded Photography - Ramesh Raskar

Digital Refocusing

Refocused Image on Person

Page 18: Coded Photography - Ramesh Raskar

Mask? SensorMask

SensorMask? SensorMask? Sensor

Digital Refocusing

Page 19: Coded Photography - Ramesh Raskar

Mask? SensorMask

SensorMask? Sensor

MaskSensor

Mask? Sensor

Heterodyne Light Field Camera

Digital Refocusing

Page 20: Coded Photography - Ramesh Raskar

2D Photo

4D Light Field

Page 21: Coded Photography - Ramesh Raskar

Computing 4D Light Field2D Sensor Photo, 1800*1800 2D Fourier Transform

2D FFT

Rearrange 2D tiles into 4D planes200*200*9*94D IFFT

4D Light Field

9*9=81 spectral copies

200*200*9*9

Page 22: Coded Photography - Ramesh Raskar

MaskSensor

MaskSensor

Digital Refocusing

Heterodyne Light Field Camera

Mask? Sensor

Mask = more information?

[Veeraraghavan, Raskar, Agrawal, Tumblin, Mohan], Siggraph 2007

Page 23: Coded Photography - Ramesh Raskar

MERL Mask-Enhanced Cameras: Heterodyned Light Fields & Coded Aperture Veeraraghavan, Raskar, Agrawal, Mohan & TumblinDifferences with Plenoptic Camera

• Micro-lens array

• Samples individual rays

• Needs alignment precision

• Some pixels wasted

• Narrowband Cosine Mask

• Samples coded comb of rays

• More flexible

• No wastage

- Half brightness, diffraction

Mask

Sensor

Microlens array

Sensor

Plenoptic Camera Heterodyne Camera

Page 24: Coded Photography - Ramesh Raskar

Novel Sensors

• Color– Foveon

• Dynamic Range– HDR Camera, Log sensing– Gradient sensing

• Identity– Demodulation

• 3D– ZCam, Canesta

• Motion– Line scan Camera– Flutter Shutter

Page 25: Coded Photography - Ramesh Raskar

Foveon: All Colors at a Single Pixel

Page 26: Coded Photography - Ramesh Raskar

High Dynamic Range

Fuji's SuperCCD S3 Pro

Sensor with high and low sensitivity sensors per pixel location

Page 27: Coded Photography - Ramesh Raskar

Gradient Camera

• Sense Pixel Intensity Difference with unknown locally adaptive gain

• Reconstruct image from 2D gradient field

Ramesh Raskar, MERLWork with Jack Tumblin, Northwestern U,

Amit Agrawal, U of Maryland

Page 28: Coded Photography - Ramesh Raskar

High Dynamic Range Images

Scene Intensity camera saturation map

Gradient camera saturation map

Intensity camera fail to capture rangeGradients saturate at very few isolated pixels

Page 29: Coded Photography - Ramesh Raskar

Natural Scene Properties

x1

105

x1

105

Intensity Gradient

Intensity Histogram Gradient Histogram

1 105 -105 105

Page 30: Coded Photography - Ramesh Raskar

Motion _ _

Page 31: Coded Photography - Ramesh Raskar

Line Scan Camera: PhotoFinish 2000 Hz

Page 32: Coded Photography - Ramesh Raskar
Page 33: Coded Photography - Ramesh Raskar

Figure 2 results

Photo with motion blur

Page 34: Coded Photography - Ramesh Raskar

Rectified Image to make motion lines parallel to scan lines.

Page 35: Coded Photography - Ramesh Raskar

Image Deblurred by solving a linear system.

Approx Cut-out

Page 36: Coded Photography - Ramesh Raskar

Fluttered Shutter Camera[Raskar, Agrawal, Tumblin] Siggraph2006

Page 37: Coded Photography - Ramesh Raskar
Page 38: Coded Photography - Ramesh Raskar
Page 39: Coded Photography - Ramesh Raskar
Page 40: Coded Photography - Ramesh Raskar

Coded Exposure Coded Aperture

Temporal 1-D broadband code

Spatial 2-D broadband code

Page 41: Coded Photography - Ramesh Raskar

Novel Sensors

• Color– Foveon

• Dynamic Range– HDR Camera, Log sensing– Gradient sensing

• Identity– Demodulation

• 3D– ZCam, Canesta

• Motion– Line scan Camera– Flutter Shutter

Page 42: Coded Photography - Ramesh Raskar

Perspective? Or Not?

Agrawala et al, Long Scene Panoramas, Siggraph 2006

Rademacher et al, MCOP, Siggraph 1998

Page 43: Coded Photography - Ramesh Raskar

Multiperspective Camera?

[ Jingyi Yu’ 2004 ]

Page 44: Coded Photography - Ramesh Raskar

Future ..• ‘Cloth-cam’: ‘Wallpaper-cam’

– Fusion of 4D light emission and 4D capture in the surface of a cloth…

• Human Augmentation– Cameras to replace human eyes, for blind or limited vision– Camera on the ‘back’

• More Sensors– GPS, Compass, Temperature, fingerprint recognition, face recognition– When, Where, What, How .. Why?

• Photo Sharing and Community:– Photo Clip and Scene Completion– City Scanning, Live

Page 45: Coded Photography - Ramesh Raskar

Light Sensitive Fabric

Bayindir, Fink 2004

Page 46: Coded Photography - Ramesh Raskar

Computational Photography

Novel Illumination

Novel Cameras

Scene: 8D Ray Modulator

Display

GeneralizedSensor

Generalized OpticsProcessing

4D Ray BenderUpto 4D

Ray Sampler

Ray Reconstruction

Generalized Optics

Recreate 4D Lightfield

Light Sources

Modulators

4D Incident Lighting

4D Light Field

Page 47: Coded Photography - Ramesh Raskar

R ≈ 0.0

G ≈ 0.2

B ≈ 0.8

Fixed Color Gamut

B

G

R

Page 48: Coded Photography - Ramesh Raskar

“Best” primaries compromise:

Wide Gamut vs. High Power

B

G

R

Wider color gamut

λ400nm 700nm550nm

Page 49: Coded Photography - Ramesh Raskar

Adaptive Color Primaries

Page 50: Coded Photography - Ramesh Raskar

Agile Spectrum Imaging

With Ankit Mohan, Jack Tumblin [Eurographics 2008]

Page 51: Coded Photography - Ramesh Raskar

C

B

A

A’

B’

C’

Pinhole

Lens L1

Prism orDiffraction Grating

Lens L2Sensor

Rainbow Plane

C’’

B’’

A’’

Scene

Rainbow Plane inside Camera

Page 52: Coded Photography - Ramesh Raskar

Computational Photography1. Epsilon Photography

– Low-level vision: Pixels– Multi-photos by perturbing camera parameters– HDR, panorama, …– ‘Ultimate camera’

2. Coded Photography– Mid-Level Cues:

• Regions, Edges, Motion, Direct/global– Single/few snapshot

• Reversible encoding of data– Additional sensors/optics/illum– ‘Scene analysis’

3. Essence Photography– High-level understanding

• Not mimic human eye• Beyond single view/illum

– ‘New artform’