Image denoising using new wavelet thresholding function
Bachir Dehda
,Khaled Melkemi
Journal of Applied Mathematics and Computational Mechanics |
![]() Download Full Text |
![]() View in HTML format |
![]() Export citation |
@article{Dehda_2017, doi = {10.17512/jamcm.2017.2.05}, url = {https://doi.org/10.17512/jamcm.2017.2.05}, year = 2017, publisher = {The Publishing Office of Czestochowa University of Technology}, volume = {16}, number = {2}, pages = {55--65}, author = {Bachir Dehda and Khaled Melkemi}, title = {Image denoising using new wavelet thresholding function}, journal = {Journal of Applied Mathematics and Computational Mechanics} }
TY - JOUR DO - 10.17512/jamcm.2017.2.05 UR - https://doi.org/10.17512/jamcm.2017.2.05 TI - Image denoising using new wavelet thresholding function T2 - Journal of Applied Mathematics and Computational Mechanics JA - J Appl Math Comput Mech AU - Dehda, Bachir AU - Melkemi, Khaled PY - 2017 PB - The Publishing Office of Czestochowa University of Technology SP - 55 EP - 65 IS - 2 VL - 16 SN - 2299-9965 SN - 2353-0588 ER -
Dehda, B., & Melkemi, K. (2017). Image denoising using new wavelet thresholding function. Journal of Applied Mathematics and Computational Mechanics, 16(2), 55-65. doi:10.17512/jamcm.2017.2.05
Dehda, B. & Melkemi, K., 2017. Image denoising using new wavelet thresholding function. Journal of Applied Mathematics and Computational Mechanics, 16(2), pp.55-65. Available at: https://doi.org/10.17512/jamcm.2017.2.05
[1]B. Dehda and K. Melkemi, "Image denoising using new wavelet thresholding function," Journal of Applied Mathematics and Computational Mechanics, vol. 16, no. 2, pp. 55-65, 2017.
Dehda, Bachir, and Khaled Melkemi. "Image denoising using new wavelet thresholding function." Journal of Applied Mathematics and Computational Mechanics 16.2 (2017): 55-65. CrossRef. Web.
1. Dehda B, Melkemi K. Image denoising using new wavelet thresholding function. Journal of Applied Mathematics and Computational Mechanics. The Publishing Office of Czestochowa University of Technology; 2017;16(2):55-65. Available from: https://doi.org/10.17512/jamcm.2017.2.05
Dehda, Bachir, and Khaled Melkemi. "Image denoising using new wavelet thresholding function." Journal of Applied Mathematics and Computational Mechanics 16, no. 2 (2017): 55-65. doi:10.17512/jamcm.2017.2.05
IMAGE DENOISING USING NEW WAVELET THRESHOLDING FUNCTION
Bachir Dehda1, Khaled Melkemi2
1Department
of Mathematics, University of Mohamed Khider
Biskra, Algeria
2 Department of Mathematics, University of Elhadj Lakhdar
Batna, Algeria
dehda-bachir@univ-eloued.dz, kmelkemi@yahoo.fr
Received: 26 April 2017; accepted: 16 May 2017
Abstract. In this paper, we propose a new image denoising method based on wavelet thresholding. In this method, we introduce a new nonlinear thresholding function characterized by a shape parameter and basic properties. These characteristics make the new method able to achieve a compromise between both traditional thresholding techniques such as Hard and Soft thresholding. The experimental results show that our proposed method provides better performance compared to many classical thresholding methods in terms of the visual quality of the denoised image.
MSC 2010: 68U10, 94A08
Keywords: wavelet transform, image denoising, wavelet thresholding, wavelet shrinkage rules, peak signal to noise ratio (PSNR)
1. Introduction
Recovering an image that is corrupted by a noise during its acquisition or transmission is an open issue in the field of image processing and computer vision problems. Many researchers have been interested in noise reduction methods. These methods aim to recover the image in a way to be as close as possible to the original image. A vast number of papers about classical techniques in the spatial and transform domain has been published in literature [1]. Recently, the Multi-Diagonal Matrix Filter (MDMF) [2] and Lambda Multi-Diagonal Matrix Filter (Lambda-MDMF) [3] are proposed methods for image denoising at level of the spatial domain, which have given best performance compared to the Mean and Median filter [1]. At present, the most commonly used method for noise removal is the Discrete Wavelet Transform (DWT) [4, 5], which has given main contributions to image compression and denoising [6, 7]. In this approach, the thresholding of wavelet coefficients is a basic step in the denoising algorithm, where via a selected threshold value, only a small number of wavelet coefficients contain the necessary information of the image. Donoho and Johnstone [8] have proposed the hard and the soft thresholding techniques, that are the first and most widely used in image denoising with the Universal Threshold value (UT) [8]. In addition, the hard thresholding function is discontinuous and the soft thresholding function is continuous with a discontinuous derivative.
However, the thresholding techniques still suffer from the selection of the convenient threshold value. Then, the optimization methods as Stein's Unbiased Risk Estimate (SURE) [9] requires the second derivative of the thresholding function for obtaining an optimal threshold value. Further, Tang et al. [10] have considered that the differentiability of the thresholding function make the reconstructed signal more smoother.
For this purpose, in this paper, we propose a new class of a smooth nonlinear thresholding function based on the Gauss error function in its mathematical expression. This new thresholding function has high order derivatives into subintervals and characterized by a shape parameter, that can make it flexibly adjusted when we change the parameter value. Moreover, the simulation results have proved that the denoising using this new thresholding function has provided better performance compared to many other thresholding methods in terms of the visual quality of the denoised image.
This work is organized as follows: The next section recalls the principle of the wavelet denoising with an additive Gaussian noise. Section 3 introduces the classical thresholding methods and main shrinkage rule. Section 4 presents the new denoising method that is characterized by a new nonlinear thresholding function and describes the procedure of the proposed denoising method algorithm. Section 5 compares the simulation results of our proposed method with other thresholding methods.
Finally, we close this work by a conclusion and main references.
2. Noise reduction based on wavelet denoising
Let us consider an original image of size
pixels,
that will be recovered. Assume that
is corrupted by an
independent and an identically (i,i,d) zero mean white
Gaussian noise
with standard deviation
. The observed noisy image
will be given by this relation:
![]() | (1) |
The goal of threshold denoising is
to remove the noise from ![]() ![]() |
![]() | (2) |
Then, maximizes the Peak Signal to Noise Ratio (PSNR) in dB, that is
written by:
![]() | (3) |
In the wavelet domain,
the Discrete Wavelet Transform (DWT) decomposes the noisy image into the following orthonormal bases at
level
:
![]() | (4) |
where
![]() |
and are respectively, the scaling and
wavelet functions [5].
Then, the decomposition into ,
,
and
produces four subbands, are respectively
LL, LH, HL and HH (see Fig. 1). The HH, HL and LH are called detail subbands and LL is called an
approximation subband.
The wavelet thresholding denoising method
processes each coefficient from the detail subbands with a thresholding
function to obtain . Then, the denoised
estimation image
of the
original image
is the inverse
discrete wavelet transform (IDWT) of
, i.e,
.
HL |
LL |
HH |
LH |
Fig. 1. Decomposition at level J = 1
3. Wavelet denoising using thresholding function
In the wavelet
denoising, the way to perform denoising on images is by thresholding. The
thresholding is a simple technique applied to wavelet coefficients using a
thresholding function . The function
should
be characterized by
a threshold value
and two basic properties such
as: Elimination of the small wavelet coefficients and reduction of the effect
of large coefficients.
Donoho and Johnstone [8] have introduced two primary thresholding methods, which are Hard and Soft thresholding.
The Hard thresholding kills the wavelet coefficients, whose absolute values are lower than the threshold and keeps the other coefficients. The Hard thresholding function is expressed as follows:
![]() | (5) |
The Soft thresholding kills the coefficients, whose absolute values are lower than the threshold and shrinks the nonzero coefficients towards zero. The soft thresholding function is defined as: |
![]() | (6) |
Note that the Hard thresholding
function is discontinuous at ![]() |
![]() | (7) |
and performs better than the two precedent thresholding techniques in terms of the visual quality of the denoised image. |
In another side, the choice of a suitable threshold value is subject to shrinkage rules. Donoho and Johnstone [8] have proposed the Visu Shrink rule, where the threshold value is the Universal Threshold (UT) and defined as follows: |
![]() | (8) |
where ![]() ![]() ![]() |
![]() | (9) |
This method yields the best performance when the number of the pixels reaches infinity. Further, it can only deal with an additive Gaussian noise. |
4. Presentation of the new denoising method
4.1. Proposed nonlinear thresholding function
The continuity in the Soft thresholding
function is better property, but its first derivative is discontinuous and
constant. So, in order to overcome the shortcom-
ings of the Hard and the Soft thresholding functions, we propose an alternative
thresholding function that verifies a compromise between both traditional
thresh-
olding functions. This new thresholding function is based on the Gauss Error
Function in its mathematical expression and characterized by a shape parameter
(
). Its expression is given by the following
formula:
![]() | (10) |
This thresholding function is constructed for to be continuous and graphically located between the Hard and the Soft thresholding function.
From (10), we can conclude that: when ,
and when
,
. Then, the new
thresholding function is continuous at the threshold point
. If
,
, which can be
seen that with increasing
,
becomes gradually close to
, then
has the same asymptotic convergence rate as the Hard and Soft
thresholding function. Furthermore, the shape parameter
can be adjusted freely such as, when
,
and when
,
(see Fig. 2).
![]() |
Fig. 2. Graph of
Hard, Soft, Garrote and Proposed thresholding with
() respectively at
Moreover, this new thresholding function has the following properties:
Theorem 1. The New thresholding function
![]() |
Proof:
We put for all ![]() |
![]() |
Then, is increasing function in the domain of
and has the following properties:
![]() |
Thus for we have
then, ![]() |
For ![]() ![]() |
![]() |
This yields, |
![]() |
Then, |
![]() |
For ![]() ![]() ![]() ![]() |
Theorem 2. The New thresholding function
![]() ![]() |
Proof: Since ![]() ![]() ![]() |
Theorem 3. The New thresholding function
![]() ![]() |
Proof: For ![]() |
![]() | (11) |
In another side, if ![]() |
![]() | (12) |
Since ![]() ![]() ![]() |
Theorem 4. The New thresholding function
![]() ![]() ![]() |
Proof: From (11) and (12), we conclude
that ![]() ![]() ![]() |
Remark 1. Since ![]() |
Remark 2. In the literature, there are various optimization methods for determining an optimal shape parameter, whose Mean Square Error is as little as possible. |
4.2. Proposed denoising method algorithm
In this subsection, we illustrate the basic steps concerning the procedure of the proposed denoising method algorithm with its flowchart (see Fig. 3).
Step 1. Load the noisy image. |
Step 2. Apply the Discrete Wavelet Transform at level ![]() |
Step 3. Estimate the noise level ![]() |
Step 4. Select the shrinkage rule applied to the proposed thresholding function. |
Step 5. Take the Inverse Discrete Wavelet Transform to the thresholded components. |
Step 6. Get the denoised image. |
Estimate the noise level |
|
DWT
|
|
Load noisy Image |
|
|
|
|
|
Thresholding using proposed method |
|
IDWT |
|
Denoised Image |
Fig. 3. Flowchart corresponding to the proposed method algorithm
5. Experimental results and discussion
In order to verify the effectiveness of our proposed denoising method,
we compare it with the classical thresholding methods such as Hard, Soft and
Garrote thresholding using the Visu Shrink rule. These thresholding methods are
applied to various noisy test images of ![]() ![]() ![]() |
Table 1
Comparison of PSNR (dB) results between the classical and proposed denoising methods
Shape parameter |
Proposed method |
Garrote |
Soft |
Hard |
Noise level |
Images |
0.009 |
28.1019 |
27.7094 |
27.7677 |
28.0440 |
10 |
|
0.01 |
25.2104 |
24.5666 |
24.6132 |
24.6469 |
15 |
|
0.05 |
22.6088 |
22.5437 |
22.4018 |
22.3580 |
20 |
Barbara |
0.1 |
20.4312 |
20.1902 |
19.6226 |
20.0717 |
25 |
|
1 |
18.5197 |
18.3651 |
18.1438 |
18.1999 |
30 |
|
0.009 |
27.8906 |
27.3350 |
27.7896 |
25.7620 |
10 |
|
0.15 |
25.0008 |
24.7721 |
24.2036 |
24.6985 |
15 |
|
0.15 |
22.2295 |
21.4785 |
22.1981 |
21.8492 |
20 |
Boat |
1 |
20.4384 |
20.1240 |
20.0176 |
19.9245 |
25 |
|
0.05 |
18.7409 |
18.5476 |
18.6323 |
18.0349 |
30 |
|
0.09 |
28.1492 |
28.0274 |
28.1068 |
27.8897 |
10 |
|
0.9 |
23.1930 |
22.8450 |
22.4868 |
22.9283 |
15 |
|
0.09 |
19.2539 |
18.8856 |
18.9017 |
19.2072 |
20 |
Cameraman |
0.25 |
16.2988 |
15.7873 |
16.0629 |
16.1831 |
25 |
|
1 |
13.6726 |
13.4052 |
13.2885 |
13.5814 |
30 |
|
This Table presents the PSNR values corresponding to each image at different noise levels. The PSNR is a denoising criterion used to evaluate the quality of the denoised image, where the higher PSNR produces better denoising quality. Apparently, the experimental results show that at each noise level the PSNR that corresponds to our proposed method is the highest compared to all other methods for each image. Furthermore, the outperformance of the Garrote method for each image compared to the Hard and the Soft method appears at the high noise levels due to the selection of the threshold value. Whereas, our proposed method avoids this problem due to the existence of the shape parameter. Thus, our proposed denoising method outperforms all other denoising methods in terms of the visual quality of the denoised image (see Fig. 5).
![]() |
Fig. 4. Original and corrupted images for Barbara with Gaussian noise level
Fig. 5. Denoised images, (a), (b), (c), (d)
using Hard, Soft, Garrote and Proposed method respectively at Gaussian noise
level
6. Conclusions
In this paper, we have developed a new image denoising method based on wavelet thresholding. In this new denoising method, the thresholding function is characterized by many mathematical properties, where our proposed method can overcome the shortcomings of the classical thresholding methods. The experimental results with many test images have shown the outperformance of our denoising method compared to Hard, Soft and Garrote thresholding methods in terms of the Peak Signal to Noise Ratio (PSNR), where our proposed method has given the highest PSNR.
References
[1] Rajni, Anutam, Image denoising techniques - an overview, International Journal of Computer Applications (0975-8887) 2014, 86, 16, January, 13-17.
[2] Anbarjafari G., Demirel H., Gokus A.E., A novel multi-diagonal matrix filter for binary image denoising, J. Adv. Electr. Comput. Eng. 2014, 1(1), 14-21.
[3] Li L., Ge H., Zhang Y., Low-density noise removal based on lambda multi-diagonal matrix filter for binary image, Neural Comput & Applic. 2016, DOI:10.1007/s00521-016-2538-7.
[4] Dehda B., Melkemi K., Novel method for reduction of wavelet coefficients number and its applications in images compression, IJAMML 2016, 5, 1, 43-65.
[5] Meyer Y., Wavelets and Operators, Cambridge Univ. Press, Cambridge 1992.
[6] En-Bing Lin, Yi Ling, Image compression and denoising via nonseparable wavelet approximation, Journal of Computational and Applied Mathematics 2003, 155, 131-152.
[7] Chang S.G. et al., Adaptive wavelet thresholding for image denoising and compression, IEEE Transactions on Image Processing 2000, 9, 9, September.
[8] Donoho D.L., Johnstone I.M., Adapting to unknown smoothness via wavelet shrinkage, J. Am. Statist. Assoc. 1995, 90, 1200-1224.
[9] Zhang X.-P. et al., Adaptive denoising based on sure risk, IEEE Signal Proessing Letters 1998, 5, 10, October.
[10] Tang J.-Y., Chen W.-T., Chen S.-Y., Zhou W., Wavelet-based vibration signal denoising with a new adaptive thresholding function, Journal of Vibration and Shock 2009, 28, 7, 118-121.
[11] Gao H.Y., Wavelet shrinkage denoising using the non-negative garrote, J. Comput. Graph. Statist. 1998, 7, 469-488.
[12] Kushner H.J., Yin G.G., Stochastic Approximation Algorithms and Applications, Application of Mathematics 1997, Vol. 35, Springer, 1997, DOI:10.1007/978-1-4899-2696-8. ISBN 978-1-4899-2698-2.
[13] Rahman T., Jianqiang Gao, Srinivas Nowduri, Segmentation of MRI images via mathematical morphology, IJAMML 2016, 5, 2, 115-121.
