Physics-based Methods in Vision

Size: px
Start display at page:

Download "Physics-based Methods in Vision"

Transcription

1 LIGHT AND COLOR The slides are from several sources through James Hays (Brown); Srinivasa Narasimhan (CMU); Bill Freeman and Antonio Torralba (MIT), including their own slides.

2 Physics-based Methods in Vision Camera Lighting Computer Physical Models Scene We need to understand the relation between the lighting, surface reflectance and medium and the image of the scene.

3 Light and Shadows

4

5

6 Reflections

7

8

9

10 Refractions

11

12

13 Interreflections

14

15 Scattering

16

17

18

19 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection? λ light source

20 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection λ light source ex. sunglasses absorpt some of the wavelengths

21 A photon s life choices Absorption Diffuse Reflection Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection λ light source in every direction is the same ex. frost glass, microscopically rough

22 A photon s life choices Absorption Diffusion Specular Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection λ light source just in one direction ex. glossy paints have both reflection

23 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection λ light source ex. glass window passes light

24 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection e.g. the straw in a glass λ light source

25 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection λ 2 λ 1 light source emission at different wavelengths ex. minerals emit visible light exposed to ultraviolet light

26 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection λ light source scattering interaction with material ex. realistic rendering of marble, skin, milk etc.

27 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection t=n t=1 light source re-emit in time, 1...n... ex. clock dials that glow

28 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering Phosphorescence Interreflection λ light source specular interreflection here

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

