SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application
ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501

RESEARCH ARTICLE

www.ijera.com

OPEN ACCESS

A New Switching Median Filter for Impulse Noise Removal from
Corrupted Images
K J Sreeja1, Prudhvi Raj Budumuru2
1
2

(Assoc.Prof, Dept of E.C.E, Vignan‟s Institute of Information Technology, Duvvada, Vizag, A.P, India)
(Dept of E.C.E, Vignan‟s Institute of Information Technology, Duvvada, Vizag, A.P, India)

ABSTRACT
In the process of image acquisition or transmission, digital images often get affected by noise. Noise can
seriously affect the quality of images. This Paper introduces a new algorithm for removing impulse noise. The
most popular approach for impulse noise removal is Standard Median Filter (SMF) and the performance of SMF
is improved by adding Switching mechanism called Switching Median Filter (SWM), this paper introduces a
new-algorithm that is “A New Switching Median Filter (NSWM) for Impulse Noise removal from corrupted
images”. In this method SWM is modified with one or more process by using the concept of rank order to
improve the noise removal capability. The simulation results show that the proposed method has the better noise
removal capability than the SWM method for both gray scale and colour images.
Keywords- Impulse noise, NSWM, Rank order, SMF, SWM

I. Introduction
Images are frequently corrupted by impulse
noise due to the errors generated in noisy sensors and
communication channels [6]. The impulse noise is
Fat-tail distributed or "impulsive" noise is sometimes
called salt-and-pepper noise [1-5] or spike noise. An
image containing salt-and-pepper noise will have dark
pixels in bright regions and bright pixels in dark
regions. This type of noise can be caused by analogto-digital converter errors, bit errors in transmission,
etc. It can be mostly eliminated by using dark frame
subtraction and interpolating around dark/bright
pixels.
An image is a picture, photograph or any
other form of 2D representation of any scene. Most
algorithms for converting image sensor data to an
image, whether in-camera or on a computer, involve
some form of noise reduction. There are many
procedures for this, but all attempt to determine
whether the actual differences in pixel values
constitute noise or real photographic detail, and
average out the former while attempting to preserve
the latter. However, no algorithm can make this
judgment perfectly, so there is often a tradeoff made
between noise removal and preservation of fine, lowcontrast detail that may have characteristics similar to
noise. Many cameras have settings to control the
aggressiveness of the in-camera noise reduction
The subsequent image processing procedures
such as edge detection, image segmentation and
object tracking etc. might get worse performances if
the noise exists in the input image with high noise
density. Therefore, detecting noise and replacing the
noise pixel with an appropriate value is an important
work for image processing.

www.ijera.com

The median (MED) filter [1] is a well-known
nonlinear filter to eliminate the noise in the smooth
regions in image. But in the detail regions such as
edge and texture, MED might smear the detail. The
MED based impulse noise filters have been proposed
in [1–5, 9-10] already to solve this problem.
The switching MED filters determine the
difference between the current pixel and the MED in
the corresponding sliding window and then use a
threshold to determine whether the current pixel is
noise. The noise is detected only when the current
pixel and neighbors are much different. By using the
concept of rank order to improve the noise removal
capability.The simulations results show that the
proposed modified SWM (NSWM) has the better
noise removal capability than the SWM for both gray
scale image and colour image.
This paper is arranged as follows section 2
introduces the working principle of switching median
filter, section 3 explains about the description and
flow of new switching median filter, section 4 gives
the definitions of image fidelity measures used to
quantify the results obtained by the proposed
algorithm, section 5 explains the simulation results
and performance analysis, Finally section 6 gives
conclusion.

II. Switching Median Filter (SWM)
Let {xi−Li,j−L,…..,xi,j,.....,xi+L,j+L} represent the
input sample in the (2L+1)×(2L+1) sliding window
where xi,j is the current pixel locating at position (i,j)
in the image. The output of SWM is defined as

 xmed, x  Ti
yi , j  
 xi , j x  Ti

(1)

496 | P a g e
Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application
ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501

www.ijera.com

Where x  xi , j  xmed

xmed  MED xi  L , j  L ,..., xi , j ..., xi  L , j  L 

