Title: Spherical Convolution in Computer Graphics and Vision
1Spherical Convolution in Computer Graphics and
Vision
Ravi Ramamoorthi
Columbia Vision and Graphics Center Columbia
University
SIAM Imaging Science Conference May 17, 2006
2Outline
- Motivation and Practical Problems
- Spherical Convolution and Applications
- A Theory of Spherical Harmonic Identities
- Signal Processing for Visual Appearance
3Real-Time Rendering
- Motivation Interactive rendering with natural
illumination and realistic, measured materials -
4Inverse Rendering
Photographs
Geometric model
5Inverse Rendering
Forward RenderingAlgorithm
Photographs
BRDF
Novel lighting
Rendering
Geometric model
6Direct Object Relighting
Unknown Lighting
Unknown BRDF
?
7Lighting-Insensitive Recognition
- Illuminate subject from many incident
directions Space of images as lighting is varied
8Checking Image Consistency
- Easy to tamper / splice images
- Image processing software widely available
- In news reporting and other applications
- Need to detect tampering or photomontage
- Verify image consistency
- Try to check consistency of lighting, shading
9Checking Image Consistency
10Checking Image Consistency
- Without knowing illumination and reflectance
- How do we know if two objects / people in a
photograph are lit consistently? - How do we detect inconsistencies or tampering?
11Outline
- Motivation and Practical Problems
- Spherical Convolution and Applications
- A Theory of Spherical Harmonic Identities
- Signal Processing for Visual Appearance
12Environment Maps
Miller and Hoffman, 1984
Later, Greene 86, Cabral 87, 99,
13Irradiance Environment Maps
Incident Radiance (Illumination Environment Map)
Irradiance Environment Map
14Computing Irradiance
- Classically, hemispherical integral for each
pixel - Lambertian surface is like a low pass filter
- Frequency-space analysis (spherical harmonics)
Incident Radiance
Irradiance
15Spherical Harmonics
0
1
2 . . .
-1
-2
0
1
2
16Analytic Irradiance Formula
-
- Lambertian surface is low-pass filter
0
0
1
2
Basri Jacobs 01 Ramamoorthi Hanrahan 01a
179 Parameter Approximation
Order 2 9 terms
Exact image
0
RMS Error 1
1
For any illumination, average error lt 2
Basri, Jacobs 01
2
-1
-2
0
1
2
Ramamoorthi and Hanrahan 01b
18Real-Time Rendering
- Simple procedural rendering method (no textures)
- Requires only matrix-vector multiply and
dot-product - In software or NVIDIA vertex programming hardware
- Widely used in Games (AMPED for Microsoft Xbox),
Movies (Pixar, Framestore CFC, )
19Computer Vision Complex Illumination
- Low Dimensional Subspace
-
- Lighting Insensitive Recognition (Basri and
Jacobs 01, Lee et al. 01, Ramamoorthi 02, ) -
- Photometric stereo, shape acquisition
20Convolution for General Materials
Spherical Harmonics
Ramamoorthi and Hanrahan 01
21Related Theoretical Work
- Qualitative observation of reflection as
convolution Miller Hoffman 84, Greene
86, Cabral et al. 87,99 - Reflection as frequency-space operator DZmura
91 - Lambertian reflection is convolution Basri
Jacobs 01 - Our Contributions
- Explicitly derive frequency-space convolution
formula - Formal quantitative analysis in general 3D case
- Apply to real-time, inverse rendering, computer
vision
22Natural Lighting, Realistic Materials
Ramamoorthi and Hanrahan 02
23Inverse Rendering
- 3 photographs of cat sculpture
- Complex unknown illumination
- Geometry known
- Estimate microfacet BRDF and distant lighting
24New View, Lighting
Photograph
Rendering
Ramamoorthi and Hanrahan, 01c
25Outline
- Motivation and Practical Problems
- Spherical Convolution and Applications
- A Theory of Spherical Harmonic Identities
- Signal Processing for Visual Appearance
Mahajan, Ramamoorthi, Curless ECCV 06
26Two Objects Two Lightings
Material 1
Material 2
Lighting 1
Lighting 2
27Two Objects Two Lightings
Material 1
Material 2
Lighting 1
Lighting 2
28Two Objects Two Lightings
Material 1
Material 2
Lighting 1
Lighting 2
29Two Objects Two Lightings
Material 1
Material 2
Lighting 1
Independent of Lighting and BRDF
Lighting 2
30Image Estimation Framework
Material 1
Material 2
Lighting 1
?
Lighting 2
31Image Estimation Framework
Material 1
Material 2
Lighting 1
?
Lighting 2
32Image Estimation Framework
Material 1
Material 2
Lighting 1
?
Lighting 2
33Image Estimation BRDF Transfer
Material 1
Material 2
Lighting 1
BRDF Transfer Function
?
Lighting 2
34Image Estimation Lighting Transfer
Material 1
Material 2
Lighting 1
?
Lighting 2
35Image Estimation Lighting Transfer
Material 1
Material 2
Lighting 1
?
Lighting 2
36Image Estimation Lighting Transfer
Material 1
Material 2
Lighting 1
Light Transfer
Function
?
Lighting 2
37Image Estimation
Lighting 1
Object 1 Object 2
?
Lighting 2
Our Method
Actual
No BRDF and lighting known or estimated
38Image Consistency Checking
Spliced Image
39Image Consistency Checking
Spliced Image
40Image Consistency Checking
Tampered Cat
Untampered Cat
Tampered Cat
Two Lightings Same Reflectance Identity
Single Image Identity diffuse specular case
Two Materials Two Lightings identity
41Outline
- Motivation and Practical Problems
- Spherical Convolution and Applications
- A Theory of Spherical Harmonic Identities
- Signal Processing for Visual Appearance
42Signal Processing for Appearance
- Signal Processing widely applicable visual
appearance - Convolution relation for cast shadows
Soler and Sillion 98, Ramamoorthi
et al. 04 - Convolution with glows for participating media
(mist, fog, haze) Sun et al. 05 - Signal-Processing analysis of light field and
reflectance Chai et al. 00, Zickler et al. 06 - Triple Product Integrals Ng et al. 04
- First Order Analysis Ramamoorthi et al. 06
43Real Time Rendering of Scattering
Video clip 1
44Reflectance Sharing
Video clip 1
45Acknowledgements
- Collaborators
- Dhruv Mahajan
- Brian Curless
- Pat Hanrahan
- Sameer Agarwal (helpful discussions)
- Funding NSF and Sloan Foundation
- http//www.cs.columbia.edu/ravir
46Questions