covid
Buscar en
Journal of Applied Research and Technology. JART
Toda la web
Inicio Journal of Applied Research and Technology. JART A Nonlinear Hybrid Filter for Salt & Pepper Noise Removal from Color Images
Journal Information
Vol. 13. Issue 1.
Pages 79-85 (February 2015)
Share
Share
Download PDF
More article options
Visits
5550
Vol. 13. Issue 1.
Pages 79-85 (February 2015)
Open Access
A Nonlinear Hybrid Filter for Salt & Pepper Noise Removal from Color Images
Visits
5550
Isma Irum, Muhammad Sharif, Mudassar Raza, Sajjad Mohsin
Department of Computer Sciences, COMSATS Institute of Information Technology, Wah Cantt., 47040, Pakistan
This item has received

Under a Creative Commons license
Article information
Abstract
Full Text
Bibliography
Download PDF
Statistics
Figures (4)
Show moreShow less
Tables (1)
Table 1. PSNR and Computation Time for test Images Lena, Peppers, Baboon Corrupted by 10%–90% of Noise.
Abstract

Impulse noise reduction or removal is a very active research area of image processing. A nonlinear hybrid filter for removing fixed impulse noise (salt & pepper) noise from color images has been proposed in this study. Technique is based on mathematical morphology and trimmed standard median filter. Proposed filter is composed of a sequence of morphological standard and well known operations erosion-dilation and trimmed standard median filter. It removes the fixed impulse noise (salt & pepper) very well without distorting the image features, color components and edges. It does not introduce blurring and moving effects even in high noise densities (up to 90%). The standard similarity measure peak signal to noise ratio (PSNR) and computation time have been used to evaluate the performance of proposed hybrid filter.

Keywords:
Color image filtering
decision based trimmed median filter
impulse noise
mathematical morphology
Full Text
1Introduction

Noise is the most annoying problem in image processing. One way to get rid of this problem is the development of such a robust algorithm that can perform the processing tasks in presence of noise. The other way is to design a filtration process to eliminate the noise from images [1] while preserving its features, edges and details.

Noise introduces random variations into image that fluctuate the original values to some different values. Causes which may introduce noise to images include flaws in data transmission, imperfect optics, sensor malfunctioning, processing techniques and electronic interference [2; 3].

Mathematical morphology is a methodology specifically designed for the analysis of geometrical structures in an image by probing it with small patterns called structuring elements [4]. The resultant image operators are nonlinear and found useful for many applications like edge detection, object segmentation [5], noise suppression [6] and exploring geometrical structures of images [7]. Alternate sequence filters (ASFs) are recognized as one of these important operators and have been widely used and researched [8; 9; 10; 11]. Some other morphological filters include multi structure elements based morphological filters [12; 13], soft morphological filters [14; 15] and hybrid operator-based morphological filters [16].

Median filter [17] having the good denoising power has been the most popular filter. Its variations have been proposed in multistate median filter [18], median filter based on homogeneity information [19; 20] decision based trimmed median filters [21; 22] to improve its performance.

Recently the extensions of mathematical morphology to color images have been proposed in [23; 24; 25; 26; 27]. The proposed hybrid filter combines the strong processing capabilities of mathematical morphology and decision based trimmed median filter for noise suppression or cancellation. By using the concept of ASF, a sequence of erosion and dilation combined with the trimmed median filter is composed with line structuring elements. It not only achieves the outstanding results but produces visually satisfactory reconstructed images even in very high noise densities.

The rest of the paper is structured as follows, section 2 discusses the proposed method in detail, section 3 provides the results and discussion upon those results, section 4 concludes the whole method and section 5 lists the references quoted in this study.

2Materials and methods

Different models exist for image de noising including ROF model [28], Total variation model [29], Bias model [30], Affine model [31], Graphical model [32] and Multiplicative noise model [33] etc. These models have proved best for the removal of a variety of noise like salt and pepper noise, Gaussian noise, uniform noise, Rayleigh noise, exponential noise, mixed noise, Gamma noise and poison noise etc.

