Color Models 1
Color Models 1
Magenta=(1,0,1)
White=(1,1,1)
Green=(0,1,0)
Black=(0,0,0)
Red=(1,0,0) Yellow=(1,1,0)
Color Depth
Can choose number of bits for each of r, g
and b
More bits per component means more colors can
be distinguished, but image files will be larger
8 bits (1 byte) per component: 24-bit color,
millions of colors
If r = g = b, color is a shade of gray, so
grayscale can be represented by a single
value
8 bits permits 256 grays
The CMY Color Model – for hardcopy
Yellow=(1,1,0) Red=(1,0,0)
Green=(0,1,0)
Black=(0,0,0)
Magenta=(1,0,1)
White=(1,1,1)
Cyan=(0,1,1) Blue=(0,0,1)
Undercolor Removal: CMYK System
C = G+B = W-R
M = R+B = W-G
Y = R+G = W-B
K = min(C,M,Y)
C C-K
M M-K
Y Y-K
The HSV Color Model – for user-oriented
0.0 H
S
Black
Color Models in Video
Largely derive from older analog methods of
coding color for TV. Luminance is separated
from color information.
YIQ is used to transmit TV signals in North
America and Japan. This coding also makes
its way into VHS video tape coding in these
countries since video tape technologies also
use YIQ.
In Europe, video tape uses the PAL or SECAM
codings, which are based on TV that uses a
matrix transform called YUV.
Digital video mostly uses a matrix transform
called YCbCr that is closely related to YUV.
The YUV Color Model – for PAL video
Can be useful to separate brightness and
color information, especially for video.
Y is for luminance and U and V are for
chrominance which are stored as two
color difference values B-Y and R-Y.