COLOR and the human response to light Contents Introduction: The - - PowerPoint PPT Presentation

color
SMART_READER_LITE
LIVE PREVIEW

COLOR and the human response to light Contents Introduction: The - - PowerPoint PPT Presentation

COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 Amazing 3


slide-1
SLIDE 1

COLOR

and the human response to light

slide-2
SLIDE 2

2

Contents

 Introduction:

 The nature of light  The physiology of human vision

 Color Spaces:

 Linear  Artistic View

 Standard  Distances between colors  Color in the TV

slide-3
SLIDE 3

Amazing

3

slide-4
SLIDE 4

4

Introduction

slide-5
SLIDE 5

5

600 nm

Wavelength in meters (m)

Gamma X rays Infrared Radar FM TV AM Ultra- violet

10

  • 12

10

  • 8

10

  • 4

10

4

1 10

8

electricity AC Short- wave

400 nm 500 nm 700 nm

Wavelength in nanometers (nm)

Visible light

Electromagnetic Radiation - Spectrum

slide-6
SLIDE 6

6

Wavelength (λ)

400 500 600 700 0.5 1

Relative Power

Spectral Power Distribution

 The Spectral Power Distribution (SPD) of a

light is a function P(λ) which defines the power in the light at each wavelength

slide-7
SLIDE 7

Spectral Power Distribution

White Light Orange Light

Figures 15.3-4 from H&B

slide-8
SLIDE 8

8

Examples

slide-9
SLIDE 9

9

The Interaction of Light and Matter

 Some or all of the light may be absorbed depending

  • n the pigmentation of the object.
slide-10
SLIDE 10

Interlude: Color is Complicated

10

What colors make up the spirals?

slide-11
SLIDE 11

11

The Physiology of Human Vision

slide-12
SLIDE 12

12

The Human Eye

slide-13
SLIDE 13

13

The Human Retina

rods cones light bipolar ganglion horizontal amacrine

slide-14
SLIDE 14

14

The Human Retina

slide-15
SLIDE 15

15

Retinal Photoreceptors

slide-16
SLIDE 16

16

Cones

 High illumination levels (Photopic vision)  Less sensitive than rods.  5 million cones in each eye.  Density decreases

with distance from fovea.

slide-17
SLIDE 17

17

3 Types of Cones

 L-cones, most sensitive to red light (610 nm)  M-cones, most sensitive to green light (560 nm)  S-cones, most sensitive to blue light (430 nm)

slide-18
SLIDE 18

18

Cones Spectral Sensitivity

( ) ( ) ( ) λ

λ λ

λ

d L P L S M L

= ⇐ , ,

slide-19
SLIDE 19

19

Metamers

 Two lights that appear the same visually.

They might have different SPDs (spectral power distributions)

slide-20
SLIDE 20

20

History

 Tomas Young (1773-1829)

“A few different retinal receptors operating with different

wavelength sensitivities will allow humans to perceive the number of colors that they do. “

 James Clerk Maxwell (1872)

“We are capable of feeling three different color sensations. Light of different kinds excites three sensations in different proportions, and it is by the different combinations of these three primary sensations that all the varieties of visible color are produced. “

 Trichromatic: “Tri”= three “chroma”= color

slide-21
SLIDE 21

21

R G B Brightness Hue black-white red-green blue-yellow

Cubic Color Spaces Polar Color Spaces Opponent Color Spaces

3D Color Spaces

 Three types of cones suggests color is a 3D

  • quantity. How to define 3D color space?
slide-22
SLIDE 22

22

Linear Color Spaces

Colors in 3D color space can be described as linear combinations of 3 basis colors, called primaries

a•

+ b• + c• = The representation of : is then given by: (a, b, c)

slide-23
SLIDE 23

23

RGB Color Model

 RGB = Red, Green, Blue  Choose 3 primaries as the basis SPDs (Spectral

Power Distribution.)

400 500 600 700 1 2 3

Wavelength (nm) Primary Intensity

slide-24
SLIDE 24

24

Color Matching Experiment

 Three primary lights are set to match a test light

+

  • +
  • +
  • test

match

= ~

400 500 600 700 0.25 0.5 0.75 1 400 500 600 700 0.25 0.5 0.75 1

