Mosaics, Plenoptic Function, and Light Field Rendering. Last Lecture

Similar documents
Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

Radiometry. Reflectance & Lighting. Solid Angle. Radiance. Radiance Power is energy per unit time

More and More on Light Fields. Last Lecture

Reflectance & Lighting

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface.

Image Formation: Light and Shading. Introduction to Computer Vision CSE 152 Lecture 3

And if that 120MP Camera was cool

Announcements. Image Formation: Light and Shading. Photometric image formation. Geometric image formation

Announcements. Rotation. Camera Calibration

A question from Piazza

Cameras and Radiometry. Last lecture in a nutshell. Conversion Euclidean -> Homogenous -> Euclidean. Affine Camera Model. Simplified Camera Models

Announcements. Image Formation: Outline. Homogenous coordinates. Image Formation and Cameras (cont.)

Understanding Variability

Capturing light. Source: A. Efros

Introduction to Computer Vision. Introduction CMPSCI 591A/691A CMPSCI 570/670. Image Formation

Announcements. Radiometry and Sources, Shadows, and Shading

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008)

CS-184: Computer Graphics. Today. Lecture 22: Radiometry! James O Brien University of California, Berkeley! V2014-S

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

Radiometry and reflectance

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3.

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

CS184 LECTURE RADIOMETRY. Kevin Wu November 10, Material HEAVILY adapted from James O'Brien, Brandon Wang, Fu-Chung Huang, and Aayush Dawra

Lecture 22: Basic Image Formation CAP 5415

Reflection models and radiometry Advanced Graphics

The Light Field. Last lecture: Radiometry and photometry

Announcements. Lighting. Camera s sensor. HW1 has been posted See links on web page for readings on color. Intro Computer Vision.

Measuring Light: Radiometry and Cameras

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

Vision Review: Image Formation. Course web page:

Paths, diffuse interreflections, caching and radiometry. D.A. Forsyth

Illumination and Shading - II

DD2423 Image Analysis and Computer Vision IMAGE FORMATION. Computational Vision and Active Perception School of Computer Science and Communication

Image Based Rendering. D.A. Forsyth, with slides from John Hart

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

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

Structure from Motion and Multi- view Geometry. Last lecture

Light Field Spring

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

Discriminant Functions for the Normal Density

Visual Recognition: Image Formation

Rendering Light Reflection Models

Real-time Generation and Presentation of View-dependent Binocular Stereo Images Using a Sequence of Omnidirectional Images

CS6670: Computer Vision

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

CS 684 Fall 2005 Image-based Modeling and Rendering. Ruigang Yang

CS201 Computer Vision Lect 4 - Image Formation

Lighting and Reflectance COS 426

Image Formation. Antonino Furnari. Image Processing Lab Dipartimento di Matematica e Informatica Università degli Studi di Catania

COSC579: Scene Geometry. Jeremy Bolton, PhD Assistant Teaching Professor

Lighting. Camera s sensor. Lambertian Surface BRDF

Announcements. Camera Calibration. Thin Lens: Image of Point. Limits for pinhole cameras. f O Z

EE Light & Image Formation

Global Illumination The Game of Light Transport. Jian Huang

CSE 252B: Computer Vision II

Photometric Stereo.

Lecture 7 - Path Tracing

Computer Vision cmput 428/615

Homogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important.

Visual Appearance and Color. Gianpaolo Palma

Lights, Surfaces, and Cameras. Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons

Global Illumination. CSCI 420 Computer Graphics Lecture 18. BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch

Light Field = Radiance(Ray)

Image-Based Rendering and Light Fields

Realistic Camera Model

Module 5: Video Modeling Lecture 28: Illumination model. The Lecture Contains: Diffuse and Specular Reflection. Objectives_template

CS4670: Computer Vision

CS6670: Computer Vision

Introduction to Radiosity

BRDF Computer Graphics (Spring 2008)

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

CS6670: Computer Vision

Lighting affects appearance

Determining Reflectance Parameters and Illumination Distribution from a Sparse Set of Images for View-dependent Image Synthesis

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

Image-Based Rendering. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen

Rays and Throughput. The Light Field. Page 1

Measuring Light: Radiometry and Photometry

Real Time Rendering. CS 563 Advanced Topics in Computer Graphics. Songxiang Gu Jan, 31, 2005

Engineered Diffusers Intensity vs Irradiance

Measuring Light: Radiometry and Photometry

Today s lecture. Image Alignment and Stitching. Readings. Motion models

THE goal of rendering algorithms is to synthesize images of virtual scenes. Global illumination

3D model reconstruction using photoconsistency

Perspective Projection [2 pts]

Computer Vision Projective Geometry and Calibration. Pinhole cameras

Image formation. Thanks to Peter Corke and Chuck Dyer for the use of some slides

