Chapter 2. Color Spaces


A color space is a mathematical representation of a set of colors. The three most popular color models are RGB (used in computer graphics); YIQ, YUV, or YCbCr (used in video systems); and CMYK (used in color printing). However, none of these color spaces is directly related to the intuitive notions of hue, saturation, and brightness. This resulted in the temporary pursuit of other models, such as HSI and HSV, to simplify programming, processing, and end-user manipulation.

All of the color spaces can be derived from the RGB information supplied by devices such as cameras and scanners.

Rgb Color Space

The red, green, and blue (RGB) color space is widely used for computer graphics and displays. Red, green, ...

Get Digital Video and DSP: Instant Access now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.