Introduction to color science

Similar documents
Lecture 1 Image Formation.

Color Vision. Spectral Distributions Various Light Sources

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

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

The Elements of Colour

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

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

CS635 Spring Department of Computer Science Purdue University

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

Colour Reading: Chapter 6. Black body radiators

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

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

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

Lecture #2: Color and Linear Algebra pt.1

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

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

Color. Phillip Otto Runge ( )

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

Image Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Spectral Color and Radiometry

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

Lecture 12 Color model and color image processing

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

CHAPTER 3 COLOR MEASUREMENT USING CHROMATICITY DIAGRAM - SOFTWARE

Local Linear Models for Improved von Kries Adaptation

Chapter 1. Light and color

Introduction to Computer Graphics with WebGL

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

Lighting. Camera s sensor. Lambertian Surface BRDF

this is processed giving us: perceived color that we actually experience and base judgments upon.

Illumination and Reflectance

2003 Steve Marschner 7 Light detection discrete approx. Cone Responses S,M,L cones have broadband spectral sensitivity This sum is very clearly a dot

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

Lecture 11. Color. UW CSE vision faculty

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

An Algorithm to Determine the Chromaticity Under Non-uniform Illuminant

CS452/552; EE465/505. Color Display Issues

Color Space Transformations

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

Digital Image Processing. Introduction

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

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

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

Combining Strategies for White Balance

ELEC Dr Reji Mathew Electrical Engineering UNSW

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

Digital Image Processing

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

COLOR FIDELITY OF CHROMATIC DISTRIBUTIONS BY TRIAD ILLUMINANT COMPARISON. Marcel P. Lucassen, Theo Gevers, Arjan Gijsenij

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

Chapter 4 Color in Image and Video

Siggraph Course 2017 Path Tracing in Production Part 1 Manuka: Weta Digital's Spectral Renderer

E (sensor) is given by; Object Size

Visualisatie BMT. Rendering. Arjan Kok

CS6670: Computer Vision

Mech 296: Vision for Robotic Applications

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?

Spectral Adaptation. Chromatic Adaptation

CS5670: Computer Vision

CS6670: Computer Vision

Topics: Chromaticity, white point, and quality metrics

Estimation of Reflection Properties of Silk Textile with Multi-band Camera

Causes of color. Radiometry for color

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

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Computer Vision. The image formation process

Elec4622: Multimedia Signal Processing Chapter 9: Introduction to Colour

Colorimetric Quantities and Laws

Multispectral Image Invariant to Illumination Colour, Strength, and Shading

Image Processing. Color

SPECTRAL MISMATCH CORRECTION FACTOR ESTIMATION FOR WHITE LED SPECTRA BASED ON THE PHOTOMETER'S f 1 VALUE.

3D graphics, raster and colors CS312 Fall 2010

Lenses: Focus and Defocus

CS4670: Computer Vision

Spectral Images and the Retinex Model

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

Gray-World assumption on perceptual color spaces. Universidad de Guanajuato División de Ingenierías Campus Irapuato-Salamanca

Game Programming. Bing-Yu Chen National Taiwan University

MITPress NewMath.cls LAT E X Book Style Size: 7x9 September 12, :37pm. Contents

Visible Color. 700 (red) 580 (yellow) 520 (green)

Sources, Surfaces, Eyes

Lecture #13. Point (pixel) transformations. Neighborhood processing. Color segmentation

UvA-DARE (Digital Academic Repository) Edge-driven color constancy Gijsenij, A. Link to publication

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

Lecture 16 Color. October 20, 2016

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Color Appearance in Image Displays. O Canada!

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

Computational Perception. Visual Coding 3

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?

Image Acquisition Image Digitization Spatial domain Intensity domain Image Characteristics

Fall 2015 Dr. Michael J. Reale

Wat is licht, wat is meten? Belgisch Perspectief! Spectraal of niet-spectraal meten: that s the question

Illuminant Estimation from Projections on the Planckian Locus

Geometric Invariants Under Illuminant Transformations

A New Time-Dependent Tone Mapping Model

Illumination and Shading

INTRODUCTION. Slides modified from Angel book 6e

Light Transport Baoquan Chen 2017

Video-Based Illumination Estimation

Transcription:

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 Girod, 2013 Stanford University -- Color 1

Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 2 Newton s Prism Experiment - 1666

Color: visible range of the electromagnetic spectrum 380 nm 760 nm Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 3

Human retina [Roorda, Williams, 1999] Pseudo-color image of nasal retina, 1 degree eccentricity, in two male subjects, scale bar 5 micron Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 4

Absorption of light in the cones of the human retina Sensitivity 535 nm 445 nm 575 nm L: S R λ M: S G λ S: S B λ Note: curves are normalized. Much lower sensitivity to Blue, since fewer S-cones absorb less light. Wavelength λ (nm) Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 5

Three-receptor model of color perception α R C ( λ ) Spectral energy distribution of incident light λ λ G ( ) ( ) S λ C λ dλ B ( ) ( ) S λ C λ dλ α G α B Effective cone stimulation ( tristimulus values ) [T. Young, 1802] [J.C. Maxwell, 1890] Different spectra can map into the same tristimulus values and hence look identical ( metamers ) Three numbers suffice to represent any color Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 6

What is the smallest number of monochromatic components that the spectral energy distribution of light that appears white to a human observer must contain???? (a) 1 (b) 2 (c) 3 (d) infinitely many Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 7

