
82 A Computational Introduction to Digital Image Processing, Second Edition
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
60
120
180
240
300
360
FIGURE 4.22: The cumulative histogram
As we have seen, none of the example histograms, after equalization, are uniform. This
is a result of the discrete nature of the image. If we were to treat the image as a continuous
function f(x, y), and the histogram as the area between different contours (see, for example,
Castleman [7]), then we can treat the histogram as a probability density function. But the
corresponding cumulative density function will always have a uniform histogram; see, for
example, Hogg and Craig [17].
4.4 ...