30 BRDF: Bidirectional Reflectance Distribution Function spherical coordinate system x z φ θ y source incident direction θ, ) θ r, φ ) ( i φi normal surface element ( r viewing direction surface E surface L ( θi, φi ) θ, φ ) ( r r Irradiance at Surface in direction ( θ i, φi ) Radiance of Surface in direction θ r, φ ) ( r BRDF : f ( θ, φ ; θ, φ ) = i i r r L E surface surface ( θr, φr ) ( θ, φ ) i i out ---- in

31 BRDFs can be incredibly complicated

32 Important Properties of BRDFs x z φ θ y source incident direction θ, ) θ r, φ ) ( i φi normal surface element ( r viewing direction Conservation of Energy: f hemisphere ( θ, φ ; θ, φ ) dω 1 i i r r i

33 Important Properties of BRDFs x z φ θ y source incident direction θ, ) θ r, φ ) ( i φi normal surface element ( r viewing direction Helmholtz Reciprocity: (follows from 2 nd Law of Thermodynamics) BRDF does not change when source and viewing directions are swapped. f ( θ i, φi; θr, φr ) = f ( θr, φr; θi, φi )

34 Important Properties of BRDFs x z φ θ y source incident direction θ, ) θ r, φ ) ( i φi normal surface element ( r viewing direction Rotational Symmetry (Isotropy): BRDF does not change when surface is rotated about the normal. Can be written as a function of 3 variables : f θ, θ, φ φ ) ( i r i r

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

36 Diffuse and Specular Reflection diffuse specular diffuse+specular

37 example: Whiteout Snow and Overcast Skies Lambertian BRDF = a constant diffuse reflection can't perceive the shape of the snow covered terrain but can perceive shape in regions lit by the street lamp now has more specular components

38 The Eye Iris Ii - colored annulus with radial muscles Pupil - the hole (aperture) whose size is controlled by the iris Lens - changes shape by using ciliary muscles (to focus on objects tdiff at different tdi t distances) ) Retina - photoreceptor cells Slide by Steve Seitz

39 Rods and cones cone pigment pg molecules rod Rods are responsible for intensity, cones for color perception Rods and cones are non-uniformly distributed on the retina Fovea - Small region (1 or 2 ) at the center of the visual field containing the highest density of cones (and no rods) Slide by Steve Seitz

40 Rod / Cone sensitivity Why can t we read in the dark? Slide by A. Efros

41 Electromagnetic spectrum Human Human Luminance Luminan Sensitivity Function

42 Visible Light Why do we see light of these wavelengths? because that s where the Sun radiates EM energy Stephen E. Palmer, 2002

43 Physiology of Color Vision Three kinds of cones: nm. RELATIVE ABSORBAN NCE (%) 100 S M L WAVELENGTH (nm.) Ratio of L to M to S cones: approx. 10:5:1 Almost no S cones in the center of the fovea Stephen E. Palmer, 2002

44 Spectra of some real-world surfaces metamers

45 The Physics of Light Some examples of the reflectance spectra of surfaces % Photons Reflected Red Yellow Blue Purple Wavelength (nm) Stephen E. Palmer, 2002

46 Color Images in Matlab Images represented as a matrix 3x(NxM) Suppose we have a NxM RGB image called im im(1,1,1) = top-left pixel value in R-channel im(y, x, b) = y pixels down, x pixels to right in the b th channel im(n, M, 3) = bottom-right pixel in B-channel imread(filename) returns a uint8 image (values 0 to 255) Convert to double format (values 0 to 1) with im2double row column G R B

47 Color spaces How can we represent color? here additive combination

48 Color spaces: RGB Default color space 0,1,0 R (G=0,B=0) 1,0,0 G (R=0,B=0) 0,0,1 Some drawbacks Strongly correlated channels Non-perceptual B (R=0,G=0) Image from:

49 Linear color space CIE XYZ from RGB Primaries are imaginary, but matching functions are everywhere positive, not in RGB The Y parameter corresponds to brightness or luminance of a color 2D visualization: draw (x,y), where x = X/(X+Y+Z), y = Y/(X+Y+Z) Matching functions Z Y X

50 Forsyth & Ponce xy-axes for a constant brightness

51 Pure wavelength in chromaticity diagram Blue: big value of Z, therefore x and y small x=x/(x+y+z) y=y/(x+y+z)

52 Pure wavelength in chromaticity diagram Then y increases x=x/(x+y+z) y=y/(x+y+z)

53 Pure wavelength in chromaticity diagram Green: y is big x=x/(x+y+z) y=y/(x+y+z)

54 Pure wavelength in chromaticity diagram Yellow: x & y are equal x=x/(x+y+z) y=y/(x+y+z)

55 Pure wavelength in chromaticity diagram Red: big x, but y is not null x=x/(x+y+z) y=y/(x+y+z)

56 Color spaces: L*a*b* Perceptually uniform color space Nonlinear transformations of XYZ space. and L*u*v* L (a=0,b=0) a (L=65,b=0) distances quasi Euclidean b (L=65,a=0)

57 A. CIE VI. CIE COLOUR SPACES CIE, the International Commission on Illumination - abbreviated as CIE from its French title Commission Internationale de l Eclairage - is an organization devoted to international cooperation and exchange of information among its member countries on all matters relating to the science and art of lighting [2]. In 1931 CIE laid down the CIE 1931 standard colorimetric observer. This is the data on the ideal observer on which all colorimetry is based [5, page 131]. B. CIE XYZ CIE standardized the XY Z values as tristimulus values that can describe any colour that can be percepted by an average human observer (the CIE 1931 standard colorimetric observer). These primaries are nonreal, i.e. they cannot be realized by actual colour stimuli [5, page 138]. This colour space is chosen in such a way that every perceptible visual stimulus is described with positive XY Z values. A very important attribute of the CIE XYZ colour space is that it is device independent. Every colour space that has a transformation from the CIE XYZ colour space (RGB 709, CIELab, CIELuv) can also be regarded as being device independent. The CIE XYZ colour space is usually used as a reference colour space and is as such an intermediate device-independent colour space. C. CIE Luv and CIE Lab colour spaces In 1976 the CIE proposed two colour spaces (CIELuv and CIELab) whose main goal was to provide a perceptually equal space. This means that the Euclidian distance between two colours in the CIELuv/CIELab colour space is strongly correlated with the human visual perception. To achieve this property there were two main constraints to take into account: chromatic adaptation non-linear visual response The main difference between the two colour spaces is in the chromatic adaptation model implemented. The CIE Lab colour space normalizes its values by the division with the white point while the CIELuv colour space normalizes its values by the subtraction of the white point. The transformation from CIE XYZ to CIE Luv is performed with the following equations ( ) 1 Y L 3 = Y n u = 13L (u u n) v = 13L (v v n) for Y Y n > 0.01, otherwise the following L formulae is used L = Y Y n u 4X n n = X n + 15Y n + 3Z n v 9Y = X + 15Y + 3Z v n 9Y n = X n + 15Y n + 3Z n The tristimulus values X n, Y n, Z n are those of the nominally white object-colour stimulus. The transformation from CIE XYZ to CIE Lab is performed with the following equations ( Y L = 116 a = 500 b = 200 [ ( X X n [ ( Y Y n Y n ) 1 ) 1 ) ( ) 1 ] 3 Y 3 Y n ( ) 1 ] 3 Z 3 Z n The perceptually linear colour difference formulaes between two colours are E ab = ( L ) 2 + ( a ) 2 + ( b ) 2 E uv = ( L ) 2 + ( u ) 2 + ( v ) 2 VII. CONCLUSION In this paper we have presented an overview of colour spaces used in image processing. We have tried to stress the importance of the historical and perceptual background that has led to the introduction of these colour spaces. REFERENCES [1] Symon D O. Cotton, Colour, colour spaces and the human visual system, School of Computer Science, University of Birmingham, England, Technical Report, B15-2TT, May [2] CIE home page [3] Charles Poynton, A Guided Tour of Color Space, New Foundations for Video Technology (Proceedings of the SMTPE Advanced Television and Electronic Imaging Conference), 1995, pages [4] Charles Poynton, Frequently Asked Questions about Color, poynton, [5] Gunter Wyszecki, W.S. Stiles, Color Science Concepts and Methods, Quantitative Data and Formulae, John Wiley and Sons, Inc, [6] Mark D. Fairchild, Color Appearance Models, Addison Wesley, [7] Henryk Palus, Colour spaces, Chapmann and Hall, [8] Adrian Ford and Alan Roberts, Colour space conversions, Westminster University, London, L between 0 and 100 u* between -134 and 200 v* between -140 and 122 The quantities u, v and u n, v n are calculated from u = 4X X + 15Y + 3Z

58 L*u*v* the inner solid

59 not completely uniform (s.d. x10)

60 If you chose only chrominance, say, a and b... Only color shown constant intensity

61 ...if you chose only luminance L. Only intensity shown constant color

62 Most information in intensity... Original image

63 ...so back to grayscale intensity

Lenses: Focus and Defocus

Lenses: Focus and Defocus Lenses: Focus and Defocus circle of confusion A lens focuses light onto the film There is a specific distance at which objects are in focus other points project to a circle of confusion in the image Changing

More information

Light. Computer Vision. James Hays

Light. Computer Vision. James Hays Light Computer Vision James Hays Projection: world coordinatesimage coordinates Camera Center (,, ) z y x X... f z y ' ' v u x. v u z f x u * ' z f y v * ' 5 2 ' 2* u 5 2 ' 3* v If X = 2, Y = 3, Z = 5,

More information

Computer Vision Course Lecture 02. Image Formation Light and Color. Ceyhun Burak Akgül, PhD cba-research.com. Spring 2015 Last updated 04/03/2015

Computer Vision Course Lecture 02. Image Formation Light and Color. Ceyhun Burak Akgül, PhD cba-research.com. Spring 2015 Last updated 04/03/2015 Computer Vision Course Lecture 02 Image Formation Light and Color Ceyhun Burak Akgül, PhD cba-research.com Spring 2015 Last updated 04/03/2015 Photo credit: Olivier Teboul vision.mas.ecp.fr/personnel/teboul

More information

CS6670: Computer Vision

CS6670: Computer Vision CS6670: Computer Vision Noah Snavely Lecture 20: Light, reflectance and photometric stereo Light by Ted Adelson Readings Szeliski, 2.2, 2.3.2 Light by Ted Adelson Readings Szeliski, 2.2, 2.3.2 Properties

More information

1. Final Projects 2. Radiometry 3. Color. Outline

1. Final Projects 2. Radiometry 3. Color. Outline 1. Final Projects 2. Radiometry 3. Color Outline Poster presentations http://16720.courses.cs.cmu.edu/project.html ==== Availability form ==== One person from each team (at least) is required to fill out

More information

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

Announcements. Lighting. Camera s sensor. HW1 has been posted See links on web page for readings on color. Intro Computer Vision. Announcements HW1 has been posted See links on web page for readings on color. Introduction to Computer Vision CSE 152 Lecture 6 Deviations from the lens model Deviations from this ideal are aberrations

More information

Why does a visual system need color? Color. Why does a visual system need color? (an incomplete list ) Lecture outline. Reading: Optional reading:

Why does a visual system need color? Color. Why does a visual system need color? (an incomplete list ) Lecture outline. Reading: Optional reading: Today Color Why does a visual system need color? Reading: Chapter 6, Optional reading: Chapter 4 of Wandell, Foundations of Vision, Sinauer, 1995 has a good treatment of this. Feb. 17, 2005 MIT 6.869 Prof.

More information

Color. Phillip Otto Runge ( )

Color. Phillip Otto Runge ( ) Color Phillip Otto Runge (1777-1810) Overview The nature of color Color processing in the human visual system Color spaces Adaptation and constancy White balance Uses of color in computer vision What is

More information

Lecture 1 Image Formation.

Lecture 1 Image Formation. Lecture 1 Image Formation peimt@bit.edu.cn 1 Part 3 Color 2 Color v The light coming out of sources or reflected from surfaces has more or less energy at different wavelengths v The visual system responds

More information

Color. Reading: Optional reading: Chapter 6, Forsyth & Ponce. Chapter 4 of Wandell, Foundations of Vision, Sinauer, 1995 has a good treatment of this.

Color. Reading: Optional reading: Chapter 6, Forsyth & Ponce. Chapter 4 of Wandell, Foundations of Vision, Sinauer, 1995 has a good treatment of this. Today Color Reading: Chapter 6, Forsyth & Ponce Optional reading: Chapter 4 of Wandell, Foundations of Vision, Sinauer, 1995 has a good treatment of this. Feb. 17, 2005 MIT 6.869 Prof. Freeman Why does

More information

Color Vision. Spectral Distributions Various Light Sources

Color Vision. Spectral Distributions Various Light Sources Color Vision Light enters the eye Absorbed by cones Transmitted to brain Interpreted to perceive color Foundations of Vision Brian Wandell Spectral Distributions Various Light Sources Cones and Rods Cones:

More information

CS6670: Computer Vision

CS6670: Computer Vision CS6670: Computer Vision Noah Snavely Lecture 21: Light, reflectance and photometric stereo Announcements Final projects Midterm reports due November 24 (next Tuesday) by 11:59pm (upload to CMS) State the

More information

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

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3. Announcements Project status reports on Wednesday prepare 5 minute ppt presentation should contain: problem statement (1 slide) description of approach (1 slide) some images (1 slide) current status +

More information

Color to Binary Vision. The assignment Irfanview: A good utility Two parts: More challenging (Extra Credit) Lighting.

Color to Binary Vision. The assignment Irfanview: A good utility Two parts: More challenging (Extra Credit) Lighting. Announcements Color to Binary Vision CSE 90-B Lecture 5 First assignment was available last Thursday Use whatever language you want. Link to matlab resources from web page Always check web page for updates

More information

Image Formation. Camera trial #1. Pinhole camera. What is an Image? Light and the EM spectrum The H.V.S. and Color Perception

Image Formation. Camera trial #1. Pinhole camera. What is an Image? Light and the EM spectrum The H.V.S. and Color Perception Image Formation Light and the EM spectrum The H.V.S. and Color Perception What is an Image? An image is a projection of a 3D scene into a 2D projection plane. An image can be defined as a 2 variable function

More information

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

Announcements. Camera Calibration. Thin Lens: Image of Point. Limits for pinhole cameras. f O Z Announcements Introduction to Computer Vision CSE 152 Lecture 5 Assignment 1 has been posted. See links on web page for reading Irfanview: http://www.irfanview.com/ is a good windows utility for manipulating

More information

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?

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? Light Properties of light Today What is light? How do we measure it? How does light propagate? How does light interact with matter? by Ted Adelson Readings Andrew Glassner, Principles of Digital Image

More information

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

CSE 167: Introduction to Computer Graphics Lecture #6: Colors. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013 CSE 167: Introduction to Computer Graphics Lecture #6: Colors Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013 Announcements Homework project #3 due this Friday, October 18

More information

Lighting. Camera s sensor. Lambertian Surface BRDF

Lighting. Camera s sensor. Lambertian Surface BRDF Lighting Introduction to Computer Vision CSE 152 Lecture 6 Special light sources Point sources Distant point sources Strip sources Area sources Common to think of lighting at infinity (a function on the

More information

The Elements of Colour

The Elements of Colour Color science 1 The Elements of Colour Perceived light of different wavelengths is in approximately equal weights achromatic.

More information

CS4670: Computer Vision

CS4670: Computer Vision CS4670: Computer Vision Noah Snavely Lecture 30: Light, color, and reflectance Light by Ted Adelson Readings Szeliski, 2.2, 2.3.2 Light by Ted Adelson Readings Szeliski, 2.2, 2.3.2 Properties of light

More information

Computer Vision. The image formation process

Computer Vision. The image formation process Computer Vision The image formation process Filippo Bergamasco (filippo.bergamasco@unive.it) http://www.dais.unive.it/~bergamasco DAIS, Ca Foscari University of Venice Academic year 2016/2017 The image

More information

(0, 1, 1) (0, 1, 1) (0, 1, 0) What is light? What is color? Terminology

(0, 1, 1) (0, 1, 1) (0, 1, 0) What is light? What is color? Terminology lecture 23 (0, 1, 1) (0, 0, 0) (0, 0, 1) (0, 1, 1) (1, 1, 1) (1, 1, 0) (0, 1, 0) hue - which ''? saturation - how pure? luminance (value) - intensity What is light? What is? Light consists of electromagnetic

More information

Digital Image Processing COSC 6380/4393. Lecture 19 Mar 26 th, 2019 Pranav Mantini

Digital Image Processing COSC 6380/4393. Lecture 19 Mar 26 th, 2019 Pranav Mantini Digital Image Processing COSC 6380/4393 Lecture 19 Mar 26 th, 2019 Pranav Mantini What is color? Color is a psychological property of our visual experiences when we look at objects and lights, not a physical

More information

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images.

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images. View volume The fast forward version The Display pipeline Computer Graphics 1, Fall 2004 Lecture 3 Chapter 1.4, 1.8, 2.5, 8.2, 8.13 Lightsource Hidden surface 3D Projection View plane 2D Rasterization

More information

Introduction to color science

Introduction to color science Introduction to color science Trichromacy Spectral matching functions CIE XYZ color system xy-chromaticity diagram Color gamut Color temperature Color balancing algorithms Digital Image Processing: Bernd

More information

Digital Image Processing

Digital Image Processing Digital Image Processing 7. Color Transforms 15110191 Keuyhong Cho Non-linear Color Space Reflect human eye s characters 1) Use uniform color space 2) Set distance of color space has same ratio difference

