Adaptive Wavelet Thresholding for Image Denoising Using Various Shrinkage Under Different Noise Conditions

DOI : 10.17577/IJERTV1IS8439

Download Full-Text PDF Cite this Publication

Text Only Version

Adaptive Wavelet Thresholding for Image Denoising Using Various Shrinkage Under Different Noise Conditions

Namrata Dewangan, Agam Das Goswami

Department of Electrical & Electronics, Shri Shankaracharya Group of Institutions, Bhilai

Abstract

This paper presents a comparative analysis of different image denoising thresholding techniques using wavelet transforms. There are different combinations that have been applied to find the best method for denoising. Visual information transmitted in the form of digital images is becoming a major method of communication, but the image obtained after transmission is often corrupted with noise. . The search for efficient image denoising methods is still a valid challenge at the crossing of functional analysis and statistics. Wavelet algorithms are useful tool for signal processing such as image compression and denoising. Image denoising involves the manipulation of the image data to produce a visually high quality image. The main aim is to modify the wavelet coefficients in the new basis, the noise can be removed from the data. In this paper, we analyzed several methods of noise removal from degraded images with Gaussian noise and Speckle noise by using adaptive wavelet threshold (Neigh Shrink, Sure Shrink, Bivariate Shrink and Block Shrink) and compare the results in term of PSNR and MSE.

Keywords wavelet thresholding, Neigh Shrink, Sure Shrink, Bivariate Shrink and Block Shrink

  1. Introduction

    An image is corrupted by noise in its acquisition and transmission. The goal of image denoising is to produce good quality of the original image from noisy image. Wavelet denoising techniques remove the noise present in the signal while preserving the signal characteristics, regardless of its frequency content. De-noising of natural images corrupted by noise using wavelet techniques is very effective because of its ability to capture the energy of a signal in few energy transform values. Wavelet thresholding is a technique that exploits the capabilities of wavelet transform for signal denoising. It removes noise by killing coefficients that are insignificant relative to some threshold, and turns out to be simple and effective, depends on the choice of

    thresholding parameter and the choice of this threshold determines, to a great extent the efficacy of denoising. Simple de-noising algorithms that use the wavelet transform consist of three steps.

    • Calculate the wavelet transform of the noisy signal.

    • Modify the noisy wavelet coefficients according to some rule.

    • Compute the inverse transform using the modified coefficients.

    The problem of Image de-noising can be summarized as follows,

    Let be the noise-free image and B the image corrupted with noise

    B

    (1)

    The problem is to estimate the desired signal as accurately as possible according to some criteria. In the wavelet domain, the problem can be formulated as

    Y

    (2)

    Where is noisy wavelet coefficient; W is true coefficient and noise.

    The performance of the image de-noising algorithms has been investigated in terms of two parameters PSNR (peak signal to noise ratio) and MSE (mean square error).

  2. Wavelet Thresholding

    Let A = {Aij, i, j = 1, 2M} denote the M×M matrix of the original image to be recovered, where M is some integer power of 2. During transmission the image is corrupted by independent, white Gaussian Noise Zij with standard deviation _ i.e. nij ~ N (0, _2) and at the receiver end, the noisy observations Bij= Aij + Zij is obtained. The goal is to estimate the signal A from noisy observations Bij such that Mean Squared error (MSE) is minimum. Let W and W-1 denote the two dimensional orthogonal discrete wavelet transform (DWT) matrix and its inverse respectively. Then Y = WB represents the matrix of wavelet coefficients of B having four sub bands (LL, LH, HL and HH) . The sub-bands HHk, HLk, LHk are called details, where k is the scale varying from 1, 2 J and J is the total number of decompositions. The size of the sub band at

    scale k is N/2k × N/2k. The sub band LLJ is the lower resolution residue. The wavelet thresholding denoising method processes each coefficient of Y from the detail sub bands with a soft threshold function to obtain X . The denoised estimate is inverse transformed to A= W-1 X. In the experiments, soft thresholding has been used over hard thresholding because it gives more visually pleasant images as compared to hard thresholding; reason being the latter is discontinuous and yields

    abrupt artifacts in the recovered images especially when the noise energy is significant.

    1. Sure Shrink

      Sure Shrink is a thresholding by applying sub-band adaptive threshold, a separate threshold is computed for each detail sub-band based upon SURE (Steins unbiased estimator for risk), The goal of Sure Shrink is to minimize the mean squared error, defined as,

      MSE= (3)

      Where Z(X,Y) is the estimate of the signal, S(X,Y) is the original signal without noise and n is the size of the signal. Sure Shrink suppresses noise by threshold the empirical wavelet coefficients. The Sure Shrink threshold t* is defined as

      Where y1 and y2 are noisy observations of w1 and w2 and n1 and n2 are noise samples. Then we can write

      Y = w + n

      (7) y= (y1, y2)

      w= (w1, w2)

      n= (n1, n2)

      Standard MAP estimator for w given corrupted y

      is

      (8)

      This equation can be written as

      (9)

      (10)

      According to bays rule allows estimation of coefficient can be found by probability densities of noise and prior density of wavelet coefficient. We assume noise is Gaussian then we can write noise as

      (11)

      Joint of wavelet coefficients

      (12)

      (4)

      t* =

      We know from equation (7)

      Where t denotes the value that minimizes Steins Unbiased Risk Estimator, is the noise variance and an estimate of the noise level was defined based on the median absolute deviation given by

      =

      (5)

      and n is the size of the image. It is smoothness adaptive, which means that if the unknown function contains abrupt changes or boundaries in the image, the reconstructed image also does.

    2. Bivariate Shrinkage

      Bivariate shrinkage function depends on both, coefficient and its parent yield improved results for wavelet based image denoising. Let w2 represent the parent of w1 (w2 is the wavelet coefficient at the same position as w1, but at the next coarser scale.) Then

      y1=w1+n1 y2=w2+n2

      (13)

      Let us define Then using equation 5.16 and 5.17

      (14)

      This equation is equivalent to solving following equations

      (15)

      (16)

      Where f1 and f2 represents the derivatives of with respect to w1 and w2 respectively.

      (6)

      We know can be written as

      Where TU is the universal threshold and Sij2 is the squared sum of all wavelet coefficients in the

      given window.

      From this

      (17)

      (21)

      i.e., =

      (18)

      From equations (15), (16), (17) and (18) MAP estimator can be written as

      (19)

    3. Neigh Shrink

      Neigh Shrink thresholds the wavelet coefficients according to 3the magnitude of the squared sum of all the wavelet coefficients, i.e., the local energy, within the neighborhood window. The neighborhood window size may be, 3×3, 5×5, 7×7, 9×9 etc. A 3× 3 neighboring window centered at the wavelet coefficient to be shrinked is shown in Fig 1.

      Fig.1. An illustration of the neighboring window of size 3× 3 centered at the waveletcoefficient to be shrinked. The shrinkage function for Neigh Shrink of any arbitrary 3×3 window centered at (i,j) is expressed as:

      (20)

      Here very important consideration is + sign at the end of the formula it means keep the positive values while setting it to zero when it is negative. The estimated center wavelet coefficient is then calculated from its noisy counterpart Yij as:

      = ij. Yij

      (23)

    4. Block Shrink

