
258 The Image Processing Handbook, Seventh Edition
gaps in a 256-value histogram, or creating visible contouring or posterization of the result-
ing image.
Local equalization
Any of these histogram manipulation procedures, whether simple linear stretching, applica-
tion of an arbitrary transfer function, or histogram shaping, need not be performed on an
Figure 5.15 Histogram equalization applied to the L channel, leaving the color channels unchanged.
Figure 5.16 Modifying the histogram of a high contrast image as described in the text.