Basic Principles of Surface Reflectance

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Photometric Image Formation
Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Computer graphics & visualization Global Illumination Effects.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #12.
Capturing light Source: A. Efros. Image formation How bright is the image of a scene point?
Computer Graphics (Fall 2008) COMS 4160, Lecture 18: Illumination and Shading 1
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
16421: Vision Sensors Lecture 6: Radiometry and Radiometric Calibration Instructor: S. Narasimhan Wean 5312, T-R 1:30pm – 2:50pm.
RADIOSITY Submitted by CASULA, BABUPRIYANK. N. Computer Graphics Computer Graphics Application Image Synthesis Animation Hardware & Architecture.
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Physically Based Illumination Models
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
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”?
Torrance Sparrow Model of Reflectance + Oren Nayar Model of Reflectance.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Tamara Munzner Lighting/Shading II Week.
Rendering (彩現 渲染).
Capturing light Source: A. Efros. Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How.
Representations of Visual Appearance COMS 6160 [Fall 2006], Lecture 2 Ravi Ramamoorthi
3-D Computer Vision CSc83029 / Ioannis Stamos 3-D Computer Vision CSc Radiometry and Reflectance.
Stefano Soatto (c) UCLA Vision Lab 1 Homogeneous representation Points Vectors Transformation representation.
Appearance Models for Graphics COMS , Lecture 2 BRDFs and Radiometry Many slides courtesy Pat Hanrahan:
© 2002 by Davi GeigerComputer Vision January 2002 L1.1 Image Formation Light can change the image (and appearances). What is the relation between pixel.
Computer Graphics (Spring 2008) COMS 4160, Lecture 15: Illumination and Shading
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)
Basic Principles of Surface Reflectance
© 2004 by Davi GeigerComputer Vision February 2004 L1.1 Image Formation Light can change the image and appearances (images from D. Jacobs) What is the.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Lighting and Shading Week.
Image formation 2. Blur circle A point at distance is imaged at point from the lens and so Points a t distance are brought into focus at distance Thus.
© 2003 by Davi GeigerComputer Vision September 2003 L1.1 Image Formation Light can change the image and appearances (images from D. Jacobs) What is the.
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
Specular Reflections from Rough Surfaces Lecture #4 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
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.
Reflectance Map: Photometric Stereo and Shape from Shading
Shading / Light Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham.
MIT EECS 6.837, Durand and Cutler Local Illumination.
16421: Vision Sensors Lecture 7: High Dynamic Range Imaging Instructor: S. Narasimhan Wean 5312, T-R 1:30pm – 3:00pm.
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
16421: Vision Sensors Lecture 7: High Dynamic Range Imaging Instructor: S. Narasimhan Wean 5312, T-R 1:30pm – 3:00pm.
Capturing light Source: A. Efros.
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.
Diffuse Reflections from Rough Surfaces Lecture #5
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2012.
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
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.
Shape from Shading Course web page: vision.cis.udel.edu/cv February 26, 2003  Lecture 6.
1Ellen L. Walker 3D Vision Why? The world is 3D Not all useful information is readily available in 2D Why so hard? “Inverse problem”: one image = many.
Radiometry of Image Formation Jitendra Malik. A camera creates an image … The image I(x,y) measures how much light is captured at pixel (x,y) We want.
01/27/03© 2002 University of Wisconsin Last Time Radiometry A lot of confusion about Irradiance and BRDFs –Clarrified (I hope) today Radiance.
Illumination Study of how different materials reflect light Definition of radiance, the fundamental unit of light transfer in computer graphics How the.
Radiometry of Image Formation Jitendra Malik. What is in an image? The image is an array of brightness values (three arrays for RGB images)
EECS 274 Computer Vision Sources, Shadows, and Shading.
Computer Graphics: Illumination
CS580: Radiometry Sung-Eui Yoon ( 윤성의 ) Course URL:
MAN-522 Computer Vision Spring
Advanced Computer Graphics
Radiometry (Chapter 4).
Part One: Acquisition of 3-D Data 2019/1/2 3DVIP-01.
Lecture 28: Photometric Stereo
Presentation transcript:

Basic Principles of Surface Reflectance Thanks to Srinivasa Narasimhan, Ravi Ramamoorthi, Pat Hanrahan

