A Signal-Processing Framework for Inverse Rendering Ravi Ramamoorthi Pat Hanrahan Stanford University.

Slides:



Advertisements
Similar presentations
Environment Mapping CSE 781 – Roger Crawfis
Advertisements

Real-Time High Quality Rendering CSE 291 [Winter 2015], Lecture 3 Shadow and Environment Mapping
Spherical Convolution in Computer Graphics and Vision Ravi Ramamoorthi Columbia Vision and Graphics Center Columbia University SIAM Imaging Science Conference:
Measuring BRDFs. Why bother modeling BRDFs? Why not directly measure BRDFs? True knowledge of surface properties Accurate models for graphics.
Light Fields PROPERTIES AND APPLICATIONS. Outline  What are light fields  Acquisition of light fields  from a 3D scene  from a real world scene 
Frequency Domain Normal Map Filtering Charles Han Bo Sun Ravi Ramamoorthi Eitan Grinspun Columbia University.
Advanced Computer Graphics
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Basic Principles of Surface Reflectance
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance.
Rendering with Environment Maps Jaroslav Křivánek, KSVI, MFF UK
Shape and Reflectance Estimation Techniques Dana Cobzas PIMS postdoc.
A Signal-Processing Framework for Forward and Inverse Rendering COMS , Lecture 8.
An Efficient Representation for Irradiance Environment Maps Ravi Ramamoorthi Pat Hanrahan Stanford University.
Real-Time Rendering COMS , Lecture 9. Real-Time Rendering Demo Motivation: Interactive rendering with complex natural illumination and realistic,
Computational Fundamentals of Reflection COMS , Lecture
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Advanced Computer Graphics (Fall 2009) CS , Lecture 1: Introduction and History Ravi Ramamoorthi Some.
A Signal-Processing Framework for Forward and Inverse Rendering Ravi Ramamoorthi Ravi Ramamoorthi
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 16: Image-Based Rendering and Light Fields Ravi Ramamoorthi
Measurement, Inverse Rendering COMS , Lecture 4.
A Signal-Processing Framework for Forward and Inverse Rendering Ravi Ramamoorthi Ph.D. Orals: June 3, 2002.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 10: Global Illumination Ravi Ramamoorthi Some images courtesy.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 17: Frequency Analysis and Signal Processing for Rendering Ravi Ramamoorthi
Representations of Visual Appearance COMS 6160 [Spring 2007], Lecture 5 Brief lecture on 4D appearance functions
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 4 Shadow and Environment Mapping
Representations of Visual Appearance COMS 6160 [Spring 2007], Lecture 3 Ravi Ramamoorthi
Appearance Models for Graphics COMS , Lecture 1 Ravi Ramamoorthi.
Basic Principles of Surface Reflectance
A Theory of Locally Low Dimensional Light Transport Dhruv Mahajan (Columbia University) Ira Kemelmacher-Shlizerman (Weizmann Institute) Ravi Ramamoorthi.
A Signal-Processing Framework for Forward and Inverse Rendering Ravi Ramamoorthi Stanford University Columbia University: Feb 11, 2002.
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
Convergence of vision and graphics Jitendra Malik University of California at Berkeley Jitendra Malik University of California at Berkeley.
Measure, measure, measure: BRDF, BTF, Light Fields Lecture #6
Specular Reflections from Rough Surfaces Lecture #4 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Face Relighting with Radiance Environment Maps Zhen Wen 1, Zicheng Liu 2, Thomas Huang 1 Beckman Institute 1 University of Illinois Urbana, IL61801, USA.
Titre.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 15: Image-Based Rendering and Light Fields Ravi Ramamoorthi
Image-Based Rendering from a Single Image Kim Sang Hoon Samuel Boivin – Andre Gagalowicz INRIA.
Analysis of Lighting Effects Outline: The problem Lighting models Shape from shading Photometric stereo Harmonic analysis of lighting.
Real-Time Rendering Digital Image Synthesis Yung-Yu Chuang 01/03/2006 with slides by Ravi Ramamoorthi and Robin Green.
An Efficient Representation for Irradiance Environment Maps Ravi Ramamoorthi Pat Hanrahan Stanford University SIGGRAPH 2001 Stanford University SIGGRAPH.
Real-Time Relighting Digital Image Synthesis Yung-Yu Chuang 1/10/2008 with slides by Ravi Ramamoorthi, Robin Green and Milos Hasan.
View-Dependent Precomputed Light Transport Using Nonlinear Gaussian Function Approximations Paul Green 1 Jan Kautz 1 Wojciech Matusik 2 Frédo Durand 1.
Lighting affects appearance. How do we represent light? (1) Ideal distant point source: - No cast shadows - Light distant - Three parameters - Example:
Understanding the effect of lighting in images Ronen Basri.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia SIGGRAPH 2003 Pat Hanrahan Stanford.
Image-Based Rendering of Diffuse, Specular and Glossy Surfaces from a Single Image Samuel Boivin and André Gagalowicz MIRAGES Project.
Inverse Global Illumination: Recovering Reflectance Models of Real Scenes from Photographs Computer Science Division University of California at Berkeley.
Interreflections : The Inverse Problem Lecture #12 Thanks to Shree Nayar, Seitz et al, Levoy et al, David Kriegman.
Diffuse Reflections from Rough Surfaces Lecture #5
Real-Time High Quality Rendering CSE 291 [Winter 2015], Lecture 2 Graphics Hardware Pipeline, Reflection and Rendering Equations, Taxonomy of Methods
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
1 Surface Reflectance Estimation and Natural Illumination Statistics Ron Dror, Ted Adelson, Alan Willsky Artificial Intelligence Lab, Lab for Information.
Computer Graphics (Spring 2003) COMS 4160, Lecture 18: Shading 2 Ravi Ramamoorthi Guest Lecturer: Aner Benartzi.
Thank you for the introduction
Tal Amir Advanced Topics in Computer Vision May 29 th, 2015 COUPLED MOTION- LIGHTING ANALYSIS.
Reflection Models (1) Physically-Based Illumination Models (2)
Advanced Computer Graphics
Advanced Computer Graphics
A Practical Analytic Single Scattering Model for Real Time Rendering
Sampling and Reconstruction of Visual Appearance
Advanced Computer Graphics
Real-time environment map lighting
Image Based Modeling and Rendering (PI: Malik)
Shape from Shading and Texture
Presentation transcript:

