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

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

Announcements. Radiometry and Sources, Shadows, and Shading

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

And if that 120MP Camera was cool

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

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

A question from Piazza

Reflectance & Lighting

Announcements. Rotation. Camera Calibration

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

Lecture 22: Basic Image Formation CAP 5415

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

Understanding Variability

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

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

Capturing light. Source: A. Efros

Photometric Stereo.

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

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

Radiometry and reflectance

Sources, shadows and shading

Radiometry Measuring Light

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

Lighting affects appearance

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

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

Lighting affects appearance

Measuring Light: Radiometry and Cameras

CS6670: Computer Vision

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

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Global Illumination The Game of Light Transport. Jian Huang

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

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

Starting this chapter

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

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

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

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

Measuring Light: Radiometry and Photometry

CS 5625 Lec 2: Shading Models

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

BRDF Computer Graphics (Spring 2008)

CS6670: Computer Vision

Assignment #2. (Due date: 11/6/2012)

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

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

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

Lecture 7 - Path Tracing

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Ligh%ng and Reflectance

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

The Rendering Equation. Computer Graphics CMU /15-662

Radiometry. Computer Graphics CMU /15-662, Fall 2015

Illumination and Shading - II

Shading / Light. Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham

Measuring Light: Radiometry and Photometry

Lighting. Camera s sensor. Lambertian Surface BRDF

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

Shading & Material Appearance

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

Rendering Light Reflection Models

Reflection models and radiometry Advanced Graphics

3D Computer Vision. Photometric stereo. Prof. Didier Stricker

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

CS201 Computer Vision Lect 4 - Image Formation

CSE 681 Illumination and Phong Shading

CS5670: Computer Vision

