- Open Access
- Total Downloads : 668
- Authors : Juhi Mishra, Saurabh Mitra
- Paper ID : IJERTV3IS090858
- Volume & Issue : Volume 03, Issue 09 (September 2014)
- Published (First Online): 24-09-2014
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Image Denoising using Brute Force Thresholding Algorithm
Juhi Mishra
M.Tech Scholar
Dept. of Electronics & Communication Engineering, Dr. C.V. Raman University,
Kargi Road, Kota, Bilaspur (C.G.), India
Saurabh Mitra
Assistant Professor
Dept. of Electronics & Communication Engineering, Dr. C.V. Raman University,
Kargi Road, Kota, Bilaspur (C.G.), India
Abstract- The field of image processing grew from electronic engineering as an extension of the signal processing branch. The massive amount of data required for the development of many sub areas within the field of communication system. Visual information transmitted in the form of digital images is becoming a major method of communication in the modern age, but the image obtained after transmission is often corrupted with noise. The received image needs processing before it can be used for further applications. The main challenge in digital image processing is to remove noise from the original image. Hence, it is very essential to keep the data close to originality. Different noise models including additive and multiplicative types are discussed in the paper. Selection of the denoising algorithm is application dependent. Hence, it is necessary to have knowledge about the noise present in the image so as to select the appropriate denoising algorithm. In this paper, a new threshold estimation technique has been presented. And a comparative analysis of different denoising methods has been carried out very efficiently. The simulation results show that the proposed threshold estimation technique has superior features compared to conventional methods. This makes it an efficient method in image denoising applications; it can also remove the noise and retain the image details better. Image filtering algorithms are applied on images to remove the different types of noise that are either present in the image during capturing or injected in to the image during transmission. The performances of the filters are compared using the Peak Signal to Noise Ratio (PSNR) and Mean Square Error (MSE).
Keywords- Gray scale Image, Noise, Salt-and-pepper noise, Gaussian Noise, Random Noise Denoising Technique , Median Filter, Adaptive Median Filter (AMF), Threshold function , Brute force thresholding Peak Signal-to-Noise Ratio (PSNR), Mean Square Error (MSE), , Root Mean Square Error,
-
INTRODUCTION
In information age also known as computer age or digital age, visual knowledge and material is often transmitted in the form of digital images. Digital images plays very significant role in our daily routine like they are used in satellite television, Intelligent traffic monitoring, handwriting recognition on checks, signature validation,
computer resonance imaging and in area of research and technology such as geographical information systems and astronomy. A digital image can be describe as two dimensional image as a finite set of discrete values, known as picture elements or pixels. Pixel ideals typically represent grey levels, colors, heights, opacities etc. Image processing is any form of signal processing for which the input is an image, such as photographs or frames of video and the output of image processing can be either an image or a set of characteristics or parameters related to the image. In image processing system depends on its ability to detect the presence of noisy pixels in the image. Image Processing is the analysis of a picture using different techniques that can identify relationships, shades and colors that cannot be perceived by the human eye. Image processing is a way to change an image into digital form and implement some operations on it, in order to get an image with increased quality or to obtain some useful information from it. Significant works have been done in both hardware and software to improve the signal-to-noise ratio for images. In software, a denoising filter is used to remove noise from an image. Each pixel is represented by three scalar values representing the red, green, and blue chromatic intensities. At each pixel studied, a filter takes into account the surrounding pixels to derive a more accurate version of this pixel. By taking neighboring pixels into consideration extreme noisy pixels can be replaced. However, outlier pixels may represent in corrupted fine details, which may be lost due to the smoothing process.
The several reasons due to which an image can reduce its quality or get corrupted are-motion between camera and object, improper opening of the shutter, atmospheric disturbances, misfocusing etc. Noise is addition of undesired components in the image that degrades the visual quality of an image. This undesired constituent needs to be removed before the process of retrieving the original image is to be start. The digital image acquisition process converts an optical image taken with an optical device into a continuous stream of electronic signals that is later
sampled in the primary process by which noise appears in digital images. In some case when the images are sent by the sender, images get corrupted with undesirable noise & unwanted elements after transmission. In some cases noise gets intruded in the image at the time of acquisition. It is generally caused by malfunctioning of camera sensors, faulty memory locations in hardware or transmission in a noisy channel. Thereby receiver in many cases receives images with diminished quality. Therefore received images require processing before they can be used in various applications.
Image restoration or denoising is required, to make a visually high quality image, which includes the process of changing, correcting or moving of the image data to produce noise free image. Denoising is the pre-processing step in the Image Enhancement process. Denoising is necessary and first step to be taken before the image data is analyzed for further use. Because after introducing the noise in image, the important details and features of image are destroyed. It is necessary to apply efficient denoising technique to compensate for such data corruption. Image denoising is used to remove the noise while retaining as much as possible the important signal features. The purpose of image denoising is to estimate the original image from the noisy data.
Denoising is more significant than any other tasks in image processing, analysis and applications. Preserving the details of an image and removing the random noise as far as possible is the goal of image denoising approaches. Besides the noisy image produces undesirable visual quality, it also lowers the visibility of low contrast objects. Hence noise removal is essential in digital imaging applications in order to enhance and recover fine details that are hidden in the data. In many occasions, noise in digital images is found to be additive in nature with uniform power in the whole bandwidth and with Gaussian probability distribution. Digital images are corrupted by noise during image acquisition or transmission process. There are different types of noises in digital images.
-
NOISES IN DIGITAL IMAGES
In common use the word noise means unwanted sound or noise pollution. Image noise is the random variation of brightness or colour information in images produced by the sensor and circuitry of a scanner or digital camera. Image noise is considered as an undesirable by-product of image capture. The types of noises are as follows:-
-
Salt-and-pepper noise- As the name suggests, this noise looks like salt and pepper. It gives the effect of "On and off" pixels. An image with salt-and-
pepper noise contins dark pixels at bright regions and bright pixels at dark regions.[6]
-
Gaussian noise (Amplifier noise)- The standard model of gaussian noise is accessory. Gaussian noise is independent at each pixel and independent of the signal intensity.
-
Random noise- random noise is characterized by intensity and color fluctuations above and below the actual image intensity. There will always be some random noise at any exposure length and it is most influenced by ISO speed. The pattern of random noise changes even if the exposure settings are identical.
-
-
DENOISING TECHNIQUE
Image analysis is easy task after noise is filtered. An engineer working in signal processing has different meaning of the term filter which requires certain operations which tell us the area of interest in the image. Image filters may be used to highlight edges that is, parts of objects in images or boundaries between objects. Filters provide better visual interpretation of images, and can also be used as a predecessor to further digital processing, such as segmentation. Image Denoising is the process of obtaining the original image from the degraded image if value of the degrading factors is known. It is used to eliminate the noise from the corrupted image while retaining the edges and other major detail without hampering the visual information of image.
Two types of filtering technique- linear and Non-linear filtering techniques are discussed below:
-
Linear filters: The approach output values are linear function of the pixels in the original image. Linear methods are easy to analyze mathematically than the nonlinear Filters
-
Non-linear filters: These filters have accurate results because they are able to reduce noise levels without blurring the edges.
Regular median filtering
Median Filter Median filter is a best order static, non- linear filter, whose response is based on the positioning of pixel values on basis of rank contained under the filter region. The Median Filter performs filtration by taking the magnitude of all of the vectors within a mask and sorted according to the magnitudes. The pixel with the median magnitude is then used to replace the pixel studied. The median of a set is more robust with respect to the presence of noise. The median filter is given by
Median filter(x1.xN) =Median (||x1||2.||xN||2)
Median filter yields good result for salt and pepper noise. These filters are basically smoothers for image processing as well as in signal processing. The benefit of the median filter over linear filters is that the median filter can remove the effect of input noise values with huge magnitudes which means median filter can eliminate the effect of input noise values with extremely large magnitudes.
Adaptive median filtering
Traditional median filter doesn't take into consideration for how image characteristics vary from one location to another. It replaces every point in the image by the median of the corresponding neighborhood. Adaptive filters are capable of denoising non-stationary images that is, images that have abrupt changes in intensity. Such filters are known for their ability in automatically tracking an unknown circumstance or when a signal is variable with little a priori knowledge about the signal to be processed [20].The Adaptive Median Filter performs processing to determine which pixels in an image have been affected by noise. It classifies pixels as noise by comparing each pixel in the image to its surrounding neighbor pixels. A pixel that is different from a majority of its neighbors, as well as being not structurally aligned with those pixels to which it is similar, is designated as impulse noise. These noisy pixels are then replaced by the median value of the pixels in the neighborhood that have passed the noise detection test. The output of the filter is a single value used to replace the value of the pixel at (x, y). Consider the following notation:
Zmin = minimum intensity value in Sxy Zmax = maximum intensity value in Sxy
Zmed = median of the intensity values in Sxy Zxy = intensity value at coordinates (x, y) Smax = maximum allowed size of Sxy
Guassian filtering
Gaussian filter is windowed filter of linear class by its nature is weighted mean. Named after a famous scientist Carl Gauss, because weights in the filter are calculated according to Gaussian distribution. The Gaussian filter is known as a smoothing operator, as its convolution with an image averages the pixels in the image, affectively decreasing the difference in value between neighboring pixels. In addition to applications such as feature extraction, filters can be used for denoising signals and images. Many different filters can achieve this purpose and the optimal filter often depends on the particular requirements of the application. One such filter is called a Gaussian, so named because the filters kernel is a discrete approximation of the Gaussian (normal) distribution. The Gaussian filter is known as a smoothing operator, as its
convolution with an image averages the pixels in the image, affectively decreasing the difference in value between neighboring pixels.
Gaussian distribution has surprising property. Look, its expression could be rewritten as:
The parameter in equation is equal to the standard deviation of the Gaussian, and can be adjusted according to the desired distribution.
Bilateral filter
Bilateral filtering is a technique to smooth images while preserving edges. It can be traced back to 1995 with the work of Aurich and Weule [4] on nonlinear Gaussian filters. It was later rediscovered by Smith and Brady as part of their SUSAN framework, and Tomasi and Manduchi who gave it its current name. Since then, the use of bilateral filtering has grown rapidly and is now ubiquitous in image processing applications. It has been used in various contexts such as denoising, texture editing. The bilateral filter has several qualities that explain its success:
-
Its formulation is simple: each pixel is replaced by a weighted average of its neighbors. This aspect is important because it makes it easy to acquire intuition about its behavior, to adapt it to application-specific requirements, and to implement it.
-
It depends only on two parameters that indicate the size and contrast of the features to preserve.
-
It can be used in a non-iterative manner. This makes the parameters easy to set since their effect is not cumulative over several iterations.
-
-
-
THRESHOLDING FUNCTION
PROPOSED THRESHOLD METHOD
Finding an optimized value () for threshold is a major problem. A small change in optimum threshold value destroys some important image details that may cause blur and artifacts. So, optimum threshold value should be found out, which is adaptive to different sub band characteristics. Here we proposed a new threshold estimation technique which gives an efficient threshold value for noise to get high value of PSNR as compared to previously explained methods.
Brute Force Thresholding
Threshold follows the same concept as in basic electronics, Brute force Threshold is given 5 times the maximum pixel intensity, which will be 127 in most of the images. Brute force thresholding always outclass other existing thresholding techniques in terms of better results. Algorithm for brute force thresholding is given
-
Input wavelet sub band.
-
Find maximum (max) and minimum (min) value of sub band coefficients.
-
loop through (threshold=min to max) and execute desired algorithm
-
save the results in array for each loop such that F= [threshold, result]
-
When loop completed, select the (threshold) that gives best result.
Fig. Flow Chart of proposed Algorithm
-
-
SIMULATION AND PERFORMANCE ANALYSIS RESULTS
This method has been implemented using Matlab as the simulation tool. he proposed filter is tested with Image' Lena.bmp' of size 512 x 512. The image is corrupted by salt and pepper noise, Gaussian noise, Random noise at various noise densities and performance is measured using the parameters such as Signal-to-Noise Ratio (SNR), Peak- Signal-to-Noise Ratio (PSNR), Mean Absolute Error
(MAE), Mean Square Error (MSE), and Universal Quality Index (UQI).The parameters used to define the performance are:
Mean Square Error (MSE)
In statistics and signal processing, a Mean square error (MSE) estimator describes the approach which minimizes the mean square error (MSE), which is a common measure of estimator quality.
The MSE estimator is then defined as the estimator achieving minimal MSE. In many cases, it is not possible to determine a closed form for the MMSE estimator. In these cases, one possibility is to seek the technique minimizing the MSE within a particular class, such as the class of linear estimators. The linear MSE estimator is the estimator achieving minimum MSE.
Where R*C is the size of image. Is = original Image
Id = Despeckled Image
Root Mean Square Error (RMSE)
In mathematics, the root mean square (abbreviated RMS or rms), also known as the quadratic mean, is a statistical measure of the magnitude of a varying quantity. It is especially useful when variations are positive and negative, e.g., sinusoidal. RMS is used in various fields, including electrical engineering; one of the more prominent uses of RMS is in the field of signal amplifiers. It can be calculated for a series of discrete values or for a continuously varying function. The name comes from the fact that it is the square root of the mean of the squares of the values. It is a special case of the generalized mean with the exponent p = 2. The RMS value of a set of values (or a continuous-time waveform) is the square root of the arithmetic mean (average) of the squares of the original values (or the square of the function that defines the continuous waveform). The RMS over all time of a periodic function is equal to the RMS of one period of the function. The RMS value of a continuous function or signal can be approximated by taking the RMS of a series of equally spaced samples.
2550
RMSE =
/20
Peak to Signal Noise Ratio (PSNR)
The phrase peak signal-to-noise ratio, often abbreviated PSNR, is an engineering term for the ratio between the maximum possible power of a signal and the (or codec type) and same content. It is most easily defined via the mean square error (MSE) which for two m×n monochrome images I and K where one of the images is considered a noisy approximation of the other is defined as:
Here, MAXI is the maximum possible pixel value of the image. When the pixels are represented using 8 bits per sample, this is 255.
Results on LENA image:
-
CONCLUSION
In this paper, we have proposed a new threshold estimation technique in which a gray scale image in bmp format is injected salt and pepper noise, Gaussian noise, Random noise. Further, the noised image is denoised by using different filtering and Thresholding techniques (Brute Force Thresholding). A particular algorithm is to be selected according to the noise present in the image. The proposed threshold mentioned in this paper shows better performance over other techniques. Thus we can say that the proposed threshold may find applications in image recognition system, image compression, medical ultrasounds and a host of other applications.
REFERENCES
-
M.Vijay, L.Saranya Devi, M.Shankaravadivu and M.Santhanamari Image Denoising Based On Adaptive Spatial and Wavelet Thresholding Methods, IEEE-International Conference On Advances In Engineering, Science And Management, (ICAESM – 2012) March 30, 31, 2012 161
-
R.C. Gonzalez and R.E. Woods Digital Image Processing, 2nd ed. Englewood Cliffs, NJ: Prentice-Hall; 2002.
-
S.G.Chang, B.Yu and M.Vetterli, 2000, Spatially adaptive wavelet thresholding with context modeling for image denoising, IEEE Trans. on Image Processing, Vol.9, No.9, pp. 1522-1531
-
Kenny Kal Vin Toh,Nor, Ashidi Mat Isa, Noise Adaptive Fuzzy Switching Median Filter for Salt-and-Pepper Noise Reduction, IEEE Trans. Image Processing, Vol 17, No. 3, March 2010.
-
Sheng-Fu Liang, Shih-Mao Lu, Jyh-Yeong Chang, and Chin-Teng (CT) Lin, A Novel Two-Stage Impulse Noise Removal Technique Based on Neural Networks and Fuzzy Decision, IEEE Trans. Image Processing, Vol 16, No. 4, August 2008.
-
H. Guo, J. E. Odegard, M. Lang, R. A. Gopinath, I.W. Selesnick, and
C. S. Burrus, "Wavelet based speckle reduction with application to SAR based ATD/R," First Int'l Conf. on Image Processing, vol. 1, pp. 75-79, Nov. 1994.
-
Robert D. Nowak, Wavelet Based Rician Noise Removal, IEEE Transactions on Image Processing,vol. 8, no. 10, pp.1408, October 1999
-
R. Yang, L. Yin, M. Gabbouj, J. Astola, and Y. Neuvo, Optimal weighted median filters under structural constraints, IEEE Trans. Signal Processing, vol. 43, pp. 591604, Mar. 1995.
-
R. C. Hardie and K. E. Barner, Rank conditioned rank selection filters for signal restoration, IEEE Trans.Image Processing, vol. 3, pp.192206, Mar. 1994.
-
A. Ben Hamza, P. Luque, J. Martinez, and R. Roman, Removing noise and preserving details with relaxed median filters, J. Math. Imag. Vision, vol. 11, no. 2, pp. 161177, Oct. 1999.
-
A.K.Jain,Fundamentals of digital image processing. Prentice-
Hall,1989
-
David L. Donoho and Iain M. Johnstone,Ideal spatial adaption via wavelet shrinkage, Biometrika, vol.81, pp 425-455, September 1994.
-
David L. Donoho and Iain M. Johnstone., Adapting to unknown smoothness via wavelet shrinkage, Journal of the American Statistical Association, vol.90, no432, pp.1200-1224, December 1995. National Laboratory, July 27, 2001.
-
Anestis Antoniadis, Jeremie Bigot, Wavelet Estimators in Nonparametric Regression: A Comparative Simulation Study, Journal of Statistical Software, Vol 6, I 06, 2001.
-
S. Grace Chang, Bin Yu and Martin Vetterli, Adaptive Wavelet Thresholding for Image Denoising and Compression, IEEE Trans. Image Processing, Vol 9, No. 9, Sept 2000, pg 1532-1546. [16]DavidL.Donoho,De- noisingbysoft- thresholding,
http://citeseer.nj.nec.com/cache/papers/cs/2831http:zSzzSzwww stat.stanford.eduzSzreportszSzdonohozSzdenoiserelease3.pdf/don oho94denoising.pdf, Dept of Statistics, Stanford University, 1992.
-
David L. Donoho and Iain M. Johnstone, Adapting to Unknown Smoothness via Wavelet Shrinkage, Journal of American Statistical Association, 90(432):1200-1224, December 1995.
-
Amara Graps, An Introduction to Wavelets, IEEE Computational Science and Engineering, summer 1995, Vol 2, No. 2.
-
Matlab6.1,Wavelettoolbox,http://www.mathworks.com/access/hel pdesk/help/toolbox/wavelet/wavelet.shtml
-
J.N. Lin, X. Nie, and R. Unbehauen, Two-Dimensional LMS Adaptive Filter Incorporating a Local-Mean Estimator for Image Processing, IEEE Transactions on Circuits and Systems-II: Analog and Digital Signal Processing, Vol 40, No.7 July 1993, pg. 417-428.
-
Mandelbrot, B., and Wallis, J., "Noah, Joseph and operational hydrology,"Water Resources Research 4, 909-918, 1968.
-
Scott E Umbaugh, Computer Vision and Image Processing, Prentice Hall PTR, New Jersey, 1998.
-
Priti Aggarwal, Harish Kundra, Image Restoration Using Intelligent Water DropsInternational Journal of Advances in Computer Science and Communication Engineering (IJACSCE) Vol I Issue I, November 2013 .
-
Asoke Nath, Image Denoising Algorithms: A Comparative study of Different Filtration approaches used in image restoration , IEEE, International Conference on Communication Systems and Network Technologies, 2013.>
-
Muthukumar,S P.Pasupathi, S.Deepa, Dr. N Krishnan, An efficient Colour Image Denoising method for Gaussian and Impulsive Noises with blur removal , IEEE,2010.
-
Shabnam Sultana, M.Varun Kumar, N.Asha, Comparison of Image Restoration and Denoising Techniques , International Journal of Advanced Research in Computer Science and Software Engineering, Volume 3, Issue 11, November 2013, pp: 337-341.
-
Rohit Verma, Dr. Jahid Ali, A Comparative Study of Various Types of Image Noise and Efficient Noise Removal Techniques , International Journal of
Advanced Research in Computer Science and Software Engineering, Volume 3, Issue 10, October 2013, pp: 617-622.
-
Medhavi Aggarwal, Ranjit Kaur and Beant Kaur , A Review of Denoising Filters in Image Restoration , International Journal of Current Research And Academic Review, ISSN: 2347-3215 Volume 2 Number 3 (2014) pp. 83-89
-
Ruba Soundar Kathavarayan, Murugesan Karuppasamy Preserving Global and Local Features for Robust Face Recognition under VariousNoisyEnvironments"International Journal of Image Processing (IJIP) Volume(3), Issue(6) pp-328-340
-
Harish Kundra, Monika Verma& Aashima, Filter for Removal of Impulse Noise by Using Fuzzy Logic , International Journal of Image Processing (IJIP)Volume(3), Issue(5),pp:195-202
-
T. Santhanam and S. Radhika, A Novel Approach to Classify Noises in Images Using Artificial Neural Network 1", 2010,Journal of Computer Science 6 (5): 506-510,2010 ISSN 1549-3636
-
Xudong Lv and Z. JaneWang, An Extended Image Hashing Concept: Content-Based Fingerprinting Using FJLT, EURASIP Journal on Information Security, volume2009 Article ID 859859, 16 pages doi:10.1155/2009/859859
-
Xin Cindy Guo and Dimitrios Hatzinakos,Image Authentication Using Added Signal-Dependent Noise, Research Letters in Signal Processing Volume 2007, Article ID 47549, 5 pages doi:10.1155/2007/47549
-
Jagadish H. Pujar, Kiran S. Kunnur, A Novel Approach For Image Restoration Via Nearest Neighbour Method, Journal of Theoretical and Applied Information Technology,2010.
-
Zhengwu Zhang, Eric Klassen, and Anuj Srivastava, Gaussian Blurring-Invariant Comparison of Signals and Images Proceedings of the IEEE Transaction On Image Processing, VOL.22, NO.8, August 2013.
-
Ryotaro Nakamura, Yasue Mitsukura, Nozomu Hamada , Iterative PCA approach for blind restoration of single blurred image VOL 18 ,2013
-
Yi Zhang , Keigo Hirakawa, Blur Processing Using Double Discrete Wavelet Transform IEEE Conference on Computer Vision and Pattern Recognition, 2013.
-
Igor Stojanovic, Predrag Stanimirovic and Marko Miladinovic
,Applying The Algorithm Of Lagrange Multipliers In Digital Image Restoration Facta Universitatis (Ni ·S) Ser. Math. Inform. Vol. 27, No 1 (2012), 41-54.
-
Zohair Al-Ameen, Ghazali Sulong, Md. Gapar Md. Johar , A Comprehensive Study on Fast image Deblurring Techniques International Journal of Advanced Science and Technology Vol. 44, July, 2012.
-
Zohair Al-Ameen, Ghazali Sulong, Md. Gapar Md. Johar, Employing a Suitable Contrast Enhancement Technique as a Pre- Restoration Adjustment Phase for Computed Tomography Medical Images Proceeding Of International Journal of Bio- Science and Bio-Technology Vol. 5, No. 1, February, 2013