Image Smoothening and Sharpening Using Frequency Domain Filtering Technique
Image Smoothening and Sharpening Using Frequency Domain Filtering Technique
net/publication/321849631
CITATIONS READS
0 3,883
2 authors:
6 PUBLICATIONS 2 CITATIONS
Bhilai Institute of Technology
5 PUBLICATIONS 3 CITATIONS
SEE PROFILE
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Swati Dewangan on 16 December 2017.
Abstract – Images are used in various fields to help monitoring The content of this paper is organized as follows: Section I
processes such as images in fingerprint evaluation, satellite gives introduction to the topic and projects fundamental
monitoring, medical diagnostics, underwater areas, etc. Image background. Section II describes the types of image
processing techniques is adopted as an optimized method to help enhancement techniques. Section III defines the operations
the processing tasks efficiently. The development of image
applied for image filtering. Section IV shows results and
processing software helps the image editing process effectively.
Image enhancement algorithms offer a wide variety of approaches discussions. Section V concludes the proposed approach and
for modifying original captured images to achieve visually its outcome.
acceptable images. In this paper, we apply frequency domain 1.1 Digital Image Processing
filters to generate an enhanced image. Simulation outputs results
in noise reduction, contrast enhancement, smoothening and Digital image processing is a part of signal processing which
sharpening of the enhanced image. uses computer algorithms to perform image processing on
Index Terms – Digital Image Processing, Fourier Transforms, digital images. It has numerous applications in different studies
High-pass Filters, Low-pass Filters, Image Enhancement. and researches of science and technology. The fundamental
steps in Digital Image processing are image acquisition, image
1. INTRODUCTION enhancement, image analysis, image reconstruction, image
Image processing is a form of signal processing in which the restoration, image compression, image segmentation, image
input is an image, such as a photograph or video frame and the recognition, and visualization of image.
output may be either an image or a set of characteristics or The main sources of noise in digital image processing come
parameters related to the image. Most image-processing under image acquisition and image transmission. Image
techniques involve treating the image as a two-dimensional Enhancement basically improves the visual quality of the
signal and applying standard signal-processing techniques. It image by providing clear images for human observer and for
deals with the improvement of pictorial information for human machine in automatic image processing techniques. Digital
interpretation and processing of image for storage, image processing has fundamental classes depending on their
transmission and representation for machine perception. operations:
Image processing can be defined as analysis of picture using A. Image enhancement
techniques that can basically identify region of interest from all
those images in bitmapped graphic format that have been Image enhancement deals with contrast enhancement, spatial
scanned or captured with digital camera. Image enhancement filtering, frequency domain filtering, edge enhancement and
techniques aims at realizing the improvement in the quality of noise reduction. This project briefly shows the theoretical and
a given image. An image can be enhanced by changing any practical approaches in frequency domain.
attribute of the image. There exist many techniques that can
B. Image analysis
enhance an image without spoiling it. Enhancement methods
can be broadly divided into two categories i.e. spatial domain It deals with the statistical details of an image. It is possible to
technique and frequency domain technique. examine the information of an image in detail. This information
helps in image restoration and enhancement. One of the
Spatial domain deals with direct manipulation of pixels of an
representations of the information is the histogram
image whereas the frequency domain filters the image by
representation. During image analysis, the main tasks include
modifying the Fourier Transform of an image. In this paper,
image segmentation, feature extraction and object
main focus is laid on enhancing an image using frequency
classification.
domain technique. The objective to show how a digital image
is being processed generate a better -quality image.
C. Image restoration The enhancement technique differs from one field to another
according to its objective. Advancement in the technology
In this class, the image is corrected using different correction
brings the development in the digital image processing
methods like inverse filtering and feature extraction in order to
techniques in both domains:
restore an image to its original form.
A. Spatial domain.
D. Image compression
The term spatial domain refers to the image plane itself, and
It deals with the compression of the size of the image so that it
approaches in this category are based on direct manipulation of
can easily be stored electronically. The compressed images are
pixel values of an image. It enhances the whole image in a
then decompressed to their original forms. The image
uniform manner. The value of the pixels with coordinates (x,
compression and decompression can either lose their size by
y) in an enhanced image ‘F’ is the result of performing some
maintaining high quality or preserves the original data size
operation on the pixels with the neighbourhood of (x, y) in the
without losing size.
input image ‘f’. This method is straightforward and are chiefly
E. Image synthesis utilized in real time applications. But it lags in producing
adequate robustness and imperceptibility requirement.
This class of digital image processing is well known now-a-
days in the film and game industry and is very advanced in 3- B. Frequency domain.
dimensional and 4-dimensional productions. In both cases the
The frequency domain processing techniques are based on
images and videos scenes are constructed using certain
modifying the Fourier transform of an image. The basic idea in
techniques of visualization.
using this technique is to enhance the image by manipulating
1.2 Image Enhancement the transform coefficient of the image, such as Discrete Fourier
Transform (DFT), Discrete Wavelet Transform (DWT), and
Image enhancement is basically improving the interpretability Discrete Cosine Transform (DCT). This methods advantages
or perception of information in images for human viewers and includes low complexity of computations, ease of viewing and
providing `better' input for other automated image processing
manipulating the frequency composition of the image and the
techniques. The principal objective of image enhancement is to
easy applicability of special transformed domain properties.
process a given image so that the result is more suitable than
the original image for a specific application. 3. IMAGE ENHANCEMENT USING FREQUENCY
DOMAIN TECHNIQUE
Image enhancement simply means, transforming an image f
into image g using a transformation function T. Let the values In frequency domain methods, the image is first transferred into
of pixels in images f and g are denoted by r and s respectively. frequency domain. All the enhancement operations are
Then the pixel values r and s are related by the expression, performed on the Fourier transform of the. Image enhancement
function in the frequency domain is denoted by the expression:
s = T(r)
g(x, y) = T[f(x, y)]
Where, T is a transformation that maps a pixel value r into a
pixel value s. where f(x, y) is the input image, g(x, y) is an enhanced image
formed by the result of performing some operation, T on the
2. IMAGE ENHANCEMENT TECHNIQUES frequency component of the transformed image.
3.1 Filtering in the Frequency Domain
The procedures required to enhance an image using frequency
domain technique are:
i. Transform the input image into the Fourier domain.
ii. Multiply the Fourier transformed image by a filter.
iii. Take the inverse Fourier transform of the image to get
the resulting enhanced image.
3.2 Basic Steps for Filtering in the Frequency Domain:
1. Given an input image f(x, y) of size M x N.
2. Compute F (u, v), the DFT of the image.
Fig. 1. Types of Enhancement Technique
3. Multiply F (u, v) by a filter function H(u, v), i.e., G(u, v) = with content in other frequency bands. The general formula for
H(u, v)F(u, v) filtering is given as:
4. Compute inverse DFT of the G(u, v). G(u, v) = F(u, v).H(u, v)
5. Obtain the real part of the result. where the H(u, v) is the transfer function, and F(u, v) is the
Fourier transform of the image function. The G(u, v) is the
Step-1 Input Image
filtered final function.
An input image may be defined as a two-dimensional function,
In all the filters, it is important to find the right filter function
f(x, y), where x and y are spatial (plane) coordinates, and the
H(u, v) as it amplifies some frequencies and suppresses certain
amplitude of f at any pair of coordinates (x, y) is called the
frequency components in an image. There are many filters that
intensity or grey level of the image at that point.
are used for blurring/smoothing, sharpening and edge detection
in an image. Based on the property of using the frequency
domain the image filters are broadly classified into two
categories:
1. Low-pass filters / Smoothing filters.
2. High-pass filters / Sharpening filters.
where, u represents the frequency and x represents time/space. A low-pass filter that attenuates (suppresses) high frequencies
The exponential in the above formula can be expanded into while passing the low frequencies which results in creating a
sines and cosines with the variables u and v determining these blurred (smoothed) image. It leaves the low frequencies of the
frequencies. Fourier transform relatively unchanged and ignores the high
frequency noise components. Three main low-pass filters are:
Step-3 Filtering of the Fourier Transformed image.
i. Ideal low-pass filter (ILPF)
A filter is a tool designed to suppress certain frequency
components of an input image and return the image in a An ideal low pass filter deals with the removal of all high
modified format. They are used to compensate for image frequency values of the Fourier transform that are at a distance
imperfections such as noise, and insufficient sharpness. By greater than a specified distance from the origin of the
filter design we can create filters that pass signals with transformed image. The filter transfer function for the Ideal
frequency components in some bands, and attenuate signals low-pass filter is given by:
D(u, v) (u M / 2) 2 (v N / 2) 2 1/ 2 Step-4 Compute Inverse Fourier Transform to get the enhanced
image.
ii. Butterworth low-pass filter (BLPF) We then need to convert data back to real image to use in any
applications. After the needed frequencies removed it is easy to
The filter transfer function for the Butterworth low-pass filter
return back to the spatial domain. Function represented by
is given by:
1 Fourier transform can be completely reconstructed by an
H (u, v)
1 D(u, v) / D0 inverse transform with no loss of information
2n
iii. Gaussian low-pass filter (GLPF) For this the Inverse Fourier Transform of the filtered image is
calculated by the following equation:
The filter transfer function for the Gaussian low-pass filter is
given by:
H(u,v) e D
2
(u,v)/ 2 D02
0 if D(u, v) D0
H (u, v)
1 if D(u, v) D0
Fig. 4. Original Input Image
ii. Butterworth High-pass Filter
The transfer function of Butterworth high-pass filter of order n
and with a specified cut-off frequency is given by:
H (u, v) 1 e D
2
( u ,v ) / 2 D02
1
H (u, v)
1 D0 / D(u , v)
2n
The results obtained in Fig. 11. are smoother than with the REFERENCES
previous to filters Even the filtering of the smaller objects and [1] Maini, Raman, and Himanshu Aggarwal. "A comprehensive review of
thin bars is cleaner with Gaussian filter. image enhancement techniques." arXiv preprint
arXiv:1003.4053 (2010).
5. CONCLUSION AND FUTURE SCOPE [2] Singh, L. Shyam Sundar, et al. "A Review on Image Enhancement
Methods on Different Domains."
In this project, we focus on existing frequency domain based [3] Upadhye, Mrs Smita Y., and Mrs Swapnali B. Karole. "Comparision of
image enhancement techniques that includes filters that are different Image Resolution Enhancement techniques using wavelet
useful in many application areas as medical diagnosis, army transform." (2016).
and industrial areas. Program is developed to compute and [4] Nguchu, Benedictor Alexander. "Critical Analysis of Image
Enhancement Techniques."
display the image after applying various low pass and high pass [5] Shaikh, Md Shahnawaz, Ankita Choudhry, and Rakhi Wadhwani.
filters on it. "Analysis of Digital Image Filters in Frequency
Domain." Analysis 140.6 (2016).
In this project frequency domain filters are implemented in [6] Singh, Palwinder. "Image Enhancement Techniques: A
MATLAB. It is found that low-pass filters smoothen the input Comprehensive."
image by removing noise and results in blurring of the image [7] Bedi, S. S., and Rati Khandelwal. "Various image enhancement
techniques-a critical review." International Journal of Advanced
and high-pass filters sharpens the inside details of an image. Research in Computer and Communication Engineering 2.3 (2013).
Ideal filters results in the ringing effect in the enhanced image. [8] Wang, David CC, Anthony H. Vagnucci, and C. C. Li. "Digital image
Using the Butterworth filters the ringing effect gets reduced enhancement: a survey." Computer Vision, Graphics, and Image
since there are no sharp frequency transitions, whereas the use Processing 24.3 (1983): 363-381.
[9] Bansal, Atul, Rochak Bajpai, and J. P. Saini. "Simulation of image
of Gaussian filters completely gives the filtered image without enhancement techniques using Matlab." Modelling & Simulation, 2007.
any ringing effect. AMS'07. First Asia International Conference on. IEEE, 2007.
[10] Sawant, H. K., and Mahentra Deore. "A comprehensive review of image
The future scope can be the development of adaptive enhancement techniques." International Journal of Computer
algorithms for effective image enhancement using Fuzzy Logic Technology and Electronics Engineering (IJCTEE) 1.2 (2010): 39-44.
and Neural Network. Many more filters can be added into [11] Rajput, Seema, and S. R. Suralkar. "Comparative study of image
functionality. The same work can be extended for further enhancement techniques." International Journal of Computer Science
and Mobile Computing-A Monthly Journal of Computer Science and
digital image processing applications such as image Information Technology 2.1 (2013): 11-21.
restoration, image data compression etc. [12] Chen, Qiang, et al. "A solution to the deficiencies of image
enhancement." Signal Processing 90.1 (2010): 44-56.