Keywords

1 Introduction

In recent years, the digital image has been widely used in our daily life. However, during the acquiring process, it is inevitably corrupted by the degraded factors, mainly including the precision in measurements of sensors, motion blur, lens aberration. Therefore, in order to obtain the high quality images, there has been a growing attention in image denoising techniques.

In the past decades, a great variety of image recovery methods have been presented, such as the regularization methods based [1], the image sparse representation based [2], the mixture models learning based [3], and so on. Among them, the mixture models learning based, particularly the Gaussian Mixture Model (GMM) [3] learning based image restoration method has proven its effectiveness and achieved good results.

Recently, regularization parameter selection has received much attention, which has a great effect on preserving more details of image when denoising. At present, numerous methods for regularization parameter selection have been put forward, including the discrepancy principle based [4], the residual image statistics (RIS) based [5], the L-curve and gradient based [6, 7]. In this paper, we focus on the image gradient based regularization parameter selection problem for GMM based image restoration model. Unfortunately, the image gradient is sensitive to noise and can’t acquire satisfying results when the image is corrupted seriously. By observing that the local entropy of image has a good robustness to noise, we attempt to construct a new adaptive regularization parameter using image gradient matching and the local entropy of image. Moreover, we analyze the relationship between the regularization parameters of the data-fidelity term and gradient-fidelity term, and propose a novel regularization parameter scheme for GMM based image restoration method for preserving more small-scale textures and details of images.

2 Proposed Method

2.1 GMM Based Image Recovery Model

Given an image \( u \) with \( N \) pixels, let \( u_{i} (i = 1,2, \ldots ,N) \) denote an image patch with the size of \( \sqrt L \times \sqrt L \), obtained by \( u_{i} = R_{i} u \), where \( R_{i} \) denotes an operator for extracting image patch \( u_{i} \) from image \( u \) at position \( i \). The joint conditional density of the image is given by:

$$ p(u) = \prod\limits_{i = 1}^{N} {\sum\limits_{j = 1}^{K} {\pi_{j} N(u_{i} |\mu_{j} ,\varSigma_{j} )} } $$
(1)

where \( \pi_{j} \) is the mixing weights, \( K \) is the number of mixture components, \( \mu_{j} \) and \( \varSigma_{j} \) are the corresponding mean and covariance matrix.

Then we learn the patch priors using (1) by introducing the EPLL, and the optimization is presented as follows:

$$ \begin{array}{*{20}c} {\mathop {\hbox{min} }\limits_{u} \left\{ {\frac{\lambda }{2}\left\| {u - u_{0} } \right\|^{2} - EPLL(u)} \right\}} \\ {\mathop { = \;\,\,\hbox{min} }\limits_{u} \left\{ {\frac{\lambda }{2}\left\| {u - u_{0} } \right\|^{2} - \sum\limits_{i} {\log p(R_{i} } u)} \right\}} \\ \end{array} $$
(2)

where \( \lambda \) is the regularization parameter.

2.2 Proposed Method with Adaptive Regularization Parameter

Regularization parameter plays an important role in image restoration. As explained in [6, 7], an adaptive regularization parameter for the fidelity term is valid for preserving fine structures of images. In this paper, so as to acquire more satisfying denoised results, a novel Gaussian mixture model based image denoising method with adaptive data-fidelity term and gradient-fidelity term is presented as follows:

$$ \hbox{min} \left\{ {\frac{\lambda (x,y)}{2}\left\| {u - u_{0} } \right\|^{2} + \frac{\alpha (x,y)}{2}\left\| {\nabla u - \nabla (G_{\sigma } * u_{0} )} \right\|^{2} - \sum\limits_{i} {\log p(R_{i} } u)} \right\} $$
(3)

where \( \nabla \) denotes the image gradient, \( G_{\sigma } \) is a Gaussian filter operator, the second term is the gradient fidelity term, \( \lambda \) and \( \alpha \) are the weight coefficients and can be chosen as a function of the gradient and local entropy of corrupted image in the following form:

$$ \begin{aligned} \alpha (x,y) = \frac{1}{{1 + (|\nabla u| \cdot f(E(x,y)/k_{0} )^{g(|\nabla u|)} }} \hfill \\ \lambda (x,y) = k(1 - \alpha (x,y)) \hfill \\ \end{aligned} $$
(4)

where \( k \) is a given constant, \( k_{0} \) is a threshold value, \( g(|\nabla u|) \) is designed by:

$$ g(|\nabla u|) = 2 + \frac{{k_{1} }}{{1 + (|\nabla u|/k_{0} )^{2} }} $$
(5)

where \( k_{1} \) is also a threshold value, when \( \nabla u \) is large, \( g(|\nabla u|) \to 2 \), when \( \nabla u \to 0 \), \( g(|\nabla u|) \to 2 + k_{1} \), \( E(x,y) \) is the local entropy of image and \( f(E(x,y)) \) is defined as follows:

$$ f(E(x,y)) = 1 + \frac{E(x,y) - \hbox{min} (E(x,y))}{\hbox{max} (E(x,y)) - \hbox{min} (E(x,y))}M $$
(6)

where \( M \) is the maximum of image gradient norm.

The regularization parameters vary with different regions of the image. \( \lambda (x,y) \) is set to be small in the smooth regions of image, while \( \alpha (x,y) \) is large so as to remove much noise while guarantee the similarity between the restored image and the corrupted one. At the edge of image, \( \alpha (x,y) \) is small but \( \lambda (x,y) \) is large, for preserving more edges of the image. Meanwhile, the given \( k \) can help balance the regularization parameters \( \lambda (x,y) \) and \( \alpha (x,y) \), and make them have proper values in different regions of the image for preserving more details of image while smoothing noises.

Here, we employ the Half Quadratic Splitting algorithm to solve (3). The Eq. (3) is equivalently transformed into the following function by introducing a set of auxiliary variables \( \{ z_{i} \} \) as follows:

$$ \mathop {\hbox{min} }\limits_{{u,\{ z_{i} \} }} \left\{ \begin{aligned} & \frac{\lambda (x,y)}{2}\left\| {u - u_{0} } \right\|^{2} + \frac{\alpha (x,y)}{2}\left\| {\nabla u - \nabla (G_{\sigma } * u_{0} )} \right\|^{2} \\ & + \sum\limits_{i} {\{ \frac{\beta }{2}(R\left\| {Ru - z_{i} } \right\|^{2} ) - } \log p(z_{i} )\} \\ \end{aligned} \right\} $$
(7)

where \( \beta \) is the penalty parameter.

For solving (7), at first, we choose the most likely Gaussian mixing weight \( j_{\hbox{max} } \) for each patch \( R_{i} u \), then Eq. (7) is minimized by alternatively updating \( z_{i} \) and \( u \):

$$ z_{i}^{n + 1} = (\varSigma_{{j_{\hbox{max} } }} + \frac{1}{\beta }I)^{ - 1} \cdot (R_{i} u^{n} \varSigma_{{j_{\hbox{max} } }} + \frac{1}{\beta }\mu_{{j_{\hbox{max} } }} I) $$
(8)
$$ \begin{aligned} u^{n + 1} = u^{n} + \Delta t[\lambda (x,y)(u_{0} - u^{n} ) - \sum\limits_{i} {\beta R_{i}^{T} } (R_{i} u^{n} - z_{i}^{n} ) \hfill \\ \quad \;\;\, + \alpha (x,y)(u_{xx}^{n} + u_{yy}^{n} ) - \alpha (x,y)(G_{\sigma } * (u_{0xx} + u_{0yy} ))] \hfill \\ \end{aligned} $$
(9)

Where \( I \) is the identity matrix, \( \Delta t \) is the time step, \( \mu_{{j_{\hbox{max} } }} \) and \( \varSigma_{{j_{\hbox{max} } }} \) are the corresponding mean and covariance matrix with the mixing weight \( j_{\hbox{max} } \).

In summary, our suggested algorithm can be implemented as follows:

3 Implementation and Experiment Results

In our experiments, the GMM with 200 mixture components is learned from a set of \( 2 \times 10^{6} \) images patches sampled from the Berkeley Segmentation Database Benchmark (BSDS300). All the images used in our experiments are generated by Gaussian noise with zero mean and standard variance \( \sigma = 25 \). We compare our proposed method with the original EPLL and the EPLL coupling gradient fidelity term with fixed regularization parameters. The parameters in our proposed method are as follows: the image patch size \( \sqrt L = 8 \), the noise standard variance \( \sigma = 25 \), the weighted coefficients \( \beta = 1/\sigma^{2} * [1\,{\kern 1pt} \;4\;\,{\kern 1pt} 8\,\;{\kern 1pt} 16] \), the size of local entropy of the image is set as \( 3 \times 3 \), the constant \( k_{0} = 1/\sigma^{2} \), \( k_{1} = 7 \) and \( k = L/2\sigma^{2} \).

Figure 1 demonstrates the denoised results of the original EPLL and our proposed method with adaptive \( \lambda ,\alpha \) on Test1 image (i.e., No. 3096). The related quantitative comparison, in terms of peak signal to noise ratio (PSNR) and signal to noise ratio (SNR), are shown in Table 1. The Fig. 1(a) and (b) are respectively the original image and noisy image. The Fig. 1(c) shows that the denoised result obtained by the original EPLL, and we can see that some regions of the image are not smooth. In contrast, the Fig. 1(d) acquired by our method achieves a better result. This is probably due to the fact that our proposed method incorporates the gradient fidelity term with the EPLL, which can help preserve more details of image and make the degraded image smoother during the denoising procedure.

Fig. 1.
figure 1

Denoising results on Test1 image

Table 1. The PSNR and SNR results of different denoising models

Figure 2 demonstrates the denoised results of our proposed method and the comparison with the EPLL with fixed \( \lambda ,\alpha \) on Barbara image. The corresponding PSNR and SNR are shown in Table 2. We enlarge the right shoulder of denoised result and put it on the right of image. From the result in Fig. 2(c) we can see that some small-scale textures of the image are not clear, while the result of our proposed method in Fig. 2(d) preserve more textures. This is probably on account of the fact that the parameters \( \lambda ,\alpha \) of our proposed method vary with different regions of the image. They can change their values automatically according to the image information and help preserve more fine structures in image. Therefore, by comparing, our proposed adaptive method outperforms the EPLL with a fixed \( \lambda ,\alpha \) both in PSNR and SNR.

Fig. 2.
figure 2

Denoising results on Barbara image

Table 2. The PSNR and SNR results of different denoising models

4 Conclusions

The GMM based image denoising method has received much attention in recent years. In this paper, we devote to the research of the regularization parameter selection for the GMM based image denoising model. We construct an adaptive regularization parameter coupling the local entropy of the image, which varies with different regions of the image and is robust to noise. Our proposed method achieves a satisfying denoised result and shows a clear improvement compared with the original EPLL algorithm in image denoising.