Hostname: page-component-cd9895bd7-p9bg8 Total loading time: 0 Render date: 2024-12-25T05:23:29.649Z Has data issue: false hasContentIssue false

Deep-blur: Blind identification and deblurring with convolutional neural networks

Published online by Cambridge University Press:  15 November 2024

Valentin Debarnot
Affiliation:
Departement Mathematics and computer science, Basel University, Basel, Switzerland
Pierre Weiss*
Affiliation:
Institut de Recherche en Informatique de Toulouse (IRIT), CNRS & Université de Toulouse, Toulouse, France Centre de Biologie Intégrative (CBI), Laboratoire de biologie Moléculaire, Cellulaire et du Développement (MCD), CNRS & Université de Toulouse, Toulouse, France
*
Corresponding author: Pierre Weiss; Email: [email protected]

Abstract

We propose a neural network architecture and a training procedure to estimate blurring operators and deblur images from a single degraded image. Our key assumption is that the forward operators can be parameterized by a low-dimensional vector. The models we consider include a description of the point spread function with Zernike polynomials in the pupil plane or product-convolution expansions, which incorporate space-varying operators. Numerical experiments show that the proposed method can accurately and robustly recover the blur parameters even for large noise levels. For a convolution model, the average signal-to-noise ratio of the recovered point spread function ranges from 13 dB in the noiseless regime to 8 dB in the high-noise regime. In comparison, the tested alternatives yield negative values. This operator estimate can then be used as an input for an unrolled neural network to deblur the image. Quantitative experiments on synthetic data demonstrate that this method outperforms other commonly used methods both perceptually and in terms of SSIM. The algorithm can process a 512 $ \times $ 512 image under a second on a consumer graphics card and does not require any human interaction once the operator parameterization has been set up.1

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press

Impact Statement

The prospect of restoring blurred images with a wave of the digital wand is undeniably seductive in microscopy. However, the reality currently appears less satisfying, as handcrafted algorithms often offer only minimal gains at the price of long parameter tuning.

In this article, we combine physical models of the blur and artificial intelligence to design an interpretable blind deblurring method. A first neural network is trained to estimate the point spread function of the optical system, while a second network leverages this estimate to improve image quality. This approach provides a fully automated tool, capable of improving the image quality in seconds. The proposed methodology yields point spread function estimates with a quality that is superior by 10 dB to other popular methods, which also leads to better and more reliable deblurring results.

1. Introduction

Image deblurring and superresolution consist of recovering a sharp image $ \overline{\mathbf{x}} $ from its blurred and subsampled version $ \mathbf{y}=\mathcal{P}\left(\overline{\mathbf{A}}\overline{\mathbf{x}}\right) $ , where $ \overline{\mathbf{A}}\in {\mathrm{\mathbb{R}}}^{M\times N} $ is a discretized linear integral operator describing the acquisition process, and $ \mathcal{P}:{\mathrm{\mathbb{R}}}^M\to {\mathrm{\mathbb{R}}}^M $ is some perturbation modeling noise, quantization, and saturation. It plays an important role in biomedical and astronomical imaging, where physical phenomena such as diffraction and turbulence strongly reduce the achievable resolution. It also received a constant attention in the field of computer vision, where moving or out-of-focus objects create artifacts. When the operator $ \overline{\mathbf{A}} $ describing the optical system is available, this problem can be solved with mature variational inverse problem solvers(Reference Chambolle and Pock16) or data-driven approaches.(Reference Arridge, Maass, Öktem and Schönlieb8)

However, deriving a precise forward model requires specific calibration procedures, well-controlled imaging environments. and/or highly qualified staff. In addition, model mismatches result in distorted reconstructions. This can lead to dramatic performance loss, especially for superresolution applications.(Reference Gossard and Weiss41, Reference von Diezmann, Lee, Lew and Moerner84)

An alternative to a careful calibration step consists of solving the problem blindly: the forward model $ \overline{\mathbf{A}} $ is estimated together with the sharp image $ \overline{\mathbf{x}} $ . Unfortunately, this blind inverse problem is highly degenerate. There is no hope to recover the sharp image without prior assumptions on $ \overline{\mathbf{x}} $ and $ \overline{\mathbf{A}} $ . For instance, assume that $ \overline{\mathbf{A}} $ is a discrete convolution operator with some kernel $ \overline{\mathbf{h}} $ , that is, $ \mathbf{y}=\overline{\mathbf{h}}\star \overline{\mathbf{x}} $ . Then, the couple $ \left(\overline{\mathbf{h}},\overline{\mathbf{x}}\right) $ can be recovered only up to a large group of transformations.(Reference Soulez and Unser79) For instance, the identity and blurred image are a trivial solution, and the image and kernels can be shifted in opposite directions or scaled with inverse factors. Therefore, it is critical to introduce regularization terms both for the operator $ \overline{\mathbf{A}} $ and the signal $ \overline{\mathbf{x}} $ .

The main objective of this work is to design a blind inverse problem solver under the two assumptions below:

  • The operator $ \overline{\mathbf{A}} $ can be parameterized by a low-dimensional vector. In what follows, we let $ \mathbf{A}:{\mathrm{\mathbb{R}}}^K\to {\mathrm{\mathbb{R}}}^{M\times N} $ denote the operator mapping and we assume that $ \overline{\mathbf{A}}=\mathbf{A}\left(\overline{\boldsymbol{\unicode{x03B3}}}\right) $ for some $ \overline{\boldsymbol{\unicode{x03B3}}}\in {\mathrm{\mathbb{R}}}^K $ .

  • The signal $ \overline{\mathbf{x}} $ lives in a family $ \mathcal{X}\subseteq {\mathrm{\mathbb{R}}}^N $ with some known distribution $ {\mathcal{L}}_{\mathcal{X}} $ .

We propose a specific convolutional neural architecture and a training procedure to recover the couple $ \left(\overline{\boldsymbol{\unicode{x03B3}}},\overline{\mathbf{x}}\right) $ from the degraded data $ \mathbf{y} $ and the mapping $ \mathbf{A}\left(\cdot \right) $ . A first network identifies the parameterization $ \overline{\boldsymbol{\unicode{x03B3}}} $ , while the second uses this parameterization to estimate the image $ \overline{\mathbf{y}} $ . This results in an efficient algorithm to sequentially estimate the blur operator and the sharp image $ \overline{\mathbf{x}} $ . The network architecture is shown on Figure 1. At a formal level, the work can be adapted to arbitrary inverse problems beyond image deblurring. We, however, showcase its efficiency only for challenging deblurring tasks involving convolutions but also more advanced space-varying operators.

Figure 1. The deep-blur architecture. The first part of the network identifies the parameter $ \hat{\boldsymbol{\unicode{x03B3}}} $ . In this article, we use a ResNet architecture. The estimated parameter $ \hat{\boldsymbol{\unicode{x03B3}}} $ is given as an input of a second deblurring network. This one is an unrolled Douglas–Rachford algorithm. The yellow blocks are convolution layers with ReLU and batch normalization. The red ones are average pooling layers. The green ones are regularized inverse layers of the form $ {\mathbf{x}}_{t+1}={\left({\mathbf{A}}^{\ast}\left(\hat{\boldsymbol{\unicode{x03B3}}}\right)\mathbf{A}\left(\hat{\boldsymbol{\unicode{x03B3}}}\right)+\lambda \mathbf{I}\right)}^{-1}\mathbf{A}\left(\hat{\boldsymbol{\unicode{x03B3}}}\right)\mathbf{y} $ . The violet blocks are U-Net-like neural networks with weights learned to provide a sharp image $ \hat{\mathbf{x}} $ .

1.1. Related works

Solving blind deblurring problems is a challenging task that started being studied in the 1970s.(Reference Stockham, Cannon and Ingebretsen80) Fifty years later, it seems impossible to perform an exhaustive review of existing methods and the following description will be lacunary. We refer the interested reader to(Reference Chaudhuri, Velmurugan and Rameshan18) for a general overview of this field and to(Reference Sarder and Nehorai74) for a survey more focused on microscopy. The prevailing approach is to estimate the original signal and the blur operator by solving variational problems of the form:

(1) $$ \underset{\mathbf{A}\in {\mathrm{\mathbb{R}}}^{M\times N},\mathbf{x}\in {\mathrm{\mathbb{R}}}^N}{\operatorname{inf}}\frac{1}{2}\parallel \mathbf{Ax}-\mathbf{y}{\parallel}_2^2+{R}_A\left(\mathbf{A}\right)+{R}_x\left(\mathbf{x}\right), $$

where $ {R}_A:{\mathrm{\mathbb{R}}}^{M\times N}\to \mathrm{\mathbb{R}}\cup \hskip0.3em \left\{+\infty \right\} $ and $ {R}_x:{\mathrm{\mathbb{R}}}^N\to \mathrm{\mathbb{R}}\cup \hskip0.3em \left\{+\infty \right\} $ are regularization terms for the operator and the signal respectively. This problem arises when considering maximum a posteriori (MAP) estimators.(Reference Levin, Weiss, Durand and Freeman50) It can be attacked with various types of alternating minimization procedures.(Reference Bolte, Sabach and Teboulle11) Before the advent of data-driven approaches, the regularizers were carefully designed to target specific features. The point spread functions can be considered as sparse and compactly supported for motion deblurring.(Reference Chakrabarti, Zickler and Freeman15, Reference Couzinie-Devy, Sun, Alahari and Ponce25, Reference Dai and Wu27, Reference Fergus, Singh, Hertzmann, Roweis and Freeman34, Reference Krahmer, Lin, McAdoo, Ott, Wang, Widemann and Wohlberg49, Reference Perrone and Favaro69, Reference Peyrin, Toma, Sixou, Denis, Burghardt and Pialat70, Reference Sun, Cho, Wang and Hays82) They are smooth for diffraction-limited systems(Reference Chan and Wong17) and can also be parameterized with Zernike polynomials in the pupil plane.(Reference Aristov, Lelandais, Rensen and Zimmer7, Reference Goodman40, Reference Keuper, Schmidt, Temerinac-Ott, Padeken, Heun, Ronneberger and Brox47, Reference Sarder and Nehorai74, Reference Soulez, Denis, Tourneur and Thiébaut78, Reference Soulez and Unser79) The images can sometimes be considered as sparse in microscopy and astronomical imaging(Reference Debarnot and Weiss31, Reference Mourya, Denis, Becker and Thiébaut60) or piecewise constant for natural images. The typical regularizer $ {R}_x $ is then the total variation, or more advanced priors on the image gradient.(Reference Bar, Sochen and Kiryati9, Reference Chakrabarti, Zickler and Freeman15, Reference Chan and Wong17, Reference Pankajakshan, Zhang, Blanc-Féraud, Kam, Olivo-Marin and Zerubia68Reference Peyrin, Toma, Sixou, Denis, Burghardt and Pialat70) Some authors also advocate for the use of priors on the image spectrum,(Reference Goldstein and Fattal38, Reference Zachevsky and Zeevi86) which transform the blind deconvolution problem into a phase retrieval problem under ideal conditions.