The noise model used in the paper consists of well known and morphological standard operations known as erosion-dilation and trimmed standard median filter. This noise model is selected because it does not distort the features of image, image edges and image color components while removing the fixed impulse noise (salt & pepper). Further, even in case of high densities of noise, moving and blurring effects are also not introduced by this noise model.

2.1Noise Model

A digital image can be modeled in any of color spaces like RGB, HSV and L*a *b. RGB is most commonly used as basic color space. RGB enables the mixing of red, green and blue light to produce a wide range of colors. Therefore a three dimensional (3–D) vector is used to represent the colors in RGB model, containing the red as first, green as second and blue as the third element. These elements are called three primary components having the range [0, 2d–1], mostly with d=8.

A two dimensional (2D) vector can be used to represent a digital color image I (G, H, 3), in which (x, y) depicts the position of a pixel in I and 1xG,1yH. If I (x, y, 1), I (x, y, 2) and I (x, y, 3) denote the red, green and blue components respectively, then occurrence of impulse noise can be modeled as [2].

n(I) is noisy signal, nf=(nf1,nf2,nf3)r is noise free color vector, iv is the impulse value and

Impulse value iv can have two values either 0 or 255.

2.2Filtration Scheme

The scheme used in proposed method is component wise filtering. Color space RGB is used and each of its components is passed through the proposed hybrid filter separately.

Erosion and dilation are the most elementary operations of mathematical morphology. Erosion computes the local minima and dilation computes the local maxima of neighbor of the input image, on which they are working. If SE is structuring element then component wise erosion of color image I is defined by

where k=1,2,3 showing R, G, B components Component wise Dilation of image color I is defined by
where k=1, 2, 3 showing R, G, B components

if nk=neighborhood of size (2m+1)x(2m+1), form=1,2,3… then component wise trimmed median of color image I is defined by

Proposition. When image I is eroded or dilated with structuring element or kernel SE, the following inverse relationship holds for the operators erosion and dilation.

Proof. Given two sets Ik and se the erosion can be shown as

and dilation can be defined by
by complementing eq(10) and from eq(12)
by complementing eq (11) and from eq (12) as dilation is Minkowski addition Ik⊕se¯=Iˆk⊕se¯. (Complement.property.for.addition)

From (13) & (14) it can be clearly observed they contain inverse relationship

Therefore Ikϵse¯=Iˆkδse¯

This inverse relationship of erosion and dilation is very useful for removing salt & pepper noise. By using them alternatively salt & pepper noise can be removed very effectively as they are of inverse properties.

The general definition of ASF is given by

Therefore definition of propose hybrid filter for color image I (G,H,3) can be given by

k=1, 2, 3 Showing the primary color components of RGB

3Results & discussion

Peak signal to noise ratio (PSNR) is used as objective similarity between a filtered image and noise free original image, measured in decibels (dB).

Expression (17) is based on another similarity measure called Mean Square Error (MSE).

I, O are filtered and original images respectively, G,H are dimensions of images, k shows each of primary color components of RGB and R is the maximum intensity having the value 2d−1 where d=8.

We used the three test images Lena, Peppers and Baboon of size 512x512 as given in fig. 2.

Figure 2.

Standard Test Images for Proposed Method.

(0.13MB).

We have found that our method receives the best numerical and visual performance with a window of size m=1 i-e (3x3) for experimental results. Table. 1 shows the PSNR values for test images corrupted by impulse noise up to 90%, filtered images and computation time for showing the effectiveness and strength of proposed method.

Table 1.

PSNR and Computation Time for test Images Lena, Peppers, Baboon Corrupted by 10%–90% of Noise.