Block Shrink is a data-driven block thresholding approach. It use the pertinence of the neighbor wavelet coefficients by using the block thresholding. It can decide the optimal block size and threshold for every wavelet subband by minimizing Steins unbiased risk estimate (SURE). The block thresholding simultaneously keeps or kills all the coefficients in groups rather than individually. The block thresholding increases the estimation precision by utilizing the information about the neighbor wavelet coefficients. Unfortunately, the block size and threshold level play important roles in the performance of a block thresholding estimator. The local block thresholding methods mentioned above all have the fixed block size and threshold and same thresholding rule is applied to all resolution levels regardless of the distribution of the wavelet coefficients.

Figure 2: 2×2 Block partition for a Wavelet subband

As shown in Figure 2, there are a number of subbands produced when we perform wavelet decomposition on an image. For every subband, we need to divide it into a lot of square blocks.

Block Shrink can select the optimal block size and threshold for the given subband by minimizing Steins unbiased risk estimate.

There are two parameters, PSNR (peak signal to noise ratio) and MSE (Mean Square Error) are calculated for all the standard images with their noisy and denoised images, respectively.

PSNR stands for the peak signal to noise ratio. It is used to calculate the ratio between the maximum possible power of a signal and the power of corrupting noise that affects the fidelity of its representation. Because many signals have a very wide dynamic range, PSNR is usually expressed in terms of the logarithmic decibel scale. It is most commonly used as a measure of quality of reconstruction in image compression etc. It is calculated as the following:

PSNR=10 log (255/MSE) 2

(24)

After the image is denoised, it is calculated for denoised image.

MSE indicates average error of the pixels throughout the image. The definition of a higher MSE does not indicate that the denoised image suffers more errors instead it refers to a greater difference between the original and denoised image. This means that there is a significant speckle reduction. The formula for the MSE calculation is given in equation

(25)

I. RESULT

This paper presents a comparative analysis of various image denoising techniques using wavelet transforms. The image formats that have been used in this work are JPG, BMP, TIF and PNG. We have experimented with four different thresholding methods (Sure shrink, Bivariate shrink, Neigh shrink, Block Shrink) using the various noisy images and report the results for the 512×512 standard test images Lena (Fig. 3). They are contaminated with Gaussian noise, salt and paper noise and speckle noise with standard deviations 10. Our results are measured by the PSNR and MSE.