The most recent variants of these approaches can provide excellent results (see e.g.,(Reference Pan, Hu, Su and Yang66, Reference Zhang, Fang, Ni and Zeng88)). However, they strongly rely on the detection of specific features (points, edges, textures) which may be absent or inaccurate models of the typical image features. In addition, problem (1) or its derivatives is usually highly nonconvex, and the initialization must be chosen carefully to ensure local convergence to the right minimizer. As a result, these methods require a substantial know-how to be successfully applied to a specific field.

In the most recent years, machine learning approaches have emerged and now seem to outperform carefully handcrafted ones, at least under well-controlled conditions. These approaches can be divided into two categories. The first category concerns methods that directly estimate the reconstructed image from the observation.(Reference Aljadaany, Pal and Savvides3, Reference Cho, Ji, Hong, Jung and Ko20, Reference Lucas, Iliadis, Molina and Katsaggelos55Reference Mehri, Ardakani and Sappa57, Reference Nah, Kim and Lee61, Reference Noroozi, Chandramouli and Favaro64, Reference Schuler, Hirsch, Harmeling and Schölkopf75) The second category contains approaches that produce an estimation of the blur operator. This estimate can then be used to deblur the original image. These approaches are specifically tuned for applications in computer vision(Reference Chakrabarti14, Reference Gong, Yang, Liu, Zhang, Reid, Shen, Hengel and Shi39, Reference Li, Tofighi, Geng, Monga and Eldar51, Reference Schuler, Hirsch, Harmeling and Schölkopf75, Reference Sun, Cao, Xu and Ponce81) (motion and out-of-focus blurs) or diffraction-limited systems.(Reference Cumming and Gu26, Reference Möckl, Petrov and Moerner58, Reference Saha, Schmidt, Zhang, Barbotin, Hu, Ji, Booth, Weigert and Myers73, Reference Shajkofci and Liebling76, Reference Shajkofci and Liebling77, Reference Wang, Wang, Li, Hu, Yang and Gu85) Our work rather falls in the second category.

In this list of references, a few authors propose ideas closely related to the ones developed hereafter. In particular,(Reference Cumming and Gu26, Reference Saha, Schmidt, Zhang, Barbotin, Hu, Ji, Booth, Weigert and Myers73, Reference Wang, Wang, Li, Hu, Yang and Gu85) propose to estimate the pupil function of a microscope from images of point sources using neural networks. This idea is similar to the identification network in Figure 1. The two underlying assumptions are a space invariant system and the observation of a single point source. The idea closest to ours is from Shajkofci and Liebling.(Reference Shajkofci and Liebling76, Reference Shajkofci and Liebling77) Therein, the authors estimate a decomposition of the point spread function from a single image using a low-dimensional parameterization such as a decomposition over Zernike polynomials. The spatial variations are then estimated by splitting the observation domain in patches where the blur is assumed locally invariant. The image can then be deblurred using a Richardson–Lucy algorithm based on the estimated operator.

1.2. Contributions

In this work, we propose to use a pair of convolutional neural networks to first estimate the operator parameterization $ \overline{\boldsymbol{\unicode{x03B3}}}\in {\mathrm{\mathbb{R}}}^K $ and then use this parameterization to estimate the sharp image $ \overline{\mathbf{x}}\in {\mathrm{\mathbb{R}}}^N $ with a second convolutional neural network. The first network is the popular ResNet(Reference He, Zhang, Ren and Sun45) as in (Reference Shajkofci and Liebling77). The second network has the structure of an unrolled algorithm, which offers the advantage of adapting to the forward operator.(Reference Adler and Öktem1, Reference Adler and Oktem2, Reference Monga, Li and Eldar59) We call the resulting algorithm deep-blur, see Figure 1. This work contains various original features:

The PyTorch implementation of our method is available on demand. We are currently integrating it into the DeepInv package.

2. Methods

In this article, we assume that the degraded signal $ \mathbf{y}\in {\mathrm{\mathbb{R}}}^M $ is generated according to the following equation:

(2) $$ \mathbf{y}=\mathcal{P}\left(\mathbf{A}\left(\overline{\gamma}\right)\overline{\mathbf{x}}\right), $$

where $ \mathbf{A}\left(\boldsymbol{\unicode{x03B3}} \right):{\mathrm{\mathbb{R}}}^N\to {\mathrm{\mathbb{R}}}^M $ is a linear operator describing the optical system. It depends on an unknown parameter $ \overline{\boldsymbol{\unicode{x03B3}}}\in {\mathrm{\mathbb{R}}}^P $ . The mapping $ \mathcal{P}:{\mathrm{\mathbb{R}}}^N\to {\mathrm{\mathbb{R}}}^N $ can model various deterministic or stochastic perturbations occurring in real systems such as additive white Gaussian noise, Poisson noise, and quantization. In this article, we will use a Poisson-Gaussian noise approximation detailed in (Reference Foi, Trimeche, Katkovnik and Egiazarian35). It is known to accurately model microscopes, except in the very low photon count regime. Other more complex models could be easily incorporated into the proposed framework at the learning stage. A critical aspect of this article is the parameterization of the forward operator $ \mathbf{A} $ . We discuss this aspect below.

2.1. Modeling the blur operators

We consider both space-invariant and space-varying blur operators and linear or nonlinear parameterization.

2.1.1. Linear parameterization

We may assume that $ \mathbf{A} $ belongs to a subspace of operators.

2.1.2. Convolution models and eigen-PSF bases

By far, the most widespread blurring model in imaging is based on convolution operators: the point spread function is identical whatever the position in space. This model is accurate for small fields of view, which are widespread in applications. Assuming that there is no subsampling in the model, we can set $ M=N $ and $ \mathbf{Ax}=\mathbf{h}\star \mathbf{x} $ for some unknown convolution kernel $ \mathbf{h} $ .

The convolution model strongly simplifies the blur identification problem since we are now looking for a vector of size $ N $ instead of a huge $ N\times N $ matrix. Yet, the blind deconvolution problem is known to suffer from many degeneracies and possesses a huge number of possible solutions, see for example (Reference Soulez and Unser79). To further restrict the space of admissible operators and therefore improve the identifiability, we can expand the kernel $ \mathbf{h} $ in an eigen-PSF basis. This leads to the following low-dimensional model.

Model 2.1 (Convolution and eigen-PSFs). We assume that

$$ \mathbf{A}\left(\boldsymbol{\unicode{x03B3}} \right)\mathbf{x}=\sum \limits_{k=1}^K\;\boldsymbol{\unicode{x03B3}} \left[k\right]{\mathbf{e}}_k\star \mathbf{x},\forall \mathbf{x}\in {\mathrm{\mathbb{R}}}^N, $$

where $ \left({\mathbf{e}}_k\right) $ is an orthogonal family of convolution kernels called eigen-PSF basis.

Defining an eigen-PSF basis can be achieved by computing a principal component analysis of a family of observed or theoretical point spread functions.(Reference Gibson and Lanni37) An example of an experimental eigen-PSF basis obtained in (Reference Debarnot, Escande, Mangeat and Weiss28) is shown on Figure 2, top.

Figure 2. Examples of eigen-PSF and eigen-space variation bases for a wide-field microscope.(Reference Debarnot, Escande, Mangeat and Weiss28)

2.1.3. Space-variant models and product-convolution expansions

The convolution model 2.1 can only capture space-invariant impulse responses. When dealing with large field of views, this model becomes inaccurate. One way to overcome this limitation is to use product-convolution expansions,(Reference Debarnot, Escande, Mangeat and Weiss28, Reference Denis, Thiébaut, Soulez, Becker and Mourya32, Reference Escande and Weiss33) which efficiently encode space-varying systems.

Model 2.2 (Product-convolution expansions). Let $ {\left({\mathbf{e}}_i\right)}_{1\le i\le I} $ and $ {\left({\mathbf{f}}_j\right)}_{1\le j\le J} $ define two orthogonal families of $ {\mathrm{\mathbb{R}}}^N $ . The action of a product-convolution $ \mathbf{A} $ operator reads:

(3) $$ \mathbf{Ax}=\sum \limits_{i,j}{\mathbf{e}}_i\hskip0.3em \ast \hskip0.3em \left({\mathbf{f}}_j\hskip0.3em \odot \hskip0.3em \mathbf{x}\right),\forall \mathbf{x}\in {\mathrm{\mathbb{R}}}^N, $$

where $ \odot $ indicates the coordinate-wise (Hadamard) product.

In the above model, the basis $ \left({\mathbf{e}}_i\right) $ can still be interpreted as an eigen-PSF basis. Indeed, we …have for all locations $ z\in \left\{1,\dots,, N\right\} $ :