More information

Colour Reading: Chapter 6. Black body radiators

Colour Reading: Chapter 6. Black body radiators Colour Reading: Chapter 6 Light is produced in different amounts at different wavelengths by each light source Light is differentially reflected at each wavelength, which gives objects their natural colours

More information

Spectral Color and Radiometry

Spectral Color and Radiometry Spectral Color and Radiometry Louis Feng April 13, 2004 April 13, 2004 Realistic Image Synthesis (Spring 2004) 1 Topics Spectral Color Light and Color Spectrum Spectral Power Distribution Spectral Color

More information

CS5670: Computer Vision

CS5670: Computer Vision CS5670: Computer Vision Noah Snavely Light & Perception Announcements Quiz on Tuesday Project 3 code due Monday, April 17, by 11:59pm artifact due Wednesday, April 19, by 11:59pm Can we determine shape

More information

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

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome! INFOGR Computer Graphics J. Bikker - April-July 2016 - Lecture 10: Shading Models Welcome! Today s Agenda: Introduction Light Transport Materials Sensors Shading INFOGR Lecture 10 Shading Models 3 Introduction

More information

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

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 CSE 167: Introduction to Computer Graphics Lecture #7: Color and Shading Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 Announcements Homework project #3 due this Friday,

More information

Colour computer vision: fundamentals, applications and challenges. Dr. Ignacio Molina-Conde Depto. Tecnología Electrónica Univ.

