The effect of the logarithmic transform is to increase the dynamic range of dark regions in
an image and decrease the dynamic range in the light regions (e.g. Figure 3.7). Thus, the
logarithmic transform maps the lower intensity values or dark regions into a larger number
of greyscale values and compresses the higher intensity values or light regions in to a smaller
range of greyscale values.