28
1 Color vision and representation 0.44 0.0 0.52 S M L

1 Color vision and representation 0.44 0.0 0.52 S M L

Embed Size (px)

Citation preview

Page 1: 1 Color vision and representation 0.44 0.0 0.52 S M L

1

Color vision and representation

0.44

0.0

0.52

S

M

L

Page 2: 1 Color vision and representation 0.44 0.0 0.52 S M L

2

• Eye perceives different wavelengths as different colors.

• Sensitive only to 400nm - 700 nm range

• Narrow piece of the entire electromagnetic spectrum.

Page 3: 1 Color vision and representation 0.44 0.0 0.52 S M L

3

Comparing Sound and Light

• Eye sensitive to 400 nm to 700 nm.– Not even a factor of 2– In terms of sound, less than one octave– If our ears had only this range, variety of sounds,

instrumental, etc, would be almost nothing.– Ear response to sound covers factor of 1000

• 20 Hz to 20,000 Hz

• Ear characterizes sound in a variety of ways– Pitch, timbre, dynamics, duration

• Eye characterizes light only as – Color– Intensity

• Partially due to eye’s narrow range of wavelength sensitivity.

Page 4: 1 Color vision and representation 0.44 0.0 0.52 S M L

4

White light is a superposition

• Prism can separate the superposition into it’s constituents.

• For example, ‘white’ light is an almost equal superposition of all visible wavelengths (as well a invisible ones!)

• This is a simple analyzer to ‘deconstruct’ a superposition of light waves (how much of each wavelength is present in the light).

Page 5: 1 Color vision and representation 0.44 0.0 0.52 S M L

5

Seeing colors

•Rods and cones send impulses to brain when they absorb light.

•Brain processes into color information.

Cones, 3 types

Rods (one type)

Page 6: 1 Color vision and representation 0.44 0.0 0.52 S M L

6

Rods and cones

• Rods are responsible for vision at low light levels. No color sensitivity

• Cones are active at higher light levels

• The central fovea ispopulated only by cones.

• 3 types of cones – short-wavelength sensitive cones (S)– middle-wavelength sensitive cones

(M) – long-wavelength sensitive cones (L)

Cones, 3 types

Rods (one type)

Page 7: 1 Color vision and representation 0.44 0.0 0.52 S M L

7

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

400 440 480 520 560 600 640 680

WAVELENGTH ( nm )

Eye sensitivity

• Eye’s wavelength sensitivity by cone type.

• Sensitivities overlap.

S-cones

M-cones

L-cones

For instance, pure yellow (single wavelength of 570 nm) stimulates both M and L cones.

M-cone: 0.44L-cone: 0.52S-cone: 0

Page 8: 1 Color vision and representation 0.44 0.0 0.52 S M L

8

Interpreting colors• Each cone sends a signal

in relation to its degree of stimulation• A triplet of information (S, M, L) is conveyed.• Brain uses this information to assign a color• Any light generating same (S, M, L) ‘seen’ as same color

0.44

0.0

0.52

S

M

L

Page 9: 1 Color vision and representation 0.44 0.0 0.52 S M L

9

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

400 440 480 520 560 600 640 680

WAVELENGTH ( nm )

Red + Green = ?

• Combined Green + Red

Compare to spectrally pure yellow (S, M, L)=(0,0.44,0.52)

Total M-cone stimulus

= 0.55+0.02 = 0.57Total L-cone stimulus = 0.49+0.17=0.66Reducing the intensity slightly (by 1.25) gives

(S, M, L)=(0,0.45,0.52)

Page 10: 1 Color vision and representation 0.44 0.0 0.52 S M L

10

Color metamers

• Eye-brain machine does not discriminate particularly well.

• Spectrally pure yellow is exactly same color as combination of spectrally pure red and green.

• Such pairs of different waveforms that appear as the same color are called color metamers.

Page 11: 1 Color vision and representation 0.44 0.0 0.52 S M L

11

Compare waveforms• Just said that the eye-brain system

interprets some combinations identically.• Spectral yellow is a pure color with a

wavelength of 570 nm.• But mixture red+green is indistinguishable

570 nm (yellow)540 nm (green) +635 nm (red)

Page 12: 1 Color vision and representation 0.44 0.0 0.52 S M L

12

Mixing colors

• Suggests that as far as brain is concerned, entire range of colors can be represented as a mixture of small number of primary colors.

• Which primaries should we mix?

• How many primary colors do we need?

Page 13: 1 Color vision and representation 0.44 0.0 0.52 S M L

13

TrichromacyPioneered by Maxwell,

who developed theory of electromagnetism.

• Color interpretation of almost any waveform reproduced with a mixture (addition) of three primary waveforms (colors).

• Most people make the same matches.

Page 14: 1 Color vision and representation 0.44 0.0 0.52 S M L

14

Color matching experiment

Image courtesy Bill Freeman

Page 15: 1 Color vision and representation 0.44 0.0 0.52 S M L

15

Additive color mixing

Primary colors:1) One primary cannot be matched

by a mixture of the other two2) Often chosen to produce white

when all three combined in equal amounts

Common primaries: red green blue

although others could be used

Almost all colors can be produced by a mixture of three primary colors

Page 16: 1 Color vision and representation 0.44 0.0 0.52 S M L

16

Maxwell color triangle

• Arrange colors so that they correctly represent fractional mixing along edges of triangle.

• Interior points are colors obtained by mixing appropriate fractions.

• R+G+B=1, so only color is indicated, not brightness.

Blue fraction

Red

fr

actio

n

Green fraction

Page 17: 1 Color vision and representation 0.44 0.0 0.52 S M L

17

0

0.2

0.4

0.6

0.8

1

0 0.2 0.4 0.6 0.8 1

fraction of red

fracti

on

of

gre

en

Another version of the color triangleSince B = 1 - R - G, don’t explicitly plot it

White point 0.33 red

0.33 green0.33 blue

0.5 red0.5 green0.0 blue

0.0 red0.5 green0.5 blue

0.5 red0.0 green0.5 blue

Page 18: 1 Color vision and representation 0.44 0.0 0.52 S M L

18

0

0.2

0.4

0.6

0.8

1

0 0.2 0.4 0.6 0.8 1fraction of red

frac

tion

of g

reen

Where are the browns, grays?

Gray: low-intensity white

Brown: low-intensity orange

Page 19: 1 Color vision and representation 0.44 0.0 0.52 S M L

19

Not all colors inside a color triangle

Physicist Ogden Rood's analysis of pigment chroma

Shows location of pigments more saturated than any visual mixture of the three "primary" colors; adapted from Modern Chromatics (1879)

This means that not all colors obtainable by adding easily obtainable primaries

Page 20: 1 Color vision and representation 0.44 0.0 0.52 S M L

20

Subtractive Matching

Page 21: 1 Color vision and representation 0.44 0.0 0.52 S M L

21

Human color-matching results

Use spectrally pure primaries red (700 nm) green (546.1 nm)blue (438.1 nm)

Determine red, green, blue required to match pure spectral test color.

Graph shows relative fractions of three primaries required to make a match.

Entire spectrum of pure colors produced by mixing three primaries if subtractive matching allowed.

Subtractive color matchingrequired in this wavelength range.

Page 22: 1 Color vision and representation 0.44 0.0 0.52 S M L

22

The CIE XYZ color space• CIE primaries: combinations of

spectrally pure RGB primaries.• Unphysical ‘lights’. Some

require negative amounts of the RGB primaries.

• Each color and intensity represented by a point (X,Y,Z).

• Some combinations of X, Y, Z are not physical lights (gray).

• Spectrally pure colors on boundary with unphysical region.

Commision Internationale de L'Eclairage, 1931

Page 23: 1 Color vision and representation 0.44 0.0 0.52 S M L

23

xy plane of Yxy color space

• Color specified by xy coords.

• Boundary is pure spectral colors (labeled by wavelength.

• The Y axis (out of page)determines brightness (luminosity).

• Colors shown here only representative.

Page 24: 1 Color vision and representation 0.44 0.0 0.52 S M L

24

Gamut: the range of colors

Many of the physical colors can be obtained by mixing three primary colors.

Since result of mixing two colors lies on line joining them, total range of possible colors lie inside triangle formed by three primaries.

This is the gamut projected to the xy plane.

Colors obtainable by additive mixing of spectrally pure primaries of 650nm, 540nm, and 450nm lie within this triangle.

Page 25: 1 Color vision and representation 0.44 0.0 0.52 S M L

25

Color CRT Phosphor Pattern

R

R BG R

BG R BG

B R BG R G

BG R BG

R BG R

Spot Size

Dot Pitch

• R, G, B phosphors emit R, G, B light after absorbing electrons from beam.

• Light from R, G, B phosphors combine to produce a colorrR+gG+bB

• But the emitted light is not exactly red, blue, green.

Page 26: 1 Color vision and representation 0.44 0.0 0.52 S M L

26

What are the R, G, B primaries?

Red

GreenBlue

• Light emitted by phosphors not spectrally pure colors.

• Can still make colors by combining these, but which ones?

• Or, what is the‘color gamut’ of a particular computer monitor

Page 27: 1 Color vision and representation 0.44 0.0 0.52 S M L

27

Computer monitor gamut in the Yxy color space

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

x

y

• Top view of Yxy color space, showing xy plane.

• Each phosphor described by a pair (x,y).

• Three primaries are vertices of gamut triangle.

• Colors outside triangle cannot be produced

• Pure spectral colors (on the horshoe arc) not produced.

‘Green’ phosphor

‘Blue’ phosphor

‘Red’ phosphor

Page 28: 1 Color vision and representation 0.44 0.0 0.52 S M L

28

Reproducing colors• Most of the spectral colors are out of

gamut.• So what color is on the screen?

“Perceptual”, “Absolute”, but no completely satisfactory procedure