Color Science. CS 4620 Lecture 15

Similar documents
Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner

Introduction to Color Science (Cont)

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

COLOR. and the human response to light

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain

COLOR and the human response to light

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color

To discuss. Color Science Color Models in image. Computer Graphics 2

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Color and Perception. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Color Image Processing. Gonzales & Woods: Chapter 6

Reading. Foley, Computer graphics, Chapter 13. Optional. Color. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995.

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones

Computer Graphics Si Lu Fall /27/2016

University of British Columbia CPSC 314 Computer Graphics Jan-Apr Tamara Munzner. Color.

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Mahdi Amiri. March Sharif University of Technology

Reading for Color. Vision/Color. RGB Color. Vision/Color. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013.

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies

Color , , Computational Photography Fall 2017, Lecture 11

Visual Imaging and the Electronic Age Color Science

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

Color vision and representation

Color Computer Vision Spring 2018, Lecture 15

COLOR. Elements of color. Visible spectrum. The Fovea. Lecture 3 October 30, Ingela Nyström 1. There are three types of cones, S, M and L

Color , , Computational Photography Fall 2018, Lecture 7

19. Vision and color

Colors in Images & Video

The Principles of Chromatics

University of British Columbia CPSC 414 Computer Graphics

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation.

Lecture 3: Grey and Color Image Processing

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling

Color Perception. Color, What is It Good For? G Perception October 5, 2009 Maloney. perceptual organization. perceptual organization

A World of Color. Session 4 Color Spaces. OLLI at Illinois Spring D. H. Tracy

Digital Image Processing Color Models &Processing

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture!

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30)

Lecture Color Image Processing. by Shahid Farid

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options?

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008.

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2012 Lecture 4 September 12, 2012

Capturing Light in man and machine

Color. Fredo Durand Many slides by Victor Ostromoukhov. Color Vision 1

LECTURE 07 COLORS IN IMAGES & VIDEO

What is Color. Color is a fundamental attribute of human visual perception.

Digital Image Processing

Capturing Light in man and machine

Vision and color. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Color Image Processing

Colorimetry and Color Modeling

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Color Image Processing EEE 6209 Digital Image Processing. Outline

Introduction. The Spectral Basis for Color

Announcements. Electromagnetic Spectrum. The appearance of colors. Homework 4 is due Tue, Dec 6, 11:59 PM Reading:

Introduction to Computer Vision CSE 152 Lecture 18

Color and perception Christian Miller CS Fall 2011

The human visual system

Introduction to Color

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Capturing Light in man and machine

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Lecture 8. Color Image Processing

PERCEIVING COLOR. Functions of Color Vision

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University

COLOR. Elements of color. Visible spectrum. The Human Visual System. The Fovea. There are three types of cones, S, M and L. r( λ)

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

Fig Color spectrum seen by passing white light through a prism.

The Science Seeing of process Digital Media. The Science of Digital Media Introduction

Capturing Light in man and machine

Digital Image Processing. Lecture # 8 Color Processing

excite the cones in the same way.

Today. Color. Color and light. Color and light. Electromagnetic spectrum 2/7/2011. CS376 Lecture 6: Color 1. What is color?

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin

Prof. Feng Liu. Winter /09/2017

Color. Computer Graphics CMU /15-662

IFT3355: Infographie Couleur. Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors.

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer.

Slide 1. Slide 2. Slide 3. Light and Colour. Sir Isaac Newton The Founder of Colour Science

Color images C1 C2 C3

Multimedia Systems and Technologies

Digital Image Processing

Oversubscription. Sorry, not fixed yet. We ll let you know as soon as we can.

Colors in images. Color spaces, perception, mixing, printing, manipulating...

Additive Color Synthesis

Color. Color. Colorfull world IFT3350. Victor Ostromoukhov Université de Montréal. Victor Ostromoukhov - Université de Montréal

Color. Bilkent University. CS554 Computer Vision Pinar Duygulu

Color and Color Models

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs

Victor Ostromoukhov Université de Montréal. Victor Ostromoukhov - Université de Montréal

Capturing Light in man and machine

CSCI 1290: Comp Photo

Color Image Processing

Transcription:

Color Science CS 4620 Lecture 15 2013 Steve Marschner 1

[source unknown] 2013 Steve Marschner 2

