Professional Documents
Culture Documents
Chap 4 Lecture 1, 2
Chap 4 Lecture 1, 2
Chapter 4
Color in Im a g e and
Video
1. Color Science
2. Color Models in Images
3. Color Models in Video
4. Further Exploration
4 . 1 C olor Science
L i g h t and S pe ctra
(a) Laser light consists of a single wavelength: e.g., a ruby laser produces
a bright, scarlet-red beam.
(b) Mos t light sources produce contributions over many wavelengths.
(c) However, humans cannot detect all light, just contributions t h a t fall
in the “visible wavelengths”.
(d) Short wavelengths produce a blue sensation, long wavelengths pro-
duce a red one.
H u m a n V ision
• For higher light levels, the cones each produce a signal. Be-
cause of their differing pigments, the three kinds of cones
are m o s t sensitive t o red ( R ) , green ( G ) , and blue ( B ) light.
Sp ectral Sensitivit y of t he E ye
V
0.8
Relative response
0.6
G
0.4
R
0.2
B
0.0
Wavelength (nm)
∫
tt = E ( λ ) q G (λ) ( 4 .2 )
∫
dλ B = E(λ)
q B (λ) dλ
I m a g e F o rm a ti o n
Jeans
C(λ) = E ( λ ) S(λ).
∫
tt = E ( λ ) S ( λ ) q G (λ) ( 4 .3 )
∫
dλ B = E(λ) S(λ)
q B (λ) dλ
C a m e r a Systems
G a m m a Correction
1.
1.
0
0
0.
0.
8
8
0. 0.
0. 0.
Light
Light
6
6
4
4
0.
0.
2
2
0.
0.
0
0
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0
Voltage Voltage
C ol or-Matc hi ng Functions
Blue
Black
partition
White
Eye
screen
Light to be matched
curves. These are denoted r¯(λ), ¯g(λ), ¯b(λ) and are shown in
Fig. 4.9.
r¯(
b̄( )
)
Relative sensitivity
g¯ (
)
C I E Chromaticity D i a g r a m
∫
X = E ( λ ) x¯(λ)
dλ
∫
Y = E ( λ ) y¯(λ)
( 4 .6 )
∫
dλ Z = E(λ)
• 3 D data is difficult t o visualize, so the CIE devised a 2 D
diagram based on z¯(λ) dλ
the values of ( X , Y, Z ) triples implied by
the curves in Fig. 4.10.
x = X/(X + Y +
Z ) y = Y/(X + Y
+ Z ) z = Z/(X + ( 4.7 )
Y + Z)
• T h i s effectively means t h a t one value o u t of the set (x, y, z)
is redundant since we have
X + Y +
x+ y+ z = ≡ 1 ( 4.8 )
Z X + Y
+ Z
so t h a t
z = 1 − x − ( 4 .9 )
y
28 Li & Drew §c Prentice Hall
2003
Fundamentals of Multimedia, Chapter
4
1.0
0.8
0.6
y
0.4
700
0.2
0.0
400
0.0 0.2 0.4 0.6 0.8 1.0
x
D100 A
C
D65
F2
Out-of-Gamut
C olors
• For any (x, y) pair we wish t o find t h a t RGB triple giving the
specified (x, y, z): We fo rm the z values for the phosphors,
via z = 1 − x − y and solve for RGB f r o m the phosphor
chromaticities.
x r xg xb R x
yr y b G = ( 4 .1 0 )
yg y B z
z r zg
zb
1.0
Green
0.8
0.6
y
(a)
0.4
(b)
Red
0.2
Blue
0.0