Published May 22, 2026 | Version v1

Code and data for: Dynamic Coherent Diffractive Imaging Using Only a Support Constraint in the Complex Plane

  • 1. ROR icon Massachusetts Institute of Technology
  • 2. ROR icon Fujikura (Japan)
  • 3. EDMO icon Stony Brook University
  • 4. ROR icon Northwestern University

Description

This repository contains the MATLAB implementation and data accompanying the paper:

Y. Tian, T. Tsuchiya, Y.-C. K. Chen-Wiegart, H. D. Espinosa, Y. Kunai, and G. Barbastathis, "Dynamic Coherent Diffractive Imaging Using Only a Support Constraint in the Complex Plane," 2026. DOI: [to be added upon publication]

Overview

We reconstruct the time-varying phase of a transparent dynamic sample from a movie of near-field diffraction intensities, using only a bounded circular-sector support constraint on the inter-frame field update factor in the complex plane. No spatial regularizer, motion model, or training data is required.

The included demo reproduces the results from a reaction–diffusion SLM experiment (Fig. 4 of the paper), in which a Gray–Scott reaction–diffusion phase pattern with spatially expanding extent is reconstructed from its diffraction movie.

Requirements

- MATLAB R2021a or later

Quick start

Download the folder, and then in the folder "code", run: A_EXP_reactionCameraman_sequential.m

This script loads the diffraction movie from `data/`, runs Stage 1 (probe reconstruction) followed by Stage 2 (forward and backward inter-frame passes), and saves the reconstructed phase trajectory and figures to `figures/EXP-reactionCameraman-sequential/`.

Repository structure

```
dynamic-CDI/
├── code/
│   ├── A_EXP_reactionCameraman_sequential.m   — main script (reproduces Fig. 4)
│   └── auxiliary_functions/                   — projection operators and utilities
├── data/
│   └── experiment-reactionCameraman-smallPhase.mat  — diffraction movie and ground truth
└── figures/
    └── EXP-reactionCameraman-sequential/      — output directory (generated by script)
```

Data format

The `.mat` file contains the following variables:

| Variable | Description |
|---|---|
| `I_xyt` | Measured diffraction intensity movie, size N × N × J |

License

MIT License. See `LICENSE` for details.

Files

code and data.zip

Files (253.5 MB)

Name Size
md5:c74a6af8259176423eb92fc8dd3ae88b
253.5 MB Preview Download