Color & Light CMSC 435/634.

Slides:



Advertisements
Similar presentations
CS 445 / 645 Introduction to Computer Graphics Lecture 13 Color Color.
Advertisements

Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
Light Visible electromagnetic radiation Power spectrum Polarization Photon (quantum effects) Wave (interference, diffraction) From London and Upton.
CPSC 641 Computer Graphics: Radiometry and Illumination Jinxiang Chai Many slides from Pat Haranhan.
Light, Color & Perception CMSC 435/634. Light Electromagnetic wave – E & M perpendicular to each other & direction Photon wavelength, frequency f = c/
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Color Week 5, Fri Feb.
School of Computing Science Simon Fraser University
CS 4731: Computer Graphics Lecture 24: Color Science
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
COLOR and the human response to light
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Lecture 4: The spectrum, color theory and absorption and photogrammetry Thursday, 14 January Ch 2.3 (color film)
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Making Light How do we make light?. Making Light How do we make light? –Heat and Light: Incandescent Lighting (3-5% efficient) –Atoms and Light: Fluorescent.
Colour in Computer Graphics Mel Slater. Outline: This time Introduction Spectral distributions Simple Model for the Visual System Simple Model for an.
Color & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
Light, Color and Imaging. Light The Electromagnetic Spectrum: E = h.
Chapter 2: Origin of Color What produces the color sensation?
CS348B Lecture 4Pat Hanrahan, 2005 Light Visible electromagnetic radiation Power spectrum Polarization Photon (quantum effects) Wave (interference, diffraction)
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
Any questions about the current assignment? (I’ll do my best to help!)
Early Work – Feb. 20 Explain the uses of light Definitions from Ch. 16.
Chapter 3: Colorimetry How to measure or specify color? Color dictionary?
Optical sensing in Precision Farming (Techniques) Aerial remote sensing Film (visible/NIR/IR) and digitization Direct Digital recording Field machine based.
Optoelectronics Chapter 1 Terminology. EM Spectrum.
EE 7700 High Dynamic Range Imaging. Bahadir K. Gunturk2 References Slides and papers by Debevec, Ward, Pattaniak, Nayar, Durand, et al…
Visible light is electromagnetic radiation with wavelengths from 400 to 700 nm. The electromagnetic spectrum Includes more that just Visible light.
Color. Contents Light and color The visible light spectrum Primary and secondary colors Color spaces –RGB, CMY, YIQ, HLS, CIE –CIE XYZ, CIE xyY and CIE.
Light. Light Facts Light: The range of frequencies of electromagnetic waves that stimulate the retina of the eye. 400 nm – 700 nm ( 4 x to 7 x 10.
Chapter 3 Measuring / Testing Optoelectric Devices.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Global Illumination CMSC 435/634. Global Illumination Local Illumination – light – surface – eye – Throw everything else into ambient Global Illumination.
CSC361/ Digital Media Burg/Wong
Announcement Exam #2 grades are posted on E-learning Exam #2 grades are posted on E-learning Exam #2 average is 6.6 out of 10 (66%) Exam #2 average is.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Introduction to Computer Graphics
EEL Introduction to Computer Graphics PPT12: Color models Yamini Bura – U
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Computer Graphics III – Radiometry
Describe how electromagnetic energy is transferred through space as electromagnetic waves of varying wavelength and frequency.
Physics 1 H Created by Stephanie Ingle
LIGHT AND SIGHT (Chapter 2) Light Wavelength Color temperature –Kelvin –Blackbody Velocity Correlated color temperature (CCT) (Additional information)
CMSC 635 Global Illumination.  Local Illumination  light – surface – eye  Throw everything else into ambient  Global Illumination  light – surface.
CS-321 Dr. Mark L. Hornick 1 Color Perception. CS-321 Dr. Mark L. Hornick 2 Color Perception.
David Luebke 1 2/5/2016 Color CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
EM Plane Wave: z Wave propagates along k, magnitude = 2p/l
ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Color Models Light property Color models.
Physical Principles of Remote Sensing: Electromagnetic Radiation
Half Toning Dithering RGB CMYK Models
IMAGE PROCESSING COLOR IMAGE PROCESSING
Display Issues Ed Angel
Color Image Processing
Color Image Processing
Human Eye Some interesting facts Useful fact Rod cells: Cone cells:
Color Image Processing
COLOR space Mohiuddin Ahmad.
Color Image Processing
Light, Color & Perception
ECE 638: Principles of Digital Color Imaging Systems
Introduction to Computer Graphics with WebGL
Human Eye Some interesting facts Useful fact Rod cells: Cone cells:
Color Image Processing
Slides taken from Scott Schaefer
Digital Image Processing
Color Model By : Mustafa Salam.
Color Theory What is color? How do we perceive it?
Warm - Up 1) What is the speed of light?
Presentation transcript:

Color & Light CMSC 435/634

Light Electromagnetic wave Photon wavelength l, frequency f = c/l E & M perpendicular to each other & direction Photon wavelength l, frequency f = c/l Visibile l ≈ 380 nm (blue) to 720 nm (red) Photon energy q = h f = h c/l (in J) c = speed of light, h = Planck’s constant Spectral energy Q = J/nm

Light Infinite-dimensional function vector space spectrum(l) Shine two lights on something adds energies Scale light energy, scales the intensity

Radiometric Units Term Symbol Units Spectral Energy Q J Spectral Power  = dQ/dt W = J/s Irradiance E = d/dA W/m2 Radiant Intensity I = d/d W/sr Radiance L = d2/(d dA) W/(sr m2) /nm dropped by graphics convention

Radiant Energy (Q) Total energy (Joules) Over all time, directions, area, …

Radiant Flux ()  = dQ/dt in Watts = J/s Radiant energy per unit time This is the one you probably want Unless you are measuring total energy absorbed E.g. by a plant over hours of daylight

Radiant Intensity (I) I = d/d in W/sr Radiant Flux emitted per unit solid angle Light from a point in a small cone of directions

Radiosity (B) B = d/dA in W/m2 All light leaving a patch of surface Emitted or reflected All directions at each point Measured per unit area

Irradiance (E) E = d/dA in W/m2 All light entering a patch of surface All directions at each point Measured per unit area

Radiance (L) L = d2/(d dA) in W/(sr m2) Light entering patch of surface from a small range of directions Per unit area Per unit solid angle Compare to Irradiance (over all directions)

Spectral Graphs A = Incandescent light D = Daylight (50=horizon, 65=noon) F = Flourescent light

Color Perception

Color Perception Cones = function dot product For quantized spectra: Projects to a 3D subspace

Metamers Different spectrum, looks the same Same 3D projection

Color Basis Can transform to any 3D linear basis As long as it spans the same subspace Transform between bases with a 3x3 matrix

Linear Bases Additive (light) Subtractive (pigment) Tristimulus (LMS cone response) CIE XYZ (from color matching experiments) RGB (different for each device) Yuv, YCrCb, … Subtractive (pigment) CMY = 1-RGB (grade school Blue, Red, Yellow) CMYK

Chromaticity Normalize x = X / (X+Y+Z); y = Y / (X+Y+Z)

RGB Gamut Gamut = representable colors

Subtractive Start at white, remove R, G, or B

White Points & Color Temperature Color of radiating black body Specified in Kelvin degrees

Nonlinear Color Spaces HSV: Cylindrical Coordinates Hue = angle Saturation = distance from central axis Value = distance along axis

Nonlinear Perception Linear colors don’t look uniformly different Nonlinear Luminance Gamma (sRGB), L*uv Nonlinear Luminance & Color L*u*v*, L*a*b* Can measure color distances Nonlinear colors do not add

Photometric Units Visual intensity Term Symbol Units Luminous Energy Q talbot Lumens  = dQ/dt lm = talbot/s Illuminance (lux) E = d/dA lx = lm/m2 Candelas I = d/d cd = lm/sr Luminance (nit) L = d2/(d dA) nt = cd/m2

Dynamic Range Real world: High Dynamic range (HDR) Outside, moonlight 0.0014 nt Outside, sunrise 25 nt Outside, overcast 700 nt Outside, sunlight 5,000 nt Sky 7,000 nt Light blub 130,000 nt Sun 1,600,000,000 nt Displays: Low Dynamic Range (LDR) Typically about 1 nt to 250 nt

Tone Mapping Convert HDR to LDR Nonlinear tone mapping curve Adapt to overall intensity Time-dependent adaptation

Film Exposure Aperture in f/stop = focal length / diameter What matters is aperture area ∝ diameter2 f/1, f/1.4, f/2, f/2.8 (sqrt 1,2,4,8,…) Controls light, but also depth of field Shutter time t = how long shutter is open Controls light, but also motion blur ISO = sensitivity Controls light, but also noise Exposure Value EV = log2(f2/t)

Dynamic Range “Stops” 1 stop = double the light LCD Display: 8-9 stops Film: 13-15 stops Eye: 20 stops Real world, moonlight to sun: 40 stops