Test light Match light

slide-25
SLIDE 25

25

(85, 38, 10) (21, 45, 72) (65, 54, 73)

CIE-RGB

 Stiles & Burch (1959) Color matching Experiment.  Primaries are: 444.4 525.3 645.2  Given the 3 primaries, we can describe any light with

3 values (CIE-RGB):

slide-26
SLIDE 26

26

126 14 111 36 36 111 36 111 36 12 12 17 17 111 14 126 17 36 12 111 36 36 200 12 14 126 17 36 36 111 12 14 36 36 200 12 14 126 17 36 36 111 36 200 200 12 14 111 14 126 126 17 36 36 36 36 12 14 111 111 36 126 17 36 36 200 111 72 72 12 12 17 10 128 36 17 200 111 12 14 126 126 126 126 17 17 17 17 36 36 36 36 36 200 200 200 12 12 12 14 14 111 111 72 72 72 106 155

10 128 36 17 200 111 12 14 126 126 126 126 17 17 17 17 36 36 36 36 36 200 200 200 12 12 12 14 14 111 111 72 72 72 106 155 14 126 17 36 36 111 36 200 200 12 14 111 14 126 126 17 36 36 36 36 12 14 111 111 36 126 17 36 36 200 111 72 72 12 12 17 126 14 111 36 36 111 36 111 36 12 12 17 17 111 14 126 17 36 12 111 36 36 200 12 14 126 17 36 36 111 12 14 36 36 200 12

RGB Image

slide-27
SLIDE 27

RGB Color Model

Plate I I .3 from FvDFH

R G B Color 0.0 0.0 0.0 Black 1.0 0.0 0.0 Red 0.0 1.0 0.0 Green 0.0 0.0 1.0 Blue 1.0 1.0 0.0 Yellow 1.0 0.0 1.0 Magenta 0.0 1.0 1.0 Cyan 1.0 1.0 1.0 White 0.5 0.0 0.0 ? 1.0 0.5 0.5 ? 1.0 0.5 0.0 ? 0.5 0.3 0.1 ? Colors are additive

slide-28
SLIDE 28

RGB Color Cube

Figures 15.11&15.12 from H&B

slide-29
SLIDE 29

29

CMYK Color Model

CMYK = Cyan, Magenta, Yellow, blacK

Magenta – removes Green

B G R

Black – removes all Yellow – removes Blue

B G R B G R

transmit Cyan – removes Red

slide-30
SLIDE 30

30

Combining Colors

Additive (RGB) Subtractive (CMYK)

slide-31
SLIDE 31

31

yellow B G R

+

B G R red R = magenta B G R B G R

Example: red = magenta + yellow

slide-32
SLIDE 32

32

C + M + Y = K (black)

100 50 70

=

50 20 50

+

C M Y C M Y K

CMY + Black

 Using three inks for black is expensive  C+ M+ Y = dark brown not black  Black instead of C+ M+ Y is crisper with more contrast

slide-33
SLIDE 33

33

Example

slide-34
SLIDE 34

34

Example

slide-35
SLIDE 35

35

Example

slide-36
SLIDE 36

36

Example

slide-37
SLIDE 37

37

Example

slide-38
SLIDE 38

38

From RGB to CMY

          −           =           B G R Y M C 1 1 1

          −           =           Y M C B G R 1 1 1

slide-39
SLIDE 39

39

The Artist Point of View

 Hue - The color we see (red, green, purple)  Saturation - How far is the color from gray

(pink is less saturated than red, sky blue is less saturated than royal blue)

 Brightness/ Lightness (Luminance) - How

bright is the color

white

slide-40
SLIDE 40

40

Munsell Color System

Equal perceptual steps in Hue Saturation Value. Hue: R, YR, Y, GY, G, BG, B, PB, P, RP (each subdivided into 10) Value: 0 ... 10 (dark ... pure white) Chroma: 0 ... 20 (neutral ... saturated) Example: 5YR 8/4

slide-41
SLIDE 41

41

Munsell Book of Colors

slide-42
SLIDE 42

42

Munsell Book of Colors

slide-43
SLIDE 43

43

HSV/HSB Color Space

Brightness Scale Saturation Scale