Colour computer vision: fundamentals, applications and challenges. Dr. Ignacio Molina-Conde Depto. Tecnología Electrónica Univ. Colour computer vision: fundamentals, applications and challenges Dr. Ignacio Molina-Conde Depto. Tecnología Electrónica Univ. of Málaga (Spain) Outline Part 1: colorimetry and colour perception: What

More information

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

CSE 167: Lecture #6: Color. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 CSE 167: Introduction to Computer Graphics Lecture #6: Color Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 Announcements Homework project #3 due this Friday, October 14

More information

Illumination and Shading

Illumination and Shading Illumination and Shading Light sources emit intensity: assigns intensity to each wavelength of light Humans perceive as a colour - navy blue, light green, etc. Exeriments show that there are distinct I

More information

Lighting affects appearance

Lighting affects appearance Lighting affects appearance 1 Source emits photons Light And then some reach the eye/camera. Photons travel in a straight line When they hit an object they: bounce off in a new direction or are absorbed

More information

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Lecture 15: Shading-I. CITS3003 Graphics & Animation Lecture 15: Shading-I CITS3003 Graphics & Animation E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012 Objectives Learn that with appropriate shading so objects appear as threedimensional

More information

Chapter 5 Extraction of color and texture Comunicação Visual Interactiva. image labeled by cluster index