Radiometry and Image Formation

Image Intensities Need to consider light propagation in a cone sensor source Need to consider light propagation in a cone normal surface element Image intensities = f ( normal, surface reflectance, illumination ) Note: Image intensity understanding is an under-constrained problem!

Differential Solid Angle and Spherical Polar Coordinates

Radiometric Concepts (4) Surface Radiance (tricky) : (1) Solid Angle : 2 (4) Surface Radiance (tricky) : (watts / m steradian ) Flux emitted per unit foreshortened area per unit solid angle. L depends on direction Surface can radiate into whole hemisphere. L depends on reflectance properties of surface. source (solid angle subtended by ) (foreshortened area) (surface area) (1) Solid Angle : ( steradian ) What is the solid angle subtended by a hemisphere? (2) Radiant Intensity of Source : ( watts / steradian ) Light Flux (power) emitted per unit solid angle (3) Surface Irradiance : ( watts / m2 ) Light Flux (power) incident per unit surface area. Does not depend on where the light is coming from!

The Fundamental Assumption in Vision Lighting No Change in Radiance Surface Camera

Radiance Properties Radiance is constant as it propagates along ray Derived from conservation of flux Fundamental in Light Transport.

Relationship between Scene and Image Brightness Before light hits the image plane: Scene Radiance L Image Irradiance E Scene Lens Linear Mapping! After light hits the image plane: Image Irradiance E Camera Electronics Measured Pixel Values, I Non-linear Mapping! Can we go from measured pixel value, I, to scene radiance, L?

Relation Between Image Irradiance E and Scene Radiance L image plane surface patch image patch f z Solid angles of the double cone (orange and green): (1) Solid angle subtended by lens: (2)

Relation Between Image Irradiance E and Scene Radiance L image plane surface patch image patch f z Flux received by lens from = Flux projected onto image (3) From (1), (2), and (3): Image irradiance is proportional to Scene Radiance! Small field of view  Effects of 4th power of cosine are small.

Relation between Pixel Values I and Image Irradiance E Camera Electronics Measured Pixel Values, I The camera response function relates image irradiance at the image plane to the measured pixel intensity values. (Grossberg and Nayar)

Radiometric Calibration Important preprocessing step for many vision and graphics algorithms such as photometric stereo, invariants, de-weathering, inverse rendering, image based rendering, etc. Use a color chart with precisely known reflectances. 255 ? Pixel Values g ? 1 90% 59.1% 36.2% 19.8% 9.0% 3.1% Irradiance = const * Reflectance Use more camera exposures to fill up the curve. Method assumes constant lighting on all patches and works best when source is far away (example sunlight). Unique inverse exists because g is monotonic and smooth for all cameras.

The Problem of Dynamic Range

The Problem of Dynamic Range Dynamic Range: Range of brightness values measurable with a camera (Hood 1986) Today’s Cameras: Limited Dynamic Range High Exposure Image Low Exposure Image We need 5-10 million values to store all brightnesses around us. But, typical 8-bit cameras provide only 256 values!!

High Dynamic Range Imaging Capture a lot of images with different exposure settings. Apply radiometric calibration to each camera. Combine the calibrated images (for example, using averaging weighted by exposures). (Mitsunaga) (Debevec) Images taken with a fish-eye lens of the sky show the wide range of brightnesses.

Computer Vision: Building Machines that See Lighting Camera Computer Physical Models Scene Interpretation Scene We need to understand the Geometric and Radiometric relations between the scene and its image.

Computer Graphics: Rendering things that Look Real Lighting Camera Computer Physical Models Scene Generation Scene We need to understand the Geometric and Radiometric relations between the scene and its image.

Basic Principles of Surface Reflection

Surface Appearance sensor source normal surface element Image intensities = f ( normal, surface reflectance, illumination ) Surface Reflection depends on both the viewing and illumination direction.

BRDF: Bidirectional Reflectance Distribution Function source z incident direction viewing direction normal y surface element x Irradiance at Surface in direction Radiance of Surface in direction BRDF :

