Iterative Filtering Algorithm For Impulse Noise Removal In Digital Images

DOI : 10.17577/IJERTV2IS70074

Download Full-Text PDF Cite this Publication

Text Only Version

Iterative Filtering Algorithm For Impulse Noise Removal In Digital Images

Sharon Shakel. Gotru 1, Ch. Swapna Priya 2

Department of computer science and engineering Pydah engineering college, visakapatnam

Abstract: Any real world sensor is aected by a certain degree of noise. Image noise is the random variation of brightness or color information in images produced by the sensor and circuitry of a scanner or digital camera. There are different types of noises like Gaussian noise, impulse noise, uniform noise, Rayleigh noise etc. are added to the images when they captured by sensors or camera.. Impulse noise corruption is one of common problem in image processing. This noise causes dark pixels in bright regions and bright pixels in dark regions. Noise represents unwanted information which deteriorates image quality. Filtering a noisy image, while preserving the image details is one of the most important issues in image processing. In this paper, we introduce an image fusion technique for impulse noise reduction, where the fused image will combine the uncorrupted pixels of the filtered noisy images obtained from different sensors. The image captured by different sensors undergoes filtering algorithm, search for the noise-free pixels within a small neighborhood. The noisy pixel is then replaced with the value estimated from the noise- free pixels. The process continues iteratively until all noisy-pixels of the noisy image are filtered. The filtered images are fused in to a single image using a fusion algorithm. The experimental results show the proposed algorithm can perform significantly better in terms of noise suppression and detail preservation in images.

Keywords: Impulse Noise, Impulse Noise Removal, Image Processing.

  1. INTRODUCTION

    Digital images are often corrupted during acquisition, transmission or due to faulty memory locations in hardware [1]. The impulse noise can be caused by a camera due to the faulty nature of the sensor or during transmission of coded images in a noisy communication channel [2]. Consequently, some pixel intensities are altered while others remain noise free. The noise density (severity of the noise) varies depending on various factors namely reflective surfaces, atmospheric variations, noisy communication channels and so on.

    In most image processing applications the images captured by different sensors are combined into a single image, which retains the important features of the images from the individual sensors, this process is known as image fusion[3][4]. In this paper, the images captured by n sensors are differently noised depending on the proximity to the object, environmental disturbances and sensor features. The noisy images are filtered using an iterative filtering algorithm, and finally the filtered images are fused into a single image using the quality assessment.

    A wide variety of data acquisition devices are available present, and hence image fusion has become an Important sub-area of image processing. There are sensors which cannot generate images of all objects at various instances (from the sensor) with equal clarity (e.g. camera with finite depth of field, light optical microscope, etc.).has several images of a scene are captured, with focus on different parts of it. The acquired images are complementary in many ways and a single one of them is lot sufficient in terms of their respective information content. However, viewing a series of such image separately and individually is not very useful and convenient. The advantages of multi- focus data can be fully exploited by integrating the sharply focused regions been in the different images [1].

    In this paper, we use a new iterative filtering algorithm for removal of impulse noise in noisy images. The algorithm emphasis on the noise-free pixels within small neighborhood. First the pixels affected with noise are detected. If we did not find certain number of noise-free pixels within neighborhood, then the central pixel is left unchanged. Otherwise the noisy pixel is replaced with the value estimated from the noise-free pixels within neighborhood. The process iterates until all noisy pixels are estimated in the image. After that, the filtered images are fused into a single image. The main steps of the filtering algorithm are shown in figure 1.

  2. IMPULSE NOISE IN DIGITAL IMAGES

Impulse noise is independent and uncorrelated to the image pixels and is randomly distributed over the image. For an impulse noise corrupted image

all the image pixels are not noisy, a number of image pixels will be noisy and the rest of pixels will be noise free. There are two types of impulse noise namely fixed value impulse noise and random valued impulse noise.