Figure 3: 512×512 standard test images Lena

Table 1 Denoising results (PSNR) for Lena image

Thresholdin g Technique

Gaussia n Noise

Salt & Pape r Nois

e

Speckl e Noise

Sure Shrink

27.07

18.4

2

19.62

Bivariate

Shrink

75.66

74.5

2

75.69

Neigh

Shrink

30.41

22.8

4

24.48

Block

Shrink

67.54

63.5

4

58.23

Table 2 Denoising results (MSE) for Lena image.

Thresholdi

Gaussia

Salt

Speckl

ng

n Noise

&

e

Technique

Paper

Noise

Noise

Sure Shrink

94.86

496.1

5

327.20

Bivariate

Shrink

10.01

27.07

15.23

Neigh

Shrink

59.13

325.9

7

231.85

Block

Shrink

74.28

82.56

63.34

Fig.4. Matlab result of leena image with Gaussian noise using sure thresholding technique

Fig.5. Matlab result of leena image with Gaussian noise using Bivariate thresholding technique

Fig.6. Matlab result of leena image with Gaussian noise using Neigh thresholding technique

Fig.7. Matlab result of leena image with Gaussian noise using Block thresholding technique

REFERENCES

  1. Gao Zhing, Yu Xiaohai, Theory and application of MATLAB Wavelet analysis tools, National defense industry publisher, Beijing, pp.108-116, 2004.

  2. Aglika Gyaourova Undecimated wavelet transforms for image denoising, November 19, 2002.

  3. C Sidney Burrus, Ramesh A Gopinath, and Haitao Guo, Introduction to wavelet and wavelet transforms, Prentice Hall1997.S. Mallat, A Wavelet Tour of Signal Processing, Academic, New York, second edition, 1999.

  4. F.Abramovich and Y. Benjamini, Adaptive thresholding of wavelet

    coefficients,Comput. Statist. Data Anal., vol. 22, pp. 351361, 1996.

  5. F. Abramovich, T. Sapatinas, and B. Silverman, Wavelet thresholding via a Bayesian approach, J. R. Stat., vol. 60, pp. 725749, 1998.

  6. Z. CAI, T. H. Cheng, C. Lu, and K. R. Subramanian, Efficient waveletbased image denoising algorithm, Electron. Lett., vol. 37, no. 11, pp.683685, May 2001.

  7. D. L. Donoho and I. M. Johnstone, Denoising by soft thresholding,IEEE Trans. on Inform. Theory, Vol. 41, pp. 613-627, 1995.

  8. X.-P. Zhang and M. D. Desai, Adaptive denoising based on SURE risk, IEEE Signal Process. Lett., vol. 5, no. 10, pp. 265267, Oct. 1998.

  9. Chang, S. G., Yu, B., and Vetterli, M. (2000). Adaptive wavelet thresholding for image denoising and compression. IEEE Trans. On Image Proc., 9, 15321546.

  10. G. Y. Chen, T. D. Bui And A. Krzyzak, Image Denoising Using Neighbouring wavelet Coefficients, Icassp ,Pp917-920

  11. D. L. Donoho and I. M. Johnstone, Adapting to unknown smoothness via wavelet shrinkage, Journal of the American Statistical Assoc., 90(432), pp. 12001224, 1995.

  12. C. Stein, Estimation of the mean of a multivariate normal distribution, Ann. Statist., 9, pp. 11351151, 1981.

  13. T. T. Cai, Adaptive wavelet estimation, A block thresholding and oracle inequality approach, Ann. Statist., 27, pp. 898-924, 1999.

  14. G. Y. Chen, T. D. Bui, A. Krzyzak, Image denoising with neighbor dependency and customized wavelet and threshold, Pattern Recognition, 38, pp. 115 124, 2005.

  15. T. T. Cai and H. H. Zhou, A Data-Driven Block Thresholding Approach To Wavelet Estimation, Ann. Statist., accepted. http://www.stat.yale.edu/~hz68/.

  16. Alle Meije Wink and Jos B.T.M.Roerdink/ Denoising functional MR Images a comparison of wavelet denoising and gaussian smoothing / IEEE Transactions on Medical Imaging, vol. 23, no. 3/ March 2004

  17. Byung-Jun Yoon and P. P. Vaidyanathan/ Wavelet-based denising by customized thresholding

  18. Aleksandra Pizurica, Alle Meije Wink, Ewout Vansteenkiste, Wilfried Philips and Jos B.T.M. Roerdink/ A review of wavelet denoising in MRI and ultrasound brain imaging/ Submitted to current medical imaging reviews

Leave a Reply