What light is Light is electromagnetic radiation exists as oscillations of different frequency (or, wavelength) [Lawrence Berkeley Lab / MicroWorlds] 2013 Steve Marschner 3

Measuring light Salient property is the spectral power distribution (SPD) the amount of light present at each wavelength units: Watts per nanometer (tells you how much power you ll find in a narrow range of wavelengths) for color, often use relative units when overall intensity is not important amount of light = 180 dλ (relative units) wavelength band (width dλ) wavelength (nm) 2013 Steve Marschner 4

What color is Colors are the sensations that arise from light energy of different wavelengths we are sensitive from about 380 to 760 nm one octave Color is a phenomenon of human perception; it is not a universal property of light Roughly speaking, things appear colored when they depend on wavelength and gray when they do not. 2013 Steve Marschner 5

The problem of color science Build a model for human color perception That is, map a Physical light description to a Perceptual color sensation [Stone 2003]? Physical Perceptual 2013 Steve Marschner 6

The eye as a measurement device [Greger et al. 1995] We can model the low-level behavior of the eye by thinking of it as a light-measuring machine its optics are much like a camera its detection mechanism is also much like a camera Light is measured by the photoreceptors in the retina they respond to visible light different types respond to different wavelengths 2013 Steve Marschner 7

A simple light detector Produces a scalar value (a number) when photons land on it this value depends strictly on the number of photons detected each photon has a probability of being detected that depends on the wavelength there is no way to tell the difference between signals caused by light of different wavelengths: there is just a number This model works for many detectors: based on semiconductors (such as in a digital camera) based on visual photopigments (such as in human eyes) 2013 Steve Marschner 8

A simple light detector 2013 Steve Marschner 9

Light detection math Same math carries over to power distributions spectrum entering the detector has its spectral power distribution (SPD), s(λ) detector has its spectral sensitivity or spectral response, r(λ) measured signal detector s sensitivity input spectrum 2013 Steve Marschner 10

Light detection math If we think of s and r as vectors, this operation is a dot product (aka inner product) in fact, the computation is done exactly this way, using sampled representations of the spectra. or let λ i be regularly spaced sample points Δλ apart; then: this sum is very clearly a dot product 2013 Steve Marschner 11

Human observation Human eye observes electro-magnetic wavelengths Humans see different spectra as different colors Color is a phenomenon of human perception; it is not a universal property of light Other animals observe other wavelengths Bees: 340 540 nm (they see no red, but can see ultra-violet) 2013 Steve Marschner slide courtesy Pieter Peers

Insects and color Human Honey Bee 2013 Steve Marschner slide courtesy Pieter Peers

