In this paper, we propose a model that combines a total variation filter with a fractional-order filter, which can unite the advantages of the two filters, and has a remarkable effect in the protection of image edges and texture details; simultaneously, the proposed model can eliminate the staircase effect. In addition, the model improves the PSNR compared with the total variation filter and the fractional-order filter when removing noise. Zhu and Chan presented the primal-dual hybrid gradient algorithm and proved that it is effective for the total variation filter. On the basis of their work, we employ the primal-dual hybrid gradient algorithm to solve the combined model in this article. The final experimental results show that the new model and algorithm are effective for image restoration.
The essence of image restoration problem is to find an original image u by solving an inverse problem. The regularization method, proposed by Tikhonov and Arsenin in 1977,1 has been proven to be one of the efficient methods for the inverse problem. Since then, the image restoration technology based on variational calculus has been extremely successful. Tikhonov and Arsenin first introduced Sobolev space into the regularization term, and they proposed the restoration model as follows
where be an open bounded domain with a Lipschitzian boundary, u0 represents the degraded image. The first term is regularization term which can guarantee the well-posedness of solution while removing noise. The second term is fidelity term which can fit statistical distribution of the image. The regularization parameter adjusts the weight of regularization term and fidelity term. In 1992, Rudin et al.2 regarded the image as a function of the bounded variation functions space BV (Ω) and they proposed the total variation model (also called ROF model) for image restoration, and it is depicted as
where
is the total variation of u,
If , the total variation model can be written as
where is the gradient of . The Euler–Lagrange equation of equation (3) is an anisotropic diffusion second-order partial differential equation (PDE).
Owing to the bounded variation functions, space contains discontinuous functions which conform to the characteristics of image edges, and the total variation model performs very well for preserving image edges. However, it favors piecewise constant solution in image smooth regions, which will cause staircase effect. For the sake of solving these problems, it was suggested that we could improve the model on the basis of the original variational model, such as generalized total variation mode,3 adaptive total variation model4 and mixed model with L1/L2 fidelity terms.5 To a certain extent, these models can suppress staircase effect, but it is difficult to eliminate it fundamentally because of the intrinsic characteristics of solution space BV (Ω). In order to overcome this drawback, high-order PDE filter technique was widely researched. In 2003, Lysaker et al.6 proposed a classical LLT model, and its expression is as follows
where
And . If , the LLT model becomes
where . The Euler–Lagrange equation of LLT model is a fourth-order PDE. The LLT model can remove the staircase effect, which satisfies the human visual effect. But because the diffusion speed of the fourth-order PDE is too fast, it causes image blurring. For the purpose of conquering the staircase effect and avoiding the blurring effect simultaneously, Li and Shen presented an approach of combining ROF model and LLT model.7 The numerical results showed that the combined model not only overcame their deficiencies but also combined the advantages of each model.
In recent years, with the research and development of fractional calculus, the fractional calculus has been widely used in biology, physics, fluid mechanics and image processing field. The fractional calculus theory, especially the fractional differential, has achieved some results in image restoration and edges detection.8–10 At present, the Grünewald-Letnikov fractional-order derivative definition was often used in image processing.11 Its definition is as follows
where , is the gamma function. In Jun and Zhi,12 He et al.13 and Chen and Sun14 the researchers generalized the integer-order variation model to the fractional-order variation model for image restoration. The fractional-order variation model (abbreviated as FV model) is described as follows
where , is the fractional-order gradient of u and . The numerical results proved that the fractional-order variation model had higher PSNR and performed well in retaining texture details and eliminating the staircase effect.
In this paper, based on the previous work, we present a new model for image restoration and apply the primal-dual hybrid gradient algorithm to solve the model.15 The rest of the paper is organized as follows. In the next section, we introduce the proposed model and its Euler–Lagrange equation in detail; then , we derive the primal-dual hybrid gradient algorithm for the proposed model and give its convergence theorem. In the subsequent section, we give the numerical experiments and results to demonstrate the effectiveness of the proposed model. Finally, we conclude this paper with conclusion.
The proposed model
In this section, we mainly study the adaptivity of the new model and the Euler–Lagrange equation of it. At first, we give a detailed introduction for the proposed model, as follows
where g and 1−g are the weight coefficients. Specially, it is the ROF model when g = 0 and it is the FV model when g = 1.
Strong et al.16 proposed an adaptive total variation model for image restoration. The adaptive weight function can control the diffusion speed, and its expression is given as follows
where , the Gaussian kernel function and . Here, the image can be preprocessed with Gaussian filter to remove a small part of the noise in advance, which can reduce the error of mistaking the noise as a false edge and decrease the staircase effect to some extent, thus making our image processing more accurate. In Liu et al. and Tian etal.,17,18 in the same way, the researchers presented the adaptive LLT model and the adaptive FV model for image restoration. Their experimental results indicated that the model with adaptive weight function can improve image restoration quality more effectively than the original model. In equation (7), inspired by the above models, we use and as weight functions of the ROF model and the FV model. By analyzing equations (7) and (8), we can obtain: (1) For given K, is small and in image flat regions, the FV model plays the main role; therefore, the proposed model can theoretically suppress the staircase effect and preserve more texture details. (2) is large and in image edges regions, the ROF model plays the main role, and hence the model theoretically can protect image edges well.
Mathematically, for the variational problem, the general approach is to solve the corresponding Euler–Lagrange equation19,20 or apply optimization algorithm. From the perspective of variational calculus, we derive the Euler–Lagrange equation of equation (7) with the variation method.
Let
Then we construct an auxiliary function , for any real number , function
By the function extremum theorem, we have , that is
Introducing adjoint operator , ,,, the equation becomes
By the variation method preparatory theorem, we get the Euler–Lagrange equation of equation (7) as follows
where , . For fraction-order adjoint operator and , by fractional Fourier Transform formulas
And Parseval identical formula
We have , .
Now, we plug the above deductions into equation (11) and get the Euler–Lagrange equation as follows
where we replace by to avoid singularities of equation (12). For fractional PDE, we introduce artificial time and employ the steepest descent method to solve it.
Primal-dual hybrid gradient algorithm
In the last two decades, researchers have proposed many optimization algorithms for image restoration, such as augmented Lagrangian method,21 alternating minimization algorithm,22 duality-based algorithm,23 primal-dual algorithm,24 etc. In Bonettini and Ruggiero,25 the author proposed a primal-dual hybrid gradient algorithm for ROF model and proved its convergence. Zhu and Chan15 simplified the primal-dual hybrid gradient algorithm by two ingenious treatments. Firstly, they converted the gradient of image into a multiplication of matrix and vector. Secondly, they introduced the dual variable through a conclusion of Cauchy–Schwarz inequality instead of the definition of convex conjugate operator. In this section, we will focus our study on the primal-dual hybrid gradient algorithm for the variational problem of equation (7).
Notation and preparation of algorithm
In this section, we consider the model in discrete setting. To simplify, we assume that the image is two-dimension matrices of size . By discrete treatment, equation (7) becomes
where , gradient and fractional-order gradient are vectors in , is the element of , , . is the element of the weight coefficient matrix ,
The fractional-order gradient difference form () is as follows
Specially, it is the backward difference form of when . We reorder the image matrices u and u0 row-wisely into the vector and , and the element of the two-dimension matrices corresponds to the element of the vectors, namely , . The component of and can be represented as a multiplication of vector and matrices , .
For , we have
and
where , is the transpose symbol of matrix. Then equation (14) becomes
Equation (16) is the primal problem. Next we derive its primal-dual formulation. We first give a conclusion from the Cauchy–Schwarz inequality: for any vector , there is a vector satisfies the equation
Applying the above conclusion to equation (16), we have
where , , In the same way, there is a matrix satisfying the following formulation
Let for the multivariate function , suppose the primal variable is fixed and we take the derivative of the dual variable
Similarly, fixing the dual variable and , we obtain the derivation of the primal variable
According to the gradient descent method, we update the variable and in turn. To summarize, the primal-dual hybrid gradient algorithm is as follows:
1. Initialization. Pick and feasible , choose the step size and .
2. Iteration. For , compute as follows
3. If satisfies the stopping criterion, then we terminate the iteration and output; otherwise, go to step 2.
In the iterative formulation equation (21), denotes the orthogonal projection of the point onto the set , the projection computation ensures that each iteration expression is
Silvia Bonettini and Valeria Ruggiero25 proposed the primal-implicit scheme algorithm and gave its convergence theorem and proof. The primal-dual hybrid gradient algorithm for our proposed model is a special case of primal-implicit scheme algorithm. Compared to algorithm in Bonettini and Ruggiero,25 the difference of our paper is that we introduce two dual variables with the primal variable to update. The algorithm satisfies the convergence theorem in Bonettini and Ruggiero,25 theorem 3, and thus the following theorem holds.
Theorem: Let , is the set of the minimum points. If the step size sequences , and satisfy the following conditions: (1) , and . (2) , and . Then converges to a minimum of over and converges to zero.
Numerical experiments
In this section, three experiments verify that our proposed model make better denoising effect compared to the total variation model and the fractional-order variation model. The gray images used for experiments are “Lena” of size 128 × 128, “Women” of size 256 × 256 and “Ellipsoid” of size 256 × 256. The numerical calculations are all accomplished by using MATLAB R2012b.lnk on a laptop with Intel in Core(TM) 22.00 GHZ, 2.00 GB RAM, windows XP.
In these experiments, we take the peak signal to noise ratio (PSNR) as an objective evaluation index of restoration image quality, and its definition is
where is the mean variance measure, is image size, and u are the original image without noise and the restoration image, respectively. In the implementation of experiments, we use the primal-dual hybrid gradient algorithm for numerical calculation, and the iterative terminating condition of the algorithm is . In addition, in the experiments, we find that is the most suitable regularization parameter value.
Improving PSNR
Experiment 1
In this experiment, respectively, we use the total variation model, the fractional variation model and our proposed model to restore the noisy image and compare their PSNR. We add white Gaussian noise with stand variance to “Lena” image, and the PSNR of noisy image is 22.1412. Figure 1 shows the original image, noisy image and the restoration images from three denoising model. In Table 1, we list the PSNR of restoration image from different models. In order to get a more intuitive result, we make a line chart in Figure 2.
2D Image: (a) original image; (b) noisy image; (c) restoration image by ROF model; (d) restoration image by FV model with ; (e) restoration image by our proposed model.
Line graph of experiment data.
PSNR of restoration images.
1ROF
1.2
1.4
1.6
1.8
FV model
26.4995
26.6154
26.9291
27.5018
27.1866
The proposed model
26.4995
27.7277
27.5739
27.7252
28.0134
PSNR: peak signal to noise ratio.
In Figure 2, the yellow dot presents the PSNR of the ROF model, the blue dot data come from FV model and the red dot data derive from our proposed model. The FV model line chart general trend rises at first and then falls, our proposed model falls first and then rises, but the PSNR of our proposed model is higher than the ROF model and the FV model, which prove that our proposed model has a better image restoration effect than ROF model and FV model.
Suppressing staircase effect and protecting edges
Experiment 2
In this experiment, we compare the ability of three image restoration models to suppress the staircase effect and protect the edges. In Figure 3, we show four locally enlarged images of “Lena,” including the original image and the restoration images. Comparing image smooth area, we can discover obvious staircase effect in (3b), but few in (3c) and (3d). The experimental results intuitively show that our proposed model can effectively suppress the staircase effect.
2D Image: “Lena” local original image and local restoration image by different denoised model. (a) Local original image; (b) local restoration image by ROF model; (c) local restoration image by FV model with ; (d) local restoration image by our proposed model.
In this paper, we use “canny” edge detector to detect image edges. In Figure 5, we show four image edges, including the original image edge and the restoration image edge. Comparing the original image edge (4a) and restoration image edge (4b), we discover that the ROF model has good edge protection capability, but it contains many false artificial edges in hat brim and shoulder area. Comparing the original image edge (4a) and restoration image edge (4c), we can see that (4c) lost a lot of edge detail in hat brim and hair area. It is found that (4d) is the closest to (4a) by comparing four images in Figure 4, which indicates that our proposed model has better edge protection ability than ROF model and FV mode.
2D Image: “Lena” original image edge and restoration image edge by different denoised model. (a) original image edge; (b) restoration image edge by ROF model; (c) restoration image edge by FV model with ; (d) restoration image edge by our proposed model.
Preserving texture details
Experiment 3
In this experiment, we add white Gaussian noise with stand variance to “Women” and “Ellipsoid” image and compare the ability of three restoration models to preserve texture details. Figure 5 displays the original ‘Women’, ‘Ellipsoid’ image and corresponding noisy image. Figures 6 and 7 show the restoration images and corresponding residual images. In Figure 6, comparing (6d), (6e) and (6f), we can clearly discover that (6e) and (6f) contain less texture details than (6d), thus the restoration image (6b) and (6c) retains more texture details than (6a). The experimental results show that the FV model and our proposed model preserve more texture details than ROF model. Analyzing images in Figure 7, we obtain the same conclusion that our proposed model doing well in preserving texture details.
2D Image: (a) “Women” original image; (b) “Women” noisy image. (c) “Ellipsoid” Original image; (d) “Ellipsoid” noisy image.
2D Image: “Women” restoration image by different denoised model and corresponding residue image. (a) ROF (b) FV (c) Our proposed model (d) Residual image by ROF (e) Residual image by FV (f) Residual image by our proposed model.
2–D Image: “Ellipsoid” restoration image by different denoised model and corresponding residue image. (a) ROF (b) FV (c) Our proposed model (d) Residual image by ROF (e) Residual image by FV (f) Residual image by our proposed model.
Scratch repair for damaged images
Experiment 4
In this experiment, we add different scratches noise with stand variance to “Green peppers” image and compare the ability of three restoration models to preserve texture details. Figure 8 displays the original ‘Green peppers’ image and corresponding scratched image. Figure 8 shows the restoration images and corresponding restored images. In Figure 8, comparing (8d), (8e) and (8f), we can clearly discover that (8e) and (8f) contain less texture details than (6d), thus the restoration image (8d) and (8e) retains more texture details than (8c). The experimental results show that the FV model and our proposed model preserve more texture details than ROF model. Analyzing images in Figure 8, we obtain the same conclusion that our proposed model doing well in preserving texture details.
In this paper, we propose a new model that adaptively combines the total variation model and the fractional-order variation model. We apply the primal-dual hybrid gradient algorithm to solve its energy functional minimization problem. The numerical results show that our proposed model effectively restrains the staircase effect and preserve the texture details. In addition, the model is better than the total variation model and the fractional-order variation model in improving the PSNR and protecting edges.
Footnotes
Acknowledgements
The authors thank the reviewers for their helpful comments and valuable suggestions.
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was partially supported by the China Scholarship Council Fund (No. 201606465066) and the University of Science and Technology Beijing 2016 Youth Talents Project.
References
1.
TikhonovANArseninVY.Solution of ill-posed problems.
USA:
Winston, 1977.
2.
RudinLOsherSFatemiE.Nolinear total variation based noise removal algorithms. Phys D1992;
60: 1–4.
3.
RodríguezPWohlbergB.Efficient minimization method for a generalized total variation functional. IEEE Transac Image Process2009;
18: 2
4.
Han XH and Chang XM. An intelligent noise reduction method for chaotic signals based on genetic algorithms and lifting wavelet transforms. Inform Sci 2013; 218: 103--118.
5.
JiaTShiYZhuYet al.An image restoration model combining mixed L 1/L 2 fidelity terms. J Visual Commun Image Represent2016;
38: 461--473.
6.
LysakerMLundervoldATaiXC.Noise removal using fourth order partial differential equation with applications to medical magnetic resonance images in space and time. IEEE Transac Image Process2003;
12: 12.
7.
LiFShenCFanJet al.Image restoration combining a total variational filter and a fourth-order filter. J Visual Commun Image Represent2007;
18: 4.
8.
ZhaoWDLuHC.Medical image fusion and denoising with alternating sequential filter and adaptive fractional order total variation. IEEE Transac Instrument Measure2017;
66: 9.
9.
ZhouSWangLYinX.Applications of fractional partial differential equations in image processing. J Comput Appl2017;
7: 2.
10.
JiangWDingZQLiuYW.New image edge detection model based on fractional-order partial differention. J Comput Appl2012;
32: 10.
11.
WuQHuangJ.Fractional calculus.
Beijing:
Tsinghua University Press, 2016
12.
JunZZhi HuiW.A class of fractional-order multi-scale variational models and alternating projection algorithm for image denoising. Appl Math Modell2011;
35: 5.
13.
HeNWangJBZhangL.An improved fractional-order differentiation model for image denoising. Signal Process2015;
112: 180-188.
14.
ChenDSun ZhangSC.Fractional-order TV-L2 model for image denoising. Cent Eur J Phys2013;
11: 13.
15.
Mustafi A and Ghoraib SK. A novel blind source separation technique using fractional Fourier transform for denoising medical images. Int J Light Electron Opt 2013; 124: 265--271.
16.
You YL and Kaveh M. Fourth-order partial differential equations for noise removal. IEEE Trans Image Process 2000; 9: 1723–1730.
17.
LiuXWHuangLHGuoZY.Adaptive fourth-order partial differential equation filter for image denoising. Appl Math Lett2011;
24: 8.
18.
TianDXue D and WangDD.A fractional-order adaptive regularization primal-dual algorithm for image denoising. Inform Sci2015;
296: 7.
19.
ZeminRHeCJZhangQF.Fractional order total variation regularization for image super-resolution. Signal Process2013;
93: 9.
20.
MaQTDongFKongD.A fractional differential fidelity-based PDE model for image denoising. Machine Vision Appl2017;
5: 1-13.
21.
Chan T, Marquina A and Mulet P. High-order total variation-based image restoration. SIAM J Sci Comput 2000; 22: 503–516.
22.
ZhengJBDanieleCMarcoD.A fast alternating minimization algorithm for total variation deblurring without boundary artifacts. J Math Anal Appl2014;
415: 1.
23.
WangSSXiaYLiuQG.Fenchel duality based dictionary learning for restoration of noisy images. IEEE Trans Image Process2013;
22: 12.
24.
ChambolleAPockT.A first-order primal-dual algorithm for convex problems with applications to imaging. J Math Imag Vision2011;
40: 1.
25.
BonettiniSRuggieroV.On the convergence of primal-dual hybrid gradient algorithm for total variation image restoration. J Math Imagi Vision2012;
44: 3.