Image Enhancement in The Spatial Domain
Image Enhancement in The Spatial Domain
INTRODUCTION :
The image enhancement is one of the most interesting and visually appearing
areas of image processing.
Enhancement is a fundamental task in digital image processing and analysis,
aiming to improve the appearance of image in terms of human brightness
perception
To Process an image so that the result will be more suitable than the original
image for a specific application.
A method which is quite useful for enhancing an image may not necessarily
be the best approach for enhancing another images.
Image Enhancement falls under 2 categories :
Frequency Domain :
A good image is one which gives the best machine recognition results.
FAHIMUDDIN.SHAIK
UNIT IIIIMAGE
g(x,y) = T[f(x,y)]
where
POINT PROCESSING:
Where
Linear function
Logarithm function
Power-law function
LINEAR FUNCTION
Image Negatives:
Negative transformation :
Prepared by
FAHIMUDDIN.SHAIK
UNIT IIIIMAGE
s = L 1 r
Identity :
Output intensities are identical to input intensities.
Is included in the graph only for completeness.
LOGARITHM FUNCTION
Log Transformations:
s = c log (1+r)
c is a constant
and r 0
UNIT IIIIMAGE
POWER-LAW FUNCTION(Transformations)
s = cr
c and are positive constants
Power-law curves with fractional values of map a
narrow range of dark input values into a wider
range of output values, with the opposite being true
for higher values of input levels.
c = = 1 a Identity function
When the is reduced too much, the image begins
to reduce contrast to the point where the image
started to have very slight wash-out look,
especially in the background
Contrast Stretching:
Prepared by
FAHIMUDDIN.SHAIK
UNIT IIIIMAGE
Thresholding:
Gray-level slicing :
Display a high value of all gray levels in the range of interest and
a low value for all other gray levels
(a) transformation highlights range [A,B] of gray level and reduces all
others to a constant level
(b) transformation highlights range [A,B] but preserves all other levels
Bit-plane slicing:
FAHIMUDDIN.SHAIK
UNIT IIIIMAGE
Example :
Histogram Processing:
Histogram is a graphical tool
frequency distributions, it has a very specific meaning when used in the context of
digital images. We go with black and white images, in which each pixel has a
specific brightness level which is stored in the computer as a number between 0
and 255.Zero corresponds to black and 255 to white.
Prepared by
FAHIMUDDIN.SHAIK
UNIT IIIIMAGE
Example:
Normalized Histogram :
p(rk)
EXAMPLE:
Prepared by
FAHIMUDDIN.SHAIK
UNIT IIIIMAGE
Histogram Equalization:
Histogram equalization employs a monotonic, non-linear mapping which reassigns the intensity values of pixels in the input image such that the output
image contains a uniform distribution of intensities (i.e. a flat histogram).
UNIT IIIIMAGE
Hence to get a perfect image our objective is not only to spread the dynamic
range but also to have equal pixels in all the gray levels. This technique is
known as Histogram Equalization
Example
Prepared by
FAHIMUDDIN.SHAIK
UNIT IIIIMAGE
Prepared by
FAHIMUDDIN.SHAIK