An Improved Adaptive Median Filter for Image Denoising

Similar documents
Absolute Difference Based Progressive Switching Median Filter for Efficient Impulse Noise Removal

C. Efficient Removal Of Impulse Noise In [7], a method used to remove the impulse noise (ERIN) is based on simple fuzzy impulse detection technique.

A Modified Non Linear Median Filter for the Removal of Medium Density Random Valued Impulse Noise

Removal of Salt and Pepper Noise from Satellite Images

Exhaustive Study of Median filter

International Journal of Scientific & Engineering Research, Volume 4, Issue 7, July ISSN

AN ITERATIVE UNSYMMETRICAL TRIMMED MIDPOINT-MEDIAN FILTER FOR REMOVAL OF HIGH DENSITY SALT AND PEPPER NOISE

An Efficient DTBDM in VLSI for the Removal of Salt-and-Pepper Noise in Images Using Median filter

Removal of High Density Salt and Pepper Noise through Modified Decision based Un Symmetric Trimmed Median Filter

Adaptive Bi-Stage Median Filter for Images Corrupted by High Density Fixed- Value Impulse Noise

Implementation of Median Filter for CI Based on FPGA

A Noise Adaptive Approach to Impulse Noise Detection and Reduction

FPGA IMPLEMENTATION OF RSEPD TECHNIQUE BASED IMPULSE NOISE REMOVAL

Decision Based Median Filter Algorithm Using Resource Optimized FPGA to Extract Impulse Noise

REALIZATION OF VLSI ARCHITECTURE FOR DECISION TREE BASED DENOISING METHOD IN IMAGES

An Optimization Algorithm for the Removal of Impulse Noise from SAR Images using Pseudo Random Noise Masking

Fuzzy Logic Based Adaptive Image Denoising

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

I. INTRODUCTION II. EXISTING AND PROPOSED WORK

VLSI Implementation of Impulse Noise Suppression in Images

AN EFFICIENT ALGORITHM FOR THE REMOVAL OF IMPULSE NOISE IN IMAGES USING BLACKFIN PROCESSOR

A Histogram based Algorithm for Denoising Images Corrupted with Impulse Noise

Detail preserving impulsive noise removal

A SURVEY ON SWITCHING MEDIAN FILTERS FOR IMPULSE NOISE REMOVAL

INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN

High density impulse denoising by a fuzzy filter Techniques:Survey

International Journal of Computer Science and Mobile Computing

Noise Adaptive and Similarity Based Switching Median Filter for Salt & Pepper Noise

Extended Median Filter For Salt and Pepper Noise In Image

A Global-Local Noise Removal Approach to Remove High Density Impulse Noise

Impulsive Noise Suppression from Images with the Noise Exclusive Filter

An Efficient Noise Removing Technique Using Mdbut Filter in Images

Using Median Filter Systems for Removal of High Density Noise From Images

COMPARISON OF NONLINEAR MEDIAN FILTERS: SMF USING BDND AND MDBUTM

Image Denoising using Filters with Varying Window Sizes: A Study

Generalization of Impulse Noise Removal

A Fast Median Filter Using Decision Based Switching Filter & DCT Compression

Reversible data hiding based on histogram modification using S-type and Hilbert curve scanning

High Density Impulse Noise Removal Using Robust Estimation Based Filter

FUZZY BASED MEDIAN FILTER FOR GRAY-SCALE IMAGES

Removal of Impulse Noise Using Eodt with Pipelined ADC

Impulse Noise Removal and Detail-Preservation in Images and Videos Using Improved Non-Linear Filters 1

Image De-noising Using Linear and Decision Based Median Filters

SEPD Technique for Removal of Salt and Pepper Noise in Digital Images

A Novel Color Image Denoising Technique Using Window Based Soft Fuzzy Filter

A fuzzy logic approach for image restoration and content preserving

High Density Salt and Pepper Noise Removal in Images using Improved Adaptive Statistics Estimation Filter

Performance Analysis of Local Adaptive Real Oriented Dual Tree Wavelet Transform in Image Processing

Removal of High Density Salt and Pepper Noise along with Edge Preservation Technique

ABSTRACT I. INTRODUCTION

Image Enhancement Using Improved Mean Filter at Low and High Noise Density

Hardware implementation of Modified Decision Based Unsymmetric Trimmed Median Filter (MDBUTMF)

