HOME JOURNALS CONTACT

Information Technology Journal

Year: 2005 | Volume: 4 | Issue: 4 | Page No.: 456-461
DOI: 10.3923/itj.2005.456.461
Iterative Self-adaptive Filtering Algorithm for Reducing Impulsive Noise in Color Images
Wang Shitong, Li Yueyang, F.L. Chung and Chen Shu

Abstract: In this study, an iterative self-adaptive filtering algorithm based on local extreme value noise detection for impulsive noise reduction in color images was presented. First, the new filter detects the corrupted image pixels; then, it replaces the corrupted pixels and preserves the original undistorted image pixels. The results here demonstrate that the proposed algorithm outperforms the standard multichannel filters in reducing impulsive noise and retaining edges and corners in color images. The distinctive advantage of the proposed algorithm is its very simplicity yet excellent performance.

Fulltext PDF Fulltext HTML

How to cite this article
Wang Shitong, Li Yueyang, F.L. Chung and Chen Shu, 2005. Iterative Self-adaptive Filtering Algorithm for Reducing Impulsive Noise in Color Images. Information Technology Journal, 4: 456-461.

Keywords: impulsive noise, color image processing, Self-adaptive algorithm and multichannel filters

INTRODUCTION

During the last decade, much attention has been devoted to the study of the arising field of vector (or multichannel) image processing. The most common image processing tasks are noise filtering and image enhancement.

Typically, a color image is represented in each pixel by a three components vector. The vector components are in general the amounts of pure red, green and blue that compose the local color. It has been widely recognized that the processing of color image data as vector fields is desirable due to the correlation that exists among the image channels.

A number of color image filtering techniques have been developed to utilize correlations among color vectors effectively[1-8]. The popular nonlinear, multichannel filters are based on the ordering of vectors in a predefined moving window. Let F(x) represent a multichannel image and let W be a window of finite size n (filter length). The noisy image vectors inside the filtering window W is denoted as Fj, j = 0,1,…, n-1. If the distance between two vectors Fi, Fj is denoted as ρ (Fi, Fj), then the scalar quantity , is the distance associated with the vectors Fi. The ordering of the Ri’s: R(0)≤…R(n-1), implies the same ordering to the corresponding vectors Fi: F(0)≤…F(n-1). Non-linear ranked type multichannel estimators define the vector F(0) as the filter output.

The most typical nonlinear vector filter is the Vector Median Filter (VMF). VMF uses the L1 or L2 norm to order vectors according to their relative magnitude differences. The output of the VMF is that vector from the input set, which minimizes the sum of the distances with the other vectors[9]. Trahanies et al.[10] developed the Basic Vector Directional Filter (BVDF), in which the directional information among vectors is utilized instead of the distance information in VMF. BVDF outputs the vector that minimizes the sum of the angles with all the other vectors. Having combined BVDF and VMF, Karakos and Trahanias[5] proposed the Directional-distance Filter (DDF), which retains the structure of the BVDF but utilizes a new distance criterion to order the vectors inside the processing window[5].

Although the well-known vector filters hold good impulsive noise attenuation characteristics, their performance is often accompanied with undesired processing of noise-free image pixels, which results in edge and texture blurring. The reason is that these nonlinear filters do not satisfy the superposition property (its nonlinearity is caused by the ordering operation) and thus, the optimal filtering situation can be never fully achieved.

In the case of the impulsive noise corruption, the aim of the optimal filtering is to design noise reduction algorithms that would affect only corrupted image pixels, whereas the undistorted image pixels should be invariant under the filtering operation. In this study, we present an iterative self-adaptive filtering algorithm based on local extreme value noise detection of impulsive noise reduction. The new filter removes disturbed pixels, but has the ability of preserving noise-free pixels. The new filter can be easily implemented and our experimental results demonstrate its excellent performance in reducing impulsive noise in color images.