A Signal-Processing Framework for Inverse Rendering Ravi Ramamoorthi Pat Hanrahan Stanford University

Photorealistic Rendering Materials/Lighting (Texture Reflectance[BRDF] Lighting) Realistic input models required Arnold Renderer: Marcos Fajardo Rendering Algorithm 80’ s,90’ s : Physically based Geometry 70’ s, 80’ s : Splines 90’ s : Range Data

FlowchartFlowchart Photographs Geometric model Inverse Rendering Algorithm Lighting BRDF

FlowchartFlowchart Photographs Geometric model Forward Rendering Algorithm Lighting BRDF Rendering

FlowchartFlowchart Photographs Geometric model Forward Rendering Algorithm BRDF Novel lighting Rendering

AssumptionsAssumptions Known geometry Distant illumination Homogenous isotropic materials Convex curved surfaces: no shadows, interreflection Later, practical algorithms: relax some assumptions Known geometry Distant illumination Homogenous isotropic materials Convex curved surfaces: no shadows, interreflection Later, practical algorithms: relax some assumptions

Inverse Rendering Miller and Hoffman 84 Marschner and Greenberg 97 Sato et al. 97 Dana et al. 99 Debevec et al. 00 Marschner et al. 00 Sato et al. 99 Nishino et al. 01 Lighting BRDF Known Unknown Known Textures are a third axis

Inverse Problems: Difficulties Angular width of Light Source Surface roughness Ill-posed (ambiguous)

ContributionsContributions 1.Formalize reflection as convolution 2.Signal-processing framework 3.Analyze well-posedness of inverse problems 4.Practical algorithms 1.Formalize reflection as convolution 2.Signal-processing framework 3.Analyze well-posedness of inverse problems 4.Practical algorithms

Reflection as Convolution (2D) L Lighting Reflected Light Field BRDF L

Reflection as Convolution (2D) Fourier analysis L L Frequency: product Spatial: integral

Spherical Harmonic Analysis 2D: 3D:

Insights: Signal Processing Signal processing framework for reflection Light is the signal BRDF is the filter Reflection on a curved surface is convolution Signal processing framework for reflection Light is the signal BRDF is the filter Reflection on a curved surface is convolution

Insights: Signal Processing Signal processing framework for reflection Light is the signal BRDF is the filter Reflection on a curved surface is convolution Signal processing framework for reflection Light is the signal BRDF is the filter Reflection on a curved surface is convolution Filter is Delta function : Output = Signal Mirror BRDF : Image = Lighting [Miller and Hoffman 84] Mirror BRDF : Image = Lighting [Miller and Hoffman 84] Image courtesy Paul Debevec

Insights: Signal Processing Signal processing framework for reflection Light is the signal BRDF is the filter Reflection on a curved surface is convolution Signal processing framework for reflection Light is the signal BRDF is the filter Reflection on a curved surface is convolution Signal is Delta function : Output = Filter Point Light Source : Images = BRDF [Marschner et al. 00] Point Light Source : Images = BRDF [Marschner et al. 00]

Amplitude Frequency Roughness Phong, Microfacet Models Mirror Illumination estimation ill-posed for rough surfaces

Inverse Lighting Well-posed unless denominator vanishes BRDF should contain high frequencies : Sharp highlights Diffuse reflectors low pass filters: Inverse lighting ill-posed Well-posed unless denominator vanishes BRDF should contain high frequencies : Sharp highlights Diffuse reflectors low pass filters: Inverse lighting ill-posed Given: B,ρ find L

