Escolar Documentos
Profissional Documentos
Cultura Documentos
Red LUT
Green
LUT
Blue LUT
Figure 6.32 CMY colour space. Top left: combining yellow, magenta and cyan secondary colours;
bottom: the yellow, magenta and cyan components of the colour image on the top right.
Cr
Cb
Figure 6.34 YCbCr colour space. Top left: the Cb Cr colour plane at mid luminance; bottom: the
luminance and chrominance components of the colour image on the top right.
G mi
x=
White ma n=
B
H G Y
White
C S R
Y
H G
max=R
B M
min=R
C S R
V L
B M
Black ma G
n=
Black x=
B mi
Figure 6.36 HSV and HLS colour spaces. Left: the HSV cone; centre: the HLS bi-cone; right: the hue
colour wheel.
Figure 6.37 HSV and HLS colour spaces. Top left: HSV hue colour wheel, with saturation increasing
with radius; middle row: the HSV hue, saturation and value components of the colour image on the top
right; bottom row: the HLS hue, saturation and lightness components.
0.9 520
0.8 540
0.7
560
0.6
500 580
0.5
y
0.4 600
620
0.3
0.2
0.1 480
460
0.0
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
x
Figure 6.40 Chromaticity diagram. The numbers are wavelengths of monochromatic light in
nanometres.
1.0
0.9
0.8
0.7
0.6
g 0.5
0.4
0.3
0.2
0.1
0.0
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
r
Figure 6.43 Simple colour correction. Left: original image captured under incandescent lights,
resulting in a yellowish-red cast; centre: correcting assuming the average is grey, using Equation
6.86; right: correcting assuming the brightest pixel is white, using Equation 6.88.
Figure 6.44 Correcting using black, white and grey patches. Left: original image with the patches
marked; centre: stretching each channel to correct for black and white, using Equation 6.90; right:
adjusting the gamma of the red and blue channels using Equation 6.91 to make the grey patch grey.
V V
0 0
0 U 0 U
Figure 7.24 Using a two-dimensional histogram for colour segmentation. Left: U V histogram using
Equation 6.61; centre: after thresholding and labelling, used as a two-dimensional lookup table; right:
segmented image.