In salt and pepper type of noise, the noisy pixels takes either salt value (gray level -225) or pepper value (grey level -0) and it appears as black and white spots on the images [5]. In case of random valued impulse noise, noise can take any gray level value from zero to 225. Consider a corrupted image Y of size NxM, which containing the random valued / salt and pepper noise with probability p is mathematically represented in the form:

nij with probability p

yij=

xij with probability 1-p

Figure 1: plot vector D

4. ITERATIVE FILTERING ALGORITHM

The filtering algorithm is as follows

yij=

nij ,zero or 255 with probability p

xij ,with probability 1-p (1)

  1. Let Y be the noisy image of size NXN of an object or scene captured by sensor.

  2. The noise boundaries of noisy image I are computed by spike detection technique [5]. Let L1 and L2 be the lower and upper noise

    Where i=1,2,.,M and j=1,2,..N and 0<p<1.

    yij represents the intensity of the pixel located at position (i, j). xij and nij denote the intensity of the pixel (i, j) in the original image and the noisy image respectively.

    3 SPIKE DETECTION TECHNIQUE

    1. Obtain the image histogram H of the corrupted image, X.

    2. Compute the vector D which is the difference between adjacent locations in the histogram array H.

      = +1- for all i=0,1.255

      boundaries for the noisy image.

    3. The binary map (BM) of the noisy image is developed using the noise boundaries L1 and L2. If the image pixel y lies within the noise boundaries, then it is uncorrupted and represented by a 0 in the binary map. The corrupted pixel is represented by a 1in binary map.

      0 if L1< y<L2

      BM =

      1 if y<L1or y>L2 (2)

    4. Compute the noise density ND of the noisy image.

  3. Determine the index values in D corresponding to which positive and negative spikes occur in D. Lower index value (NLI) indicates the pixel level up to which the image is noised, and upper index

    ND=

    sum of '1's in

    N * N

    BM

    (3)

    value (NLII) indicates the pixel level from which the image is noised. Plot of vector D for Lena image corrupted with 95% (noise density(%)=impulse noise corrupted pixels/total number of pixels*100%) random impulse noise with dynamic range 0-44 and 211-255 is shown in figure. We can observe positive and negative peaks in this plot corresponding to the noise boundaries 44 (NLI) and 211 (NLII).

    The value of ND ranges from 0 to 1.

    1. Consider a window of size q x q at each pixel location (i, j) of the noisy image Y and the binary image B. We prefer to use the value of q (=3), because the larger size window may not be too efficient and effective. Larger window may also remove the edges and fine iage details. By applying small window of size 3×3, we obtain the

      noisy image patch Yi,j and the binary image path Bi,j.

    2. For each iteration , we count the number of noisy pixels in the binary map B. If the value of count K is a positive integer and the central pixel yij within the 3X3 window is noisy, then the array R is populated with noise-free pixels.

    3. The maximum length of the array R is eight, indicating all the pixels are noise free. The minimum length is zero, shows that all the pixels in the window are noisy. Depending upon the noisy density in the window, the length of the array varies from zero to eight. We emphasize a constraint of minimum three noise-free pixels within the window, ie., the minimum length of the array R should be three. If this condition is satisfied, then we replace the central noisy pixel with the estimated value ie.,

      images for simplicity. The algorithm consists of the following steps:

      1. Partition the source images A and B into lattice of blocks of size b× b.Denote the ith blocks of

        and by and , respectively.

      2. Compute the quality assessment value of each block in spatial domain, denote the quality assessment value of of and by and respectively.

      3. Compare the quality assessment value of two corresponding blocks of and

        If > , , then =1 else =1 , note that

        =1 means the corresponding block in image B.

      4. An alternative sequential filter formed by concatenating opening and closing with a small structuring element is applied on then and

        =1 to get the large connected regions. And the

        shape and size of structuring element depend on image content to some extent.

        gij=

        es, if bij=1 && Length(R) 3

        yij , otherwise. (4)

      5. Construct the ith block of the fused image.

  1. EXPERIMENTAL RESULTS

    Where es is the estimated value of the noisy pixel.

    Where es is the estimated value for the noisy pixel. Currently, we estimated the value of noisy pixels taking average from the noise-free pixels.

    .

    8. If the noisy pixel is estimated from the noise- free pixels within the window, the binary image B is also updated by changing the entries at the corresponding location of the image from 1 to 0. At the end of each iteration, we obtain a refined image G and updated binary image B. After a few iterations, depending upon the intensity of

    the salt-and-pepper noise, all entries in the binary

    The performance evaluation of filtering using image fusion method is tested on the true color remote sensing image. The impulse noise is added into the image with different noise densities. Here we are assuming, n=2, ie; 2 sensors. The noisy image is processed using a iterative filtering algorithm based on the noise density in the image. These filtered images are fused into a single image using fusion algorithm. The experimental results are shown in Figure 3. Table (1) shows the results of PSNR values of fused image with different noise densities. We used the image quality metric, peak signal-to-noise ratio (PSNR), to measure the quality of the restored image. The PSNR measure is defined as

    image becomes zeros. The updating process terminated and we obtain a restored image G.

    PSNR=10log10(255)2

    MSE

    , Where MSE is the mean

    5. IMAGE FUSION ALGORITHM

    Given two (or more) images of a stationary camera, it is required to combine the images into a single one that has all objects in focus without producing details that are non-existent in the given images. Although the fusion algorithm can be extended straightforwardly to handle more than two source images, we only consider the fusing of two source

    squared error between the original noise-free image

    and the restored image.

  2. CONCLUSION

    In this work, we propose an fusion algorithm for removal of impulse noise in digital images. The noisy images captured by 2 or n sensors undergo filtering iteratively by replacing the noisy pixel with the value estimated from the noise-free pixels within the small neighborhood for the entire image. The filtered images are fused into a single image using the quality assessment of spatial domain

    .This scheme provides superior performance in removing the noise, while preserving the fine image details and edges.

  3. REFERENCES

  1. Tao Chen, Kai-Kaung Ma and Li-Hui Chen, Tri-state median filter for image Denoising, IEEE Transactions on Image Processing, Vol 8, no.12, pp.1834-1838, December 1999.

  2. Reihard Berstein, Adaptive nonlinear filters for simultaneous removal of different kinds of noise in images, IEEE Trans on circuits and systems , Vol.cas-34, no 11,pp.127-1291, Nivember 1987.

  3. O.Rockinger, Image sequence fusion using ashift invariant wavelet transform, IEEE transactions on image processing, 3:288-291, 1997.

  4. Chaveli Ramesh and T.ranjith, Fusion performance measures and a lifting wavelet transform based algorithm for image fusion, In Proc. 5th International conference on image fusion, july 2002,pp 317-320.

  5. S.Indu , Chaveli Ramesh, A noise fading technique for images highly corrupted with impulse noise, Proceedings of the ICCTA07 , IEEE.

  6. Z. Xuming and X.Youlun,Impulse Noise Removal using Directional Difference Based Noise Detector and Adaptive Weighted Mean Filter, IEEE Signal processing letters, vol 16,pp.295-298, 2009.

  7. W.Zhou and D.Zhang, Progesssive Switching median filter for the removal of impulse noise from the highly corrupted images, IEEE transactions on circuits and systems II. Analog and Digital Signal Processing, Vol 46, pp.78-80,1999.

  8. K.S.Srinivasan, and D.Ebnezer, A New Fast and Efficient Decision based Algorithm for Removal of High Density Impulse Noises, IEEE Signal Processing Letters, Vol14 pp.189-192,2007.

.

TABLE 1: Performance Comparison Corrupted With Various Noise Densities

Noise density added To image 1

Noise density added To image 2

PSNR VALUE

0.12

0.18

32.56

0.24

0.28

29.2

0.3

0.37

28.4

0.4

0.42

26.62

0.50

0.54

24.36

0.7

0.71

19.28

Figure 2: Iterative filtering algorithm

Leave a Reply