surface light fields for 3d photography daniel n. wood university of washington siggraph 2001 course

86
Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Post on 21-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface Light Fieldsfor 3D Photography

Daniel N. WoodUniversity of Washington

SIGGRAPH 2001 Course

Page 2: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Collaborators(and co-authors on SIGGRAPH 2000

paper)Daniel Azuma Wyvern Aldinger

Brian Curless Tom DuchampDavid Salesin Werner Stuetzle

University of Washington

Page 3: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Outline

1. Surface light field representation

2. Compression primer

3. Surface light fields for 3D photography• With details of compression• And a preliminary look at a new

compression algorithm

Page 4: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface light fields

Page 5: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lumisphere-valued “texture” maps

Lumisphere

Page 6: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface light fields in flatland

s

Page 7: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface light fields in flatland

s

Page 8: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface light fields in flatland

s

Page 9: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Compression primer

• Singular value decomposition(or principal components analysis)

– Handling color

– Using regions

– Reflection parameterization

• Vector quantization

• Others… (Wavelets, DCT)

Page 10: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Singular value decomposition

SLF

U VT

Page 11: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

SVD in two matrices

EigenTextures

EigenLumispheres

SLF

Page 12: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

First eigenvectors

EigenTextures

EigenLumispheres

SLF First eigentexture and corresponding first eigenlumisphere

Page 13: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Truncated SVD

Outer product of first eigen-texture and first eigen-lumisphere is closest rank 1 (separable) matrix.

=

Eigen-lumisphere

Eig

en

-textu

re

~~

Page 14: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Handling color

Separatematrices

Colors insurface texture

(columns)

Colors indirections

(rows)

Page 15: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Handling color

Separatematrices

Nishino et al.Wood et al.Chen et al.

Colors insurface texture

(columns)

Colors indirections

(rows)

Page 16: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

SVD in color

EigenTextures

EigenLumispheres

SLF

Page 17: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Zooming in…

EigenTextures

EigenLumispheres

SLF

Page 18: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Zoom into important vectors

... ...SLF

Page 19: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reconstruction using SVD

Original Rank 1 Rank 7 (1:20)

Page 20: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface light field structure

Rows are points on surface

What are the columns? And, can they be made more coherent?

Page 21: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface light field structure

Rows are points on surface

Increasing column coherence:

1. Break into regions, and / or

2. Use reflection parameterization

Page 22: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Separate SVD for regions

EigenTextures

EigenLumispheres

EigenTextures

EigenLumispheres

Page 23: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reconstruction using regions

Original One region(Rank 5)

Two regions(Rank 5)

Page 24: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reflection reparameterization

Page 25: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reflection reparameterization

Page 26: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reflection reparameterization

Page 27: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reflection in flatland*

*sort of

Un-reflected Reflected

Page 28: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reflection doesn’t happenin the plane

Un-reflected Reflected

Page 29: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reflection in 3 space

Un-reflected

Reflected

Page 30: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Reflection in “flatland”

Un-reflected Reflected

Original Rank 5 Original Rank 5

Page 31: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Other compression strategies

• Discrete cosine transform[ Miller et al. 1999

– Eurographics Workshop on Rendering]

• Vector quantization[ Wood et al. 2000 - SIGGRAPH ]

• Wavelet decomposition[ Magnor and Girod 2000 - SPIE VCIP]

Page 32: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Vector quantization (unreflected)

Uncompressed Codebook Vector-quantized

Page 33: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Vector quantization (reflected)

Uncompressed Codebook Vector-quantized

Page 34: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Surface light fields for 3D photography

(SIGGRAPH 2000)Goals

Rendering and editing

InputsPhotographs and geometry

RequirementsEstimation and compression

Page 35: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Overview

Dataacquisition

Estimationand

compressionRendering

Editing

Page 36: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Overview

Dataacquisition

Estimationand

compressionRendering

Editing

Page 37: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Scan and reconstruct geometry

Reconstructed geometryRange scans(only a few shown . . .)

Page 38: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Take photographs

Camera positions Photographs

Page 39: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Register photographs to geometry

GeometryPhotographs

Page 40: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Register photographs to geometry

User selected correspondences (rays)