HSV = Hue Saturation Value HSB = Hue Saturation Brightness

slide-44
SLIDE 44

44

HSV

Value Saturation Hue

slide-45
SLIDE 45

45

HLS Color Space

red 0° green 120° yellow Blue 240° cyan magenta

V

black 0.0 0.5

H S

HLS = Hue Lightness Saturation

slide-46
SLIDE 46

46

Back to RGB

 Problem 1: RGB differ from one device to another

slide-47
SLIDE 47

CIE 1931 Color Space

 Experiments produced three functions: r(λ), g(λ),

b(λ)

 Functions were normalized to have a constant area

beneath them

 Therefore, RGB tristimulus values for a color I(λ)

would be:

47

slide-48
SLIDE 48

CIE 1931 Color space

We can parameterize chromaticity by defining:

48

, R G r g R G B R G B = = + + + +

slide-49
SLIDE 49

CIE-XYZ

 Transforming the triangle to (0,0),(0,1),(1,0) is a

linear transformation

49

slide-50
SLIDE 50

XYZ Color Model (CIE)

Amounts of CIE primaries needed to display spectral colors

Figure 15.6 from H&B

CI E primaries are imaginary

slide-51
SLIDE 51

51

Back to RGB

RGB Color Matching Functions

 Problem 2: RGB cannot represent all colors

slide-52
SLIDE 52

52

CIE Color Standard - 1931

 CIE - Commision Internationale d’Eclairage  1931 - defined a standard system for color

representation.

 XYZ tristimulus coordinate system.

X Y Z

slide-53
SLIDE 53

53

XYZ Spectral Power Distribution

 Non negative over the

visible wavelengths.

 The 3 primaries associated

with x y z spectral power distribution are unrealizable (negative power in some of the wavelengths).

 The color matching of Y is

equal to the spectral luminous efficiency curve.

Wavelength (nm) Tristimulus values

400 500 600 700 0.2 0.6 1 1.4 1.8

z(λ) y(λ) x(λ)

XYZ Color Matching Functions

slide-54
SLIDE 54

54

RGB to XYZ

 RGB to XYZ is a linear transformation

0.490 0.310 0.200 0.177 0.813 0.011 0.000 0.010 0.990 R G B X Y Z =

slide-55
SLIDE 55

55

CIE Chromaticity Diagram

Y X+Y+Z Y = y X X+Y+Z X = x x+y+z = 1 Z X+Y+Z Z = z

650 610 590 550 570 600 580 560 540 505 500 510 520 530 490 495 485 480 470 450

1.0 0.5 0.0 0.5 0.9

y

0.0

x

slide-56
SLIDE 56

56

Color Naming

x

650 610 590 550 570 600 580 560 540 505 500 510 520 530 490 495 485 480 470 450

1.0 0.5 0.0 0.5 0.9 green yellow- green yellow

  • range

red magenta purple blue cyan white pink

y

slide-57
SLIDE 57

57

Blackbody Radiators and CIE Standard Illuminants

CIE Standard Illuminants: 2500 - tungsten light (A) 4800 - Sunset 10K - blue sky 6500 - Average daylight (D65)

slide-58
SLIDE 58

RGB Color Gamut for typical monitor

Figure 15.13 from H&B

slide-59
SLIDE 59

59

Chromaticity Defined in Polar Coordinates

Given a reference white. Dominant Wavelength – wavelength of the spectral color which added to the reference white, produces the given color.

0.2 0.4 0.6 0.8 0.2 0.4 0.6 0.8

reference white

slide-60
SLIDE 60

60

Chromaticity Defined in Polar Coordinates

Given a reference white.

0.2 0.4 0.6 0.8 0.2 0.4 0.6 0.8

reference white

Dominant Wavelength Complementary Wavelength - wavelength

  • f the spectral color which

added to the given color, produces the reference white.

slide-61
SLIDE 61

61

Chromaticity Defined in Polar Coordinates

Given a reference white.

0.2 0.4 0.6 0.8 0.2 0.4 0.6 0.8

reference white

Dominant Wavelength Complementary Wavelength Excitation Purity – the ratio of the lengths between the given color and reference white and between the dominant wavelength light and reference white. Ranges between 0 .. 1.

purity

slide-62
SLIDE 62