Color matching Suppose 3 primary light sources with spectra P k (λ), k =1,2,3 Intensity of each light source can be adjusted by factor β k How to choose β k, k =1,2,3, such that desired tristimulus values (α R, α G, α B ) result? C( λ)= β 1 P 1 ( λ) ( ) ( ) +β 2 P 2 λ +β 3 P 3 λ λ λ λ R G ( ) ( ) S λ C λ dλ ( ) ( ) S λ C λ dλ B ( ) ( ) S λ C λ dλ α R α G α B α i = S i ( λ) β 1 P 1 ( λ)+ β 2 P 2 ( λ)+ β 3 P 3 ( λ) dλ λ = β 1 K i,1 + β 2 K i,2 + β 3 K i,3 with K i, j = S i ( λ) P j ( λ)dλ λ Color matching is linear! Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 8

Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 9 Additive vs. subtractive color mixing

Color matching experiment Eyes Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 10 Courtesy B. Wandell, from [Foundations of Vision, 1996]

Spectral matching functions RGB Color Matching Functions Tristimulus values r λ g λ b λ Color matching experiment: Monochromatic test light and monochromatic primary lights Spectral RGB primaries (scaled, such that R λ =G λ =B λ matches spectrally flat white). Negative intensity : color is added to test color Standard human observer: CIE (Commision Internationale de L Eclairage), 1931. Wavelength λ (nm) 435.8 nm 546.1 nm 700.0 nm Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 11

The human eye can distinguish monochromatic light between 650 and 700 nm only based on intensity, but not based on color. (a) True (b) False??? Spectral matching curves for any set of three primary lights are a linear combination of the 1931 CIE RGB color matching functions (a) False (b) True, but only if the primaries are monochromatic lights (c) True, but only if the tristimulus values of the primaries are linearly independent (d) True in general Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 12

Luminosity function Peak 555nm Monochromatic test light reference light Luminous efficiency Wavelength λ (nm) Experiment: Match the brightness of a white reference light and a monochromatic test light of wavelength λ Links photometric to radiometric quantities Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 13

CIE 1931 XYZ color system Tristimulus values XYZ Color Matching Functions x λ y λ z λ Properties: All positive spectral matching functions X.490.310.200 Rλ Y =.177.813.011 Gλ Z.000.010.990 B λ Y corresponds to luminance Equal energy white: X=Y=Z Virtual primaries Wavelength λ (nm) Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 14

Color gamut and chromaticity Z Y x y = = X X + Y + Z Y X + Y + Z X+Y+Z=1 Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 15 X

Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 16 CIE chromaticity diagram

Perceptual non-uniformity of xy chromaticity Just noticeable chromaticity differences (10X enlarged) [MacAdam, 1942] Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 17

Color gamut NTSC phosphors R: x=0.67, y=0.33 G: x=0.21, y=0.71 B: x=0.14, y=0.08 Reference white: x=0.31, y=0.32 Illuminant C Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 18

It is not possible to build a display that directly uses X, Y, Z as primary light sources. (a) True (b) False??? With additive color mixing, how many primaries are required to perfectly reproduce every possible color? (a) 2 (b) 3 (c) 4 (d) 256 (e) infinitely many Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 19

White at different color temperatures 10000 25000 T c (K) 2500 3000 4000 6000 2000 1500 Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 20

Blackbody radiation Planck s Law Curves B T (λ) (W m -2 sr -1 Hz -1 ) 414 nm 503 nm 725 nm 7000 K 5770 K 4000 K Planck s Law, 1900 B T (λ) = 2hc2 / λ 5 e hc/λkt 1 Wien s Law Wavelength λ (nm) Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 21

Color balancing Effect of different illuminants can be cancelled only in the spectral domain (impractical) Color balancing in 3-d color space is practical approximation Color constancy in human visual system: gain control in cone space LMS [von Kries,1902] Von Kries hypothesis applied to image acquisition devices (cameras, scanners) Camera sensors 3x3 matrix L k M M k L L M 3x3 matrix T1 S 2 S T γ γ γ R γ G γ B γ k S How to determine k L, k M, k S automatically? Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 22

Color balancing (cont.) Von Kries hypothesis L kl 0 0 L M = 0 km 0 M S 0 0 k S S If illumination (or a patch of white in the scene) is known, calculate L M S kl = ; km = ; ks = L M S desired desired desired actual actual actual Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 23

Color balancing with unknown illumination Gray-world k L x,y L x, y = k M M x, y = k S S x,y x,y x, y Scale-by-max k L max x,y L x, y = k M max x,y M x, y = k S max x,y S x, y Shades-of-gray [Finlayson, Trezzi, 2004] k L L p x,y x, y 1 p = k M M p x, y x,y 1 p = k S S p x,y x, y 1 p» Special cases: gray-world (p = 1), scale-by-max ( p = )» Best performance for p 6 Refinements: smooth image, exclude saturated color/dark pixels, use spatial derivatives instead ( gray-edge, max-edge ) [van de Weijer, 2007]) Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 24

Color balancing example Original Gray-world Scale-by-max Gray-edge Max-edge Shades-of-gray Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 25

Color balancing example Original Gray-world Scale-by-max Gray-edge Max-edge Shades-of-gray Original image courtesy Ciurea and Funt Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 26

Even if the spectrum of the illuminant is known exactly, perfect color correction is generally not possible in a 3-dimensional color space. (a) True (b) False??? For accurate color reproduction, the absorption spectra of an R,G,B image sensor (a) Must exactly match the absorption spectra of the L,M,S cones in the human retina. (b) Must be a linear combination of the absorption spectra of the L,M,S cones. (c) Can be any set of 3 functions that are not linearly dependent and cover the entire visible spectrum. Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 27

Daylight D65 CIE observer Daylight D65 cheap camera Illuminant A CIE observer Digital Image Processing: Bernd Girod, 2013 Stanford University -- Color 28