The iterative self-adaptive filtering algorithm: Let us start from a gray scale images in order to better explain how the new algorithm is constructed. Let the gray scale image be represented by a matrix F of size N1 x N2, F = {F(i,j)ε{0,1,…,255}, i = 1,2,…,N1, j = 1,2,…,N2}. When the image is corrupted with impulsive salt and pepper noise (pixel values are randomly replaced by 0 or 255 with equal probability p/2), the pixel F (i, j) is denoted as:

(1)

The basic idea of the new algorithm can be described as follows:

(1) Detecting the distorted pixels;
(2) Designing noise reduction algorithm that would only affect assumed corrupted image pixels.

Noise detector: Let W[F(i, j)] be the noise detection window, the central pixel of which is F(i,j). In the window W[F(i, j)], if the gray value of the central pixel F(i, j) is far from the value of its neighbors (namely, the similarity between them is very small), it may perhaps be distorted by the impulsive noise. So we sequentially select the moving detection window W[F(i, j)] and find the pixel, whose gray value is maximum or minimum in W[F(i, j)]. If the gray value of the central pixel F(i, j) is equal to the maximum or minimum, F(i, j) is assumed to be corrupted; otherwise, F(i, j) is original pixel. It can be denoted as:

(2)

where, max (W[F(i, j)] and min (W[i, j)]) is the maximal and minimal gray value in the window W[F(i, j)], respectively. [fij] is a binary matrix, which represents the noise distribution corresponding to the corrupted image. When fij = 1, it implies that the pixel F(i, j) is corrupted by noise; otherwise (fij= 0), F(i, j) is noise-free.

In this way, we can obtain all pixels corrupted by impulsive noise. It must be noted here that there may be a small number of original pixels assumed to be noise pixels. After noise reduction as follows, the output of the operating window is the pixel, which is one of the neighbors considered noise-free. So in this case, the effect to the results is small. On the other hand, we also can expand the detection window to reduce the possibility that we may consider some of original pixels as noise pixels.

Noise reduction algorithm: The similarity function u (x) is introduced here with the following assumptions for u (x)[7]:

1. u (x) is non-ascending in [0, ∞);
2. u (x) is convex in [0, ∞);
3. u (0) = 1, u (∞) = 0.

The argument of the function u (x) is a distance between pixels in gray scale space. The fact that u (x) must be non-ascending means that the similarity between two pixels is small if the distance between them in a given space is large. Assumption 3 is just a normalization of the similarity function. In this way, the similarity between two pixels with the same gray scale value is 1, the similarity between pixels with far distance intensities is 0.

In the construction of our new filter, the central pixels in the window W assumed to be corrupted by impulsive noise is replaced by that one, which maximizes the sum of similarities between all its noise-free neighbors. The output pixel must be taken from the filtering window W and introducing pixels, which do not occur in the image, are prohibited.

Smolka et al.[7] proposed the following similarity function u (x)

(3)

Adaptive selection of the parameter β is also given by Smolka et al.[7].

For the gray scale images, we may adopt the following fuzzy measure of similarity between two pixels Fi and Fj [8]:

(4)

We assume that F0 is the central pixel in the window W and that the pixels F1, F2,…,Fn-1 are surrounding F0. The central pixel F0 is replaced by the Fi* from the neighborhood of F0, for which the total similarity function Ri* reaches its maximum. Generally, according to the method by Smolka et al.[7], the pixel F0 is given by the value Fi*, where, i* = argmax Ri and

(5)

where, δi,j is defined as:

This approach can also be applied in a straightforward way to color images. We use the similarity function defined by ρ(Fi, Fj)= u(||Fi-Fj||) where, ||A|| is the specific vector norm. Here we use L2 norm, since it has been demonstrated to be the best choice[7].

Let F = {F(i, j, k) ε {0,1,…,255}, i = 1,2,…,N1, k = 1,2,3} represent a color image in RGB color space. The iterative self-adaptive filtering algorithm based on local extreme value noise detection is described as follows:

Noise detecting: All test noisy images are generated by MATLAB 6.x, each channel of which is corrupted independently with impulsive salt and pepper noise. So we detect corrupted pixels in three channels of the images independently and get the binary matrix [fijk].

Noise filtering: We defined {F(0), F(1),…,F(N)} as the output image set and as the binary matrix set. F(0) represents the original corrupted image; F(m) (m=1,2,…,N) represents the filtering image after m iterations. denotes the binary matrix [fijk] after noise detection; denotes the binary matrix after m iterations.

The filter works in three channels of the image independently. In iteration m, the novel algorithm is described as follows:

1. If F(i, j, k)(m-1) is noisy pixel ( equals 1), let W[F(i, j, k)(m-1) be a filtering window, and its central pixel is F(i, j, k)(m-1).
2. Selecting n noise-free pixels in W[F(i, j, k)(m-1)], where, n denotes the number of the noise-free pixels.
3. If n>0, computing the output F(i, j, k)*(m-1) of the window W[F(i, j, k)(m-1)] using (5); otherwise, preserving the original pixel. Totally, we may summarized as:

(7)

4. If the pixel F(i, j, k)(m-1) is replaced by one of its neighbors, then = 0. Otherwise, keeps unchangeable. That is to say:

(8)

After N iterations, if all the noisy pixels are replaced , then stop and F(N) is taken as the final output.

Obviously, the algorithm here can be easily realized. For an image corrupted by impulsive noise, because not all pixels are corrupted, the new algorithm keeps the original value if a pixel is noise-free while the corrupted pixel is replaced by one of its noise-free neighbors. In this way, the new algorithm replaces the pixel only when it is really noisy, and meanwhile, it preserves the original undistorted image structures very well.

RESULTS

Several experimental results are presented in this section to demonstrate the power of our new filtering algorithm. Comparisons among the new filter and three standard filters of noise reduction in color image processing are also done here.

In order to make the comparisons fair, we utilize the following quantitative measures to evaluate the image quality. They are:

where, F(i, j) and are the original pixel vector and the restored vector, respectively. ||A|| and |A| denote the L2 and L1 norm, respectively.

The effectiveness of the new filter was tested using the standard LENA and PEPPERS images, which have been contaminated by 5, 10, 20, 40 and 60% impulsive noise. The performance of the presented method was compared with VMF, BVDF, DDF and the adaptive filter[7].

Table 1 and 2; Fig. 1-3 show the denoising effect of the new filter algorithm for impulsive noise ranging from 5 to 60% in color images. Table 1 and 2 depict the results of image filtering using the new algorithm in comparison with VMF, BVDF, DDF and the adaptive filter[7] based on PSNR measure. Figure 1 and 2 depict the performances of the new filter for the LENA and PEPPERS images distorted with 5% impulsive noise in comparison with the other four filters.

Fig. 1:
Noise reduction effect of the proposed filter as compared with the adaptive filter[7], VMF, BVDF and DDF: (a) color test image LENA, (b) image distorted by 5% impulsive noise, (c) the proposed filter, (d) the adaptive filter[7], (e) VMF, (f) BVDF, (g) DDF

Table 1: Results of noise reduction of the new filter compared with the other four filters. The test image LENA was contaminated by impulsive noise ranging form 5 to 60%

Table 2: Results of noise reduction of the new filter compared with the other four filters. The test image PEPPERS was contaminated by impulsive noise ranging form 5 to 60%

Fig. 2:
Noise reduction effect of the proposed filter as compared with the adaptive filter[7], VMF, BVDF and DDF: (a) color test image PEPPERS, (b) image distorted by 5% impulsive noise, (c) the proposed filter, (d) the adaptive filter[7], (e) VMF, (f) BVDF, (g) DDF

Fig. 3:
The effect of preserving edges and details of the proposed filter as compared with the adaptive filter[7], VMF, BVDF and DDF: (a) color test image LENA, (b)S(f) the absolute difference between the original and filtered image ((b) the proposed filter, (c) the adaptive filter[7], (d) VMF, (e) BVDF, (f) DDF)

Figure 3 shows the absolute difference between the original and each filtered image for the corrupted image LENA. It can be seen that the difference between the original and the new-filter-based image has the minimal magnitude, which implies that the ability of preserving edges and details of the new algorithm is quite well.

CONCLUSIONS

The new filtering algorithm proposed in this study indeed improves the popular nonlinear, multichannel filters in reducing impulsive noise in color images. Based on local extreme value noise detection, the new filter only affects corrupted image pixels, whereas the noise-free pixels are invariant under the filtering operation. In this way, the new filter well outperforms the standard multichannel filters commonly used in color image processing and achieves better capability of preserving the original structure of the image. Besides, very easy implementation is also another distinctive advantage.

ACKNOWLEDGEMENTS

This study here is supported by the Hong Kong PolyU CRG (grant No. G-T912) and HongKong RGC Competitive Earmarked Research Grant (grant No. 5065/98E), National Science Foundation of China (grant No. 60225015), Natural Science Foundation of JiangSu Province (grant No. BK2003017), National Key Lab. of Novel Software Technologies at NanJing University, The JiangSu Key Lab. of Information Processing, National Key Lab. of Computer Science at Institute of Software of CAS SINICA (Grant No. SYSKF0406) and Excellent Young Teacher Research Grant of Ministry of Education, China.

REFERENCES

  • Pitas, I. and A.N. Venetsanopoulos, 1992. Order statistics in digital image processing. Proc. IEEE., 80: 1893-1923.
    CrossRef    Direct Link    


  • Smolka, B., K.N. Plataniotis, A. Chydzinski, M. Szczepanski, A.N. Venetsanopoulos and K. Wojciechowski, 2002. Self-adaptive algorithm of impulsive noise reduction in color images. Pattern Recognition, 35: 1771-1784.


  • Trahanias, P.E. and A.N. Venetsanopoulos, 1993. Vector directional filters: A new class of multichannel image processing filters. IEEE Trans. Image Proc., 2: 528-534.
    CrossRef    


  • Astola, J., P. Haavisto and Y. Neuovo, 1990. Vector median filters. IEEE Proc., 78: 678-689.
    CrossRef    Direct Link    


  • Smolka, B. and K. Wojciechowski, 2001. Random walk approach to image enhancement. Signal Process., 81: 465-482.


  • Venetsanopoulos, A.N. and K.N. Plataniotis, 1995. Multichannel image processing. Proceedings of the IEEE Workshop on Nonlinear Signal Image Processing, (WNSIP`95), IEEE Society, USA., pp: 2-6.


  • Pitas, I. and A.N. Venetsanopoulos, 1990. Nonlinear Digital Filters: Principles and Applications. Kluwer Academic Publishers, Boston


  • Plataniotis, K.N. and A.N. Venetsanopoulos, 2000. Color Image Processing and Applications. Springer, Berlin, Germany


  • Pitas, I. and P. Tsakalides, 1991. Multivariate ordering in color image filtering. IEEE Trans. Circ. Syst. Video Technol., 1: 247-259.
    CrossRef    Direct Link    


  • Karakos, D.G. and P.E. Trahanias, 1995. Combining vector median and vector directional filters: The directional-distance filters. Proceedings of the IEEE Conferenec Image Processing, October 23-26, 1995, IEEE Computer Society Washington, DC, USA., pp: 171-174.


  • Kourouthanassis, P., L. Koukara, C. Lazaris and K. Thiveos, 2001. Last-mile supply chain management: Mygrocer innovative business and technology framework. Proceedings of the 17th International Logistics Congress on Logistics from A to U: Strategies and Applications, (ILCLSA`01), USA., pp: 264-273.

  • © Science Alert. All Rights Reserved