Inverse BRDF Well-posed unless L lm vanishes Lighting should have sharp features (point sources, edges) BRDF estimation ill-conditioned for soft lighting Well-posed unless L lm vanishes Lighting should have sharp features (point sources, edges) BRDF estimation ill-conditioned for soft lighting Directional Source Area source Same BRDF Given: B,L find ρ

Factoring the Light Field Light Field can be factored Up to global scale factor Assumes reciprocity of BRDF Can be ill-conditioned Analytic formula in paper Light Field can be factored Up to global scale factor Assumes reciprocity of BRDF Can be ill-conditioned Analytic formula in paper Given: B find L and ρ 4D2D3D More knowns (4D) than unknowns (2D/3D) More knowns (4D) than unknowns (2D/3D)

Practical Issues Incomplete sparse data (few photographs) Difficult to compute frequency spectra Concavities: Self Shadowing and Interreflection Spatially varying BRDFs: Textures Incomplete sparse data (few photographs) Difficult to compute frequency spectra Concavities: Self Shadowing and Interreflection Spatially varying BRDFs: Textures

Practical Issues Incomplete sparse data (few photographs) Difficult to compute frequency spectra Concavities: Self Shadowing and Interreflection Spatially varying BRDFs: Textures Issues can be addressed; can derive practical algorithms Dual spatial (angular) and frequency-space representation Simple extensions for shadowing, textures Incomplete sparse data (few photographs) Difficult to compute frequency spectra Concavities: Self Shadowing and Interreflection Spatially varying BRDFs: Textures Issues can be addressed; can derive practical algorithms Dual spatial (angular) and frequency-space representation Simple extensions for shadowing, textures

Algorithm Validation Photograph KdKd 0.91 KsKs 0.09 μ 1.85  0.13 “True” values

Algorithm Validation Renderings Unknown lighting Photograph Known lighting KdKd KsKs μ  “True” values Image RMS error 5%

Inverse BRDF: Spheres Bronze Delrin PaintRough Steel Photographs Renderings (Recovered BRDF)

Complex Geometry 3 photographs of a sculpture Complex unknown illumination Geometry known Estimate microfacet BRDF and distant lighting

ComparisonComparison Photograph Rendering

New View, Lighting Photograph Rendering

Textured Objects Photograph Rendering

SummarySummary Reflection as convolution Signal-processing framework Formal study of inverse rendering Practical algorithms Reflection as convolution Signal-processing framework Formal study of inverse rendering Practical algorithms

Implications and Future Work Frequency space analysis of reflection Well-posedness of inverse problems Perception, human vision Forward rendering [Friday] Complex uncontrolled illumination Frequency space analysis of reflection Well-posedness of inverse problems Perception, human vision Forward rendering [Friday] Complex uncontrolled illumination

AcknowledgementsAcknowledgements Marc Levoy Szymon Rusinkiewicz Steve Marschner John Parissenti, Jean Gleason Scanned cat sculpture is “Serenity” by Sue Dawes Hodgson-Reed Stanford Graduate Fellowship NSF ITR grant # : “Interacting with the Visual World” Paper Website: Marc Levoy Szymon Rusinkiewicz Steve Marschner John Parissenti, Jean Gleason Scanned cat sculpture is “Serenity” by Sue Dawes Hodgson-Reed Stanford Graduate Fellowship NSF ITR grant # : “Interacting with the Visual World” Paper Website:

The End

Related Work Qualitative observation of reflection as convolution: Miller & Hoffman 84, Greene 86, Cabral et al. 87,99 Reflection as frequency-space operator: D’Zmura 91 Lambertian reflection is convolution: Basri Jacobs 01 Our Contributions Explicitly derive frequency-space convolution formula Formal Quantitative Analysis in General 3D Case Qualitative observation of reflection as convolution: Miller & Hoffman 84, Greene 86, Cabral et al. 87,99 Reflection as frequency-space operator: D’Zmura 91 Lambertian reflection is convolution: Basri Jacobs 01 Our Contributions Explicitly derive frequency-space convolution formula Formal Quantitative Analysis in General 3D Case

Spherical Harmonics (3D)

Dual Representation Dual Representation Diffuse BRDF: Filter width small in frequency domain Specular: Filter width small in spatial (angular) domain Practical Representation: Dual angular, frequency-space Diffuse BRDF: Filter width small in frequency domain Specular: Filter width small in spatial (angular) domain Practical Representation: Dual angular, frequency-space B B d diffuse B s,slow slow specular (area sources) B s,fast fast specular (directional) = + + FrequencyAngular Space

Inverse Lambertian Sum l=2Sum l=4 True Lighting Mirror Teflon

Other Papers Linked to from website for this paper Theory Flatland or 2D using Fourier analysis [SPIE 01] Lambertian: radiance from irradiance [JOSA 01] Application to other areas Forward Rendering (Friday) [SIGGRAPH 01] Lighting variability object recognition [CVPR 01] Linked to from website for this paper Theory Flatland or 2D using Fourier analysis [SPIE 01] Lambertian: radiance from irradiance [JOSA 01] Application to other areas Forward Rendering (Friday) [SIGGRAPH 01] Lighting variability object recognition [CVPR 01]