$$ \mathbf{A}\left(\boldsymbol{\unicode{x03B3}} \right){\boldsymbol{\delta}}_z=\sum \limits_{i=1}^I\left(\sum \limits_{j=1}^J\;\boldsymbol{\unicode{x03B3}}\;\left[i,j\right]\;{\mathbf{f}}_j\left[z\right]\right){\mathbf{e}}_i\left[\cdot -z\right]. $$

Hence, we see that each impulse response is expressed in the basis $ \left({\mathbf{e}}_i\right) $ . The basis $ \left({\mathbf{f}}_j\right) $ , on its side, can be interpreted as an eigen-space variation basis: it describes how the point spread functions can vary in space. It can be estimated by interpolation of the coefficient of a few scattered PSF in the eigen-PSF basis $ \left({\mathbf{e}}_i\right) $ . In optical devices such as microscopes, the estimation of the families $ \left({\mathbf{e}}_i\right) $ and $ \left({\mathbf{f}}_j\right) $ can be accomplished by observing several images of microbeads.(Reference Bigot, Escande and Weiss10, Reference Debarnot, Escande, Mangeat and Weiss28) An example of the experimental product-convolution family is shown in Figure 2 for a wide-field microscope. In that case, the dimension $ K $ of the subspace is $ K=I\cdot J=16 $ . Airy pattern oscillations are found in the first eigen-PSFs and intensity variations, such as nonhomogeneous illuminations/vignetting, in the spatial variation maps.

2.1.4. Nonlinear parameterization and Zernike polynomials

An alternative to the linear models is given by the theory of diffraction. A popular and effective model in microscopy and astronomy consists of using the Fresnel/Fraunhofer theory. We can approximate the pupil function with a finite number of Zernike polynomials.(Reference Goodman40, Reference Hanser, Gustafsson, Agard and Sedat44) This model leads to some of the state-of-the-art algorithms for blind deconvolution and superresolution in microscopy and astronomy.(Reference Aristov, Lelandais, Rensen and Zimmer7, Reference Nehme, Freedman, Gordon, Ferdman, Weiss, Alalouf, Naor, Orange, Michaeli and Shechtman62, Reference Sage, Donati, Soulez, Fortun, Schmit, Seitz, Guiet, Vonesch and Unser72, Reference Soulez, Denis, Tourneur and Thiébaut78)

Model 2.3 (Fresnel approximation and a Zernike basis). We assume that the forward model is a convolution with a slice of a continuous 3D kernel $ h\left(x,y,z\right) $ . The 3D kernel can be expressed through the 2D pupil function $ \phi $ as

$$ h\left(x,y,z\right)={\left|{\int}_{B\left(0,{f}_c\right)}\phi \left({w}_1,{w}_2\right)\exp \left(2 i\pi zd\right({w}_1,{w}_2\left)\right)\exp \left(2 i\pi \left({w}_1x+{w}_2y\right)\right){dw}_1{dw}_2\right|}^2, $$

where $ {f}_c=n/\lambda $ is the cutoff frequency, $ n $ is the refractive index of the immersion medium, and $ \lambda $ is the wavelength of the observation light and

$$ d\left({w}_1,{w}_2\right)=\sqrt{f_c^2-{\left({w}_1+{w}_2\right)}^2}. $$

The complex pupil function $ \phi $ can be expanded with Zernike polynomials $ {Z}_k $ :

$$ \phi =\exp \left(2i\sum \limits_{k=4}^{K+4}\;\gamma \left[k\right]{Z}_k\right), $$

where the coefficients $ \gamma \left[k\right]\in \mathrm{\mathbb{R}} $ are real number. Footnote 2

A few examples of slices of point spread functions generated with Model 2.3 are displayed in Figure 3. Notice that we do not use the first three Zernike polynomials (piston, tip, and tilt) as they do not influence the shape of the PSF. In our experiments, we used $ K=7 $ Zernike polynomials. In the Noll nomenclature, they are referred to as $ {Z}_4 $ : defocus, $ {Z}_5 $ - $ {Z}_6 $ : primary astigmatism, $ {Z}_7 $ - $ {Z}_8 $ : primary coma, and $ {Z}_9 $ - $ {Z}_{10} $ : trefoil. We set the coefficients $ \gamma $ as uniform random variables with an amplitude smaller than 0.15. As can be seen, a rich variety of impulse responses can be generated with this low-dimensional model.

Figure 3. Examples of results for the identification network with convolution kernels defined through Fresnel approximation. Top: the original and blurred and noisy $ 400\times 400 $ images. Bottom: the true $ 31\times 31 $ kernel used to generate the blurry image and the corresponding estimation by the neural network. Notice that there is a large amount of white Gaussian noise added to the blurred image. The image boundaries have been discarded from the estimation process to prevent the neural network from using information that would not be present in real images.

2.2. The deep-blur architecture

We propose to train two different neural networks $ \mathrm{IN} $ and $ \mathrm{DN} $ sequentially:

  • $ \mathrm{IN} $ is an identification network. It depends on weights $ \boldsymbol{\theta} $ . The mapping $ \mathrm{IN}\left(\boldsymbol{\theta} \right):{\mathrm{\mathbb{R}}}^M\to {\mathrm{\mathbb{R}}}^K $ takes as an input a degraded image $ \mathbf{y}\in {\mathrm{\mathbb{R}}}^M $ and provides an estimate $ \hat{\boldsymbol{\unicode{x03B3}}} $ of $ \overline{\boldsymbol{\unicode{x03B3}}} $ in $ {\mathrm{\mathbb{R}}}^K $ .

  • DN is a deblurring network. It depends on weights $ \boldsymbol{\xi} $ . The mapping $ \mathrm{DN}\left(\boldsymbol{\xi} \right):\left({\mathrm{\mathbb{R}}}^M,{\mathrm{\mathbb{R}}}^K\right)\to {\mathrm{\mathbb{R}}}^N $ takes as input parameters the blurry image $ \mathbf{y} $ and the operator coefficient $ \boldsymbol{\unicode{x03B3}} $ . It outputs an estimate $ \hat{\mathbf{x}} $ of the sharp image $ \overline{\mathbf{x}} $ .

2.2.1. The identification network

Traditional estimation of a blur kernel relies on the detection of cues in the image such as points (direct observation(Reference Bigot, Escande and Weiss10, Reference Cumming and Gu26, Reference Debarnot and Weiss31, Reference Saha, Schmidt, Zhang, Barbotin, Hu, Ji, Booth, Weigert and Myers73)), edges in different orientations (Radon transform of the kernel(Reference Krahmer, Lin, McAdoo, Ott, Wang, Widemann and Wohlberg49)), or textures (power spectrum(Reference Goldstein and Fattal38)) followed by adapted inversion procedures. This whole process can be modeled by a set of linear operations (filtering) and nonlinear operations (e.g., thresholding). A convolutional neural network, composed of similar operations, should therefore be expressive enough to estimate the blur parameters. This is the case for the deep-blur identification architecture, a ResNet encoder,(Reference He, Zhang, Ren and Sun45) as shown in Figure 1, left. It consists of a succession of convolutions, ReLU activation, batch normalization, and average pooling layers, which sequentially reduce the image dimensions. The last layer is an adaptive average pooling layer, mapping the output of the penultimate layer to a vector of constant size $ K $ . In our experiments, the total number of trainable parameters, which includes the weights of the ResNet, that is, the convolution kernels in the convolution layers, the biases in the convolution layers and the weights of the adaptive pooling layer, is $ \mid \boldsymbol{\theta} \mid =\mathrm{11,178,448} $ . The encoder structure has been proven to be particularly effective for a large panel of signal processing tasks.(Reference Zhang, Isola, Efros, Shechtman and Wang89)

2.2.2. The deblurring network

The proposed deblurring network mimics a Douglas–Rachford algorithm.(Reference Combettes and Pesquet21) It is sometimes called an unrolled or unfolded network. This type of network currently achieves near state-of-the-art performance for a wide range of inverse problems (see e.g. (Reference Monga, Li and Eldar59)). It has the advantages of having a natural interpretation as an approximate solution of a variational problem and naturally adapts to changes of the observation operators.

Deep unrolling. For $ \lambda >0 $ , let $ {\mathbf{R}}_{\gamma, \lambda } $ denote the following regularized inverse:

$$ {\mathbf{R}}_{\boldsymbol{\unicode{x03B3}}, \lambda }={\left(\mathbf{A}{\left(\boldsymbol{\unicode{x03B3}} \right)}^T\mathbf{A}\left(\boldsymbol{\unicode{x03B3}} \right)+\lambda \mathbf{I}\right)}^{-1}\mathbf{A}{\left(\boldsymbol{\unicode{x03B3}} \right)}^T. $$

For a parameter $ \boldsymbol{\unicode{x03B3}} $ describing the forward operator and an input image $ \mathbf{y} $ , the Douglas–Rachford algorithm can be described by the following sequence of operations, ran from $ t=0 $ to $ t=T-1 $ with $ T\in \mathrm{\mathbb{N}} $ .

Algorithm 1 The Douglas–Rachford deblurring network $ \mathrm{DN} $ .

Require: iteration number $ T\in \mathrm{\mathbb{N}} $ , operator $ \boldsymbol{\unicode{x03B3}} $ , scale $ \lambda \in {\mathrm{\mathbb{R}}}_{+} $

$ {\mathbf{z}}_0={\mathbf{R}}_{\boldsymbol{\unicode{x03B3}}, \lambda}\left(\mathbf{y}\right) $

for all $ t=0\to T-1 $ do

$ {\mathbf{x}}_{t+1}={\mathrm{PN}}_t\left({\mathbf{z}}_t\right) $

