Image Restoration and Reconstruction using Variable Splitting and Class-adapted Image Priors
Afonso M. Teodoro, José M. Bioucas-Dias, Mário A. T. Figueiredo
Introduction
The classical linear inverse problem formulation of image reconstruction or restoration has the form
which combines a data-fidelity term with the regularizer, with parameter controlling their trade-off. To make problem (2) tractable, most of the work in this area has been focused on designing convex regularizers, such as the total-variation norm , which promotes piece-wise smoothness while maintaining sharp edges, or sparsity-inducing norms on wavelet transforms or other representations .
Although many optimization methods have been developed to address such problems, a lot of attention has been recently focused on variable splitting methods, such as the alternating direction method of multipliers (ADMM). Having its roots in the 1970’s , ADMM is a flexible and efficient tool, currently widely used to address imaging inverse problems , as well as in machine learning, and other areas . ADMM is able to deal with non-smooth convex regularization terms, it has good convergence properties, and it can be very efficiently implemented in a distributed way .
As mentioned above, the majority of work on imaging inverse problems has focused on convex regularizers, due to their tractability. However, it is widely accepted today that the state-of-the-art methods for image denoising (i.e., problems of the form (1) with ) do not correspond to solving problems of the form (2) with a convex regularizer. In fact, most (if not all) of the best performing denoisers are patch-based (as pioneered in ) and use estimation tools such as collaborative filtering , Gaussian mixture models (GMM) , , or learned dictionaries . Recently, the integration of state-of-the-art denoisers into ADMM has been proposed (under the designation “plug-and-play”), exploiting the ability of ADMM to decouple the handling of the observation operator from that of the regularizer/denoiser.
In this paper, we extend the “plug-and-play” approach in the following ways. Whereas uses fixed denoisers, in this paper we use a GMM-based method , which opens the door to learning class-adapted models (e.g., for faces, text, fingerprints, or specific types of medical images). Although the idea of training denoisers for specific image classes has been very recently proposed , that work considers only pure denoising problems. In this paper, we show that by using a GMM-based denoiser plugged into the ADMM algorithm, we achieve state-of-the-art results in compressive image reconstruction , as well as in deblurring face and text images.
This paper is organized as follows. Section 2 reviews the use of ADMM for deblurring and compressive imaging. Section 3 presents the proposed GMM-based approach. Section 4 reports experimental results, and some concluding remarks and directions for future developments are presented in Section 5.
ADMM for Imaging Inverse Problems
As the name suggests, splitting methods proceed by splitting the objective function and dealing with each term separately, yielding simpler optimization problems. It is straightforward to rewrite (2) as
where , and . Introducing a new variable v, such that , the unconstrained problem (3) can be rewritten as a constrained one:
The purpose of this splitting is that the constrained optimization problem may be easier to solve than the original one, namely via the augmented Lagrangian method (ALM), also known as the method of multipliers , . The ALM proceeds by alternating between the minimization of the so-called augmented Lagrangian function
and updating the Lagrange multipliers (see below). In ADMM, the joint minimization in (5) is replaced by separate minimizations with respect to and , and a scaled version of the Lagrange multipliers is used. The resulting algorithm finally takes the form
Notice that (6) and (7) are, by definition, the Moreau proximity operators (MPO, see ) of and , computed at and , respectively. Recall that the MPO of some convex function , computed at some point , is defined as
and can be seen as the solution to a pure denoising problem, with as the regularizer and the noisy observation. A famous MPO is the soft-threshold function, which results from .
Instantiating ADMM to problem (2), yields the SALSA algorithm . In particular, (6) becomes a quadratic optimization problem, which has a linear solution given by:
As shown in , , this inversion can be done efficiently in several relevant classes of inverse problems, namely cyclic deblurring, inpainting, partial Fourier observations; more recently, it was shown that this inversion can also be efficiently done in non-cyclic deblurring . In this paper, we will consider cyclic deblurring and compressive imaging.
The inversion of the diagonal matrix has linear cost, and the multiplications by U and can be done via the FFT algorithm.
2 Compressive Imaging
where the required inversion is now of size . Note, also, that this inversion is done only once, and can be precomputed and stored.
Plug-and-Play Priors
In this paper, instead of using the MPO of a convex regularizer in (7), we implement that step by using a state-of-the-art denoiser, as in , exploiting the fact that the MPO is itself a denoising function. Whereas uses BM3D and K-SVD , we take an alternative route and adopt GMM-based denoising , .
As shown in , clean image patches are well modeled by a GMM, which can be estimated from a collection of noiseless image patches. In , we showed that this GMM can be directly estimated from the noisy image itself, using the expectation-maximization (EM) algorithm. With a GMM prior for the clean patches in hand, the corresponding minimum mean squared error (MMSE) estimator can be obtained in closed-form (see details in ). In this paper, rather than learning the GMM prior from the observed data (which may not be possible in image deblurring, and even less so in compressive imaging), we propose to learn the GMM prior from a set of clean images. However, rather than using a collection of generic natural images, we propose to learn the GMM prior from a collection of images from a specific class, making this prior adapted to that class. The goal is to achieve better performance on this class of images than with a generic denoiser.
The fact that a denoiser that may not correspond to the MPO of a convex regularizer is used to implement (7) makes the convergence of the resulting algorithm hard to analyse. In this paper, we refrain from theoretical convergence concerns, and focus only on the empirical performance of the method.
Experiments
The proposed approach was tested with the two types of observation operators mentioned above (periodic convolution and compressive imaging). In addition to the proposed GMM denoiser, we also consider BM3D plugged into the ADMM algorithm , and the state-of-the-art deblurring algorithm IDD-BM3D (with default parameters) as a benchmark. The experiments were carried out with the following four sets of images:
Generic: this dataset comprises several benchmarks images, such Lena and Cameraman. The GMM-based denoiser starts by using a mixture estimated from five other clean images (Hill, Boat, Couple, Peppers, Man); after 100 iterations, a new GMM is obtained from the current image estimate, which aims at obtaining a GMM that is more adapted to the underlying image, and improves the final results.
Text: this dataset contains 10 images, available from the author of (http://videoprocessing.ucsd.edu/~eluo/). One of them is selected as input image and all the others are used to train the GMM. Since the input image is from the same class as the images used for training, the mixture adaptation step is not performed.
Faces: this dataset is made of 100 face images of the same subject, obtained from the same source as the text images.
Microsoft: this dataset contains 591 images http://research.microsoft.com/en-us/projects/objectclassrecognition/.
We considered the six different blur kernels available in the BM3D package (referred to in Tables 1 and 2 as experiments 1 to 6). The results on the generic dataset are presented, both in terms of improvement in SNR (ISNR) and visual quality, in Table 1 and in Fig. 1. The numbers relative to IDD-BM3D were obtained from , whereas the results of ADMM-BM3D were obtained by using the available implementation of BM3D in the ADMM loop, without any change. The results of the GMM prior were obtained using patches, with 20-component mixtures. Other parameters of the algorithm, namely , were hand tuned for the best results. These results show that the proposed approach is competitive, yet does not beat IDD-BM3D in this generic image deblurring experiment. Arguably, this may be due to the fact that some of the images being restored contain structures that are totally absent from the training set (e.g., the stripes on Barbara’s trousers or the pattern on the table cloth).
In deblurring images of specific classes, the conclusions are remarkably different. As shown in Table 2 and Figs. 2 and 3, ADMM-GMM clearly outperforms IDD-BM3D (using its default parameters) both visually and in terms of ISNR.
2 Compressive Imaging Results
To assess the performance of the proposed method in compressive imaging, the same tests as in were performed. Fig. 4 compares the results (on the Cameraman image, from measurements) in terms of visual quality and normalized MSE (NMSE ), showing that ADMM-GMM performs better than the method proposed in , called Turbo-GMNote: the Turbo-GM results were obtained by running the publicly available implementation with seed 0 on the random number generator, for comparison purposes. Although the results for Turbo-GM herein presented are slightly worse than those reported in , the difference does not affect our conclusion: on average, ADMM-GMM performs better than Turbo-GM.. As in deblurring, the ADMM-GMM algorithm uses patches and a 20-component GMM. The algorithm starts with a mixture trained on images from the generic dataset; the algorithm is run for 50 iterations, with mixture update every 25 iterations. Parameter was kept fixed at 1.
Experiments were also performed on all the images in the Microsoft dataset; as in , each image was cropped to , from the top left corner, then resized to . The results (for measurements) are summarized in Fig. 5 (a), clearly showing that for every image class, ADMM-GMM performs better than Turbo-GM, by at least 2 dB. Finally, Fig. 5 (b) shows NMSE versus the number of measurements , on type 1 images from the Microsoft dataset, showing the superiority of ADMM-GMM over Turbo-GM for a wide range of values of .
Conclusions and Future Work
In this paper, we have proposed a method for class-adapted image restoration/reconstruction, by building upon the so-called plug-and-play approach , and plugging class-adapted denoisers based on Gaussian mixture models (GMM) into the iterations of an ADMM algorithm. Experiments reported in this paper (both in deblurring and compressive image reconstruction) have shown that the proposed method yields state-of-the-art results when applied to images known to contain text or a face, clearly outperforming the best generic techniques, such as IDD-BM3D .
Naturally, there are still several aspects that demand further work, namely the theoretical convergence properties of plug-and-play ADMM with a GMM-based denoiser, and the optimal setting of the algorithm parameters.