Important Properties of BRDFs source z incident direction viewing direction normal y surface element x Rotational Symmetry (Isotropy): Appearance does not change when surface is rotated about the normal. BRDF is only a function of 3 variables : Helmholtz Reciprocity: (follows from 2nd Law of Thermodynamics) Appearance does not change when source and viewing directions are swapped.

Differential Solid Angle and Spherical Polar Coordinates

Derivation of the Scene Radiance Equation From the definition of BRDF:

Derivation of the Scene Radiance Equation – Important! From the definition of BRDF: Write Surface Irradiance in terms of Source Radiance: Integrate over entire hemisphere of possible source directions: Convert from solid angle to theta-phi representation:

Mechanisms of Surface Reflection source incident direction surface reflection body reflection surface Surface Reflection: Specular Reflection Glossy Appearance Highlights Dominant for Metals Body Reflection: Diffuse Reflection Matte Appearance Non-Homogeneous Medium Clay, paper, etc Image Intensity = Body Reflection + Surface Reflection

Mechanisms of Surface Reflection Specular Reflection Glossy Appearance Highlights Dominant for Metals Body Reflection: Diffuse Reflection Matte Appearance Non-Homogeneous Medium Clay, paper, etc Many materials exhibit both Reflections:

Diffuse Reflection and Lambertian BRDF source intensity I incident direction normal viewing direction surface element Surface appears equally bright from ALL directions! (independent of ) albedo Lambertian BRDF is simply a constant : Surface Radiance : source intensity Commonly used in Vision and Graphics!

Diffuse Reflection and Lambertian BRDF

White-out Conditions from an Overcast Sky CAN’T perceive the shape of the snow covered terrain! CAN perceive shape in regions lit by the street lamp!! WHY?

Diffuse Reflection from Uniform Sky Assume Lambertian Surface with Albedo = 1 (no absorption) Assume Sky radiance is constant Substituting in above Equation: Radiance of any patch is the same as Sky radiance !! (white-out condition)

Specular Reflection and Mirror BRDF source intensity I specular/mirror direction incident direction normal viewing direction surface element Very smooth surface. All incident light energy reflected in a SINGLE direction. (only when = ) Mirror BRDF is simply a double-delta function : specular albedo Surface Radiance :

BRDFs of Glossy Surfaces Delta Function too harsh a BRDF model (valid only for polished mirrors and metals). Many glossy surfaces show broader highlights in addition to specular reflection. Example Models : Phong Model (no physical basis, but sort of works (empirical)) Torrance Sparrow model (physically based)

Phong Model: An Empirical Approximation An illustration of the angular falloff of highlights: Very commonly used in Computer Graphics

Phong Examples These spheres illustrate the Phong model as lighting direction and nshiny are varied:

Components of Surface Reflection

A Simple Reflection Model - Dichromatic Reflection Observed Image Color = a x Body Color + b x Specular Reflection Color Klinker-Shafer-Kanade 1988 R Color of Source (Specular reflection) Does not specify any specific model for Diffuse/specular reflection G Color of Surface (Diffuse/Body Reflection) B

Dror, Adelson, Wilsky

Specular Reflection and Mirror BRDF - RECALL source intensity I specular/mirror direction incident direction normal viewing direction surface element Very smooth surface. All incident light energy reflected in a SINGLE direction. (only when = ) Mirror BRDF is simply a double-delta function : specular albedo Surface Radiance :

Glossy Surfaces Delta Function too harsh a BRDF model (valid only for highly polished mirrors and metals). Many glossy surfaces show broader highlights in addition to mirror reflection. Surfaces are not perfectly smooth – they show micro-surface geometry (roughness). Example Models : Phong model Torrance Sparrow model

Blurred Highlights and Surface Roughness

Phong Model: An Empirical Approximation How to model the angular falloff of highlights: Phong Model Blinn-Phong Model Sort of works, easy to compute But not physically based (no energy conservation and reciprocity). Very commonly used in computer graphics. N N H R -S E

Phong Examples These spheres illustrate the Phong model as lighting direction and nshiny are varied:

Those Were the Days “In trying to improve the quality of the synthetic images, we do not expect to be able to display the object exactly as it would appear in reality, with texture, overcast shadows, etc. We hope only to display an image that approximates the real object closely enough to provide a certain degree of realism.” – Bui Tuong Phong, 1975