Adaptive Denoising of Impulse Noise with Enhanced Edge Preservation

An Efficient Gaussian Noise Removal Image Enhancement Technique for Gray Scale Images V. Murugan, R. Balasubramanian

Survey on Impulse Noise Suppression Techniques for Digital Images

FILTER FIRST DETECT THE PRESENCE OF SALT & PEPPER NOISE WITH THE HELP OF ROAD

Direction based Fuzzy filtering for Color Image Denoising

An Adaptive Wavelet and Level Dependent Thresholding Using Median Filter for Medical Image Compression

Global Journal of Engineering Science and Research Management

Impulse Image Noise Reduction Using FuzzyCellular Automata Method

Image Noise Removal by Dual Threshold Median Filter for RVIN

Image Enhancement Using Adaptive Neuro-Fuzzy Inference System

A Novel Approach to Image Enhancement Based on Fuzzy Logic

ADVANCES in NATURAL and APPLIED SCIENCES

Classification-based Hybrid Filters for Image Processing

Detection and Removal of Noise from Images using Improved Median Filter

Computing for Engineers in Python

Interpolation of CFA Color Images with Hybrid Image Denoising

Local Image Segmentation Process for Salt-and- Pepper Noise Reduction by using Median Filters

Simple Impulse Noise Cancellation Based on Fuzzy Logic

COMPARITIVE STUDY OF IMAGE DENOISING ALGORITHMS IN MEDICAL AND SATELLITE IMAGES

Efficient Removal of Impulse Noise in Digital Images

Tan-Hsu Tan Dept. of Electrical Engineering National Taipei University of Technology Taipei, Taiwan (ROC)

Two Stage Robust Filtering Technique to Remove Salt & Pepper Noise in Grayscale Image

Impulse Noise Removal Based on Artificial Neural Network Classification with Weighted Median Filter

An Efficient Denoising Architecture for Impulse Noise Removal in Colour Image Using Combined Filter

Performance analysis of Impulse Noise Reduction Algorithms: Survey

Enhancement of Image with the help of Switching Median Filter

A FUZZY LOW-PASS FILTER FOR IMAGE NOISE REDUCTION

An Efficient Impulse Noise Removal Image Denoising Technique for MRI Brain Images

PERFORMANCE ANALYSIS OF LINEAR AND NON LINEAR FILTERS FOR IMAGE DE NOISING

Localizing and restoring clusters of impulse noise based on the dissimilarity among the image pixels

Available online at ScienceDirect. Procedia Computer Science 42 (2014 ) 32 37

A New Method for Removal of Salt and Pepper Noise through Advanced Decision Based Unsymmetric Median Filter

A Reversible Data Hiding Scheme Based on Prediction Difference

Design of Hybrid Filter for Denoising Images Using Fuzzy Network and Edge Detecting

Image De-Noising Using a Fast Non-Local Averaging Algorithm

A Review Paper on Image Processing based Algorithms for De-noising and Enhancement of Underwater Images

An Adaptive Kernel-Growing Median Filter for High Noise Images. Jacob Laurel. Birmingham, AL, USA. Birmingham, AL, USA

Noise Removal in Thump Images Using Advanced Multistage Multidirectional Median Filter

International Journal of Innovations in Engineering and Technology (IJIET)

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Implementation of Block based Mean and Median Filter for Removal of Salt and Pepper Noise

DENOISING USING A NEW FILETRING APPROACH

A Comparative Study and Analysis of Image Restoration Techniques Using Different Images Formats

IMAGE TYPE WATER METER CHARACTER RECOGNITION BASED ON EMBEDDED DSP

ORIGINAL ARTICLE A COMPARATIVE STUDY OF QUALITY ANALYSIS ON VARIOUS IMAGE FORMATS

Dept. of ECE, V R Siddhartha Engineering College, Vijayawada, AP, India

New Spatial Filters for Image Enhancement and Noise Removal

Comparisons of Adaptive Median Filters

Transcription:

2010 3rd International Conference on Computer and Electrical Engineering (ICCEE 2010) IPCSIT vol. 53 (2012) (2012) IACSIT Press, Singapore DOI: 10.7763/IPCSIT.2012.V53.No.2.64 An Improved Adaptive Median Filter for Image Denoising Chun-mei WANG + and Tian-yi LI Department of Computer Science, Sichuan University Chengdu, Sichuan, China Abstract In this paper, we proposed a new adaptive median filter for image denoising. In our method, two thresholds have been involved for detecting noises in variable-sized windows. The median filter and the mean filter are combined for changing the value of the corrupted pixels. The filter can preserve the fine details of image while suppressing the impulsive-type noise. The results of the experiments proved that our method is better than the traditional median filters. Keywords-salt & pepper noise, adaptive median filter, standard median filter, extreme median filter 1. Introduction Images are always easily corrupted by positive or negative impulses, which are caused by noisy channels while information transmitting. Impulse noise is a common kind of noise in electronic communication. It changes some bits or pixels of an image, for example, turning the white spot into black or black into white. The most common type of such noise is the salt-and-pepper noise. It is important to remove it in many image processing applications. The linear filter can remove the impulse noise, but it also smoothes the sharp edges. One-dimensional (1- D) median filter is a typical representation of the linear filter. In [1], the 1-D schema performs poorly for mixed impulse noise [1]. The non-linear filter makes a breakthrough of the linear filter. It can decrease the blur of image while removing the noise. The two-dimensional (2-D) median filter (the following median filter mentioned in this paper means 2-D median filter) has been popular in removing impulse noise for a long time. Although, it still has some drawbacks. The result of the filter depends on the window size. It can not remove the noise while the window size is too small, and blur the original image while the window size is too big. Nowadays, many researches have been done to improve the performance of median filter, such as the median filter in [2], the mix-max median filter[7], the weighted median filter[3][4], the center weighted median filter[11], the tri-state median filter[5], and the adaptive soft-switching median filter[6]. Those researches have made a great contribution to image denoising. In the following section, we shall first give an introduction to the former median filters, and then proposes a new adaptive filter for eliminating the impulse noises. In Section II, we shall introduce the standard median filters and the mean filter[9]. The theme of the new algorithm will be depicted in Section III. The simulation results will be given in Section IV. And in Section V, there is a conclusion 2. A review of median filters 2.1 The standard median filter + Corresponding author. E-mail address: scu_alice@hotmail.com

The standard median(sm) filter is simple and efficient in removing the impulse noise. It has been very popular for decades. In this method, there is a square window for filtering, and the window size is variable. The center pixel in the window is the one to be de-noised. Its gray value will be changed into the value of the standard median value of the square window which has been sorted. 2.2 The mean filter The mean filter proposed in [9] is a new type of filter. The main difference between median filter and mean filter is that it uses the mean value for replacing the center pixel which is to be filtered. There are three steps of this method. Firstly, creating a given size N*N (e.g. N=3) window, supposing ni (i,j) n is the center of the window (Figure1). Sum all the pixels in the square window, recorded as S. S = I'( i, j). Secondly, detecting the maximum and the minimum pixel value in this window, subtracting the i= 1 jvalue = 1 of those pixels from S, recorded as S. At the same time, the number of the rest pixels in the window is marked as x. Computing the mean value with the equation: M = S'/ x. In the third step, replacing the value of I (i,j) with M. ( i 1, j+ 1) ( i, j+ 1) ( i+ 1, j+ 1) ( i 1, j) ( i, j) ( i+ 1, j) ( i 1, j 1) ( i, j 1) ( i+ 1, j 1) Fig.1. 3*3 window As we saw, the median filter and the mean filter change all of the pixels, no matter it is a noise spot or a signal spot. It is inevitable to smooth the sharp edges, and add the calculated amount. So the new algorithm proposed in this paper will firstly separate the probable noise spots from the signal spots. The same work has been done in [10]. In [10], the paper supposes that the spot is pepper noise when the gray value equals to 0, and salt noise when the gray value equals to 255. In this paper, considering the error scope, we suppose the pixel value ranging from 0 to 5 be the pepper noise, 250 to 255 be the salt noise. The two intervals are: [0,5] and [250,255]. It means that the pixel value falls in these two intervals will be treated as the probable noise. In the processing phase, the filter will just process those pixels, without processing all of the pixels in the image. Also the proposed algorithm takes two variable thresholds, T 1 and T 2. T 1 and T 2 are adaptive selected from 0 to 255. In the processing phase, T 1 and T 2 will separate the pixels with different gray value into three different processing states. In brief, our paper uses two noise intervals for detecting probable noise spots firstly. And then takes two thresholds T 1 and T 2 to check whether it is a real noise spot or not in the detecting phase, and determine which state the pixels should belong to. Finally, in the processing phase, the mean filter and median filter will be combined together to process the different state of the pixels processed by T 1 and T 2. 3. The proposed schema The first step is detecting the noisy spot of the image. In order to avoid the error of detecting noise, the new filter involves two noise intervals: x 1 [0,5] and x 2 [250,255]. x 1 indicates the probable pepper noise, while x 2 indicates the probable salt noise. All of the probable noise spots will be collected in set N. In the second step, the new filter in this paper has to check whether the spot in N is a real noise spot or not. The new filter uses adaptive window with variable size for the sake of avoiding the error of the estimation of the noise spot. The minimum window size and the maximum window size are marked as Wmin and Wmax respectively. Here, Wmin=3, and Wmax=7. According to the correlation of the pixels in the neighborhood [12], the pixel in the Wmin might be detected as a noisy spot, but when enlarging the window, it can be a signal spot. 113 113 114 114 113 113 114 114 113 255 255 114 113 255 255 255 157 255 255 114 157 255 255 255 157 156 150 150 157 156 255 255 (a) (b) Fig.2. Distribution of gray value of an image In Figure2, (a) shows us that the gray value of the center pixel has a great difference from the neighboring pixels in the window 3*3. The same situation can be found in (b), but when the window size becomes 5*5 in

(b), the center pixel correlates the neighborhood closely, which is not in (a). And we can say that it is a noise spot in (a), but a signal spot in (b). So it is necessary to check the noise spot in an iterative method with variable window size. In this paper, the new filter combines the median filter and the mean filter. After doing some research of the former filters, we find that using the median value or the mean value to change the pixel value which is to be de-noised may bring some error. So in order to avoid this problem, we use ( mean + med )/2 to change the original pixel value. Suppose f(i,j) is the original image, f (i,j) is the corrupted image, I (i,j) is the pixel to be filtered, H(i,j) is the output value of I (i,j). Wcurrent stands for the current window size. Wmax is the maximum of the window, and Wmin is the minimum of the window. Wcurrent starts with Wmin. The process of the filter is as follows: (1) Creating two intervals for detecting noise pixels: x 1 [0,5] and x 2 [250,255]. x 1 for the pepper noise, x 2 for the salt noise. N is the set recording those noise pixels. (2) Choosing a pixel I (i,j) from N. Creating a window centered with I (i,j) in f (i,j). The window size starts with Wmin. (3) Computing the mean value in the window with the current window size, marked as mean. The method how to compute mean has been introduced in Section II. d = mean I'( i, j). If d < T1, Hij (, ) = I'(, ij) ; If d T1, go to Step(4). (4) Enlarging the size of Wcurrent. If Wcurrent < W max, go to Step(3); If Wcurrent = W max, go to Step(5). (5) Computing the median value of the current window, recording it as med. med = median( Wcurrent). Outputting the value of H(i,j) according to the following equation: I'( i, j) d< T1 Hi (, j) = ( med+ mean)/2 T1 d T2 med d > T2 (1) 4. Experiments The simulation experiments in this paper work on the MATLAB7.0. The first experiment we have to do is to determine the value of T 1 and T 2. We take image Lena as an example. Because there are two thresholds: T 1 for the lower bound, T 2 for the upper bound (T 2 >T 1 ). In [5], it suggests MSE as a well-established criterion for testing the thresholds. And we still use it in our paper. Because there are two thresholds, we firstly use Δ T = T2 T1 to test the relationship between MSE and Δ T. And secondly, according to the best value of Δ T, we adaptive choose the value of T 1 and T 2. Figure3 shows the relationship between MSE and Δ T. Fig.3. MSE value with different value of Δ T (Image: 168*184 Lena; Noise Ratio: 20%;) Through the above figure, the value of Δ T shall be 15. And now Δ T has been ascertained, it becomes easier to determine the value of T 1 and T 2. Any one of them can ascertain another. Here we choose T 1 to do the experiments. T 1 sets to be zero at first, and then increases 5 each time. The result is displayed in Figure4.

Fig.4. MSE value with different value of T1 (Image: 168*184 Lena; Noise Ratio: 20%;) The experiments show that T1 shall be set to 20. T2 shall be set to 35. By now the thresholds have been established. The next experiment is to evaluate the performance of our filter. PSNR (Peak Signal to Noise Ratio) is always taken as the criterion for evaluating the performance of image filters. We also adopt it in our paper. Suppose f(i,j) is the original image, f (i,j) is the corrupted image, g(i,j) is the de-noised image. The definition of PSNR is: 2 255 PSNR = 10 lg 1 M N (, ) (, ) [ f ij gij ] MN i = 1 j = 1 2 (2) In [8], it has made a comparison of the performance of different filters. So we just make a comparison of our filter to the standard median (SM) filter and the extremum median(em) filter in [10], and the filter in [13]. The results have been shown in Tab.1. The experiment takes the Baboon image because it has lots of detail information, which can show the good performance of our filter for preserving the fine details of the image while removing the noise at the same time. Tab.1 gives the quantitative analysis, and Figure5 shows the qualitative analysis. TABLE I COMPARISON BETWEEN OUR FILTER AND THE OTHERS χ =0.1 χ =0.2 χ =0.3 χ =0.4 χ =0.5 SM 33.79 29.34 23.83 19.22 15.34 Method in [13] 35.55 30.48 25.61 21.38 17.49 EM 38.77 32.01 26.25 22.99 19.91 Our filter 39.13 32.37 30.07 28.36 26.61 Fig.5 Experiment results of test image baboon 5. Conclusions In this paper, we have introduced a new filter for removing impulse noise. Through the comparison of our filter to the standard median filter, the extreme median filter in [10], the filter in [13], it proved that our algorithm can remove the pepper & salt noise very well. We have also introduced some other median filters, our method is also based on the median filter. But the experiments show that our algorithm has a high performance on preserving the details of the image, while other methods are not.

6. References [1] Homing LIN, Alan N. Willson, Median Filters with Adaptive Length, IEEE Transactions, JUNE 1988, Vol. 35, No. 6. J. Clerk Maxwell, A Treatise on Electricity and Magnetism, 3rd ed., vol. 2. Oxford: Clarendon, 1892, pp.68 73. [2] T. S. Huang, Ed., Two dimensional digital signal processing II: Transforms and Median filters, Springer-Verlag, New York, 1981.K. Elissa, Title of paper if known, unpublished. [3] D.R.K. Brownrigg, The weighted median filter, ACM Communications, Vol. 8, No. 12, Dec 1999, pp1834-1838. [4] T. Loupas, W. N. McDicken, and P. L. Allan, An adaptive weighted median filter for speckle suppression in medical ultrasonic images, IEEE Transactions on Circuits and Systems, Jan 1989, Vol. 36,. [5] T. C. Chen, K. K. Ma and L. H. Chen, Tri-state median filter for image denoising, IEEE Transactions on Image Processing, Vol. 8, No. 12, Dec 1999, pp.1834-1838 [6] H. L. Eng and K. K. Ma, Noise adaptive soft-switching median filter for image denoising, IEEE International Conference on Acoustics Speech and Signal Processing, Vol. 4, Feb 2000, pp. 2175-2178. [7] Jung-Hua Wang and Lian-Da Lin, Improved median filter using min-max algorithm for image processing, Electronics Letters, Vol. 33, No. 16, July 1997, pp.1362-1363. [8] Wang Zhou, Zhang David, Progressive switching median filter for the removal of impulse noise from highly corrupted images IEEE Trans. On Circuits and System s.: Analog and Digital Signal Processing, 1999,46(1). [9] Shu-tao LI, Yao-nan WANG, Non-Linear Adaptive Removal of Salt and Pepper Noise from Images,, Journal of Images and Graphics, Vol. 5(A), No. 12, Dec 2000. [10] Cang-ju XING, Shou-jue WANG, A New Filtering Algorithm Based on Extremum and Median Value, Journal of Images and Graphics, Vol. 6(A),No. 6, Jun 2001. [11] S. J. Ko and Y. H Lee, Center weighted median filters and their applications to image enhancement, IEEE Transactions on Circuits and Systems, Vol. 38, 1991, pp.984-993. [12] Ming-kun LIU, Yi Long, Image Salt & Pepper Noise Self-adaptive Suppression Algorithm with Correlativity and Prediction, Software Guide, Vol. 9, No. 6, Jun 2010, pp31-32. [13] Sun T, Newvo Y, Detail-preserving median based filter in image processing, Pattern Recognit Lett.