Page 41: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Parameterizing the geometry

Base mesh Scanned geometry

Map

Page 42: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Sample base mesh faces

Base mesh Detailed geometry

Page 43: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Assembling data lumispheres

Data lumisphere

Page 44: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Overview

Dataacquisition

Estimationand

compressionRendering

Editing

Page 45: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Pointwise fairing

Faired lumisphereData lumisphere

Page 46: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Pointwise fairing results

Input photograph Pointwise faired(177 MB)

Page 47: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Pointwise fairing

Many input data lumispheres Many faired lumispheres

Page 48: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Compression

Small set of prototypes

Page 49: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Compression / Estimation

Small set of prototypesMany input data lumispheres

Page 50: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Median removal

+

Reflected

Median(“diffuse”)

Median-removed(“specular”)

+

Page 51: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Median removal

Median values Specular Result

Page 52: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Function quantization

Codebook of lumispheres

Input data lumisphere

Page 53: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lloyd iteration

Input data lumispheres

Page 54: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lloyd iteration

Codeword

Page 55: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lloyd iteration

Perturb codewords to create larger codebook

Page 56: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lloyd iteration

Form clusters around each codeword

Page 57: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lloyd iteration

Optimize codewords based on clusters

Page 58: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lloyd iteration

Create new clusters

Page 59: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Function quantization results

Input photograph Function quantized(1010 codewords, 2.6 MB)

Page 60: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Principal function analysis

Subspace of lumispheres

Input data lumisphere

Prototype lumisphere

Page 61: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Principal function analysis

Approximating subspace

Prototype lumisphere

Page 62: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Principal function analysis

Page 63: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Principal function analysis

Page 64: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Principal function analysis

++

+

Median

PFA decomposition

Page 65: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Principal function analysis

+ + …

Median

PFA decomposition

=Final

approximation

Page 66: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Principal function analysis results

Input photograph PFA compressed(Order 5 - 2.5 MB)

Page 67: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Compression comparison

Pointwise fairing(177 MB)

Function quantization(2.6 MB)

Principal functionanalysis (2.5 MB)

Page 68: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Rewind…what we didn’t want to do

Page 69: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Instead, a middle ground

Regularly sampled directions,but not all there.

Page 70: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

New method:Principal components with missing

data

SLF with missing data

Hallucinatedata

Use either fairing or pair-wise present covariance matrix to fill holes

Hole-filled SLF

Page 71: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

New method:Principal components with missing

data

SLF with missing data Low rankapproximation

Hallucinatedata

Find best low rank

approximation

Hole-filled SLF

Page 72: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

New method:Principal components with missing

data

SLF with missing data Low rankapproximation

Hallucinatedata

Improvehallucination

Page 73: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Preliminary comparison

Principal function analysisOrder 3, RMS error 26.9

SVD with missing dataOrder 3, RMS error 26.1

Page 74: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Overview

Dataacquisition

Estimationand

compressionRendering

Editing

Page 75: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Interactive rendererscreen capture

Page 76: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Overview

Dataacquisition

Estimationand

compressionRendering

Editing

Page 77: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lumisphere filtering

Original surface light field Glossier coat

Page 78: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Lumisphere filtering

Page 79: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Rotating the environment

Original surface light field Rotated environment

Page 80: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Deformation

Original Deformed

Page 81: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Deformation

Page 82: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Summary

1. Estimation and compression• Function quantization• Principal function analysis

2. Rendering• From compressed representation• With view-dependent level-of-detail

3. Editing• Lumisphere filtering• Geometric deformations and transformations

Page 83: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Future work

• Better geometry-to-image registration

• Derive geometry from images

• More complex surfaces (mirrored, refractive, fuzzy…) under more complex illumination

Page 84: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Acknowledgements

• Marc Levoy and Pat Hanrahan– (Thanks for the use of the Stanford

Spherical Gantry)

• Michael Cohen and Richard Szeliski

• National Science Foundation

Page 85: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

Nearly the end

Page 86: Surface Light Fields for 3D Photography Daniel N. Wood University of Washington SIGGRAPH 2001 Course

For more information

http://graphics.cs.washington.edu/projects/slf

Talks, papers, … and raw data.