$ {\mathbf{z}}_{t+1}={\mathbf{z}}_t+{\mathbf{R}}_{\boldsymbol{\unicode{x03B3}}, \lambda}\left(2{\mathbf{x}}_t-{\mathbf{z}}_t\right)-{\mathbf{x}}_t $

end for

The initial guess $ {\mathbf{z}}_0 $ corresponds to the solution of

$$ {\mathbf{z}}_0=\underset{\mathbf{z}\in {\mathrm{\mathbb{R}}}^N}{\mathrm{argmin}}\frac{1}{2}\parallel \mathbf{A}\left(\boldsymbol{\unicode{x03B3}} \right)\mathbf{z}-\mathbf{y}{\parallel}_2^2+\frac{\lambda }{2}\parallel \mathbf{z}{\parallel}_2^2. $$

It can be evaluated approximately with a conjugate gradient algorithm run for a few iterations (20 in our implementation).

The mapping $ {\mathrm{PN}}_t\left({\boldsymbol{\xi}}_t\right):{\mathrm{\mathbb{R}}}^N\to {\mathrm{\mathbb{R}}}^N $ can be interpreted as a “proximal neural network.” Proximal operators(Reference Combettes and Pesquet21) have been used massively in the last 20 years to regularize inverse problems. A popular example is the soft-thresholding operator, which is known to promote sparse solutions. Here, we propose to learn the regularizer as a neural network denoted $ {\mathrm{PN}}_t $ , which may change from one iteration to the next. It corresponds to the green layers in Figure 1.

The parameters $ \boldsymbol{\xi} $ that are learned are the weights $ {\boldsymbol{\xi}}_t $ defining the $ t $ th proximal neural network $ {\mathrm{PN}}_t $ . In our experiments, the networks $ {\mathrm{PN}}_t $ have the same architecture for all $ 1\le t\le T $ . We used the current state-of-the-art network used in plug-and-play algorithms called DRUNet.(Reference Hurault, Leclaire and Papadakis46, Reference Zhang, Li, Zuo, Zhang, Van Gool and Timofte87) We set $ T=4 $ iterations. Each of the 4 proximal networks contain $ \mathrm{8,159,808} $ parameters, resulting in a total of $ \mid \boldsymbol{\xi} \mid =\mathrm{32,639,232} $ parameters to be trained.

2.3. Training

We propose to first train the identification network $ \mathrm{IN}\left(\boldsymbol{\theta} \right) $ alone and then train the deblurring network $ \mathrm{DN}\left(\boldsymbol{\xi} \right) $ with the output of the identification network as an input parameter. This sequential approach presents two advantages:

  • The memory consumption is lower. The automatic differentiation only needs to store the parameters of the individual networks, instead of both. This reduces the memory footprint.

  • The identification network can be used independently of the other, and it is therefore tempting to train it separately. In metrology applications, for instance, where the aim is to follow the state of an optical system through time, the identification network IN is the most relevant brick. In some applications, such as superresolution from single molecules, the deblurring network could be replaced by a more standard total variation-based solver,(Reference Bredies and Pikkarainen13) once the operator is estimated.

In what follows, we let $ \mathcal{X}\subset {\mathrm{\mathbb{R}}}^N $ denote a dataset of admissible images/signals and $ {\mathcal{L}}_{\mathcal{X}} $ denote a sampling distribution over $ \mathcal{X} $ . We let $ {\mathcal{L}}_{\Gamma} $ denote a sampling distribution on the set $ {\mathrm{\mathbb{R}}}^K $ of blur parameters. In our experiments, the perturbation $ \mathcal{P} $ in Equation (2) is assumed to be an approximation of the Poisson-Gaussian noise.(Reference Foi, Trimeche, Katkovnik and Egiazarian35) We assume that $ \mathbf{y}=\mathbf{A}\left(\overline{\boldsymbol{\unicode{x03B3}}}\right)\overline{\mathbf{x}}+\mathbf{b} $ , where $ \mathbf{b}\left[z\right]\sim \boldsymbol{\sigma} \left[z\right]\boldsymbol{\eta} \left[z\right] $ , $ \eta \sim \mathcal{N}\left(0,{\mathbf{I}}_M\right) $ , and $ \boldsymbol{\sigma} \left[z\right]=\sqrt{\alpha \left(\mathbf{A}\left(\overline{\boldsymbol{\unicode{x03B3}}}\right)\overline{\mathbf{x}}\right)\left[z\right]+\beta } $ . The parameters $ \alpha $ and $ \beta $ are set uniformly at random in the ranges $ \alpha \in \left[\mathrm{0,0.05}\right] $ and $ \beta \in \left[\mathrm{0,0.15}\right] $ . In what follows, we let $ {\mathcal{L}}_b $ denote the noise distribution that we just described.

We propose to train both the identification and the deblurring networks using the empirical risk minimization. First, the identification network is trained by solving:

(4) $$ \underset{\theta \in {\mathrm{\mathbb{R}}}^{\mid \boldsymbol{\theta} \mid }}{\operatorname{inf}}\underset{\begin{array}{c}\mathbf{x}\sim {\mathcal{L}}_{\mathcal{X}}\\ {}\boldsymbol{\unicode{x03B3}} \sim {\mathcal{L}}_{\Gamma}\\ {}\mathbf{b}\sim {\mathcal{L}}_b\end{array}}{\unicode{x1D53C}}\left[\frac{1}{2}{\left\Vert \mathrm{IN}\left(\boldsymbol{\theta} \right)\left(\mathbf{A}\left(\boldsymbol{\unicode{x03B3}} \right)\mathbf{x}+\mathbf{b}\right)-\boldsymbol{\unicode{x03B3}} \right\Vert}_2^2\right]. $$

Once the identification network $ \mathrm{IN} $ is trained, we turn to the deblurring network by solving the following optimization problem:

(5) $$ \underset{\xi \in {\mathrm{\mathbb{R}}}^{\mid \boldsymbol{\xi} \mid }}{\operatorname{inf}}\underset{\begin{array}{c}\mathbf{x}\sim {\mathcal{L}}_{\mathcal{X}}\\ {}\boldsymbol{\unicode{x03B3}} \sim {\mathcal{L}}_{\Gamma}\\ {}\mathbf{b}\sim {\mathcal{L}}_b\end{array}}{\unicode{x1D53C}}\left[\frac{1}{2}{\left\Vert \mathrm{DN}\left(\boldsymbol{\xi} \right)\Big(\mathbf{y},\hat{\boldsymbol{\unicode{x03B3}}}\Big)-\mathbf{x}\right\Vert}_2^2\right], $$

where $ \mathbf{y}=\mathbf{A}\left(\boldsymbol{\unicode{x03B3}} \right)\mathbf{x}+\mathbf{b} $ is the degraded image and $ \hat{\boldsymbol{\unicode{x03B3}}}=\mathrm{IN}\left(\boldsymbol{\theta} \right)\left(\mathbf{y}\right) $ is the estimated parameter. Of importance, notice that we do not plug the true parameter $ \boldsymbol{\unicode{x03B3}} $ in 5, but rather the estimated one $ \hat{\boldsymbol{\unicode{x03B3}}} $ . This way, the deblurring network DN can learn to correct model mismatches that may occur at the estimation step.

The two problems above consist in constructing minimum mean square estimators (MMSE). At the end of the training procedure – under technical assumptions(Reference Gossard and Weiss41) – we can consider that the networks approximate a conditional expectation:

$$ {\displaystyle \begin{array}{r}\mathrm{IN}\left(\boldsymbol{\theta} \right)\left(\mathbf{y}\right)\approx \unicode{x1D53C}\left[\boldsymbol{\unicode{x03B3}} |\mathbf{y}\right]\\ {}\mathrm{DN}\left(\boldsymbol{\xi} \right)\left(\mathbf{y},\boldsymbol{\unicode{x03B3}} \right)\approx \unicode{x1D53C}\left[\mathbf{x}|\mathbf{y},\boldsymbol{\unicode{x03B3}} \right].\end{array}} $$

This is – by construction – the best estimators that can be generated on average. This approach is therefore really different from most alternatives in the literature, which consist of constructing MAP estimators. MMSE estimators can be expressed as integrals, which depend heavily on the operator distributions $ {\mathcal{L}}_{\Gamma} $ and on the image distribution $ {\mathcal{L}}_{\mathcal{X}} $ . They should therefore be constructed carefully depending on the physical knowledge of the observation system (resp. observed sample). By using the general computer vision database COCO, we hope to cover a wide range of image contents, leading to a wide-purpose method for identification. The performance could likely be improved using more specific databases. For instance, we could simulate the images according to realistic processes for specific applications such as single-molecule localization. This is out of the scope of this article. For $ {\mathcal{L}}_{\Gamma} $ , we sample a large set of realistic parameters uniformly at random in our experiments.

The above optimization problems are solved approximately using stochastic gradient descent-type algorithms. In our experiments, we used the Adam optimizer(Reference Kingma and Ba48) with the default parameters: the learning rate is set to 0.001, betas are (0.9, 0.999), epsilon is 1e-8, weight decay is 0, and amsgrad is false.

3. Results

Let us illustrate the different ideas proposed in this article. In all our experiments, we trained the neural networks using the MS COCO dataset.(Reference Lin, Maire, Belongie, Hays, Perona, Ramanan, Dollár and Zitnick53) It contains 118,287 images in the training set and 40,670 images in the test set. It is composed of images of everyday scenes, capturing objects in various indoor and outdoor environments. It presents substantial differences with typical microscopy images, but the high diversity and quality of the images makes it possible to construct efficient generic image priors. This was already observed in (Reference Shajkofci and Liebling77).

3.1. Convolution operators

We evaluate the accuracy of the identification and deblurring networks for convolution (i.e., space invariant) operators. We assess them for images generated with point spread functions expanded in Zernike polynomial.

3.1.1. Identifying convolution operators

