Measuring Light: Radiometry and Cameras

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

Measuring Light: Radiometry and Photometry

Measuring Light: Radiometry and Photometry

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

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

The Light Field. Last lecture: Radiometry and photometry

Understanding Variability

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

Light Field = Radiance(Ray)

Reflectance & Lighting

CS667 Lecture Notes: Radiometry

Spectral Color and Radiometry

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

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

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

E (sensor) is given by; Object Size

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

Light Field = Radiance(Ray)

Capturing light. Source: A. Efros

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

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

CS667 Lecture Notes: Radiometry

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

Rays and Throughput. The Light Field. Page 1

Radiometry and reflectance

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

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

Photometric Stereo.

CS201 Computer Vision Lect 4 - Image Formation

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

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

Announcements. Radiometry and Sources, Shadows, and Shading

Optics Part 1. Vern Lindberg. March 5, 2013

Monte Carlo Integration

Lecture 7 - Path Tracing

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

The Rendering Equation. Computer Graphics CMU /15-662

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

Global Illumination The Game of Light Transport. Jian Huang

Monte Carlo Integration

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

Design Verification and Analysis Tools in TracePro. Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA

Numerical Integration

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

Lecture 22: Basic Image Formation CAP 5415

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

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

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

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

Engineered Diffusers Intensity vs Irradiance

Monte Carlo Ray Tracing. Computer Graphics CMU /15-662

2.710 Optics Spring 09 Solutions to Problem Set #1 Posted Wednesday, Feb. 18, 2009

Light, Lenses, Mirrors

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

The Elements of Colour

782 Schedule & Notes

Realistic Camera Model

OPPA European Social Fund Prague & EU: We invest in your future.

Fourier transform. Filtering. Examples of FT pairs. Examples of FT pairs. Comb function. Examples of FT pairs FRPE. Decomposes into freq.

4. A bulb has a luminous flux of 2400 lm. What is the luminous intensity of the bulb?

Computer Vision. The image formation process

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

AP Physics: Curved Mirrors and Lenses

PH 222-3A Fall Diffraction Lectures Chapter 36 (Halliday/Resnick/Walker, Fundamentals of Physics 8 th edition)

f. (5.3.1) So, the higher frequency means the lower wavelength. Visible part of light spectrum covers the range of wavelengths from

CS6670: Computer Vision

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

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

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

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

Lecture Outline Chapter 26. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

Chapter 7: Geometrical Optics. The branch of physics which studies the properties of light using the ray model of light.

Light and reflection

Diffraction. Single-slit diffraction. Diffraction by a circular aperture. Chapter 38. In the forward direction, the intensity is maximal.

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

Chapter 12 Notes: Optics

Light & Optical Systems Reflection & Refraction. Notes

GEOG 4110/5100 Advanced Remote Sensing Lecture 2

Nicholas J. Giordano. Chapter 24. Geometrical Optics. Marilyn Akins, PhD Broome Community College

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

Formulas of possible interest

Physics Midterm I

Ray Optics I. Last time, finished EM theory Looked at complex boundary problems TIR: Snell s law complex Metal mirrors: index complex

Reflection models and radiometry Advanced Graphics

MODELING LED LIGHTING COLOR EFFECTS IN MODERN OPTICAL ANALYSIS SOFTWARE LED Professional Magazine Webinar 10/27/2015

LIGHTING AND SHADING

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

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

Michelson Interferometer

Digital Image Processing COSC 6380/4393

Chapter 26 Geometrical Optics

PHYS:1200 LECTURE 32 LIGHT AND OPTICS (4)

And if that 120MP Camera was cool

To determine the wavelength of laser light using single slit diffraction

Photobiological Measurement Per IEC Solutions Overview. Gooch and Housego (Orlando)

Experiment 8 Wave Optics

Radiometry Measuring Light

Anidolic Daylight Concentrator of Structural Translucent Concrete Envelope

Geometrical Optics INTRODUCTION. Wave Fronts and Rays

Homework Set 3 Due Thursday, 07/14

Transcription:

Lecture 11: Measuring Light: Radiometry and Cameras Computer Graphics CMU 15-462/15-662, Fall 2015 Slides credit: a majority of these slides were created by Matt Pharr and Pat Hanrahan

Simulating a pinhole camera Imprecise statements you ve heard me say so far in this class: What is the color of the surface visible at each sample point? How much light arrives at sensor point through pinhole? 8-pixel pinhole camera y H o, d 1 Pinhole x sensor o = 1 0.375H T d = 1 1 0.375H T 0.375H T

Radiometry System of units and measures for measuring illumination Geometric optics model of light - Photons travel in straight lines, represented by rays - Good approximation when wavelength << size of objects light interacts with - Doesn t model diffraction, interference,

Light is electromagnetic radiation that is visible to eye Image credit: Licensed under CC BY-SA 3.0 via Commons https://commons.wikimedia.org/wiki/file:em_spectrum.svg#/media/file:em_spectrum.svg

