DIP-EXP2-modified
DIP-EXP2-modified
AIM :
To implement:
1. Negative of an image
2. Log transformation
3. Power Law Transformation
4. Image Flipping
THEORY:
approaches fall into two broad categories: spatial domain methods and frequency domain
methods. The term spatial domain refers to the image plane itself, and approaches in this
category are based on direct manipulation of pixels in an image. Frequency domain
processing techniques are based on modifying the Fourier transform of an image.
The simplest form of T is when the neighborhood is of size 1*1 (that is, a Single pixel).
In this case, g depends only on the value of f at (x, y), and T becomes a gray-level (also
called intensity or mapping) transformation function of the form:
s = T(r)
Where, for simplicity in notation, r and s are variables denoting, respectively, the gray level
of f(x, y) and g(x, y) at any point (x, y).
compresses the dynamic range of images with large variations in pixel values. A classic
illustration of an application in which pixel values have a large dynamic range is the Fourier
spectrum. At the moment, we are concerned only with the image characteristics of spectra.
It is not unusual to encounter spectrum values that range from 0 to or higher .While
processing numbers such as these presents no problems for a computer, image display
systems generally will not be able to reproduce faithfully such a wide range of intensity
values. The net effect is that a significant degree of detail will be lost in the display of a
typical Fourier spectrum. In such scenarios, log transformation is used.
Fig 2.3: Plots of the curve s=crγ for various values of γ and c=2.
Images that are not corrected properly can look either bleached out, or, what is more likely,
too dark. Trying to reproduce colors accurately also requires some knowledge of gamma
correction because varying the value of gamma correction changes not only the brightness,
but also the ratios of red to green to blue.
2.4 Conclusion:
2.5 References:
i. Gonzalez R, Woods R, “Digital image processing”, Pearson Prentice Hall, 2008.
ii. Gonzalez R, Woods R, Steven E, “Digital Image Processing Using MATLAB®”, McGraw Hill
Education,2010.
iii. Jayaraman S, Esakkirajan S and Veerakumar T,“Digital Image Processing” Tata McGraw Hill,
2010
iv. Joshi, Madhuri A. “Digital Image Processing: an algorithm approach”, PHI Learning Pvt. Ltd.,
2006.
v. Pictures taken from: http://www.imageprocessingplace.com/root_files_V3/image_databases.html
(Course Teacher)