LWGNet - Learned Wirtinger Gradients for Fourier Ptychographic Phase Retrieval

Atreyee Saha, Salman Siddique Khan, Sagar Sehrawat, Sanjana S. Prabhu, Shanti Bhattacharya, Kaushik MitraECCV 2022

Abstract

Fourier Ptychographic Microscopy (FPM) is a powerful computational imaging technique that overcomes the physical resolution limits of optical systems. However, its reliance on expensive high-dynamic-range sensors for capturing weak darkfield signals limits its accessibility. We introduce LWGNet (Learned Wirtinger Gradients Network), a physics-inspired deep learning architecture that unrolls the Wirtinger Flow optimization algorithm. By learning non-linear mappings in the gradient domain using complex-valued operations, LWGNet enables high-resolution phase retrieval from low-cost 8-bit sensors. Our approach significantly outperforms traditional iterative methods and data-driven GANs while maintaining a compact parameter footprint.

Introduction

Fourier Ptychographic Microscopy (FPM) produces high-resolution, wide-field-of-view images by stitching multiple low-resolution measurements captured under varying illumination angles in the frequency domain. A significant challenge for point-of-care FPM is the dynamic range requirement. Darkfield images—captured at high illumination angles—are extremely dim and noisy. Standard low-cost 8-bit CMOS sensors often fail to capture these details effectively, necessitating expensive scientific-grade sCMOS cameras.

Overview of the FPM process and a comparison of reconstructions from 16-bit and 8-bit measurements.

Traditional iterative algorithms like Wirtinger Flow are sensitive to noise and slow to converge, while purely data-driven models like GANs often lack physical consistency, leading to artifacts or loss of fine detail. LWGNet bridges this gap by integrating the FPM forward model directly into a neural network architecture.

Methods: Learned Wirtinger Gradients

The core of LWGNet is the "unrolling" of the Wirtinger Flow (WF) optimization algorithm into a multi-stage neural network. Instead of a black-box approach, LWGNet processes the stochastic gradients of the object field.

The LWGNet architecture consists of unrolled stages that refine the object initialization through learned gradient-domain updates.

Key Architectural Features

  • Gradient-Domain Learning: The network learns a mapping $\Psi$ from the gradients of the physics-based loss function. This allows the model to specifically correct errors introduced by noise and quantization in the physics-based update step.
  • Complex-Valued Operations: To respect the physics of wave propagation, LWGNet utilizes complex-valued convolutions, activations (CTanh), and normalization. This approach provides a substantial performance boost (approx. 5dB PSNR) over standard real-valued "two-channel" representations.
  • Unrolled Stages: The architecture typically consists of 3 to 5 stages. Each stage computes a gradient based on the FPM forward model and uses a learned block to refine the update to the complex object field.

Experimental Setup and Datasets

The researchers evaluated LWGNet using both simulated and real-world data:

  1. Simulated Data: Based on the Iowa histology dataset, used to model FPM measurements under various noise and bit-depth conditions.
  2. Real-World Data: Captured using a custom FPM setup (Nikon Eclipse TE300) with both a high-end 16-bit sCMOS sensor and a low-cost 8-bit FLIR CMOS sensor. This dataset specifically targets the study of sensor quantization effects.

Results and Discussion

LWGNet demonstrates superior performance, particularly in low-bit-depth scenarios. On 8-bit simulated data, it achieved a PSNR of 26.035 dB, outperforming traditional Wirtinger Flow (21.621 dB) and F-cGAN (25.715 dB).

In real-world tests on lung carcinoma and osteosarcoma samples, LWGNet reconstructions from 8-bit data were perceptually indistinguishable from 16-bit ground truth. Furthermore, LWGNet is highly efficient, utilizing only 0.39 million parameters—a fraction of the 7.88 million parameters required by GAN-based alternatives. While the inclusion of FFT/IFFT operations for gradient calculation makes inference slower than pure CNNs (341ms vs 29ms), the gain in physical fidelity and robustness to noise is significant.

Conclusion

LWGNet represents a significant step toward making high-end computational microscopy accessible on low-cost hardware. By combining the interpretability of physics-based optimization with the learning capacity of deep networks, it enables high-quality phase retrieval from noisy, low-dynamic-range sensors. Future work will explore the generalization of this gradient-learning approach to other phase retrieval modalities such as ptychography and holography.

Summary updated

BibTeX
@inproceedings{saha2022lwgnet,
  author = {Atreyee Saha and Salman Siddique Khan and Sagar Sehrawat and Sanjana S. Prabhu and Shanti Bhattacharya and Kaushik Mitra},
  title = {{LWGNet - Learned Wirtinger Gradients for Fourier Ptychographic Phase Retrieval}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20071-7\_31},
}
Figure