Optical diffraction neural networks assisted computational ghost imaging through dynamic scattering media

Yue-Gang Li, Ze Zheng, Jun-jie Wang, Ming He, Jianping Fan, Tailong Xiao, Guihua ZengarXiv 2025 · OpenReview

Abstract

Ghost imaging (GI) leverages a single-pixel detector to acquire object signals, which are correlated with illumination patterns to reconstruct an image. While GI is naturally robust to scattering between the object and the detector, it is highly sensitive to scattering between the light source and the object. We propose an optical diffraction neural networks (ODNNs) assisted ghost imaging method to address this challenge in dynamic scattering environments. By incorporating passive, simulation-trained diffractive layers into the optical path, we demonstrate real-time correction of random distortions. Experimental validation using rotating ground glass confirms the effectiveness of this approach, which, when combined with physics-prior-based algorithms, enables high-quality imaging even under undersampled conditions.

Introduction

Computational ghost imaging (CGI) is a powerful technique for imaging in challenging environments. However, its reliance on the spatial correlation between the illumination patterns and the bucket detector signal makes it vulnerable to scattering media placed before the object. In dynamic scenarios, such as imaging through moving fog or biological tissue, the scattering medium changes rapidly, causing traditional reconstruction methods to fail. This paper introduces a hybrid optical-digital framework that uses physical ODNNs to perform real-time wavefront correction, restoring the fidelity of illumination patterns at the speed of light.

Methodology

The core of the proposed system is the integration of an ODNN into the illumination path of a standard CGI setup. The ODNN consists of two phase-only spatial light modulators (SLMs) that act as diffractive layers.

The experimental setup features a laser source, DMD for pattern generation, and two SLMs (Layer 1 and Layer 2) that form the ODNN for real-time scattering correction.

The ODNN is trained entirely in simulation. Using the MNIST dataset as a reference, the network is optimized to find phase configurations for the SLMs that can "unscramble" light distorted by random phase screens. This simulation-based training allows the ODNN to learn a generalized correction mechanism that does not require prior knowledge of the specific scattering medium encountered in the laboratory. Because the correction is performed physically as light passes through the SLMs, the system introduces zero electronic latency, making it ideal for real-time applications.

Experimental Results and Discussion

The system was experimentally validated using rotating 220-grit ground glass to simulate dynamic scattering. Without the ODNN correction, the reconstructed images were indistinguishable from noise, with a Pearson Correlation Coefficient (PCC) of approximately 0.06. Upon activating the ODNN, the PCC improved significantly to 0.85, demonstrating the network's ability to generalize from simulated training to real-world dynamic scattering. The success of this generalization is attributed to the optical shower-curtain effect, where spatial correlations are preserved over short distances behind a scattering layer.

To further enhance reconstruction quality and efficiency, the researchers employed VGenNet, an untrained generative network that incorporates a physical propagation model.

Reconstruction performance using the VGenNet algorithm shows significant PSNR improvement over iterations, enabling high-quality imaging at low sampling ratios.

This hybrid approach achieved high-quality reconstructions (PSNR ~11 dB) at a sampling ratio of only 30%. The system proved robust across various transverse coherence scales and maintained performance even when the scattering medium's decorrelation time was less than 1 ms. This performance significantly outpaces traditional differential ghost imaging (DGI) benchmarks, particularly in undersampled conditions where DGI typically fails to produce recognizable features.

Conclusion

This work presents a novel strategy for imaging through dynamic scattering media by combining the high-speed processing of physical ODNNs with robust digital reconstruction algorithms. The passive nature of the ODNN correction eliminates the need for complex feedback loops or wavefront sensors, providing a scalable, "set-and-forget" solution for real-time imaging in complex, ever-changing environments. Future work may explore the use of nonlinear optical materials to further enhance the system's corrective capabilities.

Summary updated

BibTeX
@misc{li2025optical,
  author = {Yue-Gang Li and Ze Zheng and Jun-jie Wang and Ming He and Jianping Fan and Tailong Xiao and Guihua Zeng},
  title = {{Optical diffraction neural networks assisted computational ghost imaging through dynamic scattering media}},
  year = {2025},
  eprint = {2511.22913},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.22913},
}
Figure