41
Dual Photography Pradeep Sen | Billy Chen | Gaurav Garg | Stephen Marschner | Mark Horowitz | Marc Levoy | Hendrik Lensch Prashanth PM

Dual photography

Embed Size (px)

Citation preview

Page 1: Dual photography

Dual PhotographyPradeep Sen | Billy Chen | Gaurav Garg | Stephen Marschner | Mark

Horowitz | Marc Levoy | Hendrik Lensch

Prashanth PM

Page 2: Dual photography

Introduction

Dual Photography uses the concept of Helmholtz Reciprocity to interchange the lights and cameras in a scene.

Page 3: Dual photography

Helmholtz Reciprocity

Bidirectional Reflectance Distribution Function (BRDF)

fr(ωi, ωo) (outgoing radiance / Incoming radiance)

fr(ωi, ωo) = fr(ωo ,ωi)

Helmholtz Reciprocity

Page 4: Dual photography

First Relighting Work to make use of Helmholtz Reciprocity.

Page 5: Dual photography

Radiance transfer between incoming and outgoing directions is

symmetric

Page 6: Dual photography

So, we can generate an image from the point of view of the projector.

Page 7: Dual photography

Primal Configuration c’ : Captured Image (nm x 1)

p’ : Projected Pattern (pq x 1)

T : Transport Matrix (mn x pq)

Page 8: Dual photography
Page 9: Dual photography

Dual Configuration c”: Virtual Projected Pattern (nm x 1)

p”: Virtual Captured Image (pq x 1)

TT: Transposed Transport Matrix (pq x nm)

Page 10: Dual photography

Transport Matrix

T’’ = TT due to Helmholtz Reciprocity

Page 11: Dual photography

Dual Photography is the act of multiplying the transposed matrix by a

desired lighting image vector.

Page 12: Dual photography

Photography without a camera.

Image at right acquire using a 3x3 pixel

square scan across the projector.

Two photo resistors are used instead of

a camera.

Page 13: Dual photography

Comparison with Debevec et. al. [2000]

In Debevec’s “Acquiring the Reflectance Field of a Human Face“, distant point light sources are assumed, and there is no spatial variation within the light source.

Hence, sharp shadows cannot be cast onto the scene.

Besides, a fewer number of light sources are required.

Page 14: Dual photography

Optimizations in Capturing the T matrix.

Brute Force Method

Scan a single pixel per captured camera frame

Projector and Camera each have O(n6) pixels

Full T matrix would have O(n12) elements

HDR imagery required for scenes containing both specular and diffuse inter-reflections.

Page 15: Dual photography

Even at a rate of 25 HDR images per minute, the capture process could take weeks !

Page 16: Dual photography

Fixed Pattern Scanning

Assume each projector pixel affects a small, localized region of the camera. Divide the region into blocks.

Repeat exposures and encode each block’s illuminated pixels with a unique binary encoding.

Page 17: Dual photography

Fixed Pattern Scanning

1 17

….. …..

T

1 17

Projector Pixels

1

17

Page 18: Dual photography

We can determine the spot being lit using a truth table (bit encoding) for 3 locations.

4 2 1 Spot

0 0 0 0

0 0 1 1

0 1 0 2

0 1 1 3

1 0 0 4

1 0 1 5

1 1 0 6

1 1 1 7

Hamming error correcting codes are added to account for bit errors due to noisy measurement.

Page 19: Dual photography

Limitations of Fixed Pattern Scanning

Requires one-to-one correspondence between camera and projector pixels.

This only supports direct illumination properly.

Diffuse Illumination can map many projector pixels to the same camera pixel.

This violates the initial assumption.

Page 20: Dual photography

Adaptive Multiplexed Illumination

LEVEL 1

An 8x8 pixel project is used.

All Pixels are Illuminated.

Page 21: Dual photography

Adaptive Multiplexed Illumination

LEVEL 2

The single block from Level 1 is subdivided

into four blocks.

Conflict is detected between regions 2 and 4

Additional subdivision is required

Page 22: Dual photography

Adaptive Multiplexed Illumination

Conflicting blocks from Level 2 are not

co-scheduled in Level 3.

Some blocks can be scheduled in parallel.

Two new conflicts detected (6 & 12, 8 & 10).

The lower-leftmost block causes no illumination

and is culled

Page 23: Dual photography

Adaptive Multiplexed Illumination

Final subdivision is applied in Level 4.

Many blocks are acquired in parallel.

Page 24: Dual photography

Drawbacks of Adaptive Multiplexed Illumination

Does not do well for a scene with several diffuse inter-reflections.

A single projector pixel can affect the entire scene.

Page 25: Dual photography
Page 26: Dual photography

Hierarchical Assembly of the Transport Matrix

Page 27: Dual photography

Dual from Adaptive Multiplexing Dual from Hierarchical AssemblyInflections between red wall and boxis almost lost.

Page 28: Dual photography

Results

Primal Dual

Page 29: Dual photography

Scene Relighting

Primal and Dual Images can be relit by multiplying T or TT by the desired matte as p’ or c.”

Page 30: Dual photography

Scene Relighting

Primal Dual Dual with relit pattern

Page 31: Dual photography

Dual – hand Dual – moving light beam

Page 32: Dual photography

Scene Relighting

Projectors are not parallelizable, only one projector can be used at a time. But cameras can be parallelized to capture a 6D reflectance field.

Page 33: Dual photography

Scene Relighting

Page 34: Dual photography

Results

Dual – left lit Dual – right lit

Page 35: Dual photography

Results

Dual – soft shadows Dual – hi res matte

Page 36: Dual photography

Results

Dual – Soft Shadows Dual – Shadows cast by synthetic model

Page 37: Dual photography

Limitations

Scenes containing significant global illumination

effects reduce parallelism of the adaptive method.

Page 38: Dual photography

Limitations

Cameras have greater depth-of-field, better focus control, and more imaging controls

Limited depth-of-field can result in out-of-focus dual images

Page 39: Dual photography

Limitations

Suppose the camera and projector are at a large angle apart from each other.

There may be many regions in the scene with no direct light transport between the camera and projector.

Page 40: Dual photography

How to read your opponent’s card ?

Page 41: Dual photography

Thank You

Questions ?