Lights: what do they do? Physical process converts input energy into photons - Each photon carries a small amount of energy Over some amount of time, light fixture consumes some amount of energy, Joules - Some input energy is turned into heat, some into photons Energy of photons hitting an object ~ exposure - Film, sensors, sunburn, solar panels, Graphics: generally assume steady state process - Rate of energy consumption = power, Watts Cree 11 W LED light bulb ( 60 Watt incandescent replacement) (Joules/second)

Measuring illumination: radiant flux (power) Given a sensor, we can count how many photons reach it Sensor - Over a period of time, gives the power received by the sensor Given a light, consider counting the number of photons emitted by it - Over a period of time, gives the power emitted by the light Energy carried by a photon: Q = hc h 6.626 10 34

Measuring illumination: radiant flux (power) Flux: energy per unit time (Watts) received by the sensor (or emitted by Sensor the light) Q = lim!0 t = dq dt apple J s Time integral of flux is total radiant energy Z t1 Q = (t)dt t 0

Spectral power distribution Describes distribution of energy by wavelength Figure credit:

Measuring illumination: irradiance Flux: time density of energy Irradiance: area density of flux Given a sensor of with area A, we can consider the average flux over the entire sensor area: A Irradiance (E) is given by taking the limit of area at a single point on the sensor: A E(p) = lim!0 (p) A = d (p) da apple W m 2

Beam power in terms of irradiance Consider beam with flux incident on surface with area A E = A A = EA

Projected area Consider beam with flux incident on angled surface with area A A A 0 A = A 0 cos A = projected area of surface relative to direction of beam

Lambert s Law Irradiance at surface is proportional to cosine of angle between light direction and surface normal. A A 0 A = A 0 cos E = A 0 = cos A

Why do we have seasons? Sun Summer (Northern hemisphere) Winter (Northern hemisphere) Earth s axis of rotation: ~23.5 off axis [Image credit: Pearson Prentice Hall]

Irradiance falloff with distance Assume light is emitting flux in a uniform angular distribution r 2 Compare irradiance at surface r 1 of two spheres: E 1 = 4 r 2 1! =4 r 2 1E 1 E 2 = 4 r 2 2! =4 r 2 2E 2 E 2 E 1 = r2 1 r 2 2

Angles and solid angles Angle: ratio of subtended arc length on circle to radius - = l r - Circle has 2 radians r l Solid angle: ratio of subtended area on sphere to radius squared - = A r 2 - Sphere has 4 steradians r A

Solid angles in practice Sun and moon both subtend ~60µ sr as seen from earth Surface area of earth: ~510M km 2 Projected area: 510Mkm 2 60µsr 4 sr = 51015 2400km 2 http://xkcd.com/1276/

Differential solid angle da =(r d )(r sin d ) =r 2 sin d d d! = da r 2 =sin d d

Differential solid angle Z Z = d! S 2 Z Z Z 2 Z = Z 0 Z 0 sin d d =4

! as a direction vector! Will use! to donate a direction vector (unit length)

Measuring illumination: radiance Radiance is the solid angle density of irradiance L(p,!) = lim!0 E! (p)! = de!(p) d! apple W m 2 sr where denotes that the differential surface area is E!! oriented to face in the direction da d! In other words, radiance is energy along a ray defined by origin point p and direction!

Radiance functions Equivalently, L(p,!) = de(p) d! cos = d2 (p) da d! cos Previous slide described measuring radiance at a surface oriented in ray direction - cos(theta) accounts for different surface orientation d! da

Field radiance: the light field Light field = radiance function on rays Radiance is constant along rays * Spherical gantry: captures 4D light field (all light leaving object) L(x, y,, ) (, ) * in a vacuum