We assess the ability of a residual network to identify the point spread function generated by the Fresnel diffraction Model 2.3. A similar study was carried out in (Reference Shajkofci and Liebling76) with $ K=3 $ coefficients. Here, we extend the study to $ K=7 $ coefficients allowing us to represent the following aberrations in the Noll nomenclature(Reference Noll63): defocus, primary astigmatism, primary coma, trefoil, and primary spherical.

We generate random PSFs by drawing the coefficients $ \boldsymbol{\unicode{x03B3}} \left[k\right] $ (see Model 2.3) uniformly in the range $ \left[-\eta, \eta \right] $ . The higher $ \eta $ , the more spread and oscillating the PSFs. Hence, $ \eta $ can be interpreted as a measure of PSF complexity. The model was trained for a value of $ \eta =0.15 $ .

In the first experiment, we simply used additive white Gaussian noise (i.e. $ \beta =0 $ ) of standard deviation $ \alpha $ . Figure 3 shows the identification results for 3 images taken at random from the test set and 3 operators taken at random in the operator set. On these examples, the network provides faithful estimates despite a substantial noise level and images with little contents. To further characterize the network efficiency, we measure the distribution of signal-to-noise-ratio (SNR) in the noiseless regime. For a kernel $ \mathbf{h} $ , the error of the estimated kernel $ \hat{\mathbf{h}} $ is defined by

(6) $$ \mathrm{SNR}\left(\mathbf{h},\hat{\mathbf{h}}\right)=-10\;{\log}_{10}\left(\frac{\parallel \hat{\mathbf{h}}-\mathbf{h}{\parallel}_2^2}{\parallel \mathbf{h}{\parallel}_2^2}\right). $$

Figure 4 summarizes the conclusions. In average, the identification network outputs estimates with a relative error below 5%.

Figure 4. On the left: a $ 100\times 100 $ table representing the SNR of the PSF. In this table, we evaluated the identification network for 100 images (left to right) and 100 kernels (top to bottom) with no noise. As can be seen, there are horizontal and vertical stripes. This means that some images and some kernels make the identification problem easier or harder. In the middle: an image making the identification problem hard (column 23). On the right: a kernel making the identification harder (row 65).

Finally, we study the stability to the noise level $ \alpha $ in Figure 5a – and to the PSF complexity $ \eta $ in Figure 5b. As can be seen, the identification outputs predictions with less than 10% error with a probability larger than 0.5 up to a large noise level of $ \alpha =0.1 $ for images in the range $ \left[0,1\right] $ . The dependency on the kernel’s complexity, measured through the Zernike polynomials amplitude $ \eta $ is very clear with typical errors below 2% for $ \eta <0.1 $ and then a relatively fast increase. It is nonetheless remarkable that the identification returns estimates with less than 15% error for $ \eta =0.2 $ , which produces more complex PSFs than those observed during the training phase, showing some ability of the network to generalize.

Figure 5. Stability of the kernel estimation with respect to noise level (left) and amplitude of the Zernike coefficients in the noiseless regime (right).

3.1.2. Evaluating the deblurring network

We evaluate the performance of the proposed deblurring network for convolution operators defined using the Fresnel approximation. Figures 68 display some deconvolution results for different methods. The corresponding image quality measures are displayed in Table 1.

Figure 6. Deep-blur in action in the noiseless setting. Quantitative evaluations are reported in Table 1. When available, the estimated blur kernel is displayed at the bottom right. First row: original images. Second row: blurry-noisy images. Third row: deep-blur. Fourth row: (Reference Anger, Facciolo and Delbracio5) Fifth row: (Reference Anger, Facciolo and Delbracio4) Sixth row: (Reference Chen, Chu, Zhang and Sun19).

Table 1. Reconstruction results for different noise levels and different methods

Note: The standard deviation is given after the symbol ±.

Bold numbers indicate the best performing method.

Notice that this problem is particularly involved: there is a complete loss of information in the high frequencies since the convolution kernels are bandlimited and we treat different noise levels up to rather high values (here $ \alpha =0.12 $ , $ \beta =0.24 $ for images in the range $ \left[0,1\right] $ ). Despite this challenging setting, it can be seen both perceptually and from the SSIM (structural similarity index measure) that the image quality is improved whatever the noise level. It is also remarkable to observe that the proposed network architecture allows us to treat images with different noise levels. This is an important feature of the DRUNet used as a proximal network.(Reference Zhang, Li, Zuo, Zhang, Van Gool and Timofte87)

We also propose some comparisons with other methods from the literature. Whenever possible, we optimized the hyperparameters by hand for each noise level to produce the best possible output. We chose the following methods:

The deep learning method is retrained on the same dataset as our method. As can be seen from Table 1 and the perceptual results in Figures 68, deep-blur outperforms the other three methods that we considered by a large margin. The PSF is recovered with an average accuracy varying between 12.9 dB in the noiseless regime to 7.9 dB in the high-noise regime using deep-blur. The image quality is improved in terms of SSIM by 0.1 in the noiseless regime to 0.2 in the high-noise regime.

Figure 7. Deep-blur in action with a medium noise level ( $ \alpha =0.025 $ , $ \beta =0.05 $ ). Quantitative evaluations are reported in Table 1. When available, the estimated blur kernel is displayed at the bottom right. First row: original images. Second row: blurry-noisy images. Third row: deep-blur. Fourth row: (Reference Anger, Facciolo and Delbracio5) Fifth row: (Reference Anger, Facciolo and Delbracio4) Sixth row: (Reference Chen, Chu, Zhang and Sun19).

Figure 8. Deep-blur in action in a high-noise regime ( $ \alpha =0.12 $ , $ \beta =0.24 $ ). Quantitative evaluations are reported in Table 1. When available, the estimated blur kernel is displayed at the bottom right. First row: original images. Second row: blurry-noisy images. Third row: deep-blur. Fourth row: (Reference Anger, Facciolo and Delbracio5) Fifth row: (Reference Anger, Facciolo and Delbracio4) Sixth row: (Reference Chen, Chu, Zhang and Sun19).

Figure 9. Blind deblurring examples on real images taken from (Reference Hagen, Bendesky, Machado, Nguyen, Kumar and Ventura43), see the samples for more details. In this experiment, only the noise level was set manually, the rest of the process is fully automatized. For this experiment, no ground truth is available and the results have to be assessed by visual inspection.

Figure 10. Deep-blur applied to spatially varying blur operators on microscopy images (not seen during training). The blur operators are sampled from a family estimated using a real wide-field microscope. First row: the original images. Second row: blurry-noisy images. Third row: the blind deblurring result with deep-blur. The SSIM of the resulting deblurred image is displayed below. Fourth row: The true blur operator. We display 4 evenly spaced impulse responses in the field of view. Fifth row: The estimated blur operator. The SNR of the estimated kernel is displayed in the caption in dB.

All the other methods yield negative SNR for the PSF. At a perceptual level, handcrafted methods (Goldstein-Fattal and $ {\mathrm{\ell}}^0 $ gradient prior) still recover the PSF shape approximately. The recovered image is also sharpened, but its SSIM quality is actually lowered by more than 0.1 in the noiseless regime, and improved by 0.1 in the high-noise regime. The SSIM is always lower than the one of deep-blur.

Experiments on real images. In Figure 9, we provide a few deep-blur results on real microscopy images from the dataset.(Reference Hagen, Bendesky, Machado, Nguyen, Kumar and Ventura43) We used the sample images available on the following link. As can be seen, the reconstructed images are denoised and have a better visual contrast In this experiment, we do not have a ground-truth deblurred result and the quality can only be assessed by visual inspection. Validating the estimation requires careful optics experiments, which we leave as an open topic for now.

Training on the true or estimated operators. At training time, we can feed the unrolled deblurring network with the operator that was used to synthesize the blurry image, or the one estimated using the identification network. The potential advantage of the second option is to train the proximal networks to correct model mismatches. We tested both solutions on two different operator families. It turns out that they led to nearly indistinguishable results overall in average. The most likely explanation for this phenomenon is that the model mismatches produced by the identification network cannot be corrected with the proximal networks.

Memory and computing times. The model contains about $ 11\cdot {10}^6 $ parameters for the identification part and $ 32\cdot {10}^6 $ parameters for the deblurring part. This is a total of $ 43\cdot {10}^6 $ trainable parameters. This size is comparable to the usual computer vision models available in TorchVision. For example, it is slightly smaller than a ResNet101 classifier. The deep-blur model uses about 1 GB of GPU memory at test time, which can be considered lightweight, since it fits on most consumer graphics cards.

After training, it takes 0.3 seconds to identify a kernel and deblur an image of size $ 400\times 400 $ on an Nvidia RTX 8000 with 16 TFlops. For comparison, the handcrafted models used in our numerical comparisons take between 5 seconds and a few minutes to perform the same task on the CPU. No GPU implementation is provided.

3.2. Product-convolution operators

To finish the numerical experiments, we illustrate how the proposed ideas perform on product-convolution operators.

We first illustrate the performance of the identification network. We trained the identification network on natural images from the MS COCO dataset, but evaluate it on biological images from microscopes. We selected 6 images: ImBio 1 is an histopathology of angiolipoma,(22) ImBio 2 is an histopathology of reactive gastropathy,(23), ImBio 3 and 4 are actin filaments within a cell,(24) ImBio 5 is an slice of a spheroid from (Reference Lorenzo, Frongia, Jorand, Fehrenbach, Weiss, Maandhui, Gay, Ducommun and Lobjois54), and ImBio 6 is a crop of a podosome obtain on a wide-field microscope.(Reference Bouissou, Proag, Bourg, Pingris, Cabriel, Balor, Mangeat, Thibault, Vieu, Dupuis, Fort, Lévêque-Fort, Maridonneau-Parini and Poincloux12)

