---
title: Coherent Diffractive Imaging Overview
url: https://www.emergentmind.com/topics/coherent-diffractive-imaging
type: topic
---

# Coherent Diffractive Imaging Overview

Coherent diffractive imaging (CDI) is a lens-less imaging modality in which a coherent beam is scattered by a sample and only the far-field intensity pattern is recorded; the missing phase information is then recovered computationally to reconstruct the sample’s complex object function in two or three dimensions [2402.05283]. In complementary formulations, CDI recovers the complex scattering function of an object from the modulus of its Fourier transform, or reconstructs the three-dimensional morphology of isolated nanoscale objects by recording their far-field diffraction and numerically solving the phase problem [1701.07685], [1610.05997]. Across synchrotron radiation, XFELs, high harmonic generation, electrons, and optical lasers, CDI has been applied to physical and biological specimens, strained crystals, isolated nanoparticles, and dynamic processes in solution [1703.07219].

## 1. Foundational formulation

In the Fraunhofer regime, the measured intensity is the squared modulus of a Fourier transform. For a three-dimensional object density $\rho(\mathbf r)$, one writes
$$
I(\mathbf q)=|E(\mathbf q)|^2=|\mathcal F\{\rho(\mathbf r)\}(\mathbf q)|^2,
$$
while for a transmission object illuminated by a probe $P(\mathbf r)$ the exit wave is $\psi(\mathbf r)=P(\mathbf r)\,O(\mathbf r)$ and the detector measures
$$
I(\mathbf q)=\bigl|\mathcal F\{P(\mathbf r)\,O(\mathbf r)\}\bigr|^2
$$
[2402.05283], [2204.08157]. In quantitative phase and absorption formulations, the object transmission may be written as
$$
t(x',y')=\exp\{-\mu(x',y')/2\}\exp\{i\phi(x',y')\},
$$
with $\phi$ and $\mu$ encoding refraction and attenuation, respectively; after multiplication by a known mask $w_i$, the diffracted field is $b_i=F\,\mathrm{diag}(w_i)\,t$ and the measured data are intensities $|b_i|^2$ [2203.12733].

The same formalism extends naturally to parameterized CDI. In sparsity-based CDI, an object is represented by a low-dimensional parameter vector $\boldsymbol\theta=(\theta_1,\dots,\theta_M)$, and one records intensity patterns
$$
I_{k,l}(\boldsymbol\theta)=|E_{k,l}(\boldsymbol\theta)|^2
$$
over detector pixel $k$ and measurement index $l$ [2010.03306]. This representation is useful when the objective is not a full image reconstruction but precise metrology of sample parameters.

The forward model is not always adequately described by the weakest-scattering approximation. Standard CDI treatments often invoke linear response, elastic scattering, and first Born or Rytov approximations, but wide-angle single-shot CDI of nanoscale particles requires more accurate propagation physics [2001.11315]. For wide-angle scattering, the propagation multi-slice Fourier transform method represents the scattered field as a slice-by-slice sequence of material correction in real space and vacuum propagation in $k$-space; benchmarked against exact Mie theory for a sphere of diameter $D=10\,\lambda$, it gives feature error $<5\%$ and amplitude error $\lesssim2\%$ for all $\Re(n)\in[0.7,1.1]$, $\Im(n)\in[0,0.1]$, and is recommended when the refractive index departs appreciably from unity or when $\vartheta>10^\circ$ [2507.22483]. This suggests that the fidelity of CDI reconstructions is governed as much by the adequacy of the scattering model as by the phase-retrieval algorithm.

## 2. Phase retrieval, uniqueness, and constraints

The central inverse problem in CDI is the phase problem: detectors record $I(\mathbf q)=|\Psi(\mathbf q)|^2$ and discard $\arg \Psi(\mathbf q)$, so the object cannot be obtained by a direct inverse Fourier transform [1106.1320]. Classical iterative schemes therefore alternate reciprocal-space modulus constraints with real-space constraints such as compact support, positivity, or known object extent. Error-reduction replaces the Fourier-domain amplitude by the measured magnitude and sets the real-space estimate to zero outside the support, while Hybrid Input–Output modifies the outside-support update with a feedback parameter $\beta$ [1106.1320], [1610.05997].

Oversampling is the traditional route to uniqueness. In conventional CDI, these algorithms normally require $\sigma>2$ to converge reliably to a unique solution, and Bragg CDI conventionally demands $\sigma\ge2$ in all three reciprocal-space directions [1106.1320], [1603.01668]. That requirement is not absolute, however. Holographic coherent diffraction imaging combines inline holography with CDI: the hologram supplies an approximate diffraction phase
$$
\Phi_{\mathrm{corr}}(\mathbf q)\simeq \arg \Psi(\mathbf q),
$$
which is combined with the exact diffraction magnitude $\sqrt{I(\mathbf q)}$ to initialize reconstruction. In that formulation, the condition of oversampling the diffraction patterns can be relaxed, and the phase problem can be solved in a fast and unambiguous manner [1106.1320].

