Blind spatially varying PSF estimation for fluorescence microscopy
Authors: Minh Hai Nguyen, Florian Sarron, Paul Escande, Sylvain Cantaloube, Thomas Mangeat, Pierre Weiss
Organizations: Université de Toulouse, CNRS, IRIT (Institut de Recherche en informatique de Toulouse), Toulouse, France · Université de Toulouse, CNRS, CBI (Centre de Biologie Intégrative), Toulouse, France · Université de Toulouse, CNRS, IMT (Institut de Mathématiques de Toulouse), Toulouse, France
Optical aberrations degrade fluorescence microscopy images and measuring the underlying point spread function (PSF) often requires dedicated acquisitions or isolated emitters. Here we introduce DeepBlur, a neural network that estimates spatially varying two-dimensional PSFs directly from single images of biological structures. Trained entirely on physical simulations spanning aberrations, illumination and noise, it adapts to diverse imaging conditions without requiring user-supplied optical parameters. Using a deformable mirror, we acquire 1,290 images and assess blind PSF estimates against independent references. DeepBlur estimates agree closely with these references and improve deconvolution of experimentally aberrated images. Local PSF estimation also enables correction of spatially varying defocus and improves random-illumination super-resolution reconstruction in biological tissue. Available through DeepInv, a napari plugin and a web demonstration, DeepBlur can be readily integrated into computational microscopy workflows.
Figures & tables
Figure 1: Method overview. ( a ) DeepBlur estimates a space-varying 2D PSF by processing overlapping image tiles and predicting the PSF at each tile center. The estimated PSF map can be used for downstream tasks such as deconvolution with the fine-tuned Reconstruct Anything Model (RAM). ( b ) DeepBlur is trained on simulated pairs of sharp and aberrated images with known PSFs, generated from a physics-based model of the microscope objective using scalar diffraction theory and Zernike aberration parameterization. ( c ) Synthetic PSF estimates (insets) and deconvolution performance across Poisson noise levels ( γ , top) and maximum Zernike indices ( zmax , bottom). Violin plots show the PSNR gain after deconvolution ( ΔPSNR ) and the ℓ1 distance between estimated and ground-truth PSFs. PSNR gains are relative to the blurred input; numbers above the violins are medians over 1024 images.
Figure 2: DeepBlur experimental validation with a deformable mirror. ( a ) We recorded each field of view with a flat mirror and under multiple mirror-induced aberrations, yielding 1 290 (flat-mirror, aberrated) image pairs for experimental validation. ( b ) From each pair, a reference PSF is estimated via a dedicated algorithm, and used both to evaluate DeepBlur and to produce an image deconvolved in ideal conditions. ( c ) Examples of paired non-aberrated (top) and aberrated (bottom) acquisitions.
Figure 3: Qualitative and quantitative comparisons on the deformable mirror dataset. ( a ) Qualitative comparison with competing methods: the aberrated image (top), the reference PSF and PSFs produced by each method [ 4 , 7 , 3 , 30 , 34 ] (bottom). JMKPD [ 4 ] is shown with both its original pretrained weights and weights retrained using our procedure; retraining improves agreement with the reference PSF. Db0 [ 7 ] , L0 [ 30 ] and SelfDeblur [ 34 ] produce unreliable estimates. ( b ) Across PSF-estimation and deblurring metrics, DeepBlur outperforms competing blind methods; the same fine-tuned RAM model is used for all methods, so only the estimated PSF differs. ( c ) Qualitative comparisons between the fine-tuned RAM deblurring method with PSF estimates produced by competing methods.
Figure 4: Spatially varying PSF estimation and restoration in a tilted biological specimen. Texas Red-X phalloidin-labelled BPAECs on a tilted prepared slide were imaged with an NA 1.49 objective. ( a ) Raising (left) or lowering (right) the axial focal position shifts the in-focus region across the tilted specimen. ( b ) Width of the DeepBlur PSFs (EE50: diameter enclosing 50% of the PSF energy) versus the defocus Δz of each patch, measured independently from a nine-plane z -stack (Methods). Grey dots, all 1,089 patches; coloured dots, the patches shown in ( c ); black, average width ( ± s.d.). Dashed line and shaded band, theoretical width of an ideal PSF at each defocus. Dotted lines, defocus range of the training set ( ±287 nm). ( c ) Positive (upper block) and negative (lower block) focal offsets Δz relative to the reference plane. In each block, the overview combines the widefield acquisition (below the diagonal) and the reconstruction obtained with DeepBlur PSFs and RAM (above the diagonal). Coloured boxes identify the enlarged regions shown to the right. Rows show the widefield image, the local in-focus reference from a z -stack, the DeepBlur + RAM reconstruction and the estimated local PSF. In-focus views provide structural references for the reconstructions.
Figure 5: Improved separation of desmoplakin structures in RIM reconstructions using DeepBlur-estimated PSFs. Desmoplakin-immunolabelled mouse intestinal epithelium imaged using 2D-RIM with a pupil-plane phase mask. ( a ) Overview comparing reconstructions of the same acquisitions using the theoretical collection PSF (RIM, above the diagonal) and local PSFs estimated by DeepBlur (DeepBlur + RIM, below the diagonal). Boxes mark analysed regions. ( b ) Spatial grid of estimated collection PSFs. ( c ) Schematic of desmoplakin localisation on opposing sides of a desmosomal junction. ( d ) Corresponding enlarged regions and normalized intensity profiles across the junctions, comparing RIM (blue) and DeepBlur + RIM (orange). Dashed rectangles indicate the 500 nm-wide integration bands; filled and open circles mark peaks and the intervening minimum, respectively. ( e ) Distribution of the interpeak dip measured from the integrated profiles. Lines connect measurements from the same object in the two reconstructions.
Figure 1: Architecture of DeepBlur. DeepBlur is a fully convolutional residual network designed for robust PSF estimation. The model takes as input a blurry image patch of size H×W with one to three channels and outputs one estimated PSF of size P×P per channel. It consists of a feature encoder with 5 residual blocks, a multi-scale context aggregation module, and a PSF regression head. The number of feature channels at each stage is indicated at the bottom of each block. The model comprises approximately 98 million parameters.
Figure 2: Simulated PSFs. Illustration of the parameter effects in our PSF simulations. ( a ) Varying the cutoff frequency fc , the amplitude a and the highest Zernike mode. ( b ) Three-channel PSFs with λred=650 nm, λgreen=550 nm and λblue=450 nm for Z3 – Z35 , at various cutoff frequencies and amplitudes. ( c ) Spatially varying PSFs for increasing strength s of the spatial variations (not used to train the estimator).
Figure 3: Generalization across training and evaluation Zernike ranges. Rows indicate the Zernike range used to train each model; columns indicate the range used for evaluation. Entries are medians at Poisson gain γ=215 . From left to right: L1 PSF error, Wasserstein-1 PSF error, reblurring PSNR and reblurring SSIM. The latter two metrics compare images convolved with the estimated and true PSFs, rather than deconvolved images. Training on a restricted range leads to substantially larger errors on higher-order aberrations. Broader training improves robustness across the tested ranges while retaining high reblurring fidelity on simpler aberrations.
Figure 4: Reference PSFs of the deformable-mirror dataset. Reference PSFs estimated from paired flat-mirror and aberrated acquisitions, for one field of view of each sample (rows; G and R: green and red channels) and 13 of the 32 mirror states (columns). The left column shows the flat-mirror image of each field of view, from which, together with the corresponding aberrated images, the reference PSFs are estimated. Column labels give the Zernike modes set on the mirror (2nd: secondary aberration) and their amplitudes, in the units of the mirror control software. PSFs in each column share the same commanded mirror setting. Their shapes show common features across samples together with acquisition-to-acquisition variation; repeated commands do not guarantee identical realised aberrations. The comparison motivates estimating a reference PSF separately for each acquisition. Each PSF is normalized to its maximum; the central 41×41 pixels ( 2.7μ m) are shown. Pixel size, 65 nm for both the images and the PSFs.
Figure 5: PSF-estimation errors and deconvolution gains on the deformable mirror dataset. ( Top ) L1 distance (left) and Wasserstein-1 distance W1 in pixels (middle, logarithmic scale) between the PSF estimated by each method and the reference PSF; lower is better. ( Bottom ) Change ΔM=M(x^,x)−M(y,x) in PSNR (left), SSIM (middle) and LPIPS (right), where y is the aberrated image, x^ its deconvolution by the same fine-tuned RAM model [ 41 ] driven by each method’s PSF, and x the reference sharp image (Fig. 2 b). Positive Δ PSNR and Δ SSIM and negative Δ LPIPS indicate an improvement over the aberrated input; the dashed horizontal line marks no change. Methods, in the same order in the legend and in every panel: DeepBlur, Db0 [ 7 ] , JMKPD [ 4 ] retrained with our training procedure and with its original pretrained weights, L0 [ 30 ] and SelfDeblur [ 34 ] . Statistics over the 1,290 aberrated images; the 42 acquisitions with a flat mirror are excluded. In each violin, the dashed line marks the median and the dotted lines the first and third quartiles; the number above each violin is its median.
Figure 6: DeepBlur-RAM restoration improves segmentation of synthetically degraded images. ( a ) Segmentation average precision (AP) as a function of the intersection-over-union (IoU) threshold for CellSAM, Cellpose-SAM, cyto3, cyto2 and cyto on the Cellpose test set ( n=68 images; gain =211 ). Inputs are the degraded images (grey), images restored by RAM using DeepBlur-estimated PSFs (blue), images restored with Cellpose3 [ 37 ] (orange), and the original sharp images (black dashed). ( b ) Cellpose-SAM AP at an IoU threshold of 0.5 as a function of the gain controlling the simulated noise level (higher gain, lower noise); colours as in ( a ). ( c ) Degraded images and DeepBlur-RAM restorations of the same field at gains 211 (left) and 28 (right), with the corresponding Cellpose-SAM segmentations (bottom; filled masks, predictions; black outlines, ground truth). AP at an IoU threshold of 0.5 is given below each segmentation.
Figure 7: Restoration gains and robustness of PSF estimation to noise on the BioSR dataset. ( a ) Restoration gains. For each low-resolution BioSR image [ 33 ] , PSNR, SSIM and LPIPS were evaluated against its paired super-resolved reference after downsampling the reference to the input pixel grid. The plotted gain for each metric M is ΔM=M(x^,xref)−M(y,xref) , where y is the low-resolution input, x^ is its restoration by RAM using the PSF estimated by DeepBlur, and xref is the downsampled super-resolved reference. Positive gains in PSNR and SSIM and negative gains in LPIPS indicate improvement. Results are grouped by specimen type and imaging condition: F-actin, nonlinear-SIM F-actin, microtubules, clathrin-coated pits (CCPs) and endoplasmic reticulum (ER); All pools these groups. Each violin shows the distribution of gains, its inner box the median and quartiles, and the dashed line no change. LPIPS (Learned Perceptual Image Patch Similarity), a perceptual metric developed for natural images, is shown as a complementary measure; median PSNR and SSIM improved in all groups. This comparison assesses restoration against a higher-resolution reference, not the accuracy of the estimated PSF. ( b ) Robustness of the PSF estimation to noise, for one microtubule field (Cell 004) acquired at the nine BioSR noise levels. Top, the 256×256 -pixel crop given to DeepBlur (sum of the nine raw SIM frames; the same crop at every level), with its signal-to-noise ratio (SNR) above. Bottom, the single PSF that DeepBlur estimates from that crop, shown with a gamma correction of 1/1.5 , with its full width at half maximum (FWHM, from a 2D Gaussian fit) below. Right, central horizontal profiles of the nine PSFs on a linear scale (lighter, noisier).
Figure 8: Improved RIM resolution in a Drosophila egg chamber using DeepBlur-estimated PSFs. The actin-rich muscle sheath of a fixed stage-9 Drosophila egg chamber was imaged near the coverslip and at depth. Left, depth-coloured overview and x - z view locating the two regions. Right, local PSFs, image details and intensity profiles. Near the coverslip, at 6.7μm , AlgoRIM with the theoretical PSF separates adjacent actin cables. At 102.3μm , the theoretical PSF is compared with local PSFs estimated by DeepBlur from the same acquisitions. The broader, asymmetric estimated PSFs improve cable separation, revealing an organisation resembling that near the coverslip. The near and far sides provide an internal structural comparison, not paired ground-truth images. Normalized profiles along the coloured lines compare AlgoRIM (orange) and DeepBlur + AlgoRIM (blue). Near the coverslip, two cables 0.28 μ m apart are separated by a 0.18 dip. At depth, AlgoRIM with the theoretical PSF gives a single peak or a flat top, whereas DeepBlur + AlgoRIM separates components 0.32 and 0.28 μ m apart, with dips of 0.47 and 0.22, respectively.
Figure 9: Plane-by-plane lateral restoration of a zebrafish volume acquired with spinning-disk confocal microscopy. Corresponding xy , yz and xz sections of the raw acquisition (left) and the volume after independent two-dimensional PSF estimation with DeepBlur and deconvolution with RAM in each xy plane (right). Dashed lines mark the locations of the displayed sections. Membrane structures are more distinct in the restored lateral image. Orthogonal sections show the appearance of the assembled stack; no three-dimensional PSF estimation or axial deconvolution is performed.
Bit depth
Poisson gain
Gauss. std
Zernike modes
Zernike scale
Cutoff freq.
Wavelength
Chromatic pert.
Notation
b
γ
σ
K
a
fc
λc
εk,c
Value
16
25 – 212
0.5 – 5 counts
nk=2 – 7 (33)
0.1 – 0.3
0.125 – 0.25
400–700 nm
std 0.005
Distribution
fixed
log-unif.
log-unif.
fixed
See ( 7 )
unif.
unif.
Gaussian
Table 1: Parameter distributions for the simulations at training time. The cutoff frequency fc refers to the shortest wavelength.
Image scanning microscopy (ISM) acquires one scanned image per detector element, which are then fused into a single image by multi-image deconvolution to obtain a super-resolved image. Its accuracy, however, depends on point spread function (PSF) models that sample- and system-induced aberrations often invalidate. Since differences between the scanned images encode aberration information, we propose a training-free blind Deep Image Prior (DIP) framework that jointly estimates the specimen and the detector-dependent PSFs. The PSFs are parametrised through the detector geometry and shared excitation and emission PSFs, reducing the unknowns while preserving the physical ISM model, and a Gaussian pre-initialisation stabilises the blind optimisation. On experimental tubulin data, blind DIP recovers finer filamentous structures than multi-image deconvolution and DIP with fixed theoretical PSFs, while adapting the PSFs to the measurements.
Eliot Guez, Nathan Buskulic, Lisa Cuneo +2
MaLGa Center, DIBRIS, University of Genoa, Italy · CSLM, Italian Institute of Technology, Italy · MMS, Italian Institute of Technology, Italy
Extended depth of field microscopy encodes axial information into a single acquisition through engineered point spread functions, but conventional and deep optics approaches are subject to degradation in scattering tissue. We introduce DeepFilters, a scattering-aware deep optics framework that jointly optimizes a parameterized pupil filter and a digital-filter-based reconstruction network through a calibrated differentiable forward model to achieve broad generalization without retraining. Incorporating empirical scattering kernels, physics-guided regularization, and a hybrid genetic-gradient initialization strategy, DeepFilters extends the PSF from 16 micron to >400 micron in clear media and enables signal recovery beyond 120 micron deep in biological tissues, validated across fixed brain slices and sea urchin embryos.
Joseph L. Greene, Suet YIng Chan, Qilin Deng +8
Boston University, Department of Electrical and Computer Engineering, Boston, MA, 02215 · Current Address: Georgia Tech Research Institute, Electro-Optical Systems Lab, Atlanta, GA, 30332 · Boston University, Department of Biology, Boston, MA, 02215 +3
We introduce ErA (Error-Aware Deep Unrolling Network), an end-to-end frame work for single-image defocus deblurring. ErA jointly learns a compact kerne basis and per-pixel weights, while an error-aware term in Augmented Lagrangian unrolling corrects kernel estimation errors via alternating updates and ResUNet denoisers. It achieves state-of-the-art PSNR/SSIM on DPDD, RealDOF, and RTF, and shows strong generalization on CUHK without ground truth.