Noise Density  10%  20%  30%  40%  50%  60%  70%  80%  90% 
PSNR Noisy Image Lena(dB)  15.19  12.16  10.42  9.16  8.19  7.39  6.72  6.16  5.64 
PSNR Filtered Image Lena(dB)  65.67  65.71  65.70  65.63  65.46  65.16  64.66  63.87  62.52 
Computation Time for Lena (Sec)  33.16  33.96  34.76  35.56  35.79  36.02  36.25  36.48  36.71 
PSNR Noisy Image Peppers(dB)  14.95  11.92  10.18  8.90  7.94  7.15  6.48  5.91  5.43 
PSNR Filtered Image Peppers (dB)  64.97  65.02  65.05  65.00  64.88  64.54  64.02  62.96  62.06 
Computation Time for Peppers (Sec)  33.21  34.01  34.81  35.61  35.84  36.07  36.30  36.53  36.76 
PSNR Noisy Image Baboon(dB)  15.26  12.24  10.48  9.24  8.27  7.48  6.80  6.24  5.77 
PSNR Filtered Image Baboon(dB)  62.36  62.33  62.30  62.23  62.15  62.04  61.90  61.64  60.91 
Computation Time for Baboon(Sec)  33.23  34.03  34.83  35.63  35.86  36.09  36.48  36.55  36.78 

Fig. 3 shows the visual performance of proposed method for test images Lena, Peppers and Baboon corrupted by 40%, 60% and 80%.

Figure 3.

(a) Corrupted and Filtered Images of Lena at 40%, 60%, 80% Noise Densities.

(b) Corrupted and Filtered Images of Peppers at 40%, 60%, 80% Noise Densities.

(c) Corrupted and Filtered Images of Baboon at 40%, 60%, 80% Noise Densities.

We can observe from Fig. 3 that our method removes impulse noise in edge regions as well as keeps intact with image features and color components. Fig. 4 gives a graphical representation for values of PSNR and computation time.

Figure 4.

(a)PSNR and Computation Time for Lena.

(b) PSNR and Computation Time for Peppers.

(c) PSNR and Computation Time for Baboon.

First sequence removes the 50% of noise, then trimmed median estimates the original values for noisy pixels 0 and 255 and the final sequence is used to preserve the color features in the whole image after removing noise.

4Conclusion

A method for impulse noise removal from color images has been proposed. It has combined the mathematical morphology and trimmed median filter. Method utilizes the inverse property of the most elementary operators of mathematical morphology namely erosion and dilation. A unique sequence of these operators with trimmed median filter has been composed that effectively removes the salt & pepper noise from color images. The results evaluate the performance of proposed hybrid filter. Proposed filter very effectively removes the noise from edge regions and inner regions of noisy images without distorting the features and color components.

