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 How many


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

How many dimension ?

 RBG  Lab  CMY  …

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 (l)

400 500 600 700 0.5 1

Relative Power

Spectral Power Distribution

 The Spectral Power Distribution (SPD) of a

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

slide-7
SLIDE 7

7

Examples

slide-8
SLIDE 8

8

The Interaction of Light and Matter

 Some or all of the light may be absorbed depending

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

9

The Physiology of Human Vision

slide-10
SLIDE 10

10

The Human Eye

slide-11
SLIDE 11

11

The Human Retina

rods cones light bipolar ganglion horizontal amacrine

slide-12
SLIDE 12

12

The Human Retina

slide-13
SLIDE 13

13

Retinal Photoreceptors

slide-14
SLIDE 14

14

Cones

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

with distance from fovea.

slide-15
SLIDE 15

15

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-16
SLIDE 16

16

Cones Spectral Sensitivity

      l

l l

l

d L P L S M L

  , ,

slide-17
SLIDE 17

17

Metamers

 Two lights that appear the same visually.

They might have different SPDs (spectral power distributions)

slide-18
SLIDE 18

18

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-19
SLIDE 19

19 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-20
SLIDE 20

20

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-21
SLIDE 21

21

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-22
SLIDE 22

22

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-23
SLIDE 23

23

(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-24
SLIDE 24

24 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-25
SLIDE 25

25

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-26
SLIDE 26

26

Combining Colors

Additive (RGB) Subtractive (CMYK)

slide-27
SLIDE 27

27

yellow B G R

+

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

Example: red = magenta + yellow

slide-28
SLIDE 28

28

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-29
SLIDE 29

29

Example

slide-30
SLIDE 30

30

50 100 150 200 250 50 100 150 200

Example

slide-31
SLIDE 31

31

50 100 150 200 250 50 100 150 200

Example

slide-32
SLIDE 32

32

50 100 150 200 250 50 100 150 200

Example

slide-33
SLIDE 33

33

50 100 150 200 250 50 100 150 200

Example

slide-34
SLIDE 34

34

From RGB to CMY

                                B G R Y M C 1 1 1

                                Y M C B G R 1 1 1

slide-35
SLIDE 35

35

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-36
SLIDE 36

36

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-37
SLIDE 37

37

Munsell Book of Colors

slide-38
SLIDE 38

38

Munsell Book of Colors

slide-39
SLIDE 39

39

HSV/HSB Color Space

Brightness Scale Saturation Scale

HSV = Hue Saturation Value HSB = Hue Saturation Brightness

slide-40
SLIDE 40

40

HSV

Value Saturation Hue

slide-41
SLIDE 41

41

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-42
SLIDE 42

42

Back to RGB

 Problem 1: RGB differ from one device to another

slide-43
SLIDE 43

43

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-44
SLIDE 44

44

Back to RGB

RGB Color Matching Functions

 Problem 2: RGB cannot represent all colors

slide-45
SLIDE 45

45

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-46
SLIDE 46

46

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(l) y(l) x(l)

XYZ Color Matching Functions

slide-47
SLIDE 47

47

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-48
SLIDE 48

A linear transformation

48

slide-49
SLIDE 49

49

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-50
SLIDE 50

50

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-51
SLIDE 51

51

Blackbody Radiators and CIE Standard Illuminants

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

slide-52
SLIDE 52

52

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-53
SLIDE 53

53

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-54
SLIDE 54

54

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-55
SLIDE 55

55

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-56
SLIDE 56

56

Luminance v.s. Brightness

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

Luminance

DI1 DI2 I2 I1

I1 < I2, DI1 = DI2 Equal intensity steps: Equal brightness steps:

slide-57
SLIDE 57

57

Weber’s Law

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

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

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

Intensity Perceived Brightness

slide-58
SLIDE 58

58

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-59
SLIDE 59

59

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-60
SLIDE 60

60

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-61
SLIDE 61

61

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-62
SLIDE 62

62

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-63
SLIDE 63

63

Opponent Color Spaces

+

black-white red-green blue-yellow

+ +

slide-64
SLIDE 64

64

YIQ Color Model

 YIQ 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-65
SLIDE 65

65

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-66
SLIDE 66

66

YUV - Example

U V Y

slide-67
SLIDE 67

67

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