The blur operators are generated by Model 2.2 using $ K=16 $ parameters. The blur model is obtained following the procedure described in (Reference Debarnot, Escande, Mangeat and Weiss28). To compute the product-convolution decomposition described in Model 2.2, we collected 18 stacks of 21 images of microbeads spaced by 200 nm on a wide-field microscope with a ×100 objective lens (CFI SR APO 100XH NA 1,49 DT 0,12 Nikon) mounted on a Nikon Eclipse Ti-E and a Hamamatsu sCMOS camera (ORCA FLASH4.0 LT). Figure 10 shows the identification results. The blur coefficients predicted by the deep-blur identification are accurate estimates in all cases. On average, the SNR is much higher than in the previous experiment, which can likely be explained by a smaller dimensionality of the operators’ family. In all cases, the image quality is improved despite an additive white Gaussian noise with $ \alpha =1\cdot {10}^{-2} $ and $ \beta =0 $ . This is remarkable since this type of image is different from the typical computer vision images found in the MS COCO dataset.

4. Discussion

We proposed an efficient and lightweight network architecture for solving challenging blind deblurring problems in optics. An encoder first identifies a low-dimensional parameterization of the optical system from the blurry image. A second network with an unrolled architecture exploits this information to efficiently deblur the image. The performance of the overall architecture compares favorably with alternative approaches designed in the field of computer vision. The principal reason is that our network is trained using fine physical models obtained using Fresnel diffraction theory or experimental data providing accurate space-varying models. A second reason is that the unrolled architecture proposed herein emerges as a state-of-the-art competitor for a wide range of inverse problems. Overall, we believe that the proposed network, trained carefully on a large collection of blurs and images could provide a universal tool to deblur microscope images. In the future, we would like to carry out specific optical experiments to ensure that the results obtained with synthetic data are reproducible and trustworthy with real images. The initial results, obtained without reference images for comparisons are however really encouraging.

Differences with plug and play and deep unrolling. The proposed unrolled architecture follows closely the usual unrolled algorithms.(Reference Adler and Öktem1, Reference Adler and Oktem2, Reference Li, Tofighi, Geng, Monga and Eldar51, Reference Li, Tofighi, Monga and Eldar52, Reference Monga, Li and Eldar59) There is, however, a major difference: traditionally, these unrolled architectures are trained to invert a single operator. In this article, we train the network with a family of operators. The results we obtained confirm some results obtained in (Reference Gossard and Weiss41): this approach only results in marginal performance loss for a given operator if the family is sufficiently small while providing a massive improvement in adaptivity to all the operators. In a sense, the proposed approach can be seen as an intermediate step between the plug-and-play priors (related to diffusion models(Reference Graikos, Malkin, Jojic and Samaras42)), which are designed to adapt to all possible operators, and the traditional unrolled algorithm is adapted to a single one.

The limits of a low-dimensional parameterization. The models considered are sufficiently rich to describe most optical devices accurately. In microscopy, they can capture defocus, refractive index mismatches, changes of temperature, tilts of optical components, usual optical aberrations with a parameter dimension $ K $ smaller than 20.

Notice however that some phenomena can hardly be modeled by low-dimensional parameterization. In microscopy, for instance, diffraction by the sample itself can lead to extremely complicated and diverse forward models better described by nonlinear equations (see e.g., (Reference Pham, Soubies, Ayoub, Lim, Psaltis and Unser71)). Similarly, in computer vision, motion and defocus blurs can vary abruptly with the movement and depth of the objects. The resulting operators would likely require a large number of parameters, which is out of the scope of this article.

Overall, we see that the proposed contribution is well adapted to the correction of systems with slowly varying point spread functions but probably does not extend easily to fast variations that can be induced by some complex biological samples.

5. Conclusion

We proposed a specific neural network architecture to solve blind deblurring problems where distortions come from the optical elements. We evaluated its performance carefully on blind deblurring problems with space invariant and space-varying operators. A key assumption is to have access to a forward model that depends on a set of parameters. The network first estimates the unknown parameters describing the forward model from the measurements with a ResNet architecture. In a second step, an unrolled algorithm solves the inverse problem with a forward model that was estimated at the previous step. After designing a careful training procedure, we showed an advantage of the proposed approach in terms of robustness to noise levels and adaptivity to a vast family of operators and conditions not seen during the training phase.

Acknowledgments

The authors wish to thank Emmanuel Soubies and Thomas Mangeat for fruitful discussions. They thank the associate editor and the anonymous reviewers for their comments and advices.

Data availability statement

The deep-blur architecture and the trained weights can be provided on explicit demand by e-mail at .

Author contribution

Both authors contributed equally to all parts (conception, writing, programming, training, and experiments) of this article. P.W. was responsible for finding the funding.

Funding statement

This work was supported by the ANR Micro-Blind ANR-21-CE48–0008 and by the ANR LabEx CIMI (grant ANR-11-LABX-0040) within the French State Program “Investissements d’Avenir”. The authors acknowledge the support of AI Interdisciplinary Institute ANITI funding, through the French “Investing for the Future—PIA3” program under the Grant Agreement ANR-19-PI3A-0004. This work was performed using HPC resources from GENCI-IDRIS (Grant 2021-AD011012210R1).

Competing interest

The authors declare none.

Footnotes

1 A preliminary version of this work was published in IEEE ISBI 2021.(Reference Debarnot and Weiss30)

2 In this model, only the phase of the pupil function varies. In all generality, the amplitude could vary as well at a slower rate. Most models in the literature assume a constant amplitude.

References

