Some Basic Intensity Transformation Functions
Some Basic Intensity Transformation Functions
Image Negatives
1. The negative of an image with intensity levels in the range [0, L - 1] is obtained
by using the negative transformation shown above.
6. Negative simply means inverting the gray levels i.e black in the original image
will now look white and vice versa.
Log Transformations
2. The shape of the log curve in Fig. shows that this transformation maps a narrow
range of low intensity values in the input into a wider range of output levels. The
opposite is true of higher values of input levels.
4. Any curve having the general shape of the log functions shown in Fig. would
accomplish this spreading/compressing of intensity levels in an image
5. The log function has the important characteristic that it compresses the dynamic
range of images with large variations in pixel values.
………………………….(1)
5. As expected, we see in Fig that curves generated with values of ϒ > 1 have
exactly the opposite effect as those generated with values of ϒ < 1. Finally, we
note that Eq. (1) reduces to the identity transformation when c = ϒ = 1.
6. A variety of devices used for image capture, printing, and display respond
according to a power law. By convention, the exponent in the power-law equation
is referred to as gamma [hence our use of this symbol in Eq. (1)].