Abstract
Image denoising is an important technology for image preprocessing. In recent years, the image denoising technology based on total variation (TV) has been rapidly developed. However, However, although it can preserve image details well, which generates obvious staircase effects. This is due to the traditional TV-based image denoising technology only applies the gradient information and ignored the local variance of the image. In order to suppress staircase effect, in this paper, a novel image denoising approach based on TV model and weighting function is proposed. First, the theory mechanism of staircase effect brought by the traditional TV model is analyzed. Second, the effects of weighting function on edge regions, flat regions, and gradation and detail regions are also analyzed. Third, based on the above analysis, an improved TV model is proposed. Finally, the image denoising approach is implemented by an iterative algorithm. The experimental results show that, compared with various state-of-the-art models denoising models, the proposed image denoising approach can effectively suppress the staircase effect of the traditional TV model in most cases, preserve the image details, and improve the image denoising performance.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Digital images have become an important medium for people to access and transmit complex information [5, 13, 17]. Due to the limitation of imaging methods and conditions as well as the presence of outside interferences, the actual image is inevitably contaminated by the noise signals and difficult to understand, which will have a significant impact on subsequent image processing operations [10, 15, 25, 41]. The research on image denoising approach is not only important to improve the performance of image processing systems, but its progress and development will also promote the development of many related fields. Therefore, the research on image denoising approaches has important theoretical and practical values. [10, 14, 15, 41].
Image denoising has two main purposes, one is denoising, and the other is to preserve image detail as much as possible, including texture, edges, contrast and so on. Roughly, traditional image denoising approaches can be divided into two categories [10]: one is based on the frequency domain, and the other is based on the spatial domain. For the first type [39], after an image is transformed, it is filtered by selecting an appropriate bandpass filter and then obtaining the denoised image by inverse transform. For the second type [28], various image smoothing templates are applied for image convolution processing to achieve the purpose of suppressing or eliminating noise. Traditional filters based on spatial and frequency domains, such as mean, median, Butterworth, exponential filters etc., will filter a contaminated image as a whole, and however which ignores the noise distribution and details of the image texture. Even if filtering out the noises, this method will lead to blurring of the edges, and therefore it is very important to design an image denoising approach with maintaining edges and local details [18].
Usually, an image contains many kinds of regions, such as edges, textures, flat regions etc. When the traditional image denoising approaches were applied to remove noise of the images containing complex features, the implementation of these approaches is relatively simple. For example, they achieve denoising mainly through filtering high frequency information of an image. However, the noise and structural information of an image belong to high frequency information, so it is difficult to preserve the structural information of the image when denoising [14]. To overcome the limitations of existing image denoising approaches, many mathematical theories are applied for image denoising. Image den oising based on partial differential equation (PDE) is a typical approach of applying mathematical theory. In PDE-based image denoising approach, the total variation (TV) model [11] based on TV regularization, proposed by Rudin et al. [26], has been the focus of many researchers. TV model has an anisotropic diffusion characteristic of PDE, which not only may effectively remove image noise, but also protect image edges without being blurred. TV model can better solve the balance problem between denoising and protection details [30,31,32]. As a classical model based on PDE, TV model has an important influence on image denoising, and its advantages are very obvious, however which still has some shortcomings [20, 35,36,37, 40] as follows.
-
(1)
In TV model, all pixels of an image are processed using the same operations, which results in that the detail regions of an image are over-smoothed.
-
(2)
The image is smoothed using TV model along the orthogonal direction of the pixel gradient, and the denoising result tends to a piecewise constant, which is easy to generate the staircase effect in the regions of the image intensity changing slowly.
In this paper, a novel image denoising iterative approach based on TV model and weighting function is proposed. Specifically, the TV model is applied to transform the image denoising into a problem of minimizing the energy function, and a weighting function is used to calculate the gradient magnitude and local variance values of each pixel and analyze their characteristics in the different regions of an image. The main contributions of this work are as follows.
-
(1)
The mechanism of generating staircase effect by the traditional TV model is analyzed, which provides a theoretical basis for proposing an improved TV model.
-
(2)
The weighting function is employed so that different regions of the image are processed differently during image denoising.
-
(3)
In order to suppress the staircase effect, an improved TV model based on weighting function is proposed. Its advantages are that it is unsupervised and has lower CPU time.
The remainder of this paper is organized as follows. In Section 2, we introduced related work of the image denoising approaches based on TV model. In Section 3, an improved TV model is proposed including the traditional TV model, staircase effect analysis of TV model, analysis of variance and gradient, weighting function, improved TV model based on weighting function, etc. In Section 4, experimental setup is provided including performance evaluation and parameters selection. In Section 5, the experiment and comparison results are introduced. Finally, conclusions are given in Section 6.
2 Related work
The image denoising principle based on traditional TV model is that TV of the contaminated image is larger than that of the original image, so the problem of image denoising may be transformed into a minimization of the energy function according to TV optimal criterion of the image. In general, traditional TV model contains not only regular and data fidelity items, but also regularization parameters [35]. The regular term is used as denoising, the data fidelity term is used to calculate the approximation degree between the denoised and original images, and the regularization parameter is used to balance the relationship between the regular and data fidelity terms. The main steps of the traditional image denoising approach based on TV model are as follows.
-
Step 1.
According to the actual problem of image denoising, an energy function and corresponding constraints are designed.
-
Step 2.
Using the variational principle and gradient descent method, an Euler-Lagrange equation corresponding to the energy function is designed.
-
Step 3.
Solve Euler-Lagrange equation and obtain an approximate solution of the image denoising problem.
Since the traditional TV model has a good denoising effect, many improved image denoising approaches based on TV model have been proposed [2, 3, 8, 16, 22, 29, 38]. Chen et al. [2] proposed the proximity algorithm to solve the fractional order TV optimization problem, provided an effective tool for the study of the fractional order TV denoising model, and it was effective to deal with the problem of algorithm implementation. Mousavi et al. [16] proposed a TV-based shearlet shrinkage for discontinuity-preserving denoising using a combination of shearlet with a TV model. For TV denoising numerical procedure, two approaches were used, which gave very good image denoising results. He et al. [8] proposed an improved fractional differential operator for image denoising, a G-L fraction based denoising filter operator mask was further constructed, its total coefficient of filter mask was not equal to zero, and this nonlinear filter mask can preserve the detail features when denoising. Shen et al. [29] proposed a denoising model based on the combination of TV and nonlocal similarity in the wavelet domain in order to suppress the noise and keep the distinct edges of the images. TV regularization in the wavelet domain can effectively suppress the noise with the biorthogonal wavelet function and the nonlocal similarity regularization may improve the image details. Ma et al. [22] proposed an image denoising model based on the total generalized variation (TGV) regularization. In this model, in order to adaptively fit the local image features, a spatially dependent regularization parameter was utilized, and the denoising potential of the TGV regularization was further exploited. Inspired by the ability of lp-regularized algorithms and the close connection of TV to the l1 norm, a p-th power type TV denoted as TVp was proposed by Yan et al. [38] for 0 ≤ p ≤ 1. Due to the TVp-regularized problem for image denoising was non convex, and authors processed it by proposing a weighted TV (WTV) minimization through updating the weights iteratively to locally approximate the TVp-regularized problem. Du et al. [3] introduced the minmax-concave TV (MCTV), which can strongly induce the signal sparsity in gradient domain. Although MCTV was non convex, the cost function can maintain convexity by specifying parameter in a proper range.
TV model has good properties. For example, it propagates information only along the edge direction, has anisotropic etc. Therefore, it may compensate the lack of diffusing information for the traditional image denoising approach, and can better protect the image details. However, its disadvantages are also obvious, for example, it is easy to generate the false edges, its steady state numerical solution of Euler equation has a significant staircase effect etc. [38].
3 Improved TV model
3.1 Traditional TV model
Assume the original image I(x, y) is contaminated by additive noise n(x, y) with mean zero and variance σ2, the noise model of an image is
where I0(x, y) is a noisy image, and (x, y) is the position of one pixel in image whole region Ω.
Since TV of the noisy image is usually significantly larger than that of the original image [26], the image denoising can be achieved by minimizing TV. The minimum problem of image denoising is calculated as follows
where, Ix and Iy are gradients of the image in the x and y directions respectively, the gradient magnitude at the position (x, y) is calculated as follows
Eq. (2) satisfies the following constraints
where |Ω| is total number of pixels in image region Ω. So, the energy function of TV model is constructed as follows
where the first term on the right side of Eq. (6) is the regular term of the energy function, which can be used to remove the noise of the image; the second term on the right side of Eq. (6) is the approximation term of the energy function, which is an approximation degree between the approximate and real solutions; λ is Lagrange multiplier, which controls the balance between the regularization and approximation terms.
According to the Euler-Lagrange equation and gradient descent method [23], the diffusion equation is calculated as follows
where, div is the divergence operator. According to previous research results [2, 8, 16], although TV model can protect the edges of the image well, it may generate false edges in the non edge regions of an image, i.e., the staircase effect [33, 37].
3.2 Staircase effect analysis of TV model
In recent years, TV model has attracted the attention of many researchers and are widely used in image denoising. However, image denoising results based on TV model will be easy to generate significant staircase effect. In this subsection, the staircase effect is analyzed from mathematical theory to improve the TV model.
Let γ and ξ be the image gradient direction and gradient orthogonal direction respectively, and Iγγ and Iξξ the image edge gradient direction and direction derivative of the gradient orthogonal direction respectively, then we have
and
Decompose \( \frac{\partial I\left(x,y,t\right)}{\partial t}=\mathit{\operatorname{div}}\left(\frac{\nabla I}{\left|\nabla I\right|}\right)-\lambda \left(I-{I}_0\right) \), we may get
From the above equation, we can find that TV model may better preserve edge information of the image. However, since the pixel points in the flat region (non-edge region) of an image do not have the gradient direction and gradient orthogonal direction, which will cause the false edges, i.e., staircase effects, and therefore easily occur in a flat region (non-edge region) of the image.
Fig. 1(a) is an original image. After adding Gaussian noises with mean zero and standard deviation σ = 20, the denoised image using TV model is shown in Fig. 1(b).
It can be seen from Fig. 1 that the denoising results using TV model may generate significant staircase effect.
3.3 Analysis of variance and gradient
3.3.1 Local variance
Variance is an important concept in mathematics, which is a deviation metric between the sample value and the overall sample mean. In the image processing process, the concept of local variance is often used.
Taking a 3 × 3 neighborhood window as an example, at the k-th iteration of an image I(x, y), the local variance \( {\sigma}_k^2\left(x,y\right) \) at the position (x, y) is calculated as follows
where \( {\overline{I}}_k\left(x,y\right) \) is the mean of intensitys in the 3 × 3 neighborhood window at the k-th iteration, which is calculated as follows
3.3.2 Gradient
At the k-th iteration of the image I(x, y), the gradient magnitude at the position (x, y) is calculated as follows
where \( {\left(\frac{\partial I}{\partial x}\right)}_k^2 \) and \( {\left(\frac{\partial I}{\partial y}\right)}_k^2 \) is the gradients in the horizontal and vertical directions at the k-th iteration respectively. The horizontal and vertical gradients are calculated by the mean difference as follows
We select Camera image as an example to illustrate its gradient and local variance. In Camera image, 200 pixels are randomly selected from different regions of Camera image. In these 200 pixels, the red, blue, yellow and green pixel regions are part of the texture, building, edge and smooth regions in Camera image respectively. Figure 2.
The gradients magnitude and local variance values of 10 pixel points, which are randomly selected from the red, blue, yellow and green point regions respectively, are shown respectively in Tables 1, 2, 3, 4 according to Eqs. (10) and (8).
As shown in Tables 1, 2, 3, and 4, the gradient magnitude and local variance values are very small in the smooth regions (i.e., green regions) of Camera image. The gradient magnitude and local variance values are very large of the edge regions (i.e., yellow regions) of Camera image. Although the gradient magnitudes of the blue and red regions are similar, the difference between their local variances is large.
In order to preserve the details of the image and effectively remove the noise, the gradient magnitude and local variance are utilized in the improved TV model. Since the local variances are usually larger than the gradient magnitudes, Eqs.(8) and (10) are rewritten as follows
where \( \mathit{\operatorname{Min}}{\sigma}_k^2 \) and \( \mathit{\operatorname{Max}}{\sigma}_k^2 \) are the minimum and maximum local variances of the denoised image at the iteration k respectively; Min|∇I|k and Max|∇I|k are the minimum and maximum gradient magnitudes of the denoised image at the iteration k respectively. For simplicity, let σ2 and |∇I| be the abbreviations of \( {\sigma}_{k, New}^2\left(x,y\right) \) and |∇I(x, y)|k, New respectively.
3.4 Weighting function
The TV model can protect the edges of the image well. To continue to preserve this advantage of TV model, a weighting function is introduced to TV model. In this paper, weighting function is calculated as follows
Where, p(x) is a non negative monotonic decreasing function, which satisfies the following conditions.
0 ≤ p(x) ≤ 1, p(0) = 1, and \( \underset{x\to \infty }{\lim }p(x)=0 \).
Figure 3 shows the relationship between p(x) and x, where x = |∇I| ⋅ σ2, and T > 0 is an adjustment parameter.
According to the properties of the weighting function p(x), the gradient magnitude and the local variance, we further discuss the relationship between p(x) and the regions of an image.
-
(1)
In the edge regions.
In this case, the value of |∇I| ⋅ σ2 is very large. We also novice that, when |∇I| ⋅ σ2 → ∞, p(|∇I| ⋅ σ2) → 0is gotten, which indicates that the intensity diffusion is very small, therefore the edges of the image can be protected.
-
(2)
In the flat regions.
In this case, the value of |∇I| ⋅ σ2 is very small. We also novice that, when |∇I| ⋅ σ2 → 0, p(|∇I| ⋅ σ2) → 1 is gotten, which indicates that the intensity diffusion is very large, therefore the image noises can be removed effectively.
-
(3)
In the gradient and details regions.
In these cases, we have 0 < |∇I| ⋅ σ2 < 1, which indicates that the intensity diffusion is moderate and the image is relatively smooth, therefore the staircase effect can be reduced.
Through the above discussions, we notice that, if weighting function p(x) is selected according to the gradient magnitude and local variance of an image, the image denoising approach based on TV model and weighting function can achieve good results for denoising and maintaining the details of the image.
3.5 Improved TV model based on weighting function
For the problem of TV model easy generating a staircase effect, in this paper, a weighting function p(x) is introduced into the regular term of TV model, i.e., the first term on the right side of Eq. (6). The energy functional of improved TV model is rewritten as follows
According to the Euler-Lagrange equation and gradient descent method, PDE scheme of Eq. (13) is
We notice that, in the flat region, we have |∇I| = 0 and σ2 = 0, which indicates that \( \mathit{\operatorname{div}}\left(\frac{\nabla I}{\left|\nabla I\right|}\right) \) is meaningless at this time. In order to avoid this situation, the regularized gradient magnitude and local variance are generally used in practice. Where, the regularized gradient magnitude is calculated as follows
And the regularized local variance is calculated as follows
Where, ε is a number greater than zero.
In improved TV model, PDE is discretized by the finite difference scheme. In this paper, in order to utilize the peripheral information of each pixel in image, an eight-neighbor system is employed, as shown in Fig. 4.
Let the time and grid step sizes be Δt and h respectively. For convenience and simplicity, let \( I\left(x,y\right)={I}_{i,j},\kern0.36em {I}_0\left(i,j\right)={I}_{i,j}^0 \), we have
So, the discrete scheme of Eq. (15) is calculated as follows
The discrete scheme of Eq. (15’) satisfies the following boundary conditions
where, N is total number of iterations.
Until now, the pseudo-code of the improved TV model based on weighting function is summarized in Algorithm ITVWF.
4 Experimental setup
All experiments are programmed in Matlab2016A and executed on a computer with Intel Core i5–4200 CPU at 1.6GHz and 8GB physical memory.
4.1 Performance evaluation
In order to evaluate the performance of image processing technology [4, 19], peak signal-to-noise ratio (PSNR) [12, 24] and structure similarity (SSIM) index [21, 27] commonly used metrics. PSNR is calculated as follows
where, the size of the original image I(x, y) is M1 × N1, and \( \hat{I}\left(i,j\right) \) is denoised image. PSNR is the approximation degree between the denoised and original images.
The greater PSNR indicates better denoising performance.
SSIM is another evaluation metric based on image structures, which is closer to human subjective visual features. SSIM is calculated as follows
where μI and \( {\mu}_{\hat{I}} \) are the means of images I and \( \hat{I} \) respectively; σI and \( {\sigma}_{\hat{I}} \) are the standard deviations of the images I and \( \hat{I} \) respectively. \( {\sigma}_{I\hat{I}} \) is the covariance of I and \( \hat{I} \); C1 and C2 are positive constants to avoid a null denominator, and they are determined as follows.
where L is the dynamic range of the image (255 for 8-bit grayscale images) while k1 and k2 are two constants whose values are k1 = 0.01 and k2 = 0.03 respectively [7].
The value range of SSIM is [0, 1]. The larger SSIM indicates the more similar between the denoised and original images and the better the denoising effect.
4.2 Parameters selection
The parameters have an impact on the performance of the image processing technology [34]. During these experiments, for comparing denoising performance with other models, six parameters of ITVWF are determined in advance, they are listed in Table 5. Of course, they are not meant to be optimal.
5 Experiment results and analysis
These experiments are divided into three parts: one is that three original images Camera, Boat, Plane and a test image Test to add Gaussian random noise with mean zero and standard deviation 20 are used in the experiments, the other is that four original images Bridge, Barbara, Peppers and Male with other noises such as salt-and-pepper with density (d) 0.03 or 0.1, Poisson, Speckle with deviation 0.04 noises are used in the experiments, and the third is to compare the CPU time between TV and ITVWF models for different images.
5.1 Experimental results and analysis of adding Gaussian noise
Three original images Camera, Boat, Plane and a test image Test are first applied in the experiments to add Gaussian random noise with mean zero and standard deviation 20, the size of Camera, Boat and Plane is 256 × 256, the size of Test is 98 × 256, and their grayscale is 256. These images are shown in Fig. 5. The results of image denoising are analyzed first by observation.
In order to verify the effectiveness of ITVWF, for four noisy images in Fig. 5, the denoising results of ITVWF are compared with that of the traditional TV model and NLM method. The denoising results are shown in Figs. 6, 7, 8, and 9 respectively.
By observing Figs. 6, 7, 8, and 9, the denoising results are discussed as follows.
-
(1)
Observe Fig. 6(a)-(c)
Comparing Fig. 6(a) and the original Camera, we find that, although TV model can preserve the edges of original Camera, there are some staircase effects in regions where intensity changes slowly and flatly. Comparing Fig. 6(b) and the original Camera, although there is no staircase effect in Fig. 6(b), many details of the original Camera have been lost. Comparing Fig. 6(a) and (c), the denoising effect of ITVWF is better than that of TV model. For example, although there is no obvious difference between the denoising effects of ITVWF and TV models in the human body and the camera regions, the denoising effect of ITVWF is significantly better than that of TV model especially in building region.
-
(2)
Observe Fig. 7(a)-(c)
Comparing Fig. 7(a) and the original Boat, we find that, although TV model can preserve many details of the boat itself, the denoising effect of TV model is not ideal in regions where intensity changes slowly and flatly such as boat’s sides and sky. Comparing Fig. 7(b) and the original Boat, although there is no staircase effect in Fig. 7(b), a lot of detailed information has been lost in the entire image especially in sea and boat regions, i.e., NLM method achieves too smoothing effect than TV model and ITVWF. Comparing Fig. 7(a) and (c), the denoising effect of ITVWF is better than that of TV model. For example, although there is no obvious difference between the denoising effects of ITVWF and TV models in the boat itself region, the denoising effect of ITVWF is significantly better than that of TV model especially in the sky region.
-
(3)
Observe Fig. 8(a)-(c)
Comparing Fig. 8(a) and the original Plane, we find that, although TV model can preserve many details of original Plane, there are staircase effects in regions where intensity changes slowly and flatly such as outside the cabin. Comparing Fig. 8(b) and the original Plane, although there is no staircase effect in Fig. 8(b), many details of the original Plane have been lost. Comparing Fig. 8(a) and (c), there is almost no difference between the TV model and ITVWF’s denoising effects only by human eyes. In other words, by observation only, denoising effect of ITVWF is not better than that of TV models for image Plane.
-
(4)
Observe Fig. 9(a)-(c)
Although the original Test looks like a binary image, it is actually a grayscale image. Because the original Test has no details, which makes almost no difference between the original Test and the denoising effects of TV model, NLM method and ITVWF.
In addition to the above experiments, the local amplification images of Camera, Boat, Plane and Test are also used to further observe the denoising results in more detail, which are shown in Figs. 10, 11, 12, and 13.
By observing Figs. 10, 11, 12, and 13, the denoising results are discussed as follows.
-
(1)
Observe Fig. 10(a-c)
From Fig. 10(a-c), we find that TV and ITVWF models can preserve more detailed information than that of NLM method, and their denoising effects are more natural in visual performance. However, through observing Fig. 10(a) and (c), there are more obvious staircase effects in the sky region of Fig. 10(a) than that of Fig. 10(c). Comparing Fig. 10(b) and Fig. 10(c), Fig. 10(c)'s detailed information is richer than that of Fig. 10(b) especially in the neck and the eyes, nose, mouth regions of the human face. These facts show that the denoising effect of ITVWF is better than that of TV model and NLM method.
-
(2)
Observe Fig. 11(a-c)
From Fig. 11(a-c), we find that there are obvious staircase effect in the sky region of Fig. 11(a), which indicates that the denoising performance of TV model is not very good. For Fig. 11(b), there is almost no detailed information on the sky and mast regions, which indicates that the denoising performance of NLM method is not ideal. For Fig. 11(c), there are almost no staircase effects in the sky region, and detailed information on the sky and mast regions is also well preserved, which show that the denoising performance of ITVWF is better than that of TV model and NLM method.
-
(3)
Observe Fig. 12(a-c)
From Fig. 12(a-c), we find that the denoising result of ITVWF is clearer and richer than that of TV model and NLM method in the letter region of the cabin, there are some staircase effects in the outside the cabin of Fig. 12(a) and (c), and there are no more details on the outside of the cabin in Fig. 12(b), these facts show that, in general, the denoising performance of ITVWF is not better than that of TV model and NLM method.
-
(4)
Observe g Fig. 13(a-c)
From Fig. 13(a-c), the denoising results of TV model, NLM method and ITVWF are almost similar.
Of course, for these four experimental images, ITVWF can achieve better denoising results in most cases only by observation, which shows that the denoising performance of ITVWF for Gaussian noise is better than TV model and NLM method in most cases.
Except above these experiments, we also calculated PSNR and SSIM for each denoised images when σ = 20 to analyze denoising results. Table 6 lists these results with the highest PSNR and SSIM, and the number in parentheses is the optimal times of iterations. Since NLM is not an iterative algorithm, there is no optimal number of iterations.
From Table 6, the optimal times of iterations for the denoised images Boat and Plane obtained by ITVWF are the least. Although TV model achieves the smallest optimal number of iterations for the other two denoised images Camera and Test, the difference is not significant. Therefore, from the optimal number of iterations, the performance of ITVWF is more ideal. Further, PSNR and SSIM of ITVWF are compared to those of TV model and NLM method. We found that PSNR and SSIM of ITVWF are always higher. Therefore, from PSNR and SSIM, the performance of ITVWF is also more ideal.
To further validate the effectiveness of ITVWF, PSNR and SSIM of noised images Camera, Boat, Plane and Test by adding Gaussian noises with standard deviations σ = 5, 10, 15, 20, 25 respectively using ITVWF, TV and NLM are shown in Figs. 14 and 15.
From Figs. 14 and 15, we find that ITVWF always obtains the higher PSNR and SSIM for noised Camera, Boat, Plane and Test images, which show that ITVWF can achieves better denoising performance that that of TV model and NLM method for various Gaussian noises by comparing the PSNR and SSIM values.
From subjective and objective results, ITVWF can not only obtain better denoising results for adding various Gaussian noises, but also obtain more realistic visual effects between the noisy image and original image. The denoising performance of ITVWF is the best matching with human visual perception in most cases.
5.2 Experimental results and analysis of adding other noises
Although Gaussian noise is the most common, it is not all. In order to more fully examine the performance of ITVWF, other noises such as salt-and-pepper with density (d) 0.03 or 0.1, Poisson, Speckle with deviation 0.04 are added to the four images including Bridge, Barbara, Peppers and Male respectively, their size is 256 × 256 and grayscale is 256. These images are shown in Fig. 16.
In Fig. 17, the images of each column from left to right are noisy images added salt-and-pepper with d = 0.03, d = 0.1, Poisson, and Speckle noises into original image Bridge, Barbara, Peppers and Male respectively.
In order to show the denoising performance of ITVWF, in addition to TV model, other state-of-the-art TV-based models such as FBD [6], TSM [1], TV-FF [9] and TV-FBD [31] are also compared for adding salt-and-pepper, Poisson, and Speckle noises. Tables 7 and 8 list the PSNR and SSIS of the six compared denoising models respectively. In these tables, black bold numbers indicate better values than ITVWF.
In Table 7, for the image Peppers to add salt-and-pepper with d = 0.1 noise, TV-FBD achieved the highest PSNR, i.e. PSNR = 30.28, and PSNR of ITVWF is 30.21, the difference between them is 0.07, which is not significant.
For the image Male to add Poisson noise, FBD achieved the highest PSNR, i.e. PSNR = 30.56, and PSNR of ITVWF is 30.45, the difference between them is 0.11, which is not significant.
In addition to the above two cases, ITVWF always achieved the highest PSNR for all other cases, which obviously indicates that, in most cases, ITVWF can achieve better denoising performance than the other five compared models in terms of PSNR.
In Table 8, for the image Barbara to add Poisson noise, FBD achieved the highest SSIS, i.e. SSIS = 0.9836, and SSIS of ITVWF is 0.9831, the difference between them is 0.0005, which is not significant.
For the image Male to add salt-and-pepper with density d = 0.1, TV-FBD achieved the highest SSIS, i.e. SSIS = 0.9586, and SSIS of ITVWF are 0.9572, the difference between them is 0.0014, which is not significant.
In addition to the above two cases, ITVWF always achieved the highest SSIS for all other cases, which obviously indicates that, in most cases, ITVWF can achieve better denoising performance than the other five compared models in terms of SSIS.
From Tables 7 and 8, we notice that, for four images with Speckle noise, their PSNR and SSIS are lower than those of adding other two types of noises, i.e., salt-and-pepper with density d = 0.03 and Poisson, only are higher than some adding salt-and-pepper with density d = 0.1, which indicates that the denoising effect of ITVWF is not very satisfactory for Speckle noise with density d = 0.1.
From Tables 7 and 8, we further notice that PSNR (and SSIS) of ITVWF are always higher than that of TV model, which shows that improved TV model based on weighting function is very effective.
5.3 Comparison of CPU time
In addition to comparing the performance of different image denoising models, another important issue for image denoising is the CPU time. Table 9 shows CPU time of different image denoising models for images Bridge, Barbara, Peppers and Male with salt-and-pepper, Poisson, and Speckle noises. In Table 9, black bold numbers indicate that ITVWF has the least CPU time for specific noise.
From Table 9, we find that, except for the images Bridge with salt-and-pepper noise d = 0.1, Barbara with salt-and-pepper noise d = 0.03 and Peppers with Speckle noise, although ITVWF is not a denoising model with the least CPU time, it has the least CPU time than all other four denoising models compared except TV model, which shows that IVTWF not only can provide satisfactory denoising performance, but also has a smaller computational cost in most cases, so it is a practical image denoising model.
6 Conclusions
Due to the traditional TV-based image denoising model only applies the gradient information and ignores the local variance of the image, it is easy to generate obvious staircase effects. In order to make better use of the advantages of TV model and overcome its disadvantages, in this paper, we propose a novel image denoising model ITVWF, which introduces the weighting function into the regular term of TV model. TV model is applied to transform the image denoising into a problem of minimizing the energy function, and the weighting function is used to calculate the gradient magnitude and local variance values of each pixel and analyze their characteristics in the different regions of an image. The experimental results show that the proposed image denoising model ITVWF has several main advantages.
-
(1)
The advantages of ITVWF are that it is unsupervised and simple to operate, and its denoising process is fully adaptive and does not require manual intervention. During image denoising, different regions of the image are processed differently, which only depends on the content of the image.
-
(2)
ITVWF can effectively suppress the staircase effect of the traditional TV model in most cases, and image details and local information can be better protected.
-
(3)
ITVWF can be used for denoising various noises with lower CPU time.
References
Chen L X (2010) Study on image restoration models based on PDE and image enhancement and segmentation algorithms. Ph.D. Thesis, Xidian University, Xi’an
Chen D, Chen YQ, Xue D (2015) Fractional-order total variation image denoising based on proximity algorithm. Appl Math Comput 257:537–545
Du H, Liu Y (2018) Minmax-concave total variation denoising. SIViP 12(6):1027–1034
Fan D P, Cheng M M, Liu J J, et al. (2018) Salient objects in clutter: bringing salient object detection to the foreground. Eur Conf Comput Vision (ECCV). 186–202
Fu K, Zhao Q, Gu IYH et al (2019) Deepside: a general deep framework for salient object detection. Neurocomputing 356:69–82
Gilboa G, Sochen N, Zeevi YY (2002) Forward-and-backward diffusion processes for adaptive image enhancement and denoising. IEEE Trans Image Process 11(7):689–703
Hasan M, El-Sakka MR (2018) Improved BM3D image denoising using SSIM-optimized wiener filter. EURASIP J Image Video Proc 2018(1):25 1-12
He N, Wang JB, Zhang LL et al (2015) An improved fractional-order differentiation model for image denoising. Signal Process 112:180–188
Highnam R, Brady M (1997) Model-based image enhancement of far infrared images. IEEE Trans Pattern Anal Mach Intell 19(4):410–415
Jain P, Tyagi V (2016) A survey of edge-preserving image denoising methods. Inf Syst Front 18(1):159–170
Jiang L, Huang J, Lv XG et al (2015) Alternating direction method for the high-order total variation-based Poisson noise removal problem. Numer Algorithms 69(3):495–516
Jin C, Jin SW (2016) Robust digital image watermark scheme on wavelet domain using fuzzy rough sets. J Intel Fuzzy Syst 30(1):245–256
Jin C, Jin SW (2019) Multi-label automatic image annotation approach based on multiple improvement strategies. IET Image Process 13(4):623–633
Jin C, Yan M, Jin SW (2012) An approach to remove impulse noise from a corrupted image. J Opt 15(2):025402
Jin C, Li Q, Jin SW (2019) An adaptive VPDE image denoising model based on structure tensor. Multimed Tools Appl 78(19):28331–28354
Lakestani M, Razzaghi M, Mousavi Z (2016) Combined shearlet shrinkage and total variation minimization for image denoising. Iran J Sci Technol (Sciences) 42:31–37
Lu X, Guo Y, Liu N, Wan L, Fang T (2018) Non-convex joint bilateral guided depth upsampling. Multimed Tools Appl 77(12):15521–15544
Lu X, Ma C, Ni B, et al. (2018) Deep regression tracking with shrinkage loss. Eur Conf Comput Vis (ECCV). 353–369
Lu X, Wang W, Ma C, et al. (2019) See more, know more: unsupervised video object segmentation with co-attention siamese networks. IEEE Conf Comput Vis Patt Recog 3623–3632
Ma Q, Dong F, Kong D (2017) A fractional differential fidelity-based PDE model for image denoising. Mach Vis Appl 28(5–6):635–647
Ma K, Duanmu Z, Yeganeh H et al (2017) Multi-exposure image fusion by optimizing a structural similarity index. IEEE Trans Comput Imaging 4(1):60–72
Ma TH, Huang TZ, Zhao XL (2018) Spatially dependent regularization parameter selection for total generalized variation-based image denoising. Comput Appl Math 37(1):277–296
Makovetskii A, Vokhmintsev A, Kober V, et al. (2015) Frequency Analysis of Gradient Descent Method and Accuracy of Iterative Image Restoration. International conference on analysis of images, Social Networks and Texts. Springer, Cham, 114–122
Poobathy D, Chezian RM (2014) Edge detection operators: peak signal to noise ratio based comparison. Int J Image, Graphics Sign Proc 6(10):55–61
Rafsanjani HK, Sedaaghi MH, Saryazdi S (2017) An adaptive diffusion coefficient selection for image denoising. Dig Sign Proc 64:71–82
Rudin LI, Osher S, Fatemi E (1992) Nonlinear total variation based noise removal algorithms. Phys D: Nonl Phenom 60(1–4):259–268
Sara U, Akter M, Uddin MS (2019) Image quality assessment through FSIM, SSIM, MSE and PSNR-a comparative study. J Comput Commun 7(3):8–18
Shao L, Yan R, Li X et al (2013) From heuristic optimization to dictionary learning: a review and comprehensive comparison of image denoising algorithms. IEEE Trans Cyber 44(7):1001–1013
Shen Y, Liu Q, Lou S et al (2017) Wavelet-based total variation and nonlocal similarity model for image denoising. IEEE Sign Proc Lett 24(6):877–881
Strong D, Chan T (2003) Edge-preserving and scale-dependent properties of total variation regularization. Inverse Problems 19(6):165–187
Tang L, Fang Z (2016) Edge and contrast preserving in total variation image denoising. EURASIP J Adv Sign Proc 2016(1):13 1-21
Wang X, Liu Y, Zhang H et al (2015) A total variation model based on edge adaptive guiding function for remote sensing image denoising. Int J Appl Earth Obs Geoinf 34:89–95
Wang JH, Meng FY, Pang LP et al (2017) An adaptive fixed-point proximity algorithm for solving total variation denoising models. Inf Sci 402:69–81
Wei J, Wang S, Huang Q (2020) F3Net: fusion, feedback and focus for salient object detection. Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20), 7–12 February New York, USA
Xiaoling G, Jie Y, Xiao Z (2016) An algorithm for image denoising based on adaptive total variation. Frontier Computing. Springer, Singapore, 155–160
Xu J, Feng A, Hao Y et al (2016) Image deblurring and denoising by an improved variational model. AEU-Int J Electron Commun 70(9):1128–1133
Xu J, Hao Y, Song H (2017) A modified LOT model for image denoising. Multimed Tools Appl 76(6):8131–8144
Yan J, Lu WS (2015) Image denoising by generalized total variation regularization and least squares fidelity. Multidim Syst Sign Process 26(1):243–266
Yue H, Sun X, Yang J, et al. (2014) CID: combined image denoising in spatial and frequency domains using web images. IEEE Conf Comput Vis Patt Recog 2933–2940
Zhang X, Ye W (2017) An adaptive fourth-order partial differential equation for image denoising. Comput Math Appl 74(10):2529–2545
Zhao JX, Cao Y, Fan DP et al. (2019) Contrast prior and fluid pyramid integration for RGBD salient object detection. IEEE Conf Comput Vis Patt Recog 3927–3936
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Jin, C., Luan, N. An image denoising iterative approach based on total variation and weighting function. Multimed Tools Appl 79, 20947–20971 (2020). https://doi.org/10.1007/s11042-020-08871-0
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-020-08871-0