Chapter 5 Extraction of color and texture Comunicação Visual Interactiva. image labeled by cluster index Chapter 5 Extraction of color and texture Comunicação Visual Interactiva image labeled by cluster index Color images Many images obtained with CCD are in color. This issue raises the following issue ->

More information

Council for Optical Radiation Measurements (CORM) 2016 Annual Technical Conference May 15 18, 2016, Gaithersburg, MD

Council for Optical Radiation Measurements (CORM) 2016 Annual Technical Conference May 15 18, 2016, Gaithersburg, MD Council for Optical Radiation Measurements (CORM) 2016 Annual Technical Conference May 15 18, 2016, Gaithersburg, MD Multispectral measurements of emissive and reflective properties of displays: Application

More information

Capturing light. Source: A. Efros

Capturing light. Source: A. Efros Capturing light Source: A. Efros Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How can we approximate orthographic projection? Lenses

More information

Pick up Light Packet & Light WS

Pick up Light Packet & Light WS Pick up Light Packet & Light WS Only sit or stand at a station with a cup. Test or Quiz Make Ups Today/Tomorrow after School Only. Sound Test Corrections/Retakes: Wednesday, Next Tuesday, Wednesday, Thursday

More information

What is Color and How is It Measured?

What is Color and How is It Measured? Insight on Color Vol. 12, No. 5 What is Color and How is It Measured? The most important part of HunterLab s business is helping our customers to measure color. In this Applications Note, you will learn

More information

CS635 Spring Department of Computer Science Purdue University

CS635 Spring Department of Computer Science Purdue University Color and Perception CS635 Spring 2010 Daniel G Aliaga Daniel G. Aliaga Department of Computer Science Purdue University Elements of Color Perception 2 Elements of Color Physics: Illumination Electromagnetic

More information

Radiometry and reflectance

Radiometry and reflectance Radiometry and reflectance http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 16 Course announcements Homework 4 is still ongoing - Any questions?

More information

Color. Computational Photography MIT Feb. 14, 2006 Bill Freeman and Fredo Durand

Color. Computational Photography MIT Feb. 14, 2006 Bill Freeman and Fredo Durand Color Computational Photography MIT Feb. 14, 2006 Bill Freeman and Fredo Durand Why does a visual system need color? http://www.hobbylinc.com/gr/pll/pll5019.jpg Why does a visual system need color? (an

More information

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

Shading. Reading. Pinhole camera. Basic 3D graphics. Brian Curless CSE 557 Fall Required: Shirley, Chapter 10 Reading Required: Shirley, Chapter 10 Shading Brian Curless CSE 557 Fall 2014 1 2 Basic 3D graphics With affine matrices, we can now transform virtual 3D objects in their local coordinate systems into

More information

Modeling Light. On Simulating the Visual Experience

Modeling Light. On Simulating the Visual Experience Modeling Light 15-463: Rendering and Image Processing Alexei Efros On Simulating the Visual Experience Just feed the eyes the right data No one will know the difference! Philosophy: Ancient question: Does

More information

The Rendering Equation. Computer Graphics CMU /15-662