62

Device Color Gamut

 We can use the CIE chromaticity diagram to

compare the gamut of various devices:

 Note, for example,

that a color printer cannot reproduce all shades available

  • n a color monitor
slide-63
SLIDE 63

But wait there’s more

We still haven’t talked about

Color appearance model

Dynamic range (low and high)

63

Starry night / Van Gogh

slide-64
SLIDE 64
slide-65
SLIDE 65

65

Luminance v.s. Brightness

Luminance Brightness (intensity) vs (Lightness) Y in XYZ V in HSV

Luminance

∆I1 ∆I2 I2 I1

I1 < I2, ∆I1 = ∆I2 Equal intensity steps: Equal brightness steps:

slide-66
SLIDE 66

66

Weber’s Law

In general, ∆I needed for just noticeable difference (JND) over background I was found to satisfy:

∆I I = constant (I is intensity, ∆I is change in intensity)

Weber’s Law: Perceived Brightness = log (I)

Intensity Perceived Brightness

slide-67
SLIDE 67

67

Munsell lines of constant Hue and Chroma

x y

0.1 0.2 0.3 0.4 0.5 0.6 0.1 0.2 0.3 0.4 0.5

Value =1/

slide-68
SLIDE 68

68

MacAdam Ellipses of JND (Just Noticeable Difference)

0.2 0.4 0.6 0.8

y

0.2 0.4 0.6

x (Ellipses scaled by 10)

slide-69
SLIDE 69

69

Perceptual Color Spaces

 An improvement over CIE-XYZ that represents better

uniform color spaces

 The transformation from XYZ space to perceptual

space is Non Linear.

 Two standard adopted by CIE are

L* u’v’ and L* a* b*

 The L* line in both spaces is a replacement of the Y

lightness scale in the XYZ model, but it is more indicative of the actual visual differences.

slide-70
SLIDE 70

70

Munsell Lines and MacAdam Ellipses plotted in CIE-L* u’v’ coordinates

u*

  • 150 -100
  • 50

50 100 150

  • 150

Value =5/

200 100 50

  • 50
  • 100

v* u*

  • 150 -100
  • 50

50 100 150 200

  • 150

100 50

  • 50
  • 100

v*

slide-71
SLIDE 71

71

Distances between colors

 Distances are not linear

in any color space.

 In perceptual color space

distances are more suitable for our conception.

 Measuring color

differences between pixels is more useful in perceptual color spaces.

slide-72
SLIDE 72

72

Opponent Color Spaces

+

black-white red-green blue-yellow

+ +

slide-73
SLIDE 73

73

YIQ Color Model

 YI Q is the color model used for color TV in America

(NTSC= National Television Systems Committee)

 Y is luminance, I & Q are color

(I= red/green,Q= blue/yellow)

 Note: Y is the same as CIE’s Y  Result: backwards compatibility with B/W TV!

 Convert from RGB to YIQ:  The YIQ model exploits properties of our visual system,

which allows to assign different bandwidth for each of the primaries (4 MHz to Y, 1.5 to I and 0.6 to Q)

                    − − − =           B G R Q I Y 31 . 52 . 21 . 32 . 28 . 60 . 11 . 59 . 30 .

slide-74
SLIDE 74

74

YUV Color Model

 YUV is the color model used for color TV in

Israel (PAL), and in video. Also called YCbCr.

 Y is luminance as in YIQ.  U and V are blue and red (Cb and Cr).  The YUV uses the same benefits as YIQ,

(5.5 MHz for Y , 1.3 for U and V).

 Converting from RGB to YUV:

 Y = 0.299R + 0.587G + 0.114B  U = 0.492(B – Y)  V = 0.877(R – Y)

slide-75
SLIDE 75

75

YUV - Example

U V Y

slide-76
SLIDE 76

76

Summary

 Light  Eye (Cones,Rods)  [l,m,s]  Color  Color standards (Munsell, CIE)  Many 3D color models:

 RGB, CMY, Munsell(HSV/HLS), XYZ,

Perceptual(Luv,Lab), Opponent(YIQ,YUV).

 Reproducing Metamers to Colors  Different reproduction Gamut  Non-linear distances between colors

slide-77
SLIDE 77

77