Human eye gaze Optical center Fovea Blind Spot Cornell (PCG- 62 2013 Steve Marschner slide courtesy Pieter Peers

Human eye gaze Optical center Fovea Blind Spot Cornell (PCG- 62 2013 Steve Marschner slide courtesy Pieter Peers

Human Brain 63 2013 Steve Marschner slide courtesy Pieter Peers

Human Brain 63 2013 Steve Marschner slide courtesy Pieter Peers

Human Brain 63 2013 Steve Marschner slide courtesy Pieter Peers

Human Brain imperfect measuring instrument signals cognitive & visual interpretation 63 2013 Steve Marschner slide courtesy Pieter Peers

Human eye: retina Light passes through blood vessels & retinal layers before reaching the light-sensitive cells ( rods & cones ) 64 2013 Steve Marschner slide courtesy Pieter Peers

Cone Responses S,M,L cones have broadband spectral sensitivity S,M,L neural response is integrated w.r.t. λ we ll call the response functions r S, r M, r L Results in a trichromatic visual system S, M, and L are tristimulus values [source unknown] 2013 Steve Marschner 17

2013 Steve Marschner slide courtesy Pieter Peers

2013 Steve Marschner slide courtesy Pieter Peers

2013 Steve Marschner slide courtesy Pieter Peers

2013 Steve Marschner slide courtesy Pieter Peers

2013 Steve Marschner slide courtesy Pieter Peers

S,M,L responses are what we see 2013 Steve Marschner slide courtesy Pieter Peers

Cone responses to a spectrum s 2013 Steve Marschner 19

Colorimetry: an answer to the problem Wanted to map a Physical light description to a Perceptual color sensation Basic solution was known and standardized by 1930 Though not quite in this form more on that in a bit s [Stone 2003] Physical Perceptual 2013 Steve Marschner 20

Basic fact of colorimetry Take a spectrum (which is a function) Eye produces three numbers This throws away a lot of information! Quite possible to have two different spectra that have the same S, M, L tristimulus values Two such spectra are metamers 2013 Steve Marschner 21

Pseudo-geometric interpretation A dot product is a projection We are projecting a high dimensional vector (a spectrum) onto three vectors differences that are perpendicular to all 3 vectors are not detectable For intuition, we can imagine a 3D analog 3D stands in for high-d vectors 2D stands in for 3D Then vision is just projection onto a plane 2013 Steve Marschner 22

Pseudo-geometric interpretation The information available to the visual system about a spectrum is three values this amounts to a loss of information analogous to projection on a plane Two spectra that produce the same response are metamers 2013 Steve Marschner 23

Basic colorimetric concepts Luminance the overall magnitude of the the visual response to a spectrum (independent of its color) corresponds to the everyday concept brightness determined by product of SPD with the luminous efficiency function V λ that describes the eye s overall ability to detect light at each wavelength e.g. lamps are optimized to improve their luminous efficiency (tungsten vs. fluorescent vs. sodium vapor) [Stone 2003] 2013 Steve Marschner 24

Luminance, mathematically Y just has another response curve (like S, M, and L) r Y is really called V λ V λ is a linear combination of S, M, and L Has to be, since it s derived from cone outputs 2013 Steve Marschner 25

More basic colorimetric concepts Chromaticity what s left after luminance is factored out (the color without regard for overall brightness) scaling a spectrum up or down leaves chromaticity alone Dominant wavelength many colors can be matched by white plus a spectral color correlates to everyday concept hue Purity ratio of pure color to white in matching mixture correlates to everyday concept colorfulness or saturation 2013 Steve Marschner 26

Color reproduction Have a spectrum s; want to match on RGB monitor match means it looks the same any spectrum that projects to the same point in the visual color space is a good reproduction Must find a spectrum that the monitor can produce that is a metamer of s [cs417 Greenberg] R, G, B? 2013 Steve Marschner 27

Additive Color [source unknown] 2013 Steve Marschner 28

CRT display primaries Emission (watts/m 2 ) wavelength (nm) Curves determined by phosphor emission properties 2013 Steve Marschner 29

LCD display primaries Curves determined by (fluorescent) backlight and filters 2013 Steve Marschner 30

Combining Monitor Phosphors with Spatial Integration [source unknown] 2013 Steve Marschner 31

Color reproduction Say we have a spectrum s we want to match on an RGB monitor match means it looks the same any spectrum that projects to the same point in the visual color space is a good reproduction So, we want to find a spectrum that the monitor can produce that matches s that is, we want to display a metamer of s on the screen 2013 Steve Marschner 32

Color reproduction We want to compute the combination of r, g, b that will project to the same visual response as s. 2013 Steve Marschner 33

Color reproduction as linear algebra The projection onto the three response functions can be written in matrix form: 2013 Steve Marschner 34

Color reproduction as linear algebra The spectrum that is produced by the monitor for the color signals R, G, and B is: Again the discrete form can be written as a matrix: 2013 Steve Marschner 35

Color reproduction as linear algebra What color do we see when we look at the display? Feed C to display Display produces s a Eye looks at s a and produces V 2013 Steve Marschner 36

Color reproduction as linear algebra Goal of reproduction: visual response to s and s a is the same: Substituting in the expression for s a, color matching matrix for RGB 2013 Steve Marschner 37

Subtractive Color [source unknown] 2013 Steve Marschner 38

Reflection from colored surface [Stone 2003] 2013 Steve Marschner 39

What is color? Spectral Power Distribution Illuminant D65 Spectral Power Distribution 2013 Steve Marschner slide courtesy Pieter Peers

What is color? Spectral Power Distribution Illuminant D65 Reflectance Spectrum Spectral Power Distribution 2013 Steve Marschner slide courtesy Pieter Peers

What is color? Spectral Power Distribution Illuminant D65 F1? Spectral Power Distribution 2013 Steve Marschner slide courtesy Pieter Peers

What is color? Spectral Power Distribution Illuminant D65 F1 Reflectance Spectrum? Spectral Power Distribution 2013 Steve Marschner slide courtesy Pieter Peers

What is color? Spectral Power Distribution Illuminant D65 F1 Reflectance Spectrum? Spectral Power Distribution Under F1 2013 Steve Marschner slide courtesy Pieter Peers

Subtractive color Produce desired spectrum by subtracting from white light (usually via absorption by pigments) Photographic media (slides, prints) work this way Leads to C, M, Y as primaries Approximately, 1 R, 1 G, 1 B 2013 Steve Marschner 42

Color spaces Need three numbers to specify a color but what three numbers? a color space is an answer to this question Common example: monitor RGB define colors by what R, G, B signals will produce them on your monitor (in math, s = RR + GG + BB for some spectra R, G, B) device dependent (depends on gamma, phosphors, gains, ) therefore if I choose RGB by looking at my monitor and send it to you, you may not see the same color also leaves out some colors (limited gamut), e.g. vivid yellow 2013 Steve Marschner 43

Standard color spaces Standardized RGB (srgb) makes a particular monitor RGB standard other color devices simulate that monitor by calibration srgb is usable as an interchange space; widely adopted today gamut is still limited 2013 Steve Marschner 44

A universal color space: XYZ Standardized by CIE (Commission Internationale de l Eclairage, the standards organization for color science) Based on three imaginary primaries X, Y, and Z (in math, s = XX + YY + ZZ) imaginary = only realizable by spectra that are negative at some wavelengths key properties any stimulus can be matched with positive X, Y, and Z separates out luminance: X, Z have zero luminance, so Y tells you the luminance by itself 2013 Steve Marschner 45

Separating luminance, chromaticity Luminance: Y Chromaticity: x, y, z, defined as since x + y + z = 1, we only need to record two of the three usually choose x and y, leading to (x, y, Y) coords 2013 Steve Marschner 46

Chromaticity Diagram spectral locus purple line [source unknown] 2013 Steve Marschner 47

Chromaticity Diagram [source unknown] 2013 Steve Marschner 48

Color Gamuts Monitors/printers can t produce all visible colors Reproduction is limited to a particular domain [source unknown] For additive color (e.g. monitor) gamut is the triangle defined by the chromaticities of the three primaries. 2013 Steve Marschner 49

Perceptually organized color spaces Artists often refer to colors as tints, shades, and tones of pure pigments tint: mixture with white shade: mixture with black tones: mixture with black and white gray: no color at all (aka. neutral) This seems intuitive white grays black tints shades tints and shades are inherently related to the pure color same color but lighter, darker, paler, etc. pure color [after FvDFH] 2013 Steve Marschner 50

Perceptual dimensions of color Hue the kind of color, regardless of attributes colorimetric correlate: dominant wavelength artist s correlate: the chosen pigment color Saturation the colorfulness colorimetric correlate: purity artist s correlate: fraction of paint from the colored tube Lightness (or value) the overall amount of light colorimetric correlate: luminance artist s correlate: tints are lighter, shades are darker 2013 Steve Marschner 51

Perceptual dimensions: chromaticity In x, y, Y (or another luminance/chromaticity space), Y corresponds to lightness hue and saturation are then like polar coordinates for chromaticity (starting at white, which way did you go and how far?) [source unknown] 2013 Steve Marschner 52

Perceptual dimensions of color There s good evidence ( opponent color theory ) for a neurological basis for these dimensions the brain seems to encode color early on using three axes: white black, red green, yellow blue the white black axis is lightness; the others determine hue and saturation one piece of evidence: you can have a light green, a dark green, a yellow-green, or a blue-green, but you can t have a reddish green (just doesn t make sense) thus red is the opponent to green another piece of evidence: afterimages (next slide) 2013 Steve Marschner 53

2013 Steve Marschner 54

2013 Steve Marschner 55

RGB as a 3D space A cube: (demo of RGB cube) 2013 Steve Marschner 56

Perceptual organization for RGB: HSV Uses hue (an angle, 0 to 360), saturation (0 to 1), and value (0 to 1) as the three coordinates for a color the brightest available RGB colors are those with one of R,G,B equal to 1 (top surface) each horizontal slice is the surface of a sub-cube of the RGB cube [FvDFH] (demo of HSV color pickers) 2013 Steve Marschner 57

Perceptually uniform spaces Two major spaces standardized by CIE designed so that equal differences in coordinates produce equally visible differences in color LUV: earlier, simpler space; L*, u*, v* LAB: more complex but more uniform: L*, a*, b* both separate luminance from chromaticity including a gamma-like nonlinear component is important 2013 Steve Marschner 58