Surface radiance Need to distinguish between incident radiance and exitant radiance functions at a point on a surface L i (p 1,! 1 ) L o (p 2,! 2 ) (p 1 p 2, In general: L i (p,!) 6= L o (p,!)

Properties of radiance Radiance is a fundamental field quantity that characterizes the distribution of light in an environment - Radiance is the quantity associated with a ray - Rendering is all about computing radiance Radiance is invariant along a ray in a vacuum A pinhole camera measures radiance

Irradiance from the environment Computing flux per unit area on surface, due to incoming light from all directions. de(p,!) =L i (p,!) cos d! Z Contribution to irradiance from light arriving from direction! E(p,!) = H 2 L i (p,!) cos d! d! Light meter da

Simple case: irradiance from uniform hemispherical source E(p) = Z = L H 2 L d! Z 2 0 Z 2 0 cos sin d d = L d! da

Irradiance from a uniform area source (source emits radiance L) Z E(p) = L(p,!) cos d! HZ 2 O =L =L? cos d! Projected solid angle:? - Cosine-weighted solid angle - Area of object O projected onto unit d!? = cos d! sphere, then projected onto plane

Uniform disk source (oriented perpendicular to plane) Geometric Derivation Algebraic Derivation (using projected solid angle) Z 2 Z? = 0 0 =2 sin2 2 cos sin d d 0 = sin 2 sin? = sin 2

Measuring illumination: radiant intensity Power per solid angle emanating from a point source apple W I(!) = d d! sr

Isotropic point source Z = S 2 I d! =4 I I = 4

Goniometric diagrams http://www.visual-3d.com/tools/photometricviewer/

Rendering with goniometric diagrams http://www.mpi-inf.mpg.de/resources/mpimodel/v1.0/luminaires/index.html

Photometry All radiometric quantities have equivalents in photometry Dark adapted eye (scoptic) Daytime adapted eye (photoptic) Photometry: accounts for response of human visual system V ( ) to electromagnetic radiation Luminance (Y) is photometric quantity that corresponds to radiance: integrate radiance over (nm) all wavelengths, weight by eye s luminous efficiacy curve, e.g.: Z 1 Y (p,!) = 0 L(p,!, ) V ( )d https://upload.wikimedia.org/wikipedia/commons/a/a0/luminosity.png

Radiometric and photometric terms Physics Radiometry Photometry Energy Radiant Energy Luminous Energy Flux (Power) Radiant Power Luminous Power Flux Density Irradiance (incoming) Radiosity (outgoing) Illuminance (incoming) Luminosity (outgoing) Angular Flux Density Radiance Luminance Intensity Radiant Intensity Luminous Intensity

Photometric Units Photometry MKS CGS British Luminous Energy Talbot Talbot Talbot Luminous Power Lumen Lumen Lumen Illuminance Luminosity Lux Phot Footcandle Luminance Nit, Apostlib, Blondel Stilb Lambert Footlambert Luminous Intensity Candela Candela Candela Thus one nit is one lux per steradian is one candela per square meter is one lumen per square meter per steradian. Got it? James Kajiya

Modern LED light Input power: 11 W Output: 815 lumens (~ 80 lumens / Watt) Incandescent bulbs: ~15 lumens / Watt)

Cameras

Pinhole camera Infinitesimally small aperture y Pinhole x sensor

Real camera has lens with finite aperture Sensor plane: (X,Y) Image credit: Canon (EOS M)

Thin lens model lens F Focal length, F, is the distance behind Lens diameter is d=f/n, where n is the lens f-number the lens where parallel rays focus

Gaussian thin lens model sensor plane lens scene plane of focus Z 0 F Z Points at distance z focus at distance z behind the lens given by 1 F = 1 Z + 1 Z 0 Lenses are focused by moving them closer to/farther from the sensor plane Derivation: http://graphics.stanford.edu/courses/cs178-10/lectures/optics1-06apr10-150dpi-med.pdf

Defocus blur Image credit: Mike Stobe/Getty Images for the USTA (link: https://www.bostonglobe.com/news/bigpicture/2015/09/09/open-tennis/nklwd3zlkkrkwkyqicrm3j/story.html)

Defocus blur sensor plane Z 0 Z Z f Lens is focused at depth z f ; points at other depths image to an area (not a single point) on the sensor plane: this area is called the circle of confusion

How big is the circle of confusion? What is d c, the diameter of the circle of confusion of a scene point at depth z? sensor plane We know z s, the sensor plane position, and the lens diameter d d c d Compute z from F and z: 1 F = 1 Z + 1 Z 0 Z 0 Similar triangles: d c Zs 0 Z 0 = d Z 0 1 Z 0 s 1 d c = d Z 0 s Z 0 F Z

Depth of field is inversely proportional to aperture Plane of focus Larger aperture Image credit: http://damienfournier.co/dof-and-aperture/ Smaller aperture

Motion blur Camera records light over finite aperture and finite amount of time Cook et al. 1984

Film and sensors Camera sensors (film, CCD,...) effectively count the number of photons that hit them over small areas of the image Want to determine how much energy arrives over regions of the sensor (pixels) over a given period of time (exposure time) - Integrate irradiance over pixel area to get power (flux) - Integrate flux over time to get energy (joules) Q = Z t 1 t 0 Z A E(p 0,t 0 )dp 0 dt 0 How do we compute irradiance at a point on the image plane?

The measurement equation Lens aperture Sensor plane p Z E(p,t)= H 2 L i (p,! 0,t) cos d! 0

The measurement equation Lens aperture p 0 r 2 0 Sensor plane p E(p,t)= = Z Z A A L(p 0! p,t) L(p 0! p,t) cos cos 0 p 0 p 2 da0 cos 2 Transform integral over solid angle to integral over lens aperture p 0 p 2 da0 Assume aperture and film plane are parallel: = 0

The measurement equation Lens aperture p 0 r 2 p 0 p = d cos d Sensor plane E(p,t)= Z A = 1 d 2 Z Q = 1 Z t 1 d 2 t 0 Z L(p 0! p,t) A A lens p 0 cos 2 p 2 da0 L(p 0! p,t) cos 4 da 0 Z A film L(p 0! p,t) cos 4 dp dp 0 dt 0 p

Summary Today: - How to describe/measure light (radiant energy) - How light is measured by real sensors Next time: - How to compute all these integrals Next, next time: - Materials: how to describe the interaction of light with surfaces