Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.

Slides:



Advertisements
Similar presentations
Announcements Project status reports on Wednesday prepare 5 minute ppt presentation should contain: –problem statement (1 slide) –description of approach.
Advertisements

Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #12.
Lecture 35: Photometric stereo CS4670 / 5670 : Computer Vision Noah Snavely.
Capturing light Source: A. Efros. Image formation How bright is the image of a scene point?
Measuring BRDFs. Why bother modeling BRDFs? Why not directly measure BRDFs? True knowledge of surface properties Accurate models for graphics.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Physically Based Illumination Models
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
Computer Vision - A Modern Approach Set: Radiometry Slides by D.A. Forsyth Radiometry Questions: –how “bright” will surfaces be? –what is “brightness”?
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Fall 2014.
Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
Lecture 23: Photometric Stereo CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein.
Announcements Midterm out today due in a week Project2 no demo session artifact voting TBA.
Capturing light Source: A. Efros. Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How.
Light Readings Forsyth, Chapters 4, 6 (through 6.2) by Ted Adelson.
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Lecture 30: Light, color, and reflectance CS4670: Computer Vision Noah Snavely.
3-D Computer Vision CSc83029 / Ioannis Stamos 3-D Computer Vision CSc Radiometry and Reflectance.
Radiometry, lights and surfaces
Light by Ted Adelson Readings Forsyth, Chapters 4, 6 (through 6.2)
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
Lecture 21: Light, reflectance and photometric stereo
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Lighting and Shading Week.
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.
Lecture 20: Light, reflectance and photometric stereo
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Lighting affects appearance. Light Source emits photons Photons travel in a straight line When they hit an object they: bounce off in a new direction.
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
Light and shading Source: A. Efros.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
CS 445 / 645: Introductory Computer Graphics
EECS 274 Computer Vision Light and Shading. Radiometry – measuring light Relationship between light source, surface geometry, surface properties, and.
MIT EECS 6.837, Durand and Cutler Local Illumination.
Analysis of Lighting Effects Outline: The problem Lighting models Shape from shading Photometric stereo Harmonic analysis of lighting.
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
Capturing light Source: A. Efros.
CS559: Computer Graphics Lecture 15: Hierarchical Modeling and Shading Li Zhang Spring 2008.
David Luebke 1 10/26/2015 Lighting CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Radiometry and Photometric Stereo 1. Estimate the 3D shape from shading information Can you tell the shape of an object from these photos ? 2.
Understanding the effect of lighting in images Ronen Basri.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2012.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai.
Lecture 34: Light, color, and reflectance CS4670 / 5670: Computer Vision Noah Snavely.
776 Computer Vision Jan-Michael Frahm Fall Capturing light Source: A. Efros.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Shading.
Cornell CS465 Spring 2004 Lecture 4© 2004 Steve Marschner 1 Shading CS 465 Lecture 4.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
Understanding the effect of lighting in images Ronen Basri.
Computer Graphics: Illumination
Announcements Project 3a due today Project 3b due next Friday.
MAN-522 Computer Vision Spring
Shading CS 465 Lecture 4 © 2004 Steve Marschner • 1.
Radiometry (Chapter 4).
© 2002 University of Wisconsin
Capturing light Source: A. Efros.
Announcements Project 3b due Friday.
Announcements Midterm Project2 Project3
Lecture 28: Photometric Stereo
Computer Graphics (Fall 2003)
Presentation transcript:

Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class

Lighting and Reflectance

The squares marked A and B are the same shade of gray

Lighting Lets go to paintbrush

Lighting Lighting can have a big effect on how an object looks.

Modeling the effect of lighting can be used for: Recognition – particularly face recognition Shape reconstruction Motion estimation Re-rendering / Re-lighting …

Lighting is Complex Lighting can come from any direction and at any strength Infinite degree of freedom

Capture lighting variation Illuminate subject from many incident directions From Ravi Ramamoorthi

Example images: From Ravi Ramamoorthi = …

From Ravi Ramamoorthi

Image brightness What determines the brightness of an image pixel? Light source properties Surface properties lighting Surface BRDF (local reflectance) Shadowing Inter-reflections (global reflectance)

What is light? Electromagnetic radiation (EMR) moving along rays in space R( ) is EMR, measured in units of power (watts) – is wavelength Light field We can describe all of the light in the scene by specifying the radiation (or “radiance” along all light rays) arriving at every point in space and from every direction

The light field Known as the plenoptic function If you know R, you can predict how the scene would appear from any viewpoint. Common to think of lighting at infinity (a function on the sphere, a 2D space) Usually drop and time parameters

What is light? Electromagnetic radiation (EMR) moving along rays in space R( ) is EMR, measured in units of power (watts) – is wavelength Perceiving light How do we convert radiation into “color”? What part of the spectrum do we see?

Visible light We “see” electromagnetic radiation in a range of wavelengths

Light spectrum The appearance of light depends on its power spectrum How much power (or energy) at each wavelength daylighttungsten bulb Our visual system converts a light spectrum into “color” This is a rather complex transformation

Light transport

Light sources Basic types point source Distant point source area source –a union of point sources More generally a light field can describe *any* distribution of light sources What happens when light hits an object?

Reflectance spectrum (albedo) To a first approximation, surfaces absorb some wavelengths of light and reflect others These spectra are multiplied by the spectra of the incoming light

Typical Reflections from Steve Marschner ideal specular Lambertianrough specular

What happens when a light ray hits an object? Some of the light gets absorbed converted to other forms of energy (e.g., heat) Some gets transmitted through the object possibly bent, through “refraction” a transmitted ray could possible bounce back Some gets reflected as we saw before, it could be reflected in multiple directions (possibly all directions) at once Let’s consider the case of reflection in detail

The BRDF The Bidirectional Reflection Distribution Function Given an incoming ray and outgoing ray what proportion of the incoming light is reflected along outgoing ray? Answer given by the BRDF: surface normal

Constraints on the BRDF Energy conservation Quantity of outgoing light ≤ quantity of incident light –integral of BRDF ≤ 1 Helmholtz reciprocity reversing the path of light produces the same reflectance =

Diffuse (Lambertian) reflection Diffuse reflection Dull, matte surfaces like chalk or latex paint Microfacets scatter incoming light randomly Effect is that light is reflected equally in all directions

Diffuse reflection governed by Lambert’s law Viewed brightness does not depend on viewing direction Brightness does depend on direction of illumination This is the model most often used in computer vision Diffuse reflection L, N, V unit vectors I e = outgoing radiance I i = incoming radiance Lambert’s Law: BRDF for Lambertian surface

For a perfect mirror, light is reflected about N Specular reflection Near-perfect mirrors have a highlight around R common model:

Specular reflection Moving the light source Changing n s

Phong illumination model Phong approximation of surface reflectance Assume reflectance is modeled by three components –Diffuse term –Specular term –Ambient term (to compensate for inter-reflected light) L, N, V unit vectors I e = outgoing radiance I i = incoming radiance I a = ambient light k a = ambient light reflectance factor (x) + = max(x, 0)

BRDF models Phenomenological Phong [75] Ward [92] Lafortune et al. [97] Ashikhmin et al. [00] Physical Cook-Torrance [81] Dichromatic [Shafer 85] He et al. [91] Here we’re listing only some well-known examples

Next time Photometric Stereo Project 3 is due on Feb 26 Don’t forget to take panorama kit from Stephen