Adler, J and Öktem, O (2017) Solving ill-posed inverse problems using iterative deep neural networks. Inverse Problems 33(12), 124007.CrossRefGoogle Scholar
Adler, J and Oktem, O (June 2018) Learned primal-dual reconstruction. IEEE Transactions on Medical Imaging 37(6), 13221332.CrossRefGoogle ScholarPubMed
Aljadaany, R, Pal, DK and Savvides, M (2019) Douglas-Rachford networks: learning both the image prior and data fidelity terms for blind image deconvolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1023510244.CrossRefGoogle Scholar
Anger, J, Facciolo, G and Delbracio, M (2018) Estimating an image’s blur kernel using natural image statistics, and deblurring it: An analysis of the Goldstein-Fattal method. Image Processing On Line 8, 282304. https://doi.org/10.5201/ipol.2018.211.CrossRefGoogle Scholar
Anger, J, Facciolo, G and Delbracio, M (2019) Blind image deblurring using the l0 gradient prior. Image Processing On Line 9, 124142. https://doi.org/10.5201/ipol.2019.243.CrossRefGoogle Scholar
Antun, V, Renna, F, Poon, C, Adcock, B and Hansen, AC (2020) On instabilities of deep learning in image reconstruction and the potential costs of AI. Proceedings of the National Academy of Sciences 117(48), 3008830095.CrossRefGoogle ScholarPubMed
Aristov, A, Lelandais, B, Rensen, E and Zimmer, C (2018) ZOLA-3D allows flexible 3D localization microscopy over an adjustable axial range. Nature Communications 9(1), 18.CrossRefGoogle ScholarPubMed
Arridge, S, Maass, P, Öktem, O and Schönlieb, C-B (2019) Solving inverse problems using data-driven models. Acta Numerica 28, 1174.CrossRefGoogle Scholar
Bar, L, Sochen, N and Kiryati, N (2006) Semi-blind image restoration via Mumford-Shah regularization. IEEE Transactions on Image Processing 15(2), 483493.CrossRefGoogle ScholarPubMed
Bigot, J, Escande, P and Weiss, P (2019) Estimation of linear operators from scattered impulse responses. Applied and Computational Harmonic Analysis 47(3), 730758.CrossRefGoogle Scholar
Bolte, J, Sabach, S and Teboulle, M (2014) Proximal alternating linearized minimization for nonconvex and nonsmooth problems. Mathematical Programming 146(1), 459494.CrossRefGoogle Scholar
Bouissou, A, Proag, A, Bourg, N, Pingris, K, Cabriel, C, Balor, S, Mangeat, T, Thibault, C, Vieu, C, Dupuis, G, Fort, E, Lévêque-Fort, S, Maridonneau-Parini, I and Poincloux, R (2017) Podosome force generation machinery: a local balance between protrusion at the core and traction at the ring. ACS Nano 11(4), 40284040.CrossRefGoogle ScholarPubMed
Bredies, K and Pikkarainen, HK (2013) Inverse problems in spaces of measures. ESAIM: Control, Optimisation and Calculus of Variations 19(1), 190218.Google Scholar
Chakrabarti, A (2016). A neural approach to blind motion deblurring. In European Conference on Computer Vision. Springer, pp. 221235.Google Scholar
Chakrabarti, A, Zickler, T and Freeman, WT (2010) Analyzing spatially-varying blur. In 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. IEEE, pp. 25122519.CrossRefGoogle Scholar
Chambolle, A and Pock, T (2016) An introduction to continuous optimization for imaging. Acta Numerica 25, 161319.CrossRefGoogle Scholar
Chan, TF and Wong, C-K (1998) Total variation blind deconvolution. IEEE Transactions on Image Processing 7(3), 370375.CrossRefGoogle ScholarPubMed
Chaudhuri, S, Velmurugan, R and Rameshan, R (2016) Blind Image Deconvolution. Springer.Google Scholar
Chen, L, Chu, X, Zhang, X and Sun, J (2022) Simple baselines for image restoration. In European Conference on Computer Vision. Springer, pp. 1733.Google Scholar
Cho, S-J, Ji, S-W, Hong, J-P, Jung, S-W and Ko, S-J (2021) Rethinking coarse-to-fine approach in single image deblurring. In Proceedings of the IEEE/CVF International Conference on Computer Vision,pp. 46414650.CrossRefGoogle Scholar
Combettes, PL and Pesquet, J-C (2011) Proximal splitting methods in signal processing. In Fixed-Point Algorithms for Inverse Problems in Science and Engineering. New York: Springer, pp. 185212.CrossRefGoogle Scholar
Wikimedia Commons (2020) File:Histopathology of angiolipoma.jpg — Wikimedia Commons, the free media repository (accessed 9 May 2022). https://commons.wikimedia.org/wiki/File:Histopathology_of_angiolipoma.jpgGoogle Scholar
Wikimedia Commons (2020) File:Histopathology of reactive gastropathy.jpg — Wikimedia Commons, the free media repository (accessed 9 May 2022). https://commons.wikimedia.org/wiki/File:Histopathology_of_reactive_gastropathy.jpg.Google Scholar
Wikimedia Commons (2020) File:STD Depth Coded Stack Phallodin Stained Actin Filaments.png — Wikimedia Commons, the free media repository (accessed 9 May 2022). https://commons.wikimedia.org/wiki/File:STD_Depth_Coded_Stack_Phallodin_Stained_Actin_Filaments.png.Google Scholar
Couzinie-Devy, F, Sun, J, Alahari, K and Ponce, J (2013) Learning to estimate and remove non-uniform image blur. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 10751082.CrossRefGoogle Scholar
Cumming, BP and Gu, M (2020) Direct determination of aberration functions in microscopy by an artificial neural network. Optics Express 28(10), 1451114521.CrossRefGoogle ScholarPubMed
Dai, S and Wu, Y (2008) Motion from blur. In 2008 IEEE Conference on Computer Vision and Pattern Recognition. IEEE, pp. 18.Google Scholar
Debarnot, V, Escande, P, Mangeat, T and Weiss, P (2021) Learning low-dimensional models of microscopes. IEEE Transactions on Computational Imaging 7, 178190.CrossRefGoogle Scholar
Debarnot, V, Escande, P and Weiss, P (2019) A scalable estimator of sets of integral operators. Inverse Problems 35, 105011.CrossRefGoogle Scholar
Debarnot, V and Weiss, P (2021) Deepblur: Blind identification of space variant PSF. In 2021 IEEE 18th International Symposium on Biomedical Imaging (ISBI). IEEE, pp. 15441547.CrossRefGoogle Scholar
Debarnot, V and Weiss, P (2022) Blind inverse problems with isolated spikes. Information and Inference: A Journal of the IMA 12(1), 2671.CrossRefGoogle Scholar
Denis, L, Thiébaut, E, Soulez, F, Becker, J-M and Mourya, R (2015) Fast approximations of shift-variant blur. International Journal of Computer Vision 115(3), 253278.CrossRefGoogle Scholar
Escande, P and Weiss, P (2017) Approximation of integral operators using product-convolution expansions. Journal of Mathematical Imaging and Vision 58(3), 333348.CrossRefGoogle Scholar
Fergus, R, Singh, B, Hertzmann, A, Roweis, ST and Freeman, WT (2006) Removing camera shake from a single photograph. In ACM SIGGRAPH 2006 Papers on - SIGGRAPH ‘06. ACM Press, 787794.Google Scholar
Foi, A, Trimeche, M, Katkovnik, V and Egiazarian, K (2008) Practical Poissonian-Gaussian noise modeling and fitting for single-image raw-data. IEEE Transactions on Image Processing 17(10), 17371754.CrossRefGoogle ScholarPubMed
Genzel, M, Macdonald, J and Marz, M (2022). Solving inverse problems with deep neural networks-robustness included. In IEEE Transactions on Pattern Analysis and Machine Intelligence 45(1), 11191134.CrossRefGoogle Scholar
Gibson, SF and Lanni, F (1989) Diffraction by a circular aperture as a model for three-dimensional optical microscopy. Journal of the Optical Society of America A 6(9), 13571367.CrossRefGoogle Scholar
Goldstein, A and Fattal, R (2012) Blur-kernel estimation from spectral irregularities. In European Conference on Computer Vision. Springer, pp. 622635.Google Scholar
Gong, D, Yang, J, Liu, L, Zhang, Y, Reid, I, Shen, C, Hengel, AVD and Shi, Q (2017) From motion blur to motion flow: a deep learning solution for removing heterogeneous motion blur. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 23192328.CrossRefGoogle Scholar
Goodman, JW (2005) Introduction to Fourier Optics. Roberts and Company Publishers.Google Scholar
Gossard, A and Weiss, P (2024) Training adaptive reconstruction networks for blind inverse problems. SIAM Imaging Science 17, 13141346.CrossRefGoogle Scholar
Graikos, A, Malkin, N, Jojic, N and Samaras, D (2022) Diffusion models as plug-and-play priors. Advances in Neural Information Processing Systems 35, 1471514728.Google Scholar
Hagen, GM, Bendesky, J, Machado, R, Nguyen, T-A, Kumar, T and Ventura, J (2021) Fluorescence microscopy datasets for training deep neural networks. GigaScience 10(5), giab032.CrossRefGoogle ScholarPubMed
Hanser, BM, Gustafsson, MGL, Agard, DA and Sedat, JW (2004) Phase-retrieved pupil functions in wide-field fluorescence microscopy. Journal of Microscopy 216(1), 3248.CrossRefGoogle ScholarPubMed
He, K, Zhang, X, Ren, S and Sun, J (2016) Deep residual learning for image recognition. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pp. 770778.CrossRefGoogle Scholar
Hurault, S, Leclaire, A and Papadakis, N (2022) Gradient step denoiser for convergent plug-and-play. In International Conference on Learning Representations (ICLR’22), International Conference on Learning Representations, Online, United States.Google Scholar
Keuper, M, Schmidt, T, Temerinac-Ott, M, Padeken, J, Heun, P, Ronneberger, O and Brox, T (2013) Blind deconvolution of widefield fluorescence microscopic data by regularization of the optical transfer function (OTF). In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 21792186.CrossRefGoogle Scholar
Kingma, D and Ba, J (2015) Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), San Diega, CA.Google Scholar
Krahmer, F, Lin, Y, McAdoo, B, Ott, K, Wang, J, Widemann, D and Wohlberg, B (2006) Blind image deconvolution: Motion blur estimation. Master research report.Google Scholar
Levin, A, Weiss, Y, Durand, F and Freeman, WT (2009) Understanding and evaluating blind deconvolution algorithms. In 2009 IEEE Conference on Computer Vision and Pattern Recognition. IEEE, pp. 19641971.CrossRefGoogle Scholar
Li, Y, Tofighi, M, Geng, J, Monga, V and Eldar, YC (2020) Efficient and interpretable deep blind image deblurring via algorithm unrolling. IEEE Transactions on Computational Imaging 6, 666681.CrossRefGoogle Scholar
Li, Y, Tofighi, M, Monga, V and Eldar, YC (2019) An algorithm unrolling approach to deep image deblurring. In ICASSP 2019–2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, pp. 76757679.CrossRefGoogle Scholar
Lin, T-Y, Maire, M, Belongie, S, Hays, J, Perona, P, Ramanan, D, Dollár, P and Zitnick, CL (2014) Microsoft COCO: Common objects in context. In European Conference on Computer Vision. Springer, pp. 740755.Google Scholar
Lorenzo, C, Frongia, C, Jorand, R, Fehrenbach, J, Weiss, P, Maandhui, A, Gay, G, Ducommun, B and Lobjois, V (2011) Live cell division dynamics monitoring in 3D large spheroid tumor models using light sheet microscopy. Cell Division 6(1), 18.CrossRefGoogle ScholarPubMed
Lucas, A, Iliadis, M, Molina, R and Katsaggelos, AK (2018) Using deep neural networks for inverse problems in imaging: beyond analytical methods. IEEE Signal Processing Magazine 35(1), 2036.CrossRefGoogle Scholar
McCann, MT, Jin, KH and Unser, M (2017) Convolutional neural networks for inverse problems in imaging: A review. IEEE Signal Processing Magazine 34(6), 8595.CrossRefGoogle Scholar
Mehri, A, Ardakani, PB and Sappa, AD (2021) MPRNet: Multi-path residual network for lightweight image super resolution. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pp. 27042713.CrossRefGoogle Scholar
Möckl, L, Petrov, PN and Moerner, WE (2019) Accurate phase retrieval of complex 3D point spread functions with deep residual neural networks. Applied Physics Letters 115(25), 251106.CrossRefGoogle ScholarPubMed
Monga, V, Li, Y and Eldar, YC (2021) Algorithm unrolling: Interpretable efficient deep, learning for signal and image processing. IEEE Signal Processing Magazine 38(2), 1844.CrossRefGoogle Scholar
Mourya, R, Denis, L, Becker, J-M and Thiébaut, E (2015) A blind deblurring and image decomposition approach for astronomical image restoration. In 2015 23rd European Signal Processing Conference (EUSIPCO). IEEE, pp. 16361640.CrossRefGoogle Scholar
Nah, S, Kim, TH and Lee, KM (2017) Deep multi-scale convolutional neural network for dynamic scene deblurring. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 38833891.CrossRefGoogle Scholar
Nehme, E, Freedman, D, Gordon, R, Ferdman, B, Weiss, LE, Alalouf, O, Naor, T, Orange, R, Michaeli, T and Shechtman, Y (2020) DeepSTORM3D: Dense 3D localization microscopy and PSF design by deep learning. Nature Methods 17(7):734740.CrossRefGoogle ScholarPubMed
Noll, RJ (1976) Zernike polynomials and atmospheric turbulence. Journal of the Optical Society of America 66(3), 207211.CrossRefGoogle Scholar
Noroozi, M, Chandramouli, P and Favaro, P (2017) Motion deblurring in the wild. In German Conference on Pattern Recognition. Springer, pp. 6577.CrossRefGoogle Scholar
Ongie, G, Jalal, A, Metzler, CA, Baraniuk, RG, Dimakis, AG and Willett, R (2020) Deep learning techniques for inverse problems in imaging. IEEE Journal on Selected Areas in Information Theory 1(1), 3956.CrossRefGoogle Scholar
Pan, J, Hu, Z, Su, Z and Yang, M-H (2014) Deblurring text images via l0-regularized intensity and gradient prior. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 29012908.CrossRefGoogle Scholar
Pan, J, Sun, D, Pfister, H and Yang, M-H (2016) Blind image deblurring using dark channel prior. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 16281636.CrossRefGoogle Scholar
Pankajakshan, P, Zhang, B, Blanc-Féraud, L, Kam, Z, Olivo-Marin, J-C and Zerubia, J (2009) Blind deconvolution for thin-layered confocal imaging. Applied Optics 48(22), 44374448.CrossRefGoogle ScholarPubMed
Perrone, D and Favaro, P (2014) Total variation blind deconvolution: the devil is in the details. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 29092916.CrossRefGoogle Scholar
Peyrin, F, Toma, A, Sixou, B, Denis, L, Burghardt, A and Pialat, J-B (2015) Semi-blind joint super-resolution/segmentation of 3D trabecular bone images by a tv box approach. In 2015 23rd European Signal Processing Conference (EUSIPCO). IEEE, pp. 28112815.CrossRefGoogle Scholar
Pham, T, Soubies, E, Ayoub, A, Lim, J, Psaltis, D and Unser, M (2020) Three-dimensional optical diffraction tomography with Lippmann-Schwinger model. IEEE Transactions on Computational Imaging 6, 727738.CrossRefGoogle Scholar
Sage, D, Donati, L, Soulez, F, Fortun, D, Schmit, G, Seitz, A, Guiet, R, Vonesch, C and Unser, M (2017) DeconvolutionLab2: An open-source software for deconvolution microscopy. Methods 115, 2841.CrossRefGoogle ScholarPubMed
Saha, D, Schmidt, U, Zhang, Q, Barbotin, A, Hu, Q, Ji, N, Booth, MJ, Weigert, M and Myers, EW (2020) Practical sensorless aberration estimation for 3D microscopy with deep learning. Optics Express 28(20), 2904429053.CrossRefGoogle ScholarPubMed
Sarder, P and Nehorai, A (2006) Deconvolution methods for 3D fluorescence microscopy images. IEEE signal processing magazine 23(3), 3245.CrossRefGoogle Scholar
Schuler, CJ, Hirsch, M, Harmeling, S and Schölkopf, B (2015) Learning to deblur. IEEE Transactions on Pattern Analysis and Machine Intelligence 38(7), 14391451.CrossRefGoogle ScholarPubMed
Shajkofci, A and Liebling, M (2020) DeepFocus: a few-shot microscope slide auto-focus using a sample invariant CNN-based sharpness function. In 2020 IEEE 17th International Symposium on Biomedical Imaging (ISBI). IEEE, pp. 164168.CrossRefGoogle Scholar
Shajkofci, A and Liebling, M (2020) Spatially-variant CNN-based point spread function estimation for blind deconvolution and Depth estimation in optical microscopy. IEEE Transactions on Image Processing 29, 58485861.CrossRefGoogle Scholar
Soulez, F, Denis, L, Tourneur, Y and Thiébaut, E (2012) Blind deconvolution of 3D data in wide field fluorescence microscopy. In 2012 9th IEEE International Symposium on Biomedical Imaging (ISBI). IEEE, pp. 17351738.CrossRefGoogle Scholar
Soulez, F and Unser, M (2016) Superresolution with optically-motivated blind deconvolution. In Laser Applications to Chemical Security and, Environmental Analysis. Optical Society of America, 180, 2520.Google Scholar
Stockham, TG, Cannon, TM and Ingebretsen, RB (1975) Blind deconvolution through digital signal processing. Proceedings of the IEEE 63(4), 678692.CrossRefGoogle Scholar
Sun, J, Cao, W, Xu, Z and Ponce, J (2015) Learning a convolutional neural network for non-uniform motion blur removal. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 769777.CrossRefGoogle Scholar
Sun, L, Cho, S, Wang, J and Hays, J (2013) Edge-based blur kernel estimation using patch priors. In IEEE International Conference on Computational Photography (ICCP). IEEE, pp. 18.Google Scholar
Venkatakrishnan, SV, Bouman, CA and Wohlberg, B (2013) Plug-and-play priors for model based reconstruction. In 2013 IEEE Global Conference on Signal and Information Processing. IEEE, pp. 945948CrossRefGoogle Scholar
von Diezmann, A, Lee, MY, Lew, MD and Moerner, WE (2015) Correcting field-dependent aberrations with nanoscale accuracy in three-dimensional single-molecule localization microscopy. Optica 2(11), 985993.CrossRefGoogle ScholarPubMed
Wang, Y, Wang, H, Li, Y, Hu, C, Yang, H and Gu, M (2022) High-accuracy, direct aberration determination using self-attention-armed deep convolutional neural networks. Journal of Microscopy 286(1), 1321.CrossRefGoogle ScholarPubMed
Zachevsky, I and Zeevi, YY (2018) Blind deblurring of natural stochastic textures using an anisotropic fractal model and phase retrieval algorithm. IEEE Transactions on Image Processing 28(2), 937951.CrossRefGoogle Scholar
Zhang, KZ, Li, Y, Zuo, W, Zhang, L, Van Gool, L and Timofte, R (2022) Plug-and-play image restoration with deep denoiser prior. IEEE Transactions on Pattern Analysis and Machine Intelligence 44(10), 63606376.CrossRefGoogle ScholarPubMed
Zhang, M, Fang, Y, Ni, G and Zeng, T (2022) Pixel screening based intermediate correction for blind deblurring. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 58925900.CrossRefGoogle Scholar
Zhang, R, Isola, P, Efros, AA, Shechtman, E and Wang, O (2018) The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 586595.CrossRefGoogle Scholar
Figure 0

