Advanced Computer Graphics (Fall 2010) CS 283, Lecture 17: Frequency Analysis and Signal Processing for Rendering Ravi Ramamoorthi

Slides:



Advertisements
Similar presentations
Computer graphics & visualization Global Illumination Effects.
Advertisements

Environment Mapping CSE 781 – Roger Crawfis
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.
Rendering with Environment Maps Jaroslav Křivánek, KSVI, MFF UK
5D COVARIA NCE TRACING FOR EFFICIENT DEFOCUS AND MOTION BLUR Laurent Belcour 1 Cyril Soler 2 Kartic Subr 3 Nicolas Holzschuch 2 Frédo Durand 4 1 Grenoble.
A Signal-Processing Framework for Inverse Rendering Ravi Ramamoorthi Pat Hanrahan Stanford University.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 14 Ravi Ramamoorthi
A Signal-Processing Framework for Forward and Inverse Rendering COMS , Lecture 8.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lectures 18, 19: Monte Carlo Integration Ravi Ramamoorthi Acknowledgements.
An Efficient Representation for Irradiance Environment Maps Ravi Ramamoorthi Pat Hanrahan Stanford University.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 18: Precomputation-Based Real-Time Rendering Ravi Ramamoorthi
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
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 21: Image-Based Rendering Ravi Ramamoorthi
Representations of Visual Appearance COMS 6160 [Spring 2007], Lecture 4 Image-Based Modeling and Rendering
Image-Based Modeling and Rendering CS 6998 Lecture 6.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
A Signal-Processing Framework for Forward and Inverse Rendering Ravi Ramamoorthi Ph.D. Orals: June 3, 2002.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 4 Shadow and Environment Mapping
Basic Principles of Surface Reflectance
Exploiting Temporal Coherence for Incremental All-Frequency Relighting Ryan OverbeckRavi Ramamoorthi Aner Ben-ArtziEitan Grinspun Columbia University Ng.
Siggraph’2000, July 27, 2000 Jin-Xiang Chai Xin Tong Shing-Chow Chan Heung-Yeung Shum Microsoft Research, China Plenoptic Sampling SIGGRAPH’2000.
Linear View Synthesis Using a Dimensionality Gap Light Field Prior
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.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
Frequency Analysis and Sheared Reconstruction for Rendering Motion Blur Kevin Egan Yu-Ting Tseng Nicolas Holzschuch Frédo Durand Ravi Ramamoorthi Columbia.
Measure, measure, measure: BRDF, BTF, Light Fields Lecture #6
Face Relighting with Radiance Environment Maps Zhen Wen 1, Zicheng Liu 2, Thomas Huang 1 Beckman Institute 1 University of Illinois Urbana, IL61801, USA.
Real-Time High Quality Rendering CSE 291 [Winter 2015], Lecture 6 Image-Based Rendering and Light Fields
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
Titre.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 15: Image-Based Rendering and Light Fields Ravi Ramamoorthi
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.
Real-time Shading with Filtered Importance Sampling Jaroslav Křivánek Czech Technical University in Prague Mark Colbert University of Central Florida.
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:
1 Plenoptic Imaging Chong Chen Dan Schonfeld Department of Electrical and Computer Engineering University of Illinois at Chicago May
A Frequency Analysis of Light Transport Fr é do Durand – MIT CSAIL With Nicolas Holzschuch, Cyril Soler, Eric Chan & Francois Sillion Artis Gravir/Imag-Inria.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia SIGGRAPH 2003 Pat Hanrahan Stanford.
Fourier Depth of Field Cyril Soler, Kartic Subr, Frédo Durand, Nicolas Holzschuch, François Sillion INRIA, UC Irvine, MIT CSAIL.
Quick survey about PRT Valentin JANIAUT KAIST (Korea Advanced Institute of Science and Technology)
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.
CSCE 641 Computer Graphics: Image-based Rendering (cont.) Jinxiang Chai.
Thank you for the introduction
Non-Linear Kernel-Based Precomputed Light Transport Paul Green MIT Jan Kautz MIT Wojciech Matusik MIT Frédo Durand MIT Henrik Wann Jensen UCSD.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia Pat Hanrahan Stanford.
MAN-522 Computer Vision Spring
Advanced Computer Graphics
Advanced Computer Graphics
Sampling and Reconstruction of Visual Appearance
Advanced Computer Graphics
Real-time environment map lighting
Presentation transcript:

Advanced Computer Graphics (Fall 2010) CS 283, Lecture 17: Frequency Analysis and Signal Processing for Rendering Ravi Ramamoorthi

Motivation  Signal-processing provides new understanding  Methods based on (Spherical) Fourier analysis  Allows understanding of sampling rates (in IBR)  Frequency-domain algorithms like convolution  This lecture high-level, mostly conceptual ideas.  Follow original papers for details, applications

Plenoptic Sampling  Plenoptic Sampling. Chai, Tong, Chan, Shum 00  Signal-processing on light field  Minimal sampling rate for antialiased rendering  Relates to depth range, Fourier analysis  Fourer spectra derived for 2D light fields for simplicity. Same ideas extend to 4D

Siggraph’2000, July 27, 2000 A Geometrical Intuition Z min Z opt Camera iCamera i+1

Siggraph’2000, July 27, 2000 A Geometrical Intuition Z min Z opt Camera iCamera i+1 Disparity Error < 1 Pixel Rendering Camera

Siggraph’2000, July 27, 2000 A Constant Plane Z vt t v Z1Z1 Z1Z1

Siggraph’2000, July 27, 2000 Two Constant Planes Z vt Z1Z1 Z2Z2 t v Z1Z1 Z2Z2

Siggraph’2000, July 27, 2000 Between Two Planes Z vt t v Z1Z1 Z1Z1 Z2Z2 Z2Z2

Siggraph’2000, July 27, 2000 Between Two Planes Z vt t v Z1Z1 Z1Z1 Z2Z2 Z2Z2

Siggraph’2000, July 27, 2000 Light Field Reconstruction

Siggraph’2000, July 27, 2000 Minimum Sampling Curve Joint Image and Geometry Space Minimum Sampling Curve Number of Depth Layers Accurate Depth Number of Images 2x2 8x8 4x4 16x16 32x32

Frequency Analysis and Sheared Reconstruction for Rendering Motion Blur Kevin Egan Yu-Ting Tseng Nicolas Holzschuch Frédo Durand Ravi Ramamoorthi Columbia University INRIA -- LJK MIT CSAIL University of California, Berkeley

Observation Motion blur is expensive Motion blur removes spatial complexity

Basic Example Object not moving x y SPACE f(x, y)f(x, t) Space-time graph TIME

Basic Example x y t x f(x, t) Low velocity, t  [ 0.0, 1.0 ] f(x, y)

Basic Example x y t x f(x, t) High velocity, t  [ 0.0, 1.0 ] f(x, y)

Shear in Space-Time x y t x f(x, t) Object moving with low velocity f(x, y) shear

Shear in Space-Time x y t x Object moving with high velocity f(x, y)f(x, t)

Shear in Space-Time Object moving away from camera x y t x f(x, y)f(x, t)

Basic Example Applying shutter blurs across time x y t x f(x, y)f(x, t)

Basic Example – Fourier Domain Fourier spectrum, zero velocity t x f(x, t)F(Ω x, Ω t ) texture bandwidth ΩtΩt ΩxΩx

Basic Example – Fourier Domain Low velocity, small shear in both domains f(x, t)F(Ω x, Ω t ) t x slope = -speed ΩtΩt ΩxΩx

Basic Example – Fourier Domain Large shear f(x, t)F(Ω x, Ω t ) t x ΩtΩt ΩxΩx

Basic Example – Fourier Domain Non-linear motion, wedge shaped spectra f(x, t) ΩtΩt ΩxΩx F(Ω x, Ω t ) t x shutter bandlimits in time -min speed -max speed shutter applies blur across time indirectly bandlimits in space

Sampling in Fourier Domain ΩtΩt ΩxΩx t x + Sampling produces replicas in Fourier domain Sparse sampling produces dense replicas Fourier DomainPrimal Domain

Standard Reconstruction Filtering Standard filter, dense sampling (slow) ΩtΩt no aliasing ΩxΩx Fourier Domain replicas

Standard Reconstruction Filter Standard filter, sparse sampling (fast) ΩtΩt Fourier Domain aliasing ΩxΩx

Sheared Reconstruction Filter Our sheared filter, sparse sampling (fast) ΩtΩt ΩxΩx No aliasing! Fourier Domain

Sheared Reconstruction Filter Compact shape in Fourier = wide in primal t x Primal Domain ΩtΩt ΩxΩx Fourier Domain

Car Scene Stratified Sampling 4 samples per pixel Our Method, 4 samples per pixel

Teapot Scene Our Method 8 samples / pix motion blurred reflection

Reflection as Convolution  My PhD thesis (A signal-processing framework for forward and inverse rendering Stanford 2002)  Rewrite reflection equation on curved surfaces as a convolution with frequency-space product form  Theoretical underpinning for much work on relighting (next lecture), limits of inverse problems  Low-dimensional lighting models for Lambertian

Assumptions  Known geometry  Convex curved surfaces: no shadows, interreflection  Distant illumination  Homogeneous isotropic materials Later precomputed methods: relax many assumptions

Reflection Lighting L Reflected Light Field BRDF B 

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

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

Reflection as Convolution (2D) L B L B

Convolution x Signal f(x) Filter g(x) Output h(u) u

Convolution x Signal f(x) Filter g(x) Output h(u) u u1u1

Convolution x Signal f(x) Filter g(x) Output h(u) u u2u2

Convolution x Signal f(x) Filter g(x) Output h(u) u u3u3

Convolution x Signal f(x) Filter g(x) Output h(u) u Fourier analysis

Reflection as Convolution (2D) Frequency: product Spatial: integral Fourier analysis R. Ramamoorthi and P. Hanrahan “Analysis of Planar Light Fields from Homogeneous Convex Curved Surfaces under Distant Illumination” SPIE Photonics West 2001: Human Vision and Electronic Imaging VI pp L B L B

Spherical Harmonics

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

Insights: Signal Processing 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] 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 is Delta function : Output = Filter Point Light Source : Images = BRDF [Marschner et al. 00]

Amplitude Frequency Roughness Phong, Microfacet Models Mirror Illumination estimation ill-posed for rough surfaces Analytic formulae in R. Ramamoorthi and P. Hanrahan “A Signal-Processing Framework for Inverse Rendering” SIGGRAPH 2001 pp

Lambertian Incident radiance (mirror sphere) Irradiance (Lambertian) N R. Ramamoorthi and P. Hanrahan “On the Relationship between Radiance and Irradiance: Determining the Illumination from Images of a Convex Lambertian Object” Journal of the Optical Society of America A 18(10) Oct 2001 pp R. Basri and D. Jacobs “Lambertian Reflectance and Linear Subspaces” ICCV 2001 pp

9 Parameter Approximation Exact image Order 2 9 terms RMS Error = 1% For any illumination, average error < 3% [Basri Jacobs 01] Ramamoorthi and Hanrahan 01b

Convolution for general materials Ramamoorthi and Hanrahan 01 Frequency: product Spatial: integral Spherical harmonic analysis

Real-Time Rendering Motivation: Interactive rendering with natural illumination and realistic, measured materials Ramamoorthi and Hanrahan 02

Normal Map Filtering and Rendering Han, Sun, Ramamoorthi, Grinspun 07

More Frequency Analysis  Many other papers  Shadows: Soler and Sillion 98, Ramamoorthi et al. 04  Gradients: Ward, Heckbert, Arvo, Igehy, Holzschuch, Chen, Ramamoorthi, …  Wavelets: Gortler et al. 93, …, Ng et al. 03  Full frequency analysis of light transport  Durand et al. 05  Space and Angle, generalizes previous work  Many recent papers in computational imaging [Levin et al. 08, 09]