Ti is a threshold and yi,j is the filtered pixel
locating at position (i,j) . 𝛥x ≥ Ti means that the
current pixel is much more different from its
neighbors and can be treated as a noise. 𝛥x < Ti
denotes the current pixel to be regarded as a noisefree pixel. In fact, the impulse noise value is
uniformly distributed, once its value is rather close to
its neighbors such that 𝛥x < Ti happens, the noise
pixel cannot be detected by SWM. Hence, this noise
pixel cannot be filtered unless the threshold is
lowered down. The lower threshold is used, the more
noise pixels are detected, but less detail pixels are
preserved. In other words, there is a trade-off between
noise detection and detail preservation on tuning the
threshold.

III. New switching median filter
Proposed NSWM modifies SWM by adding
one more process when 𝛥x < Ti happens. Arrange the
input samples in ascending order such as x1≤ x2≤ x3 ≤
- - - - - - - - - - - - - ≤ x(2L+1)*(2L+1) the superscript of the
sorted x represents its rank order denoted by R(x).
Then, the one more noise detection process under the
case 𝛥x < Ti is shown as

 xmed R  Tr
yi , j  
 xi , j R  Tr

(2)

Where 𝛥R= |R(xi,j)- R(xmed)| and Tr is another
threshold. The case 𝛥R ≥ Tr means that the rank order
of the current pixel xi,j is larger than the
corresponding MED with T r order. It denotes that xi,j
is a noise pixel and must be filtered since the pixel
close to the MED has the less probability to be
corrupted by impulse noise and the pixel close to one
of two ends of the sorted samples is very possible an
impulse noise . The proposed NSWM is summarized
in the flowchart of Fig. 1.

Fig.1: Flow chart of NSWM.
So that there is an additional process for identifying
the noise pixel .The above figure shows the flow of
new switching median filter in which the pixels are
arranged in rank order. In practical applications, the
selections of Ti and Tr and size of sliding window [1]
depend on the noise density (p) of the specific image
Noise density
Window Size
0%<p≤20%
3x3
20%<p≤40%
5x5
40%<p≤100%
7x7
Table 1: Window size corresponding to noise
density

IV. Image fidelity measures
The performance evaluation of noise
removal using the proposed method was quantified by
peak signal- to-noise ratio (PSNR). The PSNR of gray
scale image [1] and colour image is calculated using
the standard formula given as follows

 L2 
PSNR  10 log 10 
 mse 




(3)

Where L is the dynamic range of allowable
intensities, mse is the mean squared error, and

mse 

N
1
M
2
i  1 1 yi, j  xi, j 
MN
j

(4)

Where M, N are the image dimensions (in
pixels) yi,j is the intensity of pixel at location (i,j) in
the original image and xi,j is the intensity of pixel at
location (i,j) in the filtered image. Mean square error
(mse) of the colour image [6, 11] is mean of the
www.ijera.com

497 | P a g e
Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application
ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501
individual mse‟s of three colours (Red, Green&
Blue).

mse (colour image) 

mseR  mseG  mseB
3

Noise
density
(%)

Noisy
Image

www.ijera.com

SWM
Image

NSWM
Image

10

V. Simulation Results
To check the noise removal capability of the
proposed new median filtering algorithm, choose the
“Cameraman” as input image and choose parameters
Ti = 40 and Tr = 3for the noise density level is upto
20% and Tr = 5 when the noise density level in
between 20% to 50%. Now, corrupt the input image
with salt& pepper noise having the noise density of
10%, 20%, 30%, 40% and 50%. This degraded image
is filtered through SWM and NSWM. Performance of
NSWM and SWM algorithms are compared by taking
PSNR as performance criteria.

20

30

40

Fig 2: Input image of Cameraman
50

Fig 3: from left to right
Column 1: Noise density, column 2: Noisy Images,
Column 3: Filtered Image using SWM, column 4:
Filtered Image using NSWM
Noise
Density

PSNR of Lena
Image

PSNR of
Cameraman Image

(%)
SWM

NSWM

SWM

NSWM

10

25.28

28.07

24.13

30.69

20

23.78

25.22

23.19

26.96

30

21.05

22.96

20.82

23.85

40

17.56

21.91

17.62

22.67

50

14.54

19.85

14.28

20.88

Table 2: Performance comparison of gray scale
images “Lena and Cameraman”

www.ijera.com

