
1 Plug-and-Play Image Restoration with Deep Denoiser Prior Kai Zhang, Yawei Li, Wangmeng Zuo, Senior Member, IEEE, Lei Zhang, Fellow, IEEE, Luc Van Gool and Radu Timofte, Member, IEEE Abstract—Recent works on plug-and-play image restoration have shown that a denoiser can implicitly serve as the image prior for model-based methods to solve many inverse problems. Such a property induces considerable advantages for plug-and-play image restoration (e.g., integrating the flexibility of model-based method and effectiveness of learning-based methods) when the denoiser is discriminatively learned via deep convolutional neural network (CNN) with large modeling capacity. However, while deeper and larger CNN models are rapidly gaining popularity, existing plug-and-play image restoration hinders its performance due to the lack of suitable denoiser prior. In order to push the limits of plug-and-play image restoration, we set up a benchmark deep denoiser prior by training a highly flexible and effective CNN denoiser. We then plug the deep denoiser prior as a modular part into a half quadratic splitting based iterative algorithm to solve various image restoration problems. We, meanwhile, provide a thorough analysis of parameter setting, intermediate results and empirical convergence to better understand the working mechanism. Experimental results on three representative image restoration tasks, including deblurring, super-resolution and demosaicing, demonstrate that the proposed plug-and-play image restoration with deep denoiser prior not only significantly outperforms other state-of-the-art model-based methods but also achieves competitive or even superior performance against state-of-the-art learning-based methods. The source code is available at https://github.com/cszn/DPIR. Index Terms—Denoiser Prior, Image Restoration, Convolutional Neural Network, Half Quadratic Splitting, Plug-and-Play F 1 INTRODUCTION MAGE RESTORATION (IR) has been a long-standing prob- where log p(yjx) represents the log-likelihood of observa- I lem for its highly practical value in various low-level tion y, log p(x) delivers the prior of clean image x and is vision applications [1], [2]. In general, the purpose of image independent of degraded image y. More formally, (1) can restoration is to recover the latent clean image x from be reformulated as its degraded observation y = T (x) + n, where T is the 1 ^ 2 n x = arg min 2 ky − T (x)k + λR(x); (2) noise-irrelevant degradation operation, is assumed to be x 2σ additive white Gaussian noise (AWGN) of standard devia- tion σ. By specifying different degradation operations, one where the solution minimizes an energy function composed 1 ky − T (x)k2 can correspondingly get different IR tasks. Typical IR tasks of a data term 2σ2 and a regularization term would be image denoising when T is an identity operation, λR(x) with regularization parameter λ. Specifically, the image deblurring when T is a two-dimensional convolution data term guarantees the solution accords with the degrada- operation, image super-resolution when T is a composite tion process, while the prior term alleviates the ill-posedness operation of convolution and down-sampling, color image by enforcing desired property on the solution. demosaicing when T is a color filter array (CFA) masking Generally, the methods to solve (2) can be divided operation. into two main categories, i.e., model-based methods and Since IR is an ill-posed inverse problem, the prior which learning-based methods. The former aim to directly solve arXiv:2008.13751v2 [eess.IV] 12 Jul 2021 is also called regularization needs to be adopted to constrain (2) with some optimization algorithms, while the latter the solution space [3], [4]. From a Bayesian perspective, mostly train a truncated unfolding inference through an the solution x^ can be obtained by solving a Maximum A optimization of a loss function on a training set containing N Posteriori (MAP) estimation problem, N degraded-clean image pairs f(yi; xi)gi=1 [5], [6], [7], [8], [9]. In particular, the learning-based methods are usually x^ = arg max log p(yjx) + log p(x); (1) x modeled as the following bi-level optimization problem 8 N > X > min L(^xi; xi) (3a) K. Zhang, Y. Li and R. Timofte are with the Computer Vision Lab, < Θ ETH Z¨urich, Z¨urich, Switzerland (e-mail: [email protected]; i=1 > 1 [email protected]; [email protected]). > ^ 2 L. Van Gool is with the Computer Vision Lab, ETH Z¨urich, Z¨urich, : s:t: xi = arg min 2 kyi − T (x)k + λR(x); (3b) x 2σ Switzerland, and also with KU Leuven, Leuven, Belgium (e-mail: van- [email protected]). where Θ denotes the trainable parameters, L(x^i; xi) mea- W. Zuo is with the School of Computer Science and Technology, Harbin sures the loss of estimated clean image x^ with respect to Institute of Technology, Harbin, China (e-mail: [email protected]). i L. Zhang is with the Department of Computing, The Hong Kong Polytechnic ground truth image xi. By replacing the unfolding infer- University, Hong Kong, China (e-mail: [email protected]). ence (3b) with a predefined function ^x = f(y; Θ), one can 2 treat the plain learning-based methods as general case of (3). • The HQS-based plug-and-play IR is thoroughly ana- It is easy to note that one main difference between lyzed with respect to parameter setting, intermediate model-based methods and learning-based methods is that, results and empirical convergence, providing a better the former are flexible to handle various IR tasks by simply understanding of the working mechanism. specifying T and can directly optimize on the degraded • Extensive experimental results on deblurring, super- image y, whereas the later require cumbersome training resolution and demosaicing have demonstrated the to learn the model before testing and are usually restricted superiority of the proposed plug-and-play IR with by specialized tasks. Nevertheless, learning-based methods deep denoiser prior. can not only enjoy a fast testing speed but also tend to deliver better performance due to the end-to-end training. In 2 RELATED WORKS contrast, model-based methods are usually time-consuming Plug-and-play IR generally involves two steps. The first step with sophisticated priors for the purpose of good perfor- is to decouple the data term and prior term of the objective mance [10]. As a result, these two categories of methods function via a certain variable splitting algorithm, resulting have their respective merits and drawbacks, and thus it in an iterative scheme consisting of alternately solving a would be attractive to investigate their integration which data subproblem and a prior subproblem. The second step is leverages their respective merits. Such an integration has to solve the prior subproblem with any off-the-shelf denois- resulted in the deep plug-and-play IR method which re- ers, such as K-SVD [21], non-local means [22], BM3D [23]. places the denoising subproblem of model-based optimiza- As a result, unlike traditional model-based methods which tion with learning-based CNN denoiser prior. needs to specify the explicit and hand-crafted image priors, The main idea of deep plug-and-play IR is that, with plug-and-play IR can implicitly define the prior via the de- the aid of variable splitting algorithms, such as alternating noiser. Such an advantage offers the possibility of leveraging direction method of multipliers (ADMM) [11] and half- very deep CNN denoiser to improve effectiveness. quadratic splitting (HQS) [12], it is possible to deal with the data term and prior term separately [13], and particularly, 2.1 Plug-and-Play IR with Non-CNN Denoiser the prior term only corresponds to a denoising subprob- lem [14], [15], [16] which can be solved via deep CNN The plug-and-play IR can be traced back to [4], [14], [16]. denoiser. Although several deep plug-and-play IR works In [24], Danielyan et al. used Nash equilibrium to derive an have been proposed, they typically suffer from the following iterative decoupled deblurring BM3D (IDDBM3D) method drawbacks. First, they either adopt different denoisers to for image debluring. In [25], a similar method equipped cover a wide range of noise levels or use a single denoiser with CBM3D denoiser prior was proposed for single im- trained on a certain noise level, which are not suitable age super-resolution (SISR). By iteratively updating a back- to solve the denoising subproblem. For example, the IR- projection step and a CBM3D denoising step, the method CNN [17] denoisers involve 25 separate 7-layer denoisers, has an encouraging performance for its PSNR improve- each of which is trained on an interval noise level of 2. ment over SRCNN [26]. In [14], the augmented Lagrangian Second, their deep denoisers are not powerful enough, method was adopted to fuse the BM3D denoiser to solve and thus, the performance limit of deep plug-and-play IR image deblurring task. With a similar iterative scheme as is unclear. Third, a deep empirical understanding of their in [24], the first work that treats the denoiser as “plug-and- working mechanism is lacking. play prior” was proposed in [16]. Prior to that, a similar This paper is an extension of our previous work [17] plug-and-play idea is mentioned in [4] where HQS algo- with a more flexible and powerful deep CNN denoiser rithm is adopted for image denoising, deblurring and in- which aims to push the limits of deep plug-and-play IR painting. In [15], Heide et al. used an alternative to ADMM by conducting extensive experiments on different IR tasks.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages16 Page
-
File Size-