Figure 1. The deep-blur architecture. The first part of the network identifies the parameter $ \hat{\boldsymbol{\unicode{x03B3}}} $. In this article, we use a ResNet architecture. The estimated parameter $ \hat{\boldsymbol{\unicode{x03B3}}} $ is given as an input of a second deblurring network. This one is an unrolled Douglas–Rachford algorithm. The yellow blocks are convolution layers with ReLU and batch normalization. The red ones are average pooling layers. The green ones are regularized inverse layers of the form $ {\mathbf{x}}_{t+1}={\left({\mathbf{A}}^{\ast}\left(\hat{\boldsymbol{\unicode{x03B3}}}\right)\mathbf{A}\left(\hat{\boldsymbol{\unicode{x03B3}}}\right)+\lambda \mathbf{I}\right)}^{-1}\mathbf{A}\left(\hat{\boldsymbol{\unicode{x03B3}}}\right)\mathbf{y} $. The violet blocks are U-Net-like neural networks with weights learned to provide a sharp image $ \hat{\mathbf{x}} $.

Figure 1

Figure 2. Examples of eigen-PSF and eigen-space variation bases for a wide-field microscope.(28)

Figure 2

Figure 3. Examples of results for the identification network with convolution kernels defined through Fresnel approximation. Top: the original and blurred and noisy $ 400\times 400 $ images. Bottom: the true $ 31\times 31 $ kernel used to generate the blurry image and the corresponding estimation by the neural network. Notice that there is a large amount of white Gaussian noise added to the blurred image. The image boundaries have been discarded from the estimation process to prevent the neural network from using information that would not be present in real images.

Figure 3

Figure 4. On the left: a $ 100\times 100 $ table representing the SNR of the PSF. In this table, we evaluated the identification network for 100 images (left to right) and 100 kernels (top to bottom) with no noise. As can be seen, there are horizontal and vertical stripes. This means that some images and some kernels make the identification problem easier or harder. In the middle: an image making the identification problem hard (column 23). On the right: a kernel making the identification harder (row 65).

Figure 4

Figure 5. Stability of the kernel estimation with respect to noise level (left) and amplitude of the Zernike coefficients in the noiseless regime (right).

Figure 5

Figure 6. Deep-blur in action in the noiseless setting. Quantitative evaluations are reported in Table 1. When available, the estimated blur kernel is displayed at the bottom right. First row: original images. Second row: blurry-noisy images. Third row: deep-blur. Fourth row:(5)Fifth row:(4)Sixth row:(19).

Figure 6

Table 1. Reconstruction results for different noise levels and different methods

Figure 7

Figure 7. Deep-blur in action with a medium noise level ($ \alpha =0.025 $, $ \beta =0.05 $). Quantitative evaluations are reported in Table 1. When available, the estimated blur kernel is displayed at the bottom right. First row: original images. Second row: blurry-noisy images. Third row: deep-blur. Fourth row: (5) Fifth row: (4) Sixth row: (19).

Figure 8

Figure 8. Deep-blur in action in a high-noise regime ($ \alpha =0.12 $, $ \beta =0.24 $). Quantitative evaluations are reported in Table 1. When available, the estimated blur kernel is displayed at the bottom right. First row: original images. Second row: blurry-noisy images. Third row: deep-blur. Fourth row: (5) Fifth row: (4) Sixth row: (19).

Figure 9

Figure 9. Blind deblurring examples on real images taken from(43), see the samples for more details. In this experiment, only the noise level was set manually, the rest of the process is fully automatized. For this experiment, no ground truth is available and the results have to be assessed by visual inspection.

Figure 10

Figure 10. Deep-blur applied to spatially varying blur operators on microscopy images (not seen during training). The blur operators are sampled from a family estimated using a real wide-field microscope. First row: the original images. Second row: blurry-noisy images. Third row: the blind deblurring result with deep-blur. The SSIM of the resulting deblurred image is displayed below. Fourth row: The true blur operator. We display 4 evenly spaced impulse responses in the field of view. Fifth row: The estimated blur operator. The SNR of the estimated kernel is displayed in the caption in dB.