Image-based modeling (IBM) and image-based rendering (IBR)

Rendering Light Reflection Models

2/1/10. Outline. The Radiance Equation. Light: Flux Equilibrium. Light: Radiant Power. Light: Equation. Radiance. Jan Kautz

Shading & Material Appearance

Image-based Modeling and Rendering: 8. Image Transformation and Panorama

Modeling Light. Michal Havlik

Draft from Graphical Models and Image Processing, vol. 58, no. 5, September Reflectance Analysis for 3D Computer Graphics Model Generation

Camera Models and Image Formation. Srikumar Ramalingam School of Computing University of Utah

Image-Based Rendering. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen

CS667 Lecture Notes: Radiometry

Electromagnetic waves and power spectrum. Rays. Rays. CS348B Lecture 4 Pat Hanrahan, Spring 2002

Transcription:

Mosaics, Plenoptic Function, and Light Field Rendering Topics in Image-ased Modeling and Rendering CSE291 J00 Lecture 3 Last Lecture Camera Models Pinhole perspective Affine/Orthographic models Homogeneous coordinates Coordinate transforms Lenses Radiometry Irradiance Radiance RDF 1

Pinhole cameras Abstract camera model - box with a small hole in it Pinhole cameras work in practice The equation of projection: Mapping from 3-D world coordinates to 2-D image coordinates Cartesian coordinates: We have, by similar triangles, that (x, y, z) -> (f x/z, f y/z, -f) Ignore the third coordinate, and get (x, y,z) ( f x z, f y z ) 2

