😊 This is the official implementation of latent wavefront model of Fourier ptychographic microscopy, a novel reconstruction routine for Fourier ptychographic microscopy (FPM) using variational Bayesian estimation.
✨ We propose a latent-wavefront physical model for solving Fourier ptychography by introducing a new latent wavefront at the front surface of the image sensor. The inverse problem of FPM is formulated under the framework of variational expectation maximization (VEM).
The VEM-FPM alternates between solving a non-convex optimization problem to estimate the latent wavefront in the spatial domain and solving a convex problem to update the sample wavefront and pupil function in the Fourier domain.
📣The VEM-FPM enables a stitching-free, full-field reconstruction for Fourier ptychography over a 5.3 mm × 5.3 mm field of view, using a
- 2025/04/23: ✨ Our paper has been accepted by Photonics Research!
- 2025/02/23: 🔥 We released our MATLAB codes!
MATLAB codes for VEM-FPM are available in the folder "VEM_FPM".
Simply run "VEM_FPM_main.m" to begin reconstruction. Data is available at [Google Drive]
The codes were tested on a desktop, running Windows 11 Pro OS, with a CPU of Intel Core i9-12900K, 3.2Hz; a GPU of NVIDIA GeForce RTX 3090.
The following image shows the working pipeline for VEM-FPM. (a) Optical layout of a Fourier ptychographic microscopy system. (b) Sketch for variation EM algorithm. The VEM alternatively finds the estimation of expectation denoted by the green parabola (
FPM reconstruction using VEM-FPM. (a) full-field reconstruction results and the first 9 images for the red channel. (b) quantitative intensity profile along the white lines in (c) and (d). (c, d) Zoom-in image for the yellow boxes in (a). Scale bar: 500 um for (a); 100 um for (c) and (d). A full-resolution image is available on [Gigapan].
The performance of VEM-FPM is compared to state-of-the-art FPM reconstruction methods. Benchmarking can be found at [FPM benchmark], using simulation data and published data.