Several CDI variants replace or supplement support constraints by other sources of diversity. Randomly coded masks provide known multiplicative modulations between sample and detector, enabling phase retrieval with prior information about the masks rather than typical object-domain constraints; in the reported experiment, the results indicate that with enough masks, in this case 3 or 4, the diffraction phases converge reliably, implying stability and uniqueness of the retrieved solution [1509.03229]. A sparsity-based phaseless algorithm treats the forward model as a combination of coherent and incoherent waves, uses several detectors and masks, and solves a sequence of $\ell_1$ problems with a “Noise Collector”; it guarantees exact recovery if the image is sparse for a given basis and has computational cost linear in the number of pixels of the image [2203.12733].

Global optimization has also been introduced into phase retrieval. Memetic Phase Retrieval combines deterministic ER/HIO updates with stochastic genetic operators including rigged-roulette selection and differential crossover in Fourier space [1701.07685]. In coherent electron diffraction of $\mathrm{SrTiO}_3$, after about 200 generations with $N_p=512$, $N_{\mathrm{HIO}}=50$, $N_{\mathrm{ER}}=10$, $\beta=0.9$, $C=0.8$, and $D_c=0.8$, the method recovered the projected atomic potential and the weak O-column contrast, with measured intensity ratios $I_O/I_{\mathrm{Sr}}=0.35\pm0.05$ and $I_{\mathrm{Ti+O}}/I_{\mathrm{Sr}}=0.89\pm0.10$ [1701.07685].

## 3. Acquisition geometries and experimental realizations

CDI includes multiple acquisition geometries that encode different redundancies. Single-shot CDI records one diffraction pattern from an isolated object; ptychography generalizes CDI to extended samples by raster scanning across a localized coherent beam and using overlap redundancy to reconstruct both object and probe [1805.09588]. Bragg CDI records a stack of two-dimensional diffraction patterns around a Bragg peak as the sample is rotated, thereby reconstructing morphology and strain-sensitive phase [1603.01668]. In situ CDI introduces a time-invariant overlapping region as a real-space constraint common to all frames in a time series [1703.07219].

Laboratory-scale implementations are a major branch of CDI development. Wide-angle single-shot CDI of individual superfluid helium nanodroplets has been demonstrated using high-harmonic-generation-driven extreme-ultraviolet pulses from a table-top femtosecond laser system [1610.05997]. In that setup, the maximum recorded spatial frequency was $q_{\max}\approx0.09\,\mathrm{nm}^{-1}$ for $\lambda\approx53\,\mathrm{nm}$, giving nominal resolution $\Delta r\approx2\pi/q_{\max}\approx70\,\mathrm{nm}$; among $3\times10^5$ shots, about 2300 bright patterns were recorded, of which $76\%$ were concentric rings, $20\%$ elliptical rings, and $3\%$ streak patterns [1610.05997]. Table-top XUV ptychography has also resolved features as small as $2.5\,\lambda$ $(45\,\mathrm{nm})$ and introduced a Rayleigh-type criterion as a direct and unambiguous resolution metric for high-resolution table-top setup [1805.09588].

Electron CDI has become another experimentally mature branch. Deep learning coherent electron diffractive imaging was experimentally demonstrated on twisted hexagonal boron nitride, monolayer graphene, and a Au nanoparticle, with Fourier ring correlation between CNN and ptychographic images giving $0.71\,\mathrm{\AA}$ $(0.5$ criterion$)$ and $0.53\,\mathrm{\AA}$ $(0.143)$ for twisted hBN, and $0.70\,\mathrm{\AA}$ $(0.5)$ and $0.55\,\mathrm{\AA}$ $(0.143)$ for a Au nanoparticle [2204.08157].

Crystalline-defect imaging is a distinct CDI use case. In coherent X-ray diffraction from bulk silicon, a dislocation line centered in the beam produces destructive interference at exact Bragg position, splitting the Bragg peak into two lobes and suppressing $I(q_B)$; by raster-scanning a coherent beam, a two-dimensional map of $I(q_B)$ directly traces out the dislocation loop with $\sim$beam-size $(5\,\mu\mathrm m)$ resolution [1008.5250]. This establishes CDI not only as a morphology-reconstruction method, but also as a phase-sensitive probe of embedded lattice defects.

## 4. Estimation theory, optimization, and computational acceleration

A notable development in CDI is the explicit use of estimation theory. Under Poisson shot noise, the Fisher information matrix for parametrized CDI is
$$
\mathcal J_{ij}
=\sum_{l=1}^{N_m}\sum_{k=1}^{N_p}
\frac{1}{I_{k,l}}
\frac{\partial I_{k,l}}{\partial\theta_i}
\frac{\partial I_{k,l}}{\partial\theta_j},
$$
and the covariance of any unbiased estimator obeys $\Sigma\succeq \mathcal J^{-1}$ [2010.03306]. Bouchet et al. used the worst-case standard error
$$
\mathcal C_\rho=\sqrt{\rho(\mathcal J^{-1})}
$$
as a scalar objective and optimized illumination parameters with Adam in TensorFlow v2. In their four-probe scheme, a conventional ptychography-like grid yielded $\mathcal C_\rho=127\,\mathrm{nm}$, optimized probes achieved $\mathcal C_\rho=44\,\mathrm{nm}$, and a single-shot optimized zone plate achieved $\mathcal C_\rho=34\,\mathrm{nm}$ under the same total photon budget [2010.03306]. Monte-Carlo ML estimation on $10^4$ Poisson-noisy patterns confirmed that the RMS errors saturate the CRLB [2010.03306].

Computation has also shifted from purely iterative reconstruction toward learned inversion and real-time pipelines. Deep learning CDI used a U-Net–style encoder–decoder with residual blocks and skip connections, trained only on simulated diffraction data from random phase objects, and achieved phase inference in milliseconds on a GPU plus a few gradient-descent iterations for stitching [2204.08157]. Real-time three-dimensional CDI has been pursued with the carousel phase retrieval algorithm, which reformulates 3D reconstruction as a set of coupled 2D reconstructions linked through the Fourier slice theorem; on a desktop with a 16-core AMD R9-5950X CPU and NVIDIA RTX 3080 Ti GPU, CPRA was reported to be $30$–$120\times$ faster on CPU and $100$–$300\times$ faster on GPU versus conventional Shrinkwrap, with a Staphylococcus aureus cell reconstructed at sub-$50\,\mathrm{nm}$ resolution $(47\,\mathrm{nm})$ [2402.05283].

Throughput reduction is an independent computational theme. Axial ptychographic CDI replaces the conventional 2D raster scan with a 1D axial scan, reducing the number of required diffraction patterns by approximately an order of magnitude while maintaining high-fidelity reconstruction [2511.16950]. In the reported dual-color wavefront-retrieval experiment, the measured axial chromatic shift was $\Delta z_{\rm AB}=2.2\,\mathrm{mm}$, compared with a theory value of $2.4\,\mathrm{mm}$ for a UV fused silica lens [2511.16950]. A related super-resolution variant, tilted-incidence multi-rotation-angle fusion ptychography, uses tilted incidence and multiple sample rotations to extend Fourier coverage; in simulation at $\theta=78^\circ$ and $\mathrm{NA}=0.63$, the four-view union reached $u\approx0.90$, a factor $\sim1.43$ beyond the Abbe limit [2504.04401].

## 5. Resolution, dose, and benchmarking

CDI is often characterized as offering resolution not limited by lens aberrations, but practical resolution is determined by detector extent, coherence, source bandwidth, and dose [1701.07685]. In ptychographic tabletop XUV CDI at $\lambda\simeq18\,\mathrm{nm}$, the measured half-pitch resolutions were $45\,\mathrm{nm}\simeq2.5\,\lambda$ vertically and $60\,\mathrm{nm}$ horizontally; the paper attributes the horizontal limit to astigmatism, temporal coherence, and waveguiding in the absorber [1805.09588]. In single-shot HHG CDI of helium nanodroplets, wide-angle scattering encoded enough tomographic information that bent crescent streaks were uniquely reproduced by prolate “pill” shapes tilted out of the plane, whereas oblate “wheel” shapes could not reproduce two-sided bending [1610.05997].

Benchmarking in CDI increasingly uses transfer-function criteria rather than visual inspection alone. Fourier ring correlation was used to compare CNN and ePIE reconstructions in electron CDI [2204.08157]; Phase-Retrieval Transfer Function and Fourier Shell Correlation were used to evaluate CPRA [2402.05283]; and phase retrieval transfer functions were used in random-mask CDI, where PRTF approached unity as the number of masks increased and near-perfect phase retrieval was observed by $n\ge13$ masks [1509.03229].

Dose efficiency has become a central evaluation axis. In situ CDI was introduced as a general real-time method for dynamic processes in solution, and numerical simulations further indicated that it can potentially reduce the radiation dose by more than an order of magnitude relative to conventional CDI [1703.07219]. A later analysis of computational microscopy beyond perfect lenses reported that the combination of in situ CDI and ptychography can reduce the dose by two orders of magnitude over ptychography, and that at low doses in situ CDI can achieve higher resolution than perfect lenses with the point spread function as a delta function [2306.11283]. In the HeLa-cell model used there, LoCDI achieved $\delta\approx34.5\,\mathrm{nm}$ at $3.5\times10^5\,\mathrm{ph}/\mu\mathrm m^2$, while standalone ptychography gave $\delta\approx180\,\mathrm{nm}$ at the same fluence [2306.11283]. This suggests that, under dose-limited conditions, the relevant comparison is not aberration-free optics versus lensless imaging in the abstract, but the signal-to-noise transfer of specific measurement designs.

## 6. Dynamic, polychromatic, and nonlinear extensions

A major extension of CDI is reconstruction across time. Chrono CDI incorporates the entire measurement time series into phase retrieval by adding a nearest-neighbor temporal coupling term
$$
J[\{\rho_t\}]
=\sum_t\Bigl[\epsilon_{\mathcal M}^2[\rho_t;I_t]
+w\,\mu(\rho_t,\rho_{t-1})
+w\,\mu(\rho_t,\rho_{t+1})\Bigr],
$$
with fixed initial and final states measured at full oversampling [1603.01668]. In simulation and experiment, stable reconstructions were demonstrated down to $\sigma_z=0.05$–$1.0$, corresponding to $2$–$20\times$ lower oversampling than the conventional $\sigma=2$, and therefore the same factor improvement in temporal resolution [1603.01668]. In situ CDI reached $10\,\mathrm{nm}$ spatial resolution at $10\,\mathrm{ms}$ temporal resolution in simulation and experimentally reconstructed processes including Pb dendrite growth and live U-87 MG glioblastoma cell fusion [1703.07219].

Spectral generalizations relax the quasi-monochromatic assumption. Multi-wavelength CDI treats the measured diffraction as an incoherent sum of $P$ wavelength-dependent exit-wave intensities,
$$
I(\mathbf q)=\sum_{i=1}^P |\hat\psi_i(\mathbf q)|^2,
$$
and reconstructs the separate wavelength channels by alternating scaled support constraints, spectral-norm constraints, and a joint modulus projection [2005.03336]. The associated polychromatic constraint ratio,
$$
\Sigma_{\rm poly}=\frac{|\cup_i A_i|}{2\sum_i |\Omega_i|},
$$
must exceed unity, with the practical limit $P_{\max}\lesssim\Sigma_{\rm mono}$ [2005.03336]. In the element-specific example using the 11th and 13th harmonics from a HHG source, the retrieved Al-thickness map matched the nominal $100\,\mathrm{nm}$ with rms error $\sim5\,\mathrm{nm}$, and Si inclusions of $40\,\mathrm{nm}$ were visible with $\sim5\,\mathrm{nm}$ thickness accuracy [2005.03336]. Broadband coherent diffraction for single-shot attosecond imaging approaches the same problem from the opposite direction: it numerically monochromatizes a broadband diffraction pattern by regularized inversion of a spectrum-dependent matrix, with visible-light and hard-X-ray demonstrations at $\Delta\lambda/\lambda\approx11\%$ and $\Delta E/E\approx12\%$, respectively [1909.11345].

Strong-field and nonlinear regimes challenge the standard linear-response assumptions of CDI. Quantum coherent diffractive imaging replaces the classical susceptibility model by a Maxwell–density-matrix formalism and predicts that, for the He $1s^2\rightarrow1s2p$ transition at $\hbar\omega_{10}=21.61\,\mathrm{eV}$ with $\gamma_d\approx0.215\,\mathrm{eV}$, intensities above a few $10^{13}$–$10^{14}\,\mathrm{W/cm^2}$ drive saturation, stimulated emission, and Mollow-type sidebands, leading to substantial departures from linear-response scattering [2001.11315]. Non-linear X-ray coherent diffractive imaging isolates the nonlinear diffraction component from the much stronger linear scattering by exploiting mutual incoherence between different wavelengths; in the ferroelectric sum-frequency-generation example, the retrieved nonlinear phase map distinguishes $0$ versus $\pi$ domain polarity, and the noise analysis states that because nonlinear conversion efficiencies are low $(\sim2\%)$, averaging $\sim5\times10^3$ shots is needed to attain $\mathrm{SNR}>10$ over the full detector [2512.15457]. These developments indicate that CDI is no longer confined to monochromatic, linear, and static scattering, but is evolving into a broader framework for phase-sensitive inference across spectral, temporal, and nonlinear dimensions.

Source: https://www.emergentmind.com/topics/coherent-diffractive-imaging