Académique Documents
Professionnel Documents
Culture Documents
Overview
Last time
Course logistics and overview
Introduction
Today
Color system
Vicky Zhao
Electrical & Computer Engineering
University of Alberta, Edmonton
Acknowledgement: Prof. Min Wu and Prof. K. J. Ray Liu at UMD, Prof. Wade Trappe at Rutgers,
Prof. Y. Wang at Polytech and Prof. Xin Li at WVU for sharing the slides. Many
of the slides are borrowed from theirs.
Color of Light
from [Gonzalez]
Reflective Surface
From http://www.macula.org/anatomy/retinaframe.html
from [Gonzalez]
ECE 442 Introduction to Multimedia Signal Processing
Camera components
Eye components
Lens
Lens, cornea
Shutter
Iris, pupil
Film
Retina
Rods
Color Perception
Cones
from [Gonzalez]
Mesopic vision
10
red
11
Green
ECE 442 Introduction to Multimedia Signal Processing
Blue
from Y. Wang EL612 Polytech
12
C()
q1() C() d
1(C)
q2() C() d
2(C)
q3() C() d
3(C)
color light
Identically
perceived colors
if i (C1) = i (C2)
for i=1,2,3
570nm
13
Detector
G
Color
Interpolation
CFA pattern
Other in-camera
processing
Green Component
15
Saturation
14
630nm
From M. Wu
ECE 442 Introduction to Multimedia Signal Processing
520nm
Specify the tristimulus values associated with the three primary colors
for hardware implementations
RGB (digital camera, TV, monitor, etc)
CMY (printer)
18
C, M and Y are supposed to mix to black, though more often they mix
to a muddy brown.
K = min(C , M , Y )
C' C
M ' = M K
Y ' Y
from [Gonzalez]
ECE 442 Introduction to Multimedia Signal Processing
19
20
from [Gonzalez]
from [Gonzalez]
21
22
Example
0.587
0.114 RN
Y 0.299
U = 0.147 0.289 0.436 G
N
V 0.615 0.515 0.100 BN
from [Li & Drew]
23
24
Q: green-purple
0.114 RN
Y 0.299 0.587
I = 0.596 0.275 0.321 G
N
Q 0.212 0.523 0.311 BN
ECE 442 Introduction to Multimedia Signal Processing
I: orange-cyan
Example
26
0.504
0.098 R 16
128.553 24.966 RN 16 0.257
Y 65.48
C = 37.797 74.203
G + 128 = 0.148 0.291 0.439 G + 128
112
b
N
Cr 112
93.786 18.214 BN 128 0.439 0.368 0.071 B 128
27
0
1.596 Y 16
R 1.164
G = 1.164 0.391 0.813 C 128
b
0 Cr 128
B 1.164 2.018
28
Examples
Summary
This time
Color systems
RGB
Next time
Image representation, dithering and halftoning
HSV
Reading assignments:
Section 4.1.1-4.1.5, 4.2, 4.3
YCbCr
29
30