Radiometry (From Intro to Optics, Pedrotti 1-4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Assume a black

Light Reflection Models

CS667 Lecture Notes: Radiometry

Shading. Brian Curless CSE 557 Autumn 2017

Illumination. Illumination CMSC 435/634

Global Illumination. Frank Dellaert Some slides by Jim Rehg, Philip Dutre

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

Sung-Eui Yoon ( 윤성의 )

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

Local vs. Global Illumination & Radiosity

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

EE Light & Image Formation

Other approaches to obtaining 3D structure

Local Reflection Models

Rendering Light Reflection Models

A Brief Overview of. Global Illumination. Thomas Larsson, Afshin Ameri Mälardalen University

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

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

surface: reflectance transparency, opacity, translucency orientation illumination: location intensity wavelength point-source, diffuse source

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

LIGHTING AND SHADING

Lighting and Reflectance COS 426

Lecture 4: Reflection Models

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

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model

Philpot & Philipson: Remote Sensing Fundamentals Interactions 3.1 W.D. Philpot, Cornell University, Fall 12

Epipolar geometry contd.

CS770/870 Spring 2017 Radiosity

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

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

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

The Rendering Equation. Computer Graphics CMU /15-662, Fall 2016

Transcription:

Announcements Image Formation: Light and Shading Homework 0 is due Oct 5, 11:59 PM Homework 1 will be assigned on Oct 5 Reading: Chapters 2: Light and Shading CSE 252A Lecture 3 Geometric image formation Photometric image formation Radiometry Solid Angle Irradiance Radiance Bidirectional Reflectance Distribution Function (BRDF) Appearance: lighting, surface reflectance, and shading 1

Foreshortening The surface is foreshortened by the cosine of the angle between the normal and direction to the light. A local coordinate system on a surface Consider a point P on the surface Light arrives at P from a hemisphere of directions defined by the surface normal We can define a local coordinate system whose origin is P and with one axis aligned with Convenient to represent in spherical angles. P Measuring Angle Solid Angle By 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 an object from a point P is the area of the projection of the object onto the unit sphere centered at P. Definition is analogous to projected angle in 2D Measured in steradians, sr If I m at P, and I look out, solid angle tells me how much of my view is filled with an object The solid angle subtended by a patch area da is given by dacos d 2 r Radiance Power is energy per unit time (watts) 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 = W m -2 sr -1 L x da d P (dacos)d Power emitted from patch, but radiance in direction different from surface normal How much light is arriving at a surface? Units of irradiance: W/m 2 = W m -2 This is a function of incoming angle. A surface experiencing radiance L(x) coming in from solid angle d experiences irradiance: E( x) L L(x, x,, cosd x Irradiance Crucial property: Total Irradiance arriving at the surface is given by adding irradiance over all incoming angles Total irradiance is 2 /2 0 0 L x,, cosd hemisphere L x,, cos sind d x 2

Camera s sensor Measured pixel intensity is a function of irradiance integrated over pixel s area over a range of wavelengths for some period of time I E( x, y,, t) s( x, y) q( ) dydxd t x y dt Many effects when light strikes a surface -- could be: transmitted Skin, glass reflected mirror scattered milk travel along the surface and leave at some other point absorbed sweaty skin Light at surfaces Assume that surfaces don t fluoresce e.g., scorpions, detergents surfaces don t emit light (i.e., are cool) all the light leaving a point is due to that arriving at that point Surface Reflectance Models Common Models Lambertian Phong Physics-based Specular [Blinn 1977], [Cook-Torrance 1982], [Ward 1992] Diffuse [Hanrahan, Kreuger 1993] Generalized Lambertian [Oren, ayar 1995] Thoroughly Pitted Surfaces [Koenderink et al 1999] Phenomenological [Koenderink, Van Doorn 1996] Arbitrary Reflectance on-parametric model Anisotropic on-uniform over surface BRDF Measurement [Dana et al, 1999], [Marschner ] Specialized Hair, skin, threads, paper [Jensen et al] Lambertian (Diffuse) Surface BRDF is a constant called the albedo. x; in, in ; out, out K Emitted radiance is OT a function of outgoing direction i.e., constant in all directions. For lighting coming in single direction, emitted radiance is proportional to cosine of the angle between normal and light direction L r = K. Specular Reflection: Smooth Surface 3

on-lambertian reflectance General BRDF: e.g. Velvet Portrait of Sir Thomas Morre, Hans Holbein the Younger, 1527 [ After Koenderink et al, 1998 ] BRDF With assumptions in previous slide Bi-directional Reflectance Distribution Function ( in, in ; out, out ) Ratio of emitted radiance to incident irradiance (units: sr -1 ) ( in, in ) ^n Ways to measure BRDF s Function of Incoming light direction: in, in Outgoing light direction: out, out x; in, in; out, out L Lo x; out, out x;, cos d i in in in ( out, out ) Where ρ is sometimes denoted f r. Gonioreflectometers Gonioreflectometers Three degrees of freedom spread among light source, detector, and/or sample Three degrees of freedom spread among light source, detector, and/or sample 4

Isotropic BRDF Anisotropic BRDF From Hertzmann & Seitz, CVPR 03 Isotropic BRDF s are symmetric about the surface normal. If the surface is rotated about the normal for the same incident and emitting directions, the value of the BRDF is the same. From Hertzmann & Seitz, CVPR 03 Gonioreflectometers Marschner s Image-Based BRDF Measurement Can add fourth degree of freedom to measure anisotropic BRDFs For uniform BRDF, capture 2-D slice corresponding to variations in normals Ward s BRDF Measurement Setup Ward s BRDF Measurement Setup Collect reflected light with hemispherical (should be ellipsoidal) mirror [SIGGRAPH 92] Result: each image captures light at all exitant angles 5

Light sources and shading Radiosity due to a point source How bright (or what color) are objects? One more definition: Exitance of a source is the internally generated power radiated per unit area on the radiating surface Also referred to as radiant emittance Similar to irradiance Same units, W/m 2 = W m -2 small, distant sphere radius and exitance E, which is far away subtends solid angle of about 2 d Standard nearby point source model Standard distant point source model d x x Sx 2 rx S is the surface normal is diffuse (Lambertian) albedo S is source vector - a vector from x to the source, whose length is the intensity term works because a dotproduct is basically a cosine Issue: nearby point source gets bigger if one gets closer the sun doesn t for any reasonable meaning of closer Assume that all points in the model are close to each other with respect to the distance to the source. Then the source vector doesn t vary much, and the distance doesn t vary much either, and we can roll the constants together to get: S x x Sx d Lighting at infinity Shadows cast by a point source Direction is a three vector s, with s = 1. Described as function on a sphere: radiance as a function of direction r(s) Single point source is a delta function at some direction Multiple point sources: sum of delta functions A point that can t see the source is in shadow For point sources, the geometry is simple Cast Shadow Attached Shadow 6

Shading models Image sensors Local shading model Surface has incident radiance due only to sources visible at each point Advantages: often easy to manipulate, expressions easy supports quite simple theories of how shape information can be extracted from shading Used in vision & real time graphics Global shading model surface radiosity is due to radiance reflected from other surfaces as well as from surfaces Advantages: usually very accurate Disadvantage: extremely difficult to infer anything from shading values Rarely used in vision, often in photorealistic graphics Two types : 1. CCD 2. CMOS CCD Separate photo sensor at regular positions no scanning Charge-coupled devices (CCDs) interline transfer and frame transfer CMOS Each photo sensor has its own amplifier More noise (reduced by subtracting black image) Lower sensitivity (lower fill rate) Uses standard CMOS technology Allows other components to be put on chip Smart pixels photosensitive storage CCD vs. CMOS Color Cameras Mature technology Specific technology High production cost High power consumption Higher fill rate Blooming Sequential readout Recent technology Standard IC technology Cheap Low power Less sensitive Per pixel amplification Random pixel access Smart pixels On chip integration with other components We consider 3 concepts: 1. Prism (with 3 sensors) 2. Filter mosaic 3. Filter wheel and X3 7

Prism color camera Separate light in 3 beams using dichroic prism Requires 3 sensors & precise alignment Good color separation Filter mosaic Coat filter directly on sensor Demosaicing (obtain full color & full resolution image) Filter wheel Rotate multiple filters in front of lens Allows more than 3 color bands Prism vs. mosaic vs. wheel approach # sensors Separation Cost Framerate Artifacts Bands Prism 3 High High High Low 3 Mosaic 1 Average Low High Aliasing 3 Wheel 1 Good Average Low Motion 3 or more Only suitable for static scenes High-end cameras Low-end cameras Scientific applications newer color CMOS sensor Foveon s X3 Sigma, Fujifilm Digital Camera better image quality smarter pixels 8

ext Lecture Photometric Stereo Reading: Section 2.2.4: Photometric Stereo Shape from Multiple Shaded Images 9