The Rendering Equation. Computer Graphics CMU /15-662 The Rendering Equation Computer Graphics CMU 15-462/15-662 Review: What is radiance? Radiance at point p in direction N is radiant energy ( #hits ) per unit time, per solid angle, per unit area perpendicular

More information

Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception

Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception Color and Shading Color Shapiro and Stockman, Chapter 6 Color is an important factor for for human perception for object and material identification, even time of day. Color perception depends upon both

More information

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

Introduction. Lighting model Light reflection model Local illumination model Reflectance model BRDF Shading Introduction Affine transformations help us to place objects into a scene. Before creating images of these objects, we ll look at models for how light interacts with their surfaces. Such a model

More information

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

The Rendering Equation. Computer Graphics CMU /15-662, Fall 2016 The Rendering Equation Computer Graphics CMU 15-462/15-662, Fall 2016 Review: What is radiance? Radiance at point p in direction N is radiant energy ( #hits ) per unit time, per solid angle, per unit area

More information

Reading. 2. Color. Emission spectra. The radiant energy spectrum. Watt, Chapter 15.

Reading. 2. Color. Emission spectra. The radiant energy spectrum. Watt, Chapter 15. Reading Watt, Chapter 15. Brian Wandell. Foundations of Vision. Chapter 4. Sinauer Associates, Sunderland, MA, pp. 69-97, 1995. 2. Color 1 2 The radiant energy spectrum We can think of light as waves,

More information

CSE 167: Lecture #6: Color. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

CSE 167: Lecture #6: Color. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012 CSE 167: Introduction to Computer Graphics Lecture #6: Color Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012 Announcements Homework project #3 due this Friday, October 19

More information

Shading. Brian Curless CSE 557 Autumn 2017

Shading. Brian Curless CSE 557 Autumn 2017 Shading Brian Curless CSE 557 Autumn 2017 1 Reading Optional: Angel and Shreiner: chapter 5. Marschner and Shirley: chapter 10, chapter 17. Further reading: OpenGL red book, chapter 5. 2 Basic 3D graphics

More information

Mech 296: Vision for Robotic Applications

Mech 296: Vision for Robotic Applications Mech 296: Vision for Robotic Applications Lecture 2: Color Imaging 2. Terminology from Last Week Data Files ASCII (Text): Data file is human readable Ex: 7 9 5 Note: characters may be removed when transferring

More information

Image Analysis and Formation (Formation et Analyse d'images)

Image Analysis and Formation (Formation et Analyse d'images) Image Analysis and Formation (Formation et Analyse d'images) James L. Crowley ENSIMAG 3 - MMIS Option MIRV First Semester 2010/2011 Lesson 4 19 Oct 2010 Lesson Outline: 1 The Physics of Light...2 1.1 Photons

More information

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker CMSC427 Shading Intro Credit: slides from Dr. Zwicker 2 Today Shading Introduction Radiometry & BRDFs Local shading models Light sources Shading strategies Shading Compute interaction of light with surfaces

More information

What is color? What do we mean by: Color of an object Color of a light Subjective color impression. Are all these notions the same?

What is color? What do we mean by: Color of an object Color of a light Subjective color impression. Are all these notions the same? What is color? What do we mean by: Color of an object Color of a light Subjective color impression. Are all these notions the same? Wavelengths of light striking the eye are not sufficient or necessary

More information

Photometric Stereo.

Photometric Stereo. Photometric Stereo Photometric Stereo v.s.. Structure from Shading [1] Photometric stereo is a technique in computer vision for estimating the surface normals of objects by observing that object under

More information

VISUAL SIMULATING DICHROMATIC VISION IN CIE SPACE

VISUAL SIMULATING DICHROMATIC VISION IN CIE SPACE VISUAL SIMULATING DICHROMATIC VISION IN CIE SPACE Yinghua Hu School of Computer Science University of Central Florida yhu@cs.ucf.edu Keywords: Abstract: Dichromatic vision, Visual simulation Dichromatic

More information

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

Lights, Surfaces, and Cameras. Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons Reflectance 1 Lights, Surfaces, and Cameras Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons 2 Light at Surfaces Many effects when light strikes a surface -- could be:

More information

w Foley, Section16.1 Reading

w Foley, Section16.1 Reading Shading w Foley, Section16.1 Reading Introduction So far, we ve talked exclusively about geometry. w What is the shape of an object? w How do I place it in a virtual 3D space? w How do I know which pixels

More information

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

Announcements. Image Formation: Outline. Homogenous coordinates. Image Formation and Cameras (cont.) Announcements Image Formation and Cameras (cont.) HW1 due, InitialProject topics due today CSE 190 Lecture 6 Image Formation: Outline Factors in producing images Projection Perspective Vanishing points

More information

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

Introduction to Computer Vision. Introduction CMPSCI 591A/691A CMPSCI 570/670. Image Formation Introduction CMPSCI 591A/691A CMPSCI 570/670 Image Formation Lecture Outline Light and Optics Pinhole camera model Perspective projection Thin lens model Fundamental equation Distortion: spherical & chromatic

More information

Estimating the wavelength composition of scene illumination from image data is an

Estimating the wavelength composition of scene illumination from image data is an Chapter 3 The Principle and Improvement for AWB in DSC 3.1 Introduction Estimating the wavelength composition of scene illumination from image data is an important topics in color engineering. Solutions

More information

When this experiment is performed, subjects find that they can always. test field. adjustable field

When this experiment is performed, subjects find that they can always. test field. adjustable field COLORIMETRY In photometry a lumen is a lumen, no matter what wavelength or wavelengths of light are involved. But it is that combination of wavelengths that produces the sensation of color, one of the

More information

Understanding Variability

Understanding Variability Understanding Variability Why so different? Light and Optics Pinhole camera model Perspective projection Thin lens model Fundamental equation Distortion: spherical & chromatic aberration, radial distortion

More information

Lecture 11. Color. UW CSE vision faculty

Lecture 11. Color. UW CSE vision faculty Lecture 11 Color UW CSE vision faculty Starting Point: What is light? Electromagnetic radiation (EMR) moving along rays in space R(λ) is EMR, measured in units of power (watts) λ is wavelength Perceiving

More information

Lecture 22: Basic Image Formation CAP 5415

Lecture 22: Basic Image Formation CAP 5415 Lecture 22: Basic Image Formation CAP 5415 Today We've talked about the geometry of scenes and how that affects the image We haven't talked about light yet Today, we will talk about image formation and

More information

Color. making some recognition problems easy. is 400nm (blue) to 700 nm (red) more; ex. X-rays, infrared, radio waves. n Used heavily in human vision

Color. making some recognition problems easy. is 400nm (blue) to 700 nm (red) more; ex. X-rays, infrared, radio waves. n Used heavily in human vision Color n Used heavily in human vision n Color is a pixel property, making some recognition problems easy n Visible spectrum for humans is 400nm (blue) to 700 nm (red) n Machines can see much more; ex. X-rays,

More information

Radiometry Measuring Light

Radiometry Measuring Light 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,

More information

ECE-161C Color. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

ECE-161C Color. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth) ECE-6C Color Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth) Color so far we have talked about geometry where is a 3D point map mapped into, in terms of image coordinates? perspective

More information

Lecture #2: Color and Linear Algebra pt.1

Lecture #2: Color and Linear Algebra pt.1 Lecture #2: Color and Linear Algebra pt.1 John McNelly, Alexander Haigh, Madeline Saviano, Scott Kazmierowicz, Cameron Van de Graaf Department of Computer Science Stanford University Stanford, CA 94305

More information

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

COSC579: Scene Geometry. Jeremy Bolton, PhD Assistant Teaching Professor COSC579: Scene Geometry Jeremy Bolton, PhD Assistant Teaching Professor Overview Linear Algebra Review Homogeneous vs non-homogeneous representations Projections and Transformations Scene Geometry The

More information

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

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside CS130 : Computer Graphics Lecture 8: Lighting and Shading Tamar Shinar Computer Science & Engineering UC Riverside Why we need shading Suppose we build a model of a sphere using many polygons and color

More information

CS201 Computer Vision Lect 4 - Image Formation

CS201 Computer Vision Lect 4 - Image Formation CS201 Computer Vision Lect 4 - Image Formation John Magee 9 September, 2014 Slides courtesy of Diane H. Theriault Question of the Day: Why is Computer Vision hard? Something to think about from our view

More information

SNC 2PI Optics Unit Review /95 Name:

SNC 2PI Optics Unit Review /95 Name: SNC 2PI Optics Unit Review /95 Name: Part 1: True or False Indicate in the space provided if the statement is true (T) or false(f) [15] 1. Light is a form of energy 2. Shadows are proof that light travels

More information

Physics-based Vision: an Introduction

Physics-based Vision: an Introduction Physics-based Vision: an Introduction Robby Tan ANU/NICTA (Vision Science, Technology and Applications) PhD from The University of Tokyo, 2004 1 What is Physics-based? An approach that is principally concerned

More information

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

OPPA European Social Fund Prague & EU: We invest in your future. OPPA European Social Fund Prague & EU: We invest in your future. Image formation and its physical basis Václav Hlaváč Czech Technical University in Prague Faculty of Electrical Engineering, Department

More information

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

rendering equation computer graphics rendering equation 2009 fabio pellacini 1 rendering equation computer graphics rendering equation 2009 fabio pellacini 1 physically-based rendering synthesis algorithms that compute images by simulation the physical behavior of light computer

More information

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

MODELING LED LIGHTING COLOR EFFECTS IN MODERN OPTICAL ANALYSIS SOFTWARE LED Professional Magazine Webinar 10/27/2015 MODELING LED LIGHTING COLOR EFFECTS IN MODERN OPTICAL ANALYSIS SOFTWARE LED Professional Magazine Webinar 10/27/2015 Presenter Dave Jacobsen Senior Application Engineer at Lambda Research Corporation for

More information

Optics of Vision. MATERIAL TO READ Web: 1.

Optics of Vision. MATERIAL TO READ Web: 1. Optics of Vision MATERIAL TO READ Web: 1. www.physics.uoguelph.ca/phys1070/webst.html Text: Chap. 3, pp. 1-39 (NB: pg. 3-37 missing) Chap. 5 pp.1-17 Handbook: 1. study guide 3 2. lab 3 Optics of the eye

More information

Ligh%ng and Reflectance

Ligh%ng and Reflectance Ligh%ng and Reflectance 2 3 4 Ligh%ng Ligh%ng can have a big effect on how an object looks. Modeling the effect of ligh%ng can be used for: Recogni%on par%cularly face recogni%on Shape reconstruc%on Mo%on

More information

Reflection models and radiometry Advanced Graphics

Reflection models and radiometry Advanced Graphics Reflection models and radiometry Advanced Graphics Rafał Mantiuk Computer Laboratory, University of Cambridge Applications To render realistic looking materials Applications also in computer vision, optical

More information

02 Shading and Frames. Steve Marschner CS5625 Spring 2016

02 Shading and Frames. Steve Marschner CS5625 Spring 2016 02 Shading and Frames Steve Marschner CS5625 Spring 2016 Light reflection physics Radiometry redux Power Intensity power per unit solid angle Irradiance power per unit area Radiance power per unit (solid

More information

Lecture 4: Reflection Models

Lecture 4: Reflection Models Lecture 4: Reflection Models CS 660, Spring 009 Kavita Bala Computer Science Cornell University Outline Light sources Light source characteristics Types of sources Light reflection Physics-based models

More information

Lighting and Materials

Lighting and Materials http://graphics.ucsd.edu/~henrik/images/global.html Lighting and Materials Introduction The goal of any graphics rendering app is to simulate light Trying to convince the viewer they are seeing the real

More information

MEASURING THE COLOR OF A PAINT ON CANVAS DIRECTLY WITH EXTERNAL DIFFUSE REFLECTANCE USING THE AGILENT CARY 60 UV-VIS SPECTROPHOTOMETER

MEASURING THE COLOR OF A PAINT ON CANVAS DIRECTLY WITH EXTERNAL DIFFUSE REFLECTANCE USING THE AGILENT CARY 60 UV-VIS SPECTROPHOTOMETER MATERIALS ANALYSIS MEASURING THE COLOR OF A PAINT ON CANVAS DIRECTLY WITH EXTERNAL DIFFUSE REFLECTANCE USING THE AGILENT CARY 60 UV-VIS SPECTROPHOTOMETER Solutions for Your Analytical Business Markets

More information

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading CENG 477 Introduction to Computer Graphics Ray Tracing: Shading Last Week Until now we learned: How to create the primary rays from the given camera and image plane parameters How to intersect these rays

More information

CS 5625 Lec 2: Shading Models

CS 5625 Lec 2: Shading Models CS 5625 Lec 2: Shading Models Kavita Bala Spring 2013 Shading Models Chapter 7 Next few weeks Textures Graphics Pipeline Light Emission To compute images What are the light sources? Light Propagation Fog/Clear?

More information

Announcements. Rotation. Camera Calibration

Announcements. Rotation. Camera Calibration Announcements HW1 has been posted See links on web page for reading Introduction to Computer Vision CSE 152 Lecture 5 Coordinate Changes: Rigid Transformations both translation and rotatoin Rotation About

More information

Visualisatie BMT. Rendering. Arjan Kok

Visualisatie BMT. Rendering. Arjan Kok Visualisatie BMT Rendering Arjan Kok a.j.f.kok@tue.nl 1 Lecture overview Color Rendering Illumination 2 Visualization pipeline Raw Data Data Enrichment/Enhancement Derived Data Visualization Mapping Abstract

More information

ams AG TAOS Inc. is now The technical content of this TAOS document is still valid. Contact information:

ams AG TAOS Inc. is now The technical content of this TAOS document is still valid. Contact information: TAOS Inc. is now ams AG The technical content of this TAOS document is still valid. Contact information: Headquarters: ams AG Tobelbader Strasse 30 8141 Premstaetten, Austria Tel: +43 (0) 3136 500 0 e-mail:

More information

Image-based Lighting

Image-based Lighting Image-based Lighting 10/17/15 T2 Computational Photography Derek Hoiem, University of Illinois Many slides from Debevec, some from Efros Next week Derek away for ICCV (Venice) Zhizhong and Aditya will

More information

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

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 Pre AP Physics Light & Optics Chapters 14-16 Light is an electromagnetic wave Electromagnetic waves: Oscillating electric and magnetic fields that are perpendicular to the direction the wave moves Difference

More information

S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T

S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T Copyright 2018 Sung-eui Yoon, KAIST freely available on the internet http://sglab.kaist.ac.kr/~sungeui/render

More information

Reflective Illumination for DMS 803 / 505

Reflective Illumination for DMS 803 / 505 APPLICATION NOTE // Dr. Michael E. Becker Reflective Illumination for DMS 803 / 505 DHS, SDR, VADIS, PID & PLS The instruments of the DMS 803 / 505 series are precision goniometers for directional scanning

More information

Chapter 1. Light and color

Chapter 1. Light and color Chapter 1 Light and color 1.1 Light as color stimulus We live immersed in electromagnetic fields, surrounded by radiation of natural origin or produced by artifacts made by humans. This radiation has a

More information

Reading. 4. Color. Outline. The radiant energy spectrum. Suggested: w Watt (2 nd ed.), Chapter 14. Further reading:

Reading. 4. Color. Outline. The radiant energy spectrum. Suggested: w Watt (2 nd ed.), Chapter 14. Further reading: Reading Suggested: Watt (2 nd ed.), Chapter 14. Further reading: 4. Color Brian Wandell. Foundations of Vision. Chapter 4. Sinauer Associates, Sunderland, MA, 1995. Gerald S. Wasserman. Color Vision: An

More information

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

Reading. Shading. An abundance of photons. Introduction. Required: Angel , 6.5, Optional: Angel 6.4 OpenGL red book, chapter 5. Reading Required: Angel 6.1-6.3, 6.5, 6.7-6.8 Optional: Shading Angel 6.4 OpenGL red book, chapter 5. 1 2 Introduction An abundance of photons So far, we ve talked exclusively about geometry. Properly

More information