The camera matrix Turn previous expression into Homogenous Coordinates HC s for 3D point are (X,Y,Z,T) HC s for point in image are (U,V,W) U 1 0 0 0 X V = 0 1 0 0 Y W 0 0 1 Z f 0 T Affine Camera Model Take Perspective projection equation, and perform Taylor Series Expansion about (some point (x 0,y 0,z 0 ). Drop terms of higher order than linear. Resulting expression is affine camera model 3

Orthographic projection Take Taylor series about (0, 0, z 0 ) a point on optical axis Coordinate Changes: Rigid Transformations A P = AR P + O A 4

lock Matrix Multiplication A A = A 11 21 A A 12 22 = 11 21 12 22 What is A? A A = A 11 21 11 11 + A + A 12 22 21 21 A A 11 21 12 12 + A + A 12 22 22 22 Homogeneous Representation of Rigid Transformations P A R = T 1 0 A A OA P AR P + O = 1 1 1 = A A T P 1 A Camera parameters Issue camera may not be at the origin, looking down the z-axis extrinsic parameters one unit in camera coordinates may not be the same as one unit in world coordinates intrinsic parameters - focal length, principal point, aspect ratio, angle between axes, etc. X U Transformation 1 0 0 0 Transformation V = Y representing 0 1 0 0 representing Z W intrinsic parameters 0 0 1 0 extrinsic parameters T 3 x 3 4 x 4 5

The reason for lenses Thin Lens: Image of Point P F Z f O Z 1 1 z' z = 1 f P 6

Radiometry Solid Angle Irradiance Radiance RDF Lambertian/Phong RDF Solid Angle y analogy with angle (in radians), the solid angle subtended by a region at a point is the area projected on a unit sphere centered at that point The solid angle subtended by a patch area da is given by dacosθ dω = 2 r 7

Radiance Power is energy per unit time Radiance: Power traveling at some point in a specified direction, per unit area perpendicular to the direction of travel, per unit solid angle Symbol: L(x,θ,φ) Units: watts per square meter per steradian : w/(m 2 sr 1 ) q L = x da dw P ( dacosθ ) dω How much light is arriving at a surface? E(x) Units w/m 2 Incident power per unit area not foreshortened This is a function of incoming angle. A surface experiencing radiance L(x,θ,φ) coming in from solid angle dω experiences irradiance: L L(x,θ,φ) ( x, θ, φ ) cosφdω φ N Irradiance Crucial property: Total power arriving at the surface is given by adding irradiance over all incoming angles Total power is Ω L ( x, θ, φ) cosφ sinθdθ dφ x x 8

Radiance transfer What is the power received by a small area da 2 at distance r from a small emitting area da 1? From definition of radiance L = P ( dacosθ ) dω L P = r da1 da 2 2 cosθ1 cos From definition of solid angle dacosθ dω = 2 r θ 2 With assumptions in previous slide i-directional Reflectance Distribution Function ρ(θ in, φ in ; θ out, φ out ) Ratio of incident irradiance to emitted radiance Function of Incoming light direction: θ in, φ in Outgoing light direction: θ out, φ out ρ ( x θ, φ ; θ, φ ) ; in in out out = L RDF i (θ in,φ in ) Lo ( x; θout, φout) ( x; θ, φ ) cosφ dω in in in ^n (θ out,φ out ) 9

Surface Reflectance Models Common Models Lambertian Phong Physics-based Specular [linn 1977], [Cook-Torrance 1982], [Ward 1992] Diffuse [Hanrahan, Kreuger 1993] Generalized Lambertian [Oren, Nayar 1995] Thoroughly Pitted Surfaces [Koenderink et al 1999] Phenomenological [Koenderink, Van Doorn 1996] Arbitrary Reflectance Non-parametric model Anisotropic Non-uniform over surface RDF Measurement al, 1999], [Marschner ] [Dana et Rough Specular Surface Phong Lobe 10

Announcements Mailing list: cse291-j@cs.ucsd.edu Has been setup with class list as of Sunday night. If you re not on it, and want to be added (e.g. auditing, and not on course list, send the email msg to majordomo@cs.ucsd.edu with body saying: subscribe cse291-j my_email@something.something Class presentations: requests from Sameer Agarwal Jin-Su Kim Satya Mallick Peter Schwer Diem Vu Cindy Wang Yang Yu This lecture S. Chen, Quicktime VR - an image-based approach to virtual environment navigation, SIGGRAPH, pages 29-38, Los Angeles, California, August 1995. E. H. Adelson and J. R. ergen. The plenoptic function and the elements of early vision. In M. Landy and J. A. Movshon, editors, Computational Models of Visual Processing, pages 3-20. MIT Press, Cambridge, MA, 1991. S. J. Gortler, R. Grzeszczuk, R. Szeliski,M. F. Cohen The Lumigraph, SIGGRAPH, pp 43--54, 1996 M. Levoy, P. Hanrahan Light Field Rendering, SIGGRAPH, 1996 11

Next few slides courtesy Paul Debevec; SIGGRAPH 99 course notes 12

13

Mosaics & Quicktime VR S. Chen, Quicktime VR - An image-based approach to virtual environment navigation, SIGGRAPH, pages 29-38, Los Angeles, California, August 1995. 14

View Synthesis Without Motion Analysis (Peri and Nayar, 1997) (Shum and Szeliski, 1998) (Quicktime VR, Chen, 1995) Constructing Mosaic: Cylindrical images Easy to acquire with camera & tripod. Any two planar perspective projections of a scene which share a common viewpoint are related by a two-dimensional projective transform. u v w 2 2 2 a = a a 11 21 31 a a a 12 22 32 a a a 13 23 33 u1 v1 w 1 Can be estimated from a minimum of four points correspondences in two images. 15

Stitched panoramic image from photos Perspective view created from region 16

QuickTime VR continuous camera panning and zooming, jumping to selected points. cylindrical environment maps or panoramic images to accomplish camera rotation. Quicktime VR: Example http://www.pbs.org/wgbh/nova/pyramid/explore/khufuenter.html 17

Plenoptic Function From Leonard McMillan s, SIGGRAPH 99 course notes 18

From Leonard McMillan s, SIGGRAPH 99 course notes From Leonard McMillan s, SIGGRAPH 99 course notes 19

From Leonard McMillan s, SIGGRAPH 99 course notes From Leonard McMillan s, SIGGRAPH 99 course notes 20

Lumigraph/Lightfield S. J. Gortler, R. Grzeszczuk, R. Szeliski,M. F. Cohen, The Lumigraph, SIGGRAPH, pp 43--54, 1996 M. Levoy, P. Hanrahan, Light Field Rendering, SIGGRAPH, 1996. Historical roots in: Gershun, A., The Light Field, Moscow, 1936. Translated by P. Moon and G. Timoshenko in Journal of Mathematics and Physics, Vol. XVIII, MIT, 1939, pp. 51-151. Moon, P., Spencer, D.E., The Photic Field, MIT Press, 1981. Radiance properties In free space, radiance is constant as it propagates along a ray Derived from conservation of flux Fundamental in Light Transport. dφ = Ldω da = Ldω da = dφ 1 1 1 1 2 2 2 2 dω = da r dω = da r 2 2 1 2 2 1 dada dω da = = dω da r 1 2 1 1 2 2 2 L = L 1 2 21

Radiance is constant along straight lines Power 1->2, leaving 1: L( x 1,ϑ,ϕ)( da 1 cosϑ 1 ) da cosϑ 2 2 Power 1->2, arriving at 2: r 2 L( x 2,ϑ,ϕ)( da 2 cosϑ 2 ) da 1 cosϑ 1 r 2 ut these must be the same, so that the two radiances are equal 22

Light Field/Lumigraph Main Idea In free space, the 5-D plenoptic function can be reduced to a 4-D function (radiances) on the space of light rays. Camera images measure the radiance over a 2-D set a 2-D subset of the 4-D light field. Rendered images are also a 2-D subset of the 4-D lumigraph. 23