References
[1]
J. Prado-Molina, et al.
Airborne high-resolution digital imaging system.
Journal of applied research and technology, 4 (2006),
[2]
K.N. Plataniotis, A.N. Venetsanopoulos.
Color image processing and applications, Springer, (2000),
[3]
R. Kulkarni.
Novel Restoration Techniques for Images Corrupted with High Density Impulsive Noise, National Institute of Technology, (2012),
[4]
J.H. Sossa-Azuela, et al.
Computation of the Euler number of a binary image composed of hexagonal cells.
Journal of applied research and technology, 8 (2010), pp. 340-350
[5]
E. López-Espinoza, L. Altamirano-Robles.
Reference Fields Analysis of a Markov Random Field Model to Improve Image Segmentation.
Journal of applied research and technology, 8 (2010), pp. 260-272
[6]
A. Mantilla-Caeiros, et al.
A pattern recognition based esophageal speech enhancement system.
Journal of applied research and technology, 8 (2010), pp. 56-70
[7]
Y.Y. Htun, K.K. Aye.
Fuzzy mathematical morphology approach in image processing.
World Academy of Science, Engineering and Technology, 42 (2008), pp. 659-665
[8]
M. Dalla Mura, et al.
An unsupervised technique based on morphological filters for change detection in very high resolution images.
Geoscience and Remote Sensing Letters, IEEE, 5 (2008), pp. 433-437
[9]
J. Debayle, J.-C. Pinoli.
Multiscale image filtering and segmentation by means of adaptive neighborhood mathematical morphology.
Image Processing, 2005. ICIP 2005,
[10]
E. Cooksey, W.D. Withers.
Rapid image binarization with morphological operators.
Image Processing, 2008. ICIP 2008, pp. 1017-1020
[11]
N. Bouaynaya, et al.
Spatially variant morphological restoration and skeleton representation.
Image Processing, IEEE Transactions on, 15 (2006), pp. 3579-3591
[12]
P. Soille, H. Talbot.
Directional morphological filtering.
Pattern Analysis and Machine Intelligence, IEEE Transactions on, 23 (2001), pp. 1313-1329
[13]
T. Lei, et al.
Fast lane recognition based on morphological multi-structure element model.
Optoelectronics Letters, 5 (2009), pp. 304-308
[14]
M.S. Hamid, et al.
Genetic algorithm optimization of multidimensional grayscale soft morphological filters with applications in film archive restoration.
Circuits and Systems for Video Technology, IEEE Transactions, 13 (2003), pp. 406-416
[15]
T. Ji, et al.
Optimal soft morphological filter for periodic noise removal using a particle swarm optimiser with passive congregation.
Signal Processing, 87 (2007), pp. 2799-2809
[16]
S. Nishida, et al.
Signal separation of background EEG and spike by using morphological filter.
Medical engineering & physics, 21 (1999), pp. 601-608
[17]
A.C. Bovik.
Handbook of image and video processing, Academic Press, (2010),
[18]
T. Chen, H.R. Wu.
Space variant median filters for the restoration of impulse noise corrupted images.
Circuits and Systems II: Analog and Digital Signal Processing, IEEE Transactions on, 48 (2001), pp. 784-789
[19]
H.-L. Eng, K.-K. Ma.
Noise adaptive soft-switching median filter.
Image Processing, IEEE Transactions on, 10 (2001), pp. 242-251
[20]
G. Pok, et al.
Selective removal of impulse noise based on homogeneity level information.
Image Processing, IEEE Transactions on, 12 (2003), pp. 85-92
[21]
K. Aiswarya, et al.
A new and efficient algorithm for the removal of high density salt and pepper noise in images and videos.
Computer Modeling and Simulation, pp. 409-413
[22]
S. Esakkirajan, et al.
Removal of high density salt and pepper noise through modified decision based unsymmetric trimmed median filter.
Signal Processing Letters, IEEE, 18 (2011), pp. 287-290
[23]
A. Hanbury, J. Serra.
Mathematical Morphology in the HLS Colour Space.
BMVC, pp. 1-10
[24]
E. Aptoula, S. Lefèvre.
A comparative study on multivariate mathematical morphology.
Pattern Recognition, 40 (2007), pp. 2914-2929
[25]
A. Yin.
Operators to dilate and erode color impulse noise images based on the morphology.
E-Business and E-Government (ICEE), pp. 1-3
[26]
J. Angulo.
Morphological colour operators in totally ordered lattices based on distances: Application to image filtering, enhancement and analysis.
Computer Vision and Image Understanding, 107 (2007), pp. 56-73
[27]
J. Angulo.
Geometric algebra colour image representations and derived total orderings for morphological operators-Part I: Colour quaternions.
Journal of Visual Communication and Image Representation, 21 (2010), pp. 33-48
[28]
T. Le, et al.
A variational approach to reconstructing images corrupted by Poisson noise.
Journal of Mathematical Imaging and Vision, 27 (2007), pp. 257-263
[29]
R.-Q. Jia, H. Zhao.
A fast algorithm for the total variation model of image denoising.
Advances in Computational Mathematics, 33 (2010), pp. 231-241
[30]
P. Chatterjee, P. Milanfar.
Bias modeling for image denoising.
Signals, Systems and Computers, pp. 856-859
[31]
C.-S. Fuh, P. Maragos.
Motion displacement estimation using an affine model for image matching.
Optical Engineering, 30 (1991), pp. 881-887
[32]
Y. Wang, et al.
A new alternating minimization algorithm for total variation image reconstruction.
SIAM Journal on Imaging Sciences, 1 (2008), pp. 248-272
[33]
J.M. Bioucas-Dias, M.A. Figueiredo.
Multiplicative noise removal using variable splitting and constrained optimization.
Image Processing, IEEE Transactions on, 19 (2010), pp. 1720-1730
Copyright © 2015. Universidad Nacional Autónoma de México
Article options