Simulation_of_Image_Enhancement_Techniques_Using_M
Simulation_of_Image_Enhancement_Techniques_Using_M
net/publication/224694940
CITATIONS READS
24 5,140
3 authors, including:
All content following this page was uploaded by Atul Bansal on 03 June 2015.
Abstract: This paper emphasis on the importance of perception of the image through modification of
simulation techniques in the field of Digital Image intensity functions, image spectral content, or a
Processing. Simulations are carried out for combination of these functions [3]. Several different
implementation of various basic Image enhancement
classes of methods are available to enhance the image.
techniques on MatLAB in spatial domain. Through this
simulation, it is concluded that the spatial domain We first present standard gray-level mapping
analysis is easier to implement as compared to frequency techniques [5] that allow us to change the perception
domain and also it is concluded that one can understand of the image by a careful remapping of the intensity.
the complex procedures of Image Processing provided The second class of methods involves modification of
he/she is able to analyze the results and compare it with the histogram of the image. The goal is to apply a
the theoretical results mentioned in various books. point wise transformation of the intensity in such a
Keywords: image processing, image enhancement, way that the histogram of the transformed image has a
simulation tehiques.
predefined shape. Finally, the third class of methods
includes linear filtering techniques that can enhance
1. INTRODUCTION
features by applying a combination of low- and high
Simulation is a virtual representation of the reality. pass filters. The selection of a particular method
It may also be defined as the process of knowing the depends on the features that one needs to detect or
characteristics & exhibiting behavior of a particular measure in the image. We then addressed the problem
physical system. Sometimes a learner finds it quite of edge detection. The detection of edges, or object
difficult to understand any physical system behavior boundaries, remains one of the most fundamental
by just reading it from the written material but once he problems in image understanding and computer vision.
is able to see the things actually happening on the In order to solve the edge detection problem, we need
computer system the things really change. That’s why to take into account the noise that is present in the
the very important real life techniques of image image and to balance two conflicting goals: canceling
enhancement such as basic gray level techniques, the noise and minimizing the spatial smoothing.
using arithmetic & logical operations, using spatial
filtering and also in the frequency domain various 2.1. Spatial Domain
filters like Low Pass Filters, High Pass filters have
been simulated on MatLAB and studied. In this paper, In this section Image Enhancement in spatial
various Image Enhancement techniques their domain [1] has been discussed. The various basic gray
procedures, applications and requirements have been level transformations using mathematical operations
discussed. Also various simulated results of these are discussed below:
techniques have been discussed. In this paper it has
been tried to conclude that the simulation of these 2.2. Grayscale Transformation
complex techniques makes the learner much more
comfortable to understand them if he is able to Grayscale transformations can increase or decrease
visualize various simulation results. the intensity range. They are often used to recover
valuable visual information from images that are
2. IMAGE ENHANCEMENT TECHNIQUES overexposed, underexposed, or have a very small
dynamic range. They can also be used when the intensity
The principal objective of Image Enhancement is to range is too large to be displayed on a certain medium
process an Image so that the result is more suitable such as a terminal, printer, or film. Grayscale
than the original image for a specific application. The transformation algorithms are often a part of
goal of image enhancement is to improve the visualization software.
55
Scientific Bulletin of the Electrical Engineering Faculty – no. 1 / 2009
5000
50 4000
4500
3500
100 4000
3000
3500
150
2500 3000
2000
250 1500
1500
1000
300 1000
500 500
350
0 0
450
500
Fig.3. Original image histogram and histogram
50 100 150 200 250 300 350 400 450 500
equalization
Fig.1. Original image and grayscale image
3. IMAGE FILTERING
2.3. Image Binarizations
Spatial Filtering [1]: The spatial filtering process
Image binarization converts an image of up to 256 consists of simply moving the filter mask from point
gray levels to a black and white image. The simplest to point in an image. At each point the response of
way to use image binarization is to choose a threshold filter is calculated using a predefined relationship.
value, and classify all pixels with values above this Here two smoothening spatial filters - mean and
threshold as white, and all other pixels as black. The median are discussed.
problem then is The goal of image filtering is to reduce impulse
how to select the correct threshold. In many cases, noise or Gaussian noise using a Median and Mean
finding one threshold compatible to the entire image is Filters. A 2-D median filtering operation is performed
very difficult, and in many cases even impossible by sliding a P x P window over the entire image and
therefore, adaptive image binarization is needed where replacing the center pixel by the median of the pixels
an optimal threshold is chosen for each image area. in that window.
v(m, n ) = ∑ ( ∑) y(m − k , n − l )
1
NW k ,l ∈W
Fig 2 Binarized image with a fixed threshold T= and with Obviously, P must be an odd integer in order to
arithmetical mean of gray level. define a center pixel. The filtered pixel values are
stored in another matrix, which forms the processed
2.4. Histogram equalization image. A mean filter works the same way as above
except that the filtered version of the center pixel is
The histogram indicates the number of times each the mean of the window. Mean and median filters are
grayscale value occurs. The normalized histogram is effective for reducing different types of noise.
given by the histogram divided by the total number of Experiments with the Roberts and Sobel edge
pixels in the image, and it is an approximation to the detectors indicate that we need to combine low pass
Probability Mass Function. filtering (or smoothing) with a derivative operator if
The goal in histogram equalization is to we want to generate edge maps that do not contain
approximate the grayscale-value distribution of an noisy spurious edges. The effect of low pass filtering
image to the uniform distribution. Histogram in the spatial domain is to blur the sharp edges, and
equalization is useful because it helps in spreading the therefore increase the uncertainty about the location of
grayscale values and allows us to see a larger range of the edges [4]. In fact, recall that we used a high pass
grayscale values. filtering technique (unsharp masking) to increase the
One can automatically remap the grayscale values contrast of the edges. As is often the case in the design
in order to "stretch the histogram and utilize all the of optimal filters, edge detection involves two
gray values that are available. This procedure is called conflicting goals: cancellation of noise and
histogram equalization. After histogram equalization, minimization of spatial smoothing.
the histogram of the transformed image is uniform.
56
Scientific Bulletin of the Electrical Engineering Faculty – no. 1 / 2009
4. EDGE DETECTION
57
Scientific Bulletin of the Electrical Engineering Faculty – no. 1 / 2009
REFERENCES
58