498 | P a g e
Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application
ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501
Noise
Density
(%)

Noisy
Image

www.ijera.com

SWM
Image

NSWM
Image

10

20

30

Fig 4: Changes of the denoised image in function
of noise density in the corrupted image and PSNR
of grayscale images through NSWM

40

Noise removal process mostly performed on
gray scale images. So, the new proposed NSWM
algorithm is applied on colour images for reduction of
salt& pepper noise. Now, to check the noise removal
capability of the proposed new median filtering
algorithm, choose the “Peppers” as input image and
choose parameters Ti = 40 and Tr = 3 for the noise
density level is upto 20% and T r = 5 when the noise
density level in between 20% to 50%. Now, corrupt
the input image with salt& pepper noise having the
noise density of 10%, 20%, 30%, 40% and 50%. This
degraded image is filtered through SWM and NSWM.
Performance of NSWM and SWM algorithms are
compared by taking PSNR as performance criteria.

50

Fig 6: from left to right
Column 1: Noise density, column 2: Noisy Images,
Column 3: Filtered Image using SWM, column 4:
Filtered Image using NSWM
Noise
density
(%)

PSNR of Lena
colour Image

PSNR of Peppers
colour Image

SWM

NSWM

SWM

NSWM

10

28.68

31.21

35.57

38.31

20

27.27

28.84

32.49

33.15

30

24.87

26.77

27.56

32.22

40

21.72

25.72

23.12

30.51

50

18.78

24.10

19.36

27.49

Table 3: Performance comparison of colour
images “Lena and Peppers”
Fig 5: Input colour image of Peppers

Fig 7: Changes of the denoised image in function
of noise density in the corrupted image and PSNR
of colour images through NSWM
www.ijera.com

499 | P a g e
Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application
ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501
Comparison graphs shown in the figure 8 and figure
9, is in between NSWM and SWM of the gray scale
image cameraman and colour image peppers
respectively.

Fig 8: Changes of the denoised gray scale image
(cameraman) in function of noise density in the
corrupted image and PSNR

Fig 9: Changes of the denoised colour image
(peppers) in function of noise density in the
corrupted image and PSNR
The proposed algorithm NSWM has a
capability to reduce the noise in the both gray scale
and colour images. The NSWM filter effectively
removing the noise in colour images. This is proved
by observing the PSNR values of the denoised gray
scale image and colour image of Lena. From the
figures 8 and 9, simulation graphs shows that the
NSWM algorithm gives the better performance
compared to SWM.

VI. Conclusion
This paper has proposed a new switching
median filter (NSWM) based on the rank order
arrangement to implement impulse noise removal
NSWM modifies SWM with one more process in
which the MED of the sliding window and the rank
order of the current pixel are used to determine
whether the current pixel is noise. The more noise
pixels with values close to its neighbors are detected
www.ijera.com

www.ijera.com

in NSWM. From the simulation results, we have seen
that the proposed NSWM has a better performance
than other existing filter SWM.
.References
[1]
A. Fabijan´ ska D. Sankowski. Noise
adaptive switching median-based filter for
impulse noise removal from extremely
corrupted images, IET Image Process., 2011,
Vol. 5, Iss. 5, pp. 472–480
[2]
Moon,K.M. Patil,M.D. Parmar,B. Image
restoration using adaptive switching median
filter, Computational Intelligence and
Computing Research (ICCIC), 2010 IEEE
International Conference on Date 28-29 Dec.
2010
[3]
Jafar, I.F. Na'mneh, R.A. Improving the
filtering performance of the BDND
algorithm in impulse noise removal,
Systems, Signals and Devices (SSD), 2012
9th International Multi-Conference on
Date 20-23 March 2012
[4]
Chan, R.H., Chen Hu Nikolova, M.: „An
iterative procedure for removing randomvalued impulse noise‟, IEEE Signal Process.
Lett, 2004, 11, (12), pp. 921–924
[5]
Chen T, Ma KK, Chen LH. Tri-state median
for image denoising. IEEE Trans Image
Process 1999; 8:1834–8.
[6]
Gonzalez RC,Woods RE. Digital image
processing. New York: Addison-Wesley;
1992.
[7]
Sun T, Neuvo Y. Detail-preserving median
based filters in image processing. Pattern
Recognition Lett 1994; 15:341–7.
[8]
Chen T, Wu HR. Adaptive impulse detection
using center- weighted median filters. IEEE
Signal Process Lett 2001;15: 1–3.
[9]
Zhang S, Karim MA. A new impulse
detector for switching median filters. IEEE
Signal Process Lett 2002;9:360–3.
[10] Aizenberg I, Butakoff C. Effective impulse
detector based on rank-order criteria. IEEE
Signal Process Lett 2004;11:363–6.
[11] Arce, G.R., Gallagher, N.C., Nodes, T.:
„Median filters: theory and applications‟, in
HUANG, T. (Ed.): „Advances in computer
vision and image processing‟ (JAI,
Connecticut1986)
[12] Pitas, I., Venetsanopoulos, A.N.: „Nonlinear
digital filters principles and applications‟
(Kluwer, 1990)
[13] Astola, J., Kuosmanen, P.: „Fundamentals of
nonlinear digital filtering‟ (CRC Press,
1997)

500 | P a g e
Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application
ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501

www.ijera.com

Sreeja Kumari Jaya has received B.E.
From S.R.K.R Engineering College in the
year 2001. She has completed her M.Tech
in the year 2003 from University of Kerala
with Digital Image Computing as her specialization.
She has ten years experience of teaching undergraduate and post-graduate students. Currently
working as a Associate professor in Vignan‟s Institute
of Information and Technology, Visakhapatnam,
Andhra Pradesh. Her research interest area is digital
image processing, communication and networking
Prudhvi Raj Budumuru is pursuing his
M.Tech Degree in Electronics and
communications, Vignan‟s Institute of
Information and Technology, Duvvada,
Vizag, A.P. His area of interest in signal
and image processing

www.ijera.com

501 | P a g e

Weitere ähnliche Inhalte

Was ist angesagt?

Image denoising algorithms
Image denoising algorithmsImage denoising algorithms
Image denoising algorithms
Mohammad Sunny
 
Noise reduction by fuzzy image filtering(synopsis)
Noise reduction by fuzzy image filtering(synopsis)Noise reduction by fuzzy image filtering(synopsis)
Noise reduction by fuzzy image filtering(synopsis)
Mumbai Academisc
 
impulse noise filter
impulse noise filter impulse noise filter
impulse noise filter
yousef_
 

Was ist angesagt? (19)

Image denoising algorithms
Image denoising algorithmsImage denoising algorithms
Image denoising algorithms
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
 
Image denoising
Image denoisingImage denoising
Image denoising
 
Noise reduction by fuzzy image filtering(synopsis)
Noise reduction by fuzzy image filtering(synopsis)Noise reduction by fuzzy image filtering(synopsis)
Noise reduction by fuzzy image filtering(synopsis)
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...
Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...
Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...
 
Image filtering : A comparitive study
Image filtering : A comparitive studyImage filtering : A comparitive study
Image filtering : A comparitive study
 
Image denoising using new adaptive based median filter
Image denoising using new adaptive based median filterImage denoising using new adaptive based median filter
Image denoising using new adaptive based median filter
 
Noise
NoiseNoise
Noise
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)
 
mean_filter
mean_filtermean_filter
mean_filter
 
Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...
Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...
Edge Detection with Detail Preservation for RVIN Using Adaptive Threshold Fil...
 
Module 31
Module 31Module 31
Module 31
 
Image Restoration
Image Restoration Image Restoration
Image Restoration
 
impulse noise filter
impulse noise filter impulse noise filter
impulse noise filter
 
Computer Vision - Image Filters
Computer Vision - Image FiltersComputer Vision - Image Filters
Computer Vision - Image Filters
 

Andere mochten auch

Andere mochten auch (20)

Bu36433437
Bu36433437Bu36433437
Bu36433437
 
Bn36386389
Bn36386389Bn36386389
Bn36386389
 
Ci36507510
Ci36507510Ci36507510
Ci36507510
 
Cf36490495
Cf36490495Cf36490495
Cf36490495
 
Cq36554559
Cq36554559Cq36554559
Cq36554559
 
Bp36398403
Bp36398403Bp36398403
Bp36398403
 
Bk36372377
Bk36372377Bk36372377
Bk36372377
 
Cp36547553
Cp36547553Cp36547553
Cp36547553
 
Ck36515520
Ck36515520Ck36515520
Ck36515520
 
De36636639
De36636639De36636639
De36636639
 
Da36615618
Da36615618Da36615618
Da36615618
 
Bl36378381
Bl36378381Bl36378381
Bl36378381
 
Bw36444448
Bw36444448Bw36444448
Bw36444448
 
Bz36459463
Bz36459463Bz36459463
Bz36459463
 
By36454458
By36454458By36454458
By36454458
 
Bt36430432
Bt36430432Bt36430432
Bt36430432
 
Bo36390397
Bo36390397Bo36390397
Bo36390397
 
Bi36358362
Bi36358362Bi36358362
Bi36358362
 
Bf36342346
Bf36342346Bf36342346
Bf36342346
 
Cj36511514
Cj36511514Cj36511514
Cj36511514
 

Ähnlich wie Cg36496501

PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
ijistjournal
 
Iaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of high
Iaetsd Iaetsd
 
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imagesPerformance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri images
eSAT Publishing House
 
Novel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital imagesNovel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital images
ijbbjournal
 
Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...
Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...
Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...
IJCSIS Research Publications
 

Ähnlich wie Cg36496501 (20)

K010615562
K010615562K010615562
K010615562
 
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
 
Image Filtering
Image FilteringImage Filtering
Image Filtering
 
Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...
Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...
Restoration of Images Corrupted by High Density Salt & Pepper Noise through A...
 
[IJCT-V3I2P34] Authors: Palwinder Singh
[IJCT-V3I2P34] Authors: Palwinder Singh[IJCT-V3I2P34] Authors: Palwinder Singh
[IJCT-V3I2P34] Authors: Palwinder Singh
 
IMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTERIMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTER
 
Image Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVINImage Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVIN
 
M017218088
M017218088M017218088
M017218088
 
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
 
PID3474431
PID3474431PID3474431
PID3474431
 
Iaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of high
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Df4201720724
Df4201720724Df4201720724
Df4201720724
 
Adaptive Noise Reduction Scheme for Salt and Pepper
Adaptive Noise Reduction Scheme for Salt and PepperAdaptive Noise Reduction Scheme for Salt and Pepper
Adaptive Noise Reduction Scheme for Salt and Pepper
 
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imagesPerformance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri images
 
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imagesPerformance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri images
 
A Decision tree and Conditional Median Filter Based Denoising for impulse noi...
A Decision tree and Conditional Median Filter Based Denoising for impulse noi...A Decision tree and Conditional Median Filter Based Denoising for impulse noi...
A Decision tree and Conditional Median Filter Based Denoising for impulse noi...
 
Novel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital imagesNovel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital images
 
Smart Noise Cancellation Processing: New Level of Clarity in Digital Radiography
Smart Noise Cancellation Processing: New Level of Clarity in Digital RadiographySmart Noise Cancellation Processing: New Level of Clarity in Digital Radiography
Smart Noise Cancellation Processing: New Level of Clarity in Digital Radiography
 
Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...
Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...
Self Organizing Migration Algorithm with Curvelet Based Non Local Means Metho...
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Cg36496501

  • 1. Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501 RESEARCH ARTICLE www.ijera.com OPEN ACCESS A New Switching Median Filter for Impulse Noise Removal from Corrupted Images K J Sreeja1, Prudhvi Raj Budumuru2 1 2 (Assoc.Prof, Dept of E.C.E, Vignan‟s Institute of Information Technology, Duvvada, Vizag, A.P, India) (Dept of E.C.E, Vignan‟s Institute of Information Technology, Duvvada, Vizag, A.P, India) ABSTRACT In the process of image acquisition or transmission, digital images often get affected by noise. Noise can seriously affect the quality of images. This Paper introduces a new algorithm for removing impulse noise. The most popular approach for impulse noise removal is Standard Median Filter (SMF) and the performance of SMF is improved by adding Switching mechanism called Switching Median Filter (SWM), this paper introduces a new-algorithm that is “A New Switching Median Filter (NSWM) for Impulse Noise removal from corrupted images”. In this method SWM is modified with one or more process by using the concept of rank order to improve the noise removal capability. The simulation results show that the proposed method has the better noise removal capability than the SWM method for both gray scale and colour images. Keywords- Impulse noise, NSWM, Rank order, SMF, SWM I. Introduction Images are frequently corrupted by impulse noise due to the errors generated in noisy sensors and communication channels [6]. The impulse noise is Fat-tail distributed or "impulsive" noise is sometimes called salt-and-pepper noise [1-5] or spike noise. An image containing salt-and-pepper noise will have dark pixels in bright regions and bright pixels in dark regions. This type of noise can be caused by analogto-digital converter errors, bit errors in transmission, etc. It can be mostly eliminated by using dark frame subtraction and interpolating around dark/bright pixels. An image is a picture, photograph or any other form of 2D representation of any scene. Most algorithms for converting image sensor data to an image, whether in-camera or on a computer, involve some form of noise reduction. There are many procedures for this, but all attempt to determine whether the actual differences in pixel values constitute noise or real photographic detail, and average out the former while attempting to preserve the latter. However, no algorithm can make this judgment perfectly, so there is often a tradeoff made between noise removal and preservation of fine, lowcontrast detail that may have characteristics similar to noise. Many cameras have settings to control the aggressiveness of the in-camera noise reduction The subsequent image processing procedures such as edge detection, image segmentation and object tracking etc. might get worse performances if the noise exists in the input image with high noise density. Therefore, detecting noise and replacing the noise pixel with an appropriate value is an important work for image processing. www.ijera.com The median (MED) filter [1] is a well-known nonlinear filter to eliminate the noise in the smooth regions in image. But in the detail regions such as edge and texture, MED might smear the detail. The MED based impulse noise filters have been proposed in [1–5, 9-10] already to solve this problem. The switching MED filters determine the difference between the current pixel and the MED in the corresponding sliding window and then use a threshold to determine whether the current pixel is noise. The noise is detected only when the current pixel and neighbors are much different. By using the concept of rank order to improve the noise removal capability.The simulations results show that the proposed modified SWM (NSWM) has the better noise removal capability than the SWM for both gray scale image and colour image. This paper is arranged as follows section 2 introduces the working principle of switching median filter, section 3 explains about the description and flow of new switching median filter, section 4 gives the definitions of image fidelity measures used to quantify the results obtained by the proposed algorithm, section 5 explains the simulation results and performance analysis, Finally section 6 gives conclusion. II. Switching Median Filter (SWM) Let {xi−Li,j−L,…..,xi,j,.....,xi+L,j+L} represent the input sample in the (2L+1)×(2L+1) sliding window where xi,j is the current pixel locating at position (i,j) in the image. The output of SWM is defined as  xmed, x  Ti yi , j    xi , j x  Ti (1) 496 | P a g e
  • 2. Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501 www.ijera.com Where x  xi , j  xmed xmed  MED xi  L , j  L ,..., xi , j ..., xi  L , j  L  Ti is a threshold and yi,j is the filtered pixel locating at position (i,j) . 𝛥x ≥ Ti means that the current pixel is much more different from its neighbors and can be treated as a noise. 𝛥x < Ti denotes the current pixel to be regarded as a noisefree pixel. In fact, the impulse noise value is uniformly distributed, once its value is rather close to its neighbors such that 𝛥x < Ti happens, the noise pixel cannot be detected by SWM. Hence, this noise pixel cannot be filtered unless the threshold is lowered down. The lower threshold is used, the more noise pixels are detected, but less detail pixels are preserved. In other words, there is a trade-off between noise detection and detail preservation on tuning the threshold. III. New switching median filter Proposed NSWM modifies SWM by adding one more process when 𝛥x < Ti happens. Arrange the input samples in ascending order such as x1≤ x2≤ x3 ≤ - - - - - - - - - - - - - ≤ x(2L+1)*(2L+1) the superscript of the sorted x represents its rank order denoted by R(x). Then, the one more noise detection process under the case 𝛥x < Ti is shown as  xmed R  Tr yi , j    xi , j R  Tr (2) Where 𝛥R= |R(xi,j)- R(xmed)| and Tr is another threshold. The case 𝛥R ≥ Tr means that the rank order of the current pixel xi,j is larger than the corresponding MED with T r order. It denotes that xi,j is a noise pixel and must be filtered since the pixel close to the MED has the less probability to be corrupted by impulse noise and the pixel close to one of two ends of the sorted samples is very possible an impulse noise . The proposed NSWM is summarized in the flowchart of Fig. 1. Fig.1: Flow chart of NSWM. So that there is an additional process for identifying the noise pixel .The above figure shows the flow of new switching median filter in which the pixels are arranged in rank order. In practical applications, the selections of Ti and Tr and size of sliding window [1] depend on the noise density (p) of the specific image Noise density Window Size 0%<p≤20% 3x3 20%<p≤40% 5x5 40%<p≤100% 7x7 Table 1: Window size corresponding to noise density IV. Image fidelity measures The performance evaluation of noise removal using the proposed method was quantified by peak signal- to-noise ratio (PSNR). The PSNR of gray scale image [1] and colour image is calculated using the standard formula given as follows  L2  PSNR  10 log 10   mse     (3) Where L is the dynamic range of allowable intensities, mse is the mean squared error, and mse  N 1 M 2 i  1 1 yi, j  xi, j  MN j (4) Where M, N are the image dimensions (in pixels) yi,j is the intensity of pixel at location (i,j) in the original image and xi,j is the intensity of pixel at location (i,j) in the filtered image. Mean square error (mse) of the colour image [6, 11] is mean of the www.ijera.com 497 | P a g e
  • 3. Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501 individual mse‟s of three colours (Red, Green& Blue). mse (colour image)  mseR  mseG  mseB 3 Noise density (%) Noisy Image www.ijera.com SWM Image NSWM Image 10 V. Simulation Results To check the noise removal capability of the proposed new median filtering algorithm, choose the “Cameraman” as input image and choose parameters Ti = 40 and Tr = 3for the noise density level is upto 20% and Tr = 5 when the noise density level in between 20% to 50%. Now, corrupt the input image with salt& pepper noise having the noise density of 10%, 20%, 30%, 40% and 50%. This degraded image is filtered through SWM and NSWM. Performance of NSWM and SWM algorithms are compared by taking PSNR as performance criteria. 20 30 40 Fig 2: Input image of Cameraman 50 Fig 3: from left to right Column 1: Noise density, column 2: Noisy Images, Column 3: Filtered Image using SWM, column 4: Filtered Image using NSWM Noise Density PSNR of Lena Image PSNR of Cameraman Image (%) SWM NSWM SWM NSWM 10 25.28 28.07 24.13 30.69 20 23.78 25.22 23.19 26.96 30 21.05 22.96 20.82 23.85 40 17.56 21.91 17.62 22.67 50 14.54 19.85 14.28 20.88 Table 2: Performance comparison of gray scale images “Lena and Cameraman” www.ijera.com 498 | P a g e
  • 4. Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501 Noise Density (%) Noisy Image www.ijera.com SWM Image NSWM Image 10 20 30 Fig 4: Changes of the denoised image in function of noise density in the corrupted image and PSNR of grayscale images through NSWM 40 Noise removal process mostly performed on gray scale images. So, the new proposed NSWM algorithm is applied on colour images for reduction of salt& pepper noise. Now, to check the noise removal capability of the proposed new median filtering algorithm, choose the “Peppers” as input image and choose parameters Ti = 40 and Tr = 3 for the noise density level is upto 20% and T r = 5 when the noise density level in between 20% to 50%. Now, corrupt the input image with salt& pepper noise having the noise density of 10%, 20%, 30%, 40% and 50%. This degraded image is filtered through SWM and NSWM. Performance of NSWM and SWM algorithms are compared by taking PSNR as performance criteria. 50 Fig 6: from left to right Column 1: Noise density, column 2: Noisy Images, Column 3: Filtered Image using SWM, column 4: Filtered Image using NSWM Noise density (%) PSNR of Lena colour Image PSNR of Peppers colour Image SWM NSWM SWM NSWM 10 28.68 31.21 35.57 38.31 20 27.27 28.84 32.49 33.15 30 24.87 26.77 27.56 32.22 40 21.72 25.72 23.12 30.51 50 18.78 24.10 19.36 27.49 Table 3: Performance comparison of colour images “Lena and Peppers” Fig 5: Input colour image of Peppers Fig 7: Changes of the denoised image in function of noise density in the corrupted image and PSNR of colour images through NSWM www.ijera.com 499 | P a g e
  • 5. Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501 Comparison graphs shown in the figure 8 and figure 9, is in between NSWM and SWM of the gray scale image cameraman and colour image peppers respectively. Fig 8: Changes of the denoised gray scale image (cameraman) in function of noise density in the corrupted image and PSNR Fig 9: Changes of the denoised colour image (peppers) in function of noise density in the corrupted image and PSNR The proposed algorithm NSWM has a capability to reduce the noise in the both gray scale and colour images. The NSWM filter effectively removing the noise in colour images. This is proved by observing the PSNR values of the denoised gray scale image and colour image of Lena. From the figures 8 and 9, simulation graphs shows that the NSWM algorithm gives the better performance compared to SWM. VI. Conclusion This paper has proposed a new switching median filter (NSWM) based on the rank order arrangement to implement impulse noise removal NSWM modifies SWM with one more process in which the MED of the sliding window and the rank order of the current pixel are used to determine whether the current pixel is noise. The more noise pixels with values close to its neighbors are detected www.ijera.com www.ijera.com in NSWM. From the simulation results, we have seen that the proposed NSWM has a better performance than other existing filter SWM. .References [1] A. Fabijan´ ska D. Sankowski. Noise adaptive switching median-based filter for impulse noise removal from extremely corrupted images, IET Image Process., 2011, Vol. 5, Iss. 5, pp. 472–480 [2] Moon,K.M. Patil,M.D. Parmar,B. Image restoration using adaptive switching median filter, Computational Intelligence and Computing Research (ICCIC), 2010 IEEE International Conference on Date 28-29 Dec. 2010 [3] Jafar, I.F. Na'mneh, R.A. Improving the filtering performance of the BDND algorithm in impulse noise removal, Systems, Signals and Devices (SSD), 2012 9th International Multi-Conference on Date 20-23 March 2012 [4] Chan, R.H., Chen Hu Nikolova, M.: „An iterative procedure for removing randomvalued impulse noise‟, IEEE Signal Process. Lett, 2004, 11, (12), pp. 921–924 [5] Chen T, Ma KK, Chen LH. Tri-state median for image denoising. IEEE Trans Image Process 1999; 8:1834–8. [6] Gonzalez RC,Woods RE. Digital image processing. New York: Addison-Wesley; 1992. [7] Sun T, Neuvo Y. Detail-preserving median based filters in image processing. Pattern Recognition Lett 1994; 15:341–7. [8] Chen T, Wu HR. Adaptive impulse detection using center- weighted median filters. IEEE Signal Process Lett 2001;15: 1–3. [9] Zhang S, Karim MA. A new impulse detector for switching median filters. IEEE Signal Process Lett 2002;9:360–3. [10] Aizenberg I, Butakoff C. Effective impulse detector based on rank-order criteria. IEEE Signal Process Lett 2004;11:363–6. [11] Arce, G.R., Gallagher, N.C., Nodes, T.: „Median filters: theory and applications‟, in HUANG, T. (Ed.): „Advances in computer vision and image processing‟ (JAI, Connecticut1986) [12] Pitas, I., Venetsanopoulos, A.N.: „Nonlinear digital filters principles and applications‟ (Kluwer, 1990) [13] Astola, J., Kuosmanen, P.: „Fundamentals of nonlinear digital filtering‟ (CRC Press, 1997) 500 | P a g e
  • 6. Prudhvi Raj Budumuru et al Int. Journal of Engineering Research and Application ISSN : 2248-9622, Vol. 3, Issue 6, Nov-Dec 2013, pp.496-501 www.ijera.com Sreeja Kumari Jaya has received B.E. From S.R.K.R Engineering College in the year 2001. She has completed her M.Tech in the year 2003 from University of Kerala with Digital Image Computing as her specialization. She has ten years experience of teaching undergraduate and post-graduate students. Currently working as a Associate professor in Vignan‟s Institute of Information and Technology, Visakhapatnam, Andhra Pradesh. Her research interest area is digital image processing, communication and networking Prudhvi Raj Budumuru is pursuing his M.Tech Degree in Electronics and communications, Vignan‟s Institute of Information and Technology, Duvvada, Vizag, A.P. His area of interest in signal and image processing www.ijera.com 501 | P a g e