Radiometry Measuring Light

Similar documents
Light. Properties of light. What is light? Today What is light? How do we measure it? How does light propagate? How does light interact with matter?

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

CS6670: Computer Vision

CS6670: Computer Vision

Ligh%ng and Reflectance

Capturing light. Source: A. Efros

Lighting affects appearance

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

Lighting affects appearance

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

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

Announcements. Radiometry and Sources, Shadows, and Shading

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

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

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Photometric Stereo.

Understanding Variability

Lecture 22: Basic Image Formation CAP 5415

CS5670: Computer Vision

CS4670: Computer Vision

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

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

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1)

Introduction. Lighting model Light reflection model Local illumination model Reflectance model BRDF

CS 5625 Lec 2: Shading Models

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

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

At the interface between two materials, where light can be reflected or refracted. Within a material, where the light can be scattered or absorbed.

Radiometry and reflectance

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

Light. Form of Electromagnetic Energy Only part of Electromagnetic Spectrum that we can really see

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

Raytracing. COSC 4328/5327 Scott A. King

CS201 Computer Vision Lect 4 - Image Formation

Lighting. Figure 10.1

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

SESSION 5: INVESTIGATING LIGHT. Key Concepts. X-planation. Physical Sciences Grade In this session we:

Illumination in Computer Graphics

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

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

Shading. Brian Curless CSE 557 Autumn 2017

Lecture 7 Notes: 07 / 11. Reflection and refraction

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

Light. Electromagnetic wave with wave-like nature Refraction Interference Diffraction

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

Chapter 32 Light: Reflection and Refraction. Copyright 2009 Pearson Education, Inc.

Simple Lighting/Illumination Models

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

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

Ray Optics. Lecture 23. Chapter 34. Physics II. Course website:

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

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

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

Comp 410/510 Computer Graphics. Spring Shading

Illumination. Michael Kazhdan ( /657) HB Ch. 14.1, 14.2 FvDFH 16.1, 16.2

3 Interactions of Light Waves

Starting this chapter

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

Conceptual Physics Fundamentals

Computer Graphics. Illumination and Shading

02 Shading and Frames. Steve Marschner CS5625 Spring 2016

Reading. Shading. An abundance of photons. Introduction. Required: Angel , 6.5, Optional: Angel 6.4 OpenGL red book, chapter 5.

Optics Test Science What are some devices that you use in everyday life that require optics?

Announcements. Rotation. Camera Calibration

And if that 120MP Camera was cool

Illumination. The slides combine material from Andy van Dam, Spike Hughes, Travis Webb and Lyn Fong

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

Chapter 12 Notes: Optics

4. Refraction. glass, air, Perspex and water.

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

A question from Piazza

Light and Sound. Wave Behavior and Interactions

Illumination & Shading

w Foley, Section16.1 Reading

Shading I Computer Graphics I, Fall 2008

All forms of EM waves travel at the speed of light in a vacuum = 3.00 x 10 8 m/s This speed is constant in air as well

Lighting and Reflectance COS 426

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

The Rendering Equation. Computer Graphics CMU /15-662

Ray Optics. Ray model Reflection Refraction, total internal reflection Color dispersion Lenses Image formation Magnification Spherical mirrors

Lecture 15: Shading-I. CITS3003 Graphics & Animation

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

BRDF Computer Graphics (Spring 2008)

Reflection and Refraction of Light

Michelson Interferometer

Shading. Reading. Pinhole camera. Basic 3D graphics. Brian Curless CSE 557 Fall Required: Shirley, Chapter 10

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

specular diffuse reflection.

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

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

Lighting and Materials

Conceptual Physics 11 th Edition

REFLECTION & REFRACTION

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

L 32 Light and Optics [3]

Lighting and Shading Computer Graphics I Lecture 7. Light Sources Phong Illumination Model Normal Vectors [Angel, Ch

Ray Tracing. CSCI 420 Computer Graphics Lecture 15. Ray Casting Shadow Rays Reflection and Transmission [Ch ]

CPSC 314 LIGHTING AND SHADING

Ray Tracing: shading

PHYS 219 General Physics: Electricity, Light and Modern Physics

Transcription:

1 Radiometry Measuring Light CS 554 Computer Vision Pinar Duygulu Bilkent University

2 How do we see? [Plato] from our eyes flows a light similar to the light of the sun [Chalcidius, middle ages] Therefore, when these three conditions concur, sight occurs, and through the eyes, which is the principal cause, the exterior light kindred to our own light, which both acts and assists, and the light that flows from visible bodies, flame or color without these the proposed effect [vision] cannot occur Adapted from Larry Davis

3 Difficulties with these theories Why we see faraway objects instantaneously when we open our eyes? the visual spirit that leaves the eyes is exceptionally swift Why don t the vision systems of different people looking at the same object interfere with each other They just don t What if the eyes are closed when the visual spirit returns The soul has things times perfectly this never happens Adapted from Larry Davis

4 How do we see? [Aristotle] objects create material images that are transported through the atmosphere and enter the eye but how do the material images of large objects enter the eye? [Abu Ali al-hassan ibn al-hasan ibn al-haytam - shortly Alhazen] Greatest optical scientist of the middle ages Pointillist theory of vision we see a collection of points on the surfaces of objects Geometric theory to explain the 1-1 correspondence between the world and the image formed in our eyes Adapted from Larry Davis

5 How do we see? Adapted from Michael Black, Brown University

6 The interaction of light and matter Ray of light leaves the light source and travels along a straight line When a light ray hits a point on 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 Some gets reflected it could be reflected in multiple directions at once If the object is our lens, then the useful light for imaging is the refracted light Adapted from http://www.physics.utoledo.edu/%7elsa/_color/lcsyl.htm

7 How do we see? The phenomena of refraction was known to Ptolemy Alhazen s problem since light from a surface point reaches the entire surface of the eye, how is it that we see only a single image of point he assumed that only the ray that enters perpendicular to the eye effects vision the other rays are more refracted and therefore weakened But in fact the optical properties of the lens combine all of these rays into a single focused point under favorable conditions Adapted from Larry Davis

8 Snell's law Adapted from Larry Davis

9 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 arriving at every point in space and from every direction Adapted from Seitz

10 Light sources Basic types point source directional source a point source that is infinitely far away area source a union of point sources More generally a light field can describe any distribution of light sources Adapted from Seitz

11 Light Adapted from Michael Black, Brown University

12 Light Adapted from Michael Black, Brown University

13 from Steve Marschner

14 from Steve Marschner

15 Light Adapted from Michael Black, Brown University

16 Foreshortening If two different sources result in exactly the same amount of radiation arriving along each incoming direction, they must have the same effect on the surface. Because they are indistinguishable from the surface. Adapted from David Forsyth, UC Berkeley As a source is tilted with respect to the direction in which the illumination travelling it looks smaller to a patch of surface viewing the source. Crucial consequence: a big source viewed at a glancing angle, must produce the same effect as a small source viewed frontally. (resp. receiver)

17 Radiance, L The distribution of light in space is a function of position and direction e.g. Consider a shining torch with a narrow beam in an empty room at night we need to know where the torch is shining in what direction it is shining The appropriate unit for measuring the distribution of of light in space is radiance

18 Radiance, L Adapted from Michael Black, Brown University

19 Radiance A small surface patch viewing a source frontally collects more energy than the same patch viewing a source a nearly tangent direction. The amount of energy a patch collects from a source depends both on how large the source looks from the patch, and how large the patch looks from the source Radiance is constant along straight lines For two points P1 and P2, the radiance leaving P1 in the direction of P2 is the same as the radiance arriving at P2 from the direction of P1 Adapted from David Forsyth, UC Berkeley

20 Light at surfaces When light strikes a surface, it may be absorbed transmitted (skin) scattered (milk) reflected (mirror) Usually the combination of these effects occur e.g. Light arriving at skin can be scattered at various depths into tissue reflected from blood or from melanin absorbed scattered tangential to the skin within a film of oil then escape at some distant point Adapted from David Forsyth, UC Berkeley

21 Light at surfaces Some surfaces absorb light at one wavelength and then radiate light at different wavelength as a result --> fluorescence -scorpions fluoresce visible light under x-ray illumination -human teeth fluoresce faint blue under ultraviolet light -nylon clothes in discotheques

22 Color in Nature Adapted from the book chapter on Color in Nature

23 Color in Nature Adapted from the book chapter on Color in Nature

24 Simplifying assumptions The radiance leaving a point on a surface is due only to radiance arriving at this point all light leaving a surface at a given wavelength is due to light arriving at that wavelength the surfaces do not generate light internally and treat sources separately

25 Irradiance What is the relationship between incoming illumination and reflected light? -it is a function of both the direction in which light arrives at a surface and the direction in which it leaves. -The appropriate function to represent incoming power is irradiance -Total power arriving at the surface is given by adding irradiance over all incoming angles --- this is why it s a natural unit

26 Irradiance, E Adapted from Michael Black, Brown University

27 The BRDF Let s consider the case of reflection in detail In the most general case, a single incoming ray could be reflected in all directions. How can we describe the amount of light reflected in each direction? Assuming that surfaces don t fluoresce surfaces don t emit light (i.e. are cool) all the light leaving a point is due to that arriving at that point Adapted from David Forsyth, UC Berkeley Can model this situation with the Bidirectional Reflectance Distribution Function (BRDF) the ratio of the radiance in the outgoing direction to the incident irradiance

28 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? surface normal Answer given by the BRDF: Adapted from Seitz

29 The BRDF Adapted from Michael Black, Brown University

30 The BRDF Adapted from Michael Black, Brown University

31 Measuring the BRDF traditional design by Greg Ward Gonioreflectometer Device for capturing the BRDF by moving a camera + light source Need careful control of illumination, environment Adapted from Seitz

32 Columbia-Utrecht Database Captured BRDF models for a variety of materials Adapted from Seitz http://www.cs.columbia.edu/cave/curet/.index.html

33 Radiosity Radiance depends on angle Torch beam Compact disc What about a cotton cloth The dependency of reflected light on angle is weak or non-existent When the radiance leaving a surface is independent of exit angle radiosity is the appropriate unit The total power leaving a point on a surface per unit area on the surface

34 Diffuse 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 Adapted from Seitz

35 Diffuse reflection 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 Adapted from Seitz

36 Diffuse reflection Lambert s Law: L, N, V unit vectors Ie = outgoing radiance Ii = incoming radiance BRDF for Lambertian surface Adapted from Seitz

37 Special Cases: Lambertian Adapted from Michael Black, Brown University

38 Lambertian Examples Adapted from Michael Black, Brown University

39 Specular surfaces Adapted from Michael Black, Brown University

40 Specular surfaces Adapted from Michael Black, Brown University

41 Specular reflection For a perfect mirror, light is reflected about N Ii Ie = 0 if V = R otherwise Near-perfect mirrors have a highlight around R common model: Adapted from Seitz

42 Specular reflection Moving the light source Changing ns Adapted from Seitz

43 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 Ie = outgoing radiance Ii = incoming radiance Ia = ambient light ka = ambient light reflectance factor (x)+ = max(x, 0) Adapted from Seitz