Light transport matrices

Similar documents
Computational light transport

More computational light transport

Light Transport CS434. Daniel G. Aliaga Department of Computer Science Purdue University

3D Shape and Indirect Appearance By Structured Light Transport

Photometric stereo , , Computational Photography Fall 2018, Lecture 17

Stereo and structured light

Tracking Computer Vision Spring 2018, Lecture 24

Why is computer vision difficult?

Inverse Light Transport (and next Separation of Global and Direct Illumination)

CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein. Lecture 23: Photometric Stereo

Lecture 22: Basic Image Formation CAP 5415

Radiometry and reflectance

CS635 Spring Department of Computer Science Purdue University

Image warping , , Computational Photography Fall 2017, Lecture 10

Capturing light. Source: A. Efros

Precomputation-Based Real-Time Rendering

Motivation. My General Philosophy. Assumptions. Advanced Computer Graphics (Spring 2013) Precomputation-Based Relighting

CS4670: Computer Vision

Announcements. Photometric Stereo. Shading reveals 3-D surface geometry. Photometric Stereo Rigs: One viewpoint, changing lighting

CS635 Spring Department of Computer Science Purdue University

Computational Imaging for Self-Driving Vehicles

3D Photography: Stereo

Structured light , , Computational Photography Fall 2017, Lecture 27

Photometric Stereo.

Templates, Image Pyramids, and Filter Banks

Global Illumination. COMP 575/770 Spring 2013

CS5670: Computer Vision

Focal stacks and lightfields

Other approaches to obtaining 3D structure

Introduction to Computer Vision. Week 8, Fall 2010 Instructor: Prof. Ko Nishino

Epipolar geometry contd.

Two-view geometry Computer Vision Spring 2018, Lecture 10

CS6670: Computer Vision

CS6670: Computer Vision

3D Photography: Active Ranging, Structured Light, ICP

Using a Raster Display Device for Photometric Stereo

Integrated three-dimensional reconstruction using reflectance fields

Re-rendering from a Dense/Sparse Set of Images

Non-line-of-sight imaging

Feature Tracking and Optical Flow

Matrices. A Matrix (This one has 2 Rows and 3 Columns) To add two matrices: add the numbers in the matching positions:

Prof. Trevor Darrell Lecture 18: Multiview and Photometric Stereo

Geometric camera models and calibration

A Frequency Analysis of Light Transport

x = 12 x = 12 1x = 16

Image gradients and edges April 11 th, 2017

IMAGE-BASED RENDERING AND ANIMATION

Image gradients and edges April 10 th, 2018

PetShop (BYU Students, SIGGRAPH 2006)

Outline of Lecture. Real-Time High Quality Rendering. Geometry or Vertex Pipeline. Basic Hardware Pipeline. Pixel or Fragment Pipeline

Feature Tracking and Optical Flow

Multiple View Geometry

Illuminating the Big Picture

Finite Math - J-term Homework. Section Inverse of a Square Matrix

Probabilistic PPM. Claude Knaus Matthias Zwicker University of Bern. State of the Art in Photon Density Estimation

CSCI-6962 Advanced Computer Graphics

Dense 3D Reconstruction. Christiano Gava

Non-line-of-sight imaging

Computational Photography

Video Mosaics for Virtual Environments, R. Szeliski. Review by: Christopher Rasmussen

Image-based Lighting

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

CS201 Computer Vision Lect 4 - Image Formation

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Applications: Sampling/Reconstruction. Sampling and Reconstruction of Visual Appearance. Motivation. Monte Carlo Path Tracing.

Digital Image Processing COSC 6380/4393

Projective Geometry and Camera Models

CS664 Lecture #18: Motion

CS : Assignment 2 Real-Time / Image-Based Rendering

Computer Vision. The image formation process

Recovering illumination and texture using ratio images

Image correspondences and structure from motion

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

Lecture 20: Tracking. Tuesday, Nov 27

Rendering Synthetic Objects into Real Scenes. based on [Debevec98]

Skeleton Cube for Lighting Environment Estimation

Photometric Stereo. Lighting and Photometric Stereo. Computer Vision I. Last lecture in a nutshell BRDF. CSE252A Lecture 7

Luxo Jr. Plan. Team. Movies. Why Computer Graphics? Introduction to Computer Graphics. Pixar Animation Studios, 1986 Director: John Lasseter

Image Processing 1 (IP1) Bildverarbeitung 1

Image gradients and edges

ME/CS 132: Introduction to Vision-based Robot Navigation! Low-level Image Processing" Larry Matthies"

Dense 3D Reconstruction. Christiano Gava

The Rendering Equation & Monte Carlo Ray Tracing

CSE 167: Introduction to Computer Graphics. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

What is Computer Vision? Introduction. We all make mistakes. Why is this hard? What was happening. What do you see? Intro Computer Vision

General course information

CS 283: Assignment 3 Real-Time / Image-Based Rendering

Lecture 10: Multi view geometry

STA141C: Big Data & High Performance Statistical Computing

Single-view 3D Reconstruction

Linear Algebra Review

Photometric Stereo. Photometric Stereo. Shading reveals 3-D surface geometry BRDF. HW3 is assigned. An example of photometric stereo

Lecture 6: Edge Detection

Traditional Image Generation. Reflectance Fields. The Light Field. The Light Field. The Light Field. The Light Field

Announcements. Radiometry and Sources, Shadows, and Shading

Image transformations. Prof. Noah Snavely CS Administrivia

Radiometric Compensation using Stratified Inverses

Stereo Wrap + Motion. Computer Vision I. CSE252A Lecture 17

Transcription:

Light transport matrices http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 18

Course announcements Homework 5 has been posted. - Due on Friday November 9 th. Any problems with homework 4? No elevator pitch presentations for final projects. Extra office hours this week: - Monday 1:30-3:30 pm. - Tuesday noon-2:00 pm. - Friday s office hours will be held by Alankar. Great talk this Thursday: Eric Fossum, inventor of the CMOS sensor, will talk about quantum (i.e., photon-counting) CMOS sensors.

Overview of today s lecture Leftover from last time: Generalized bas-relief ambiguity. The light transport matrix. Image-based relighting. Photometric stereo revisited. Optical computing using the light transport matrix. Dual photography.

Slide credits These slides were directly adapted from: Matt O Toole (CMU).

The light transport matrix

How do these three images relate to each other?

How do these three images relate to each other?

why is the error not exactly zero?

light transport matrix Can you think of a case where we have a very large m?

Use a projector What does each row and column of T correspond to here?

Use a projector How would you go about measuring the light transport matrix?

Image-based relighting

Let s say I have measured T. What does it mean to right-multiply it with some vector l?

Image-based relighting: Use the measurements I already have of the scene (the pictures I took when measuring T) to simulate new illuminations of the scene.

Great https://www.youtube.com/watch? demonstration: https://www.youtube.com/watch?v=mkzllz1txds

Photometric stereo revisited

What is this?

https://www.youtube.com/watch? v=4gilaotjhno

Optical computing using the light transport matrix

What do we call these patterns?

How would you measure the light transport matrix T?

How would you measure the light transport matrix T? Exhaustive/naïve approach: turn on projector pixels one at a time and take a photo for each of them. What does each photo correspond to in T?

How would you measure the light transport matrix T? Exhaustive/naïve approach: turn on projector pixels one at a time and take a photo for each of them. How many photos do we need to capture?

Inverse transport

How do you solve this problem if you know the light transport matrix T?

What do we do here?

What if T is not invertible?

How do you usually solve for l when T is large?

Reminder from lecture 10: Gradient descent Given the loss function: E f = Gf v 2 Minimize by iteratively computing: f i+1 = f i η i r i, r i = v Af i, η i = ri T r i r i T Ar i for i = 0, 1,, N Is this cheaper than the pseudo-inverse approach? We never need to compute A, only its products with vectors f, r. Vectors f, r are images. Because A is the Laplacian matrix, these matrix-vector products can be efficiently computed using convolutions with the Laplacian kernel.

Gradient descent in this case Given the loss function: E f = Gf v 2 Minimize by iteratively computing: f i+1 = f i η i r i, r i = v Af i, η i = ri T r i r i T Ar i for i = 0, 1,, N Is this cheaper than the pseudo-inverse approach? We never need to compute A, only its products with vectors f, r. Vectors f, r are images. What are f, r in this case? Because A is the Laplacian matrix, these matrix-vector products can be efficiently computed using convolutions with the Laplacian kernel. How do we compute matrix-vector products efficiently in this case?

Dual photography

How do the light transport matrices for these two scenes relate to each other? https://www.youtube.com/watch?v=p5_tpq5ejfq

Helmholtz reciprocity: The two matrices are the transpose of each other. https://www.youtube.com/watch?v=p5_tpq5ejfq Great demonstration: https://www.youtube.com/watch?v=ev58ko3ifui

References Basic reading: Sloan et al., Precomputed radiance transfer for real-time rendering in dynamic, lowfrequency lighting environments, SIGGRAPH 2002. Ng et al., All-frequency shadows using non-linear wavelet lighting approximation, SIGGRAPH 2003. Seitz et al., A theory of inverse light transport, ICCV 2005. These three papers all discuss the concept of light transport matrix in detail. Debevec et al., Acquiring the reflectance field of a human face, SIGGRAPH 2000. The paper on image-based relighting. Woodham et al., Photometric stereo: A reflectance map technique for determining surface orientation from image intensity, IUSIA 1979. The original photometric stereo paper. O Toole and Kutulakos, Optical computing for fast light transport analysis, SIGGRAPH Asia 2010. The paper on eigenanalysis and optical computing using light transport matrices. Sen et al., Dual photography, SIGGRAPH 2005. The dual photography paper. Additional reading: Peers et al., Compressive light transport sensing, TOG 2009. Wang et al., Kernel Nyström method for light transport, SIGGRAPH 2009. These two papers discuss alternative ways for efficient acquisition of the light transport matrix, using assumptions on its algebraic structure.