12. • 4, 16, 256(at most)!
• to manage colors of images!
• to save memory & storage!
• speed up display refresh !
!
• the most representative colors, or the fixed
hardware colors, are grouped into a limited size
palette: an array of color elements
18. • YIQ!
Y provide the brightness of TV signals
(Luminance)!
I (In-phase),Q (Quadrature-phase)!
RGB to YIQ!
• Y = 0.299R + 0.587G + 0.114B!
• I = 0.596R - 0.274G - 0.322B!
• Q = 0.211R - 0.523G + 0.312B
19. • YUV - Y(Luminance), U(Chrominance), V(Chroma)!
focus on the sensitivity of the lightness of vision!
YUV 444 (3 bytes per pixel)!
YUV 422 (4 bytes per 2 pixels)!
YUV 420 (6 bytes per 4 pixels)!
RGB to YUV!
• Y = 0.299R + 0.587G + 0.114B!
• U = -0.147R - 0.289G + 0.436B!
• V = 0.615R - 0.515G - 0.100B