# Direct x-ray scattering signal measurements in edge-illumination/beam-tracking imaging and their interplay with the variance of the refraction signals

Ian Buchanan, Silvia Cipiccia, Carlo Peiffer, Carlos Navarrete-León, Alberto Astolfo, Tom Partridge, Michela Esposito, Luca Fardin, Alberto Bravin, Charlotte K Hagen, et al.

► To cite this version:

Ian Buchanan, Silvia Cipiccia, Carlo Peiffer, Carlos Navarrete-León, Alberto Astolfo, et al. Direct x-ray scattering signal measurements in edge-illumination/beam-tracking imaging and their interplay with the variance of the refraction signals. Applied Physics Reviews, 2023, 10 (4), pp.041406. 10.1063/5.0168049. hal-05077999

HAL Id: hal-05077999

https://hal.science/hal-05077999v1

Submitted on 22 May 2025

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
# Direct x-ray scattering signal measurements in edge-illumination/beam-tracking imaging and their interplay with the variance of the refraction signals

Ian Buchanan✉; Silvia Cipiccia Ⓔ; Carlo Peiffer Ⓔ; Carlos Navarrete-León Ⓔ; Alberto Astolfo Ⓔ;

Tom Partridge Ⓔ; Michela Esposito Ⓔ; Luca Fardin Ⓔ; Alberto Bravin Ⓔ; Charlotte K Hagen Ⓔ;

Marco Endrizzi Ⓔ; Peter RT Munro Ⓔ; David Bate Ⓔ; Alessandro Olivo Ⓔ

<figure><img src="image_2.png" /></figure>

Check for updates

Appl. Phys. Rev. 10, 041406 (2023)

https://doi.org/10.1063/5.0168049

<figure><img src="image_3.png" /></figure>

View
Online

<figure><img src="image_4.png" /></figure>

Export
Citation

## Articles You May Be Interested In

* Monte Carlo model of a polychromatic laboratory based edge illumination x-ray phase contrast system

* *Rev. Sci. Instrum.* (May 2014)

* Effective modeling of high-energy laboratory-based x-ray phase contrast imaging utilizing absorption masks or gratings

* *J. Appl. Phys.* (December 2020)

* Dark-field X-ray imaging of unsaturated water transport in porous materials

* *Appl. Phys. Lett.* (October 2014)

<figure><img src="image_5.png" /></figure>

AIP
Publishing

# Special Topics Open for Submissions

Learn More

<figure><img src="image_6.png" /></figure>

AIP
Publishing
# Direct x-ray scattering signal measurements in edge-illumination/beam-tracking imaging and their interplay with the variance of the refraction signals

<figure><img src="image_7.png" /></figure>

Cite as: Appl. Phys. Rev. **10**, 041406 (2023); doi: 10.1063/5.0168049

Submitted: 17 July 2023 · Accepted: 9 October 2023 ·

Published Online: 27 October 2023

<figure><img src="image_8.png" /></figure>

View Online

<figure><img src="image_9.png" /></figure>

Export Citation

<figure><img src="image_10.png" /></figure>

CiteMark

Ian Buchanan,<fnref n="1" />⁾ ID, Silvia Cipiccia,<fnref n="1" />⁾ ID, Carlo Peiffer,<fnref n="1" />⁾ ID, Carlos Navarrete-León,<fnref n="1" />⁾ ID, Alberto Astolfo,<fnref n="1" />⁾ ID, Tom Partridge,<fnref n="1" />⁾ ID, Michela Esposito,<fnref n="1" />⁾ ID, Luca Fardin,<fnref n="2" />,<fnref n="3" />⁾ ID, Alberto Bravin,<fnref n="2" />,<fnref n="3" />⁾ ID, Charlotte K Hagen,<fnref n="1" />⁾ ID, Marco Endrizzi,<fnref n="1" />⁾ ID, Peter RT Munro,<fnref n="1" />⁾ ID, David Bate,<fnref n="3" />⁾ ID and Alessandro Olivo<fnref n="1" />⁾ ID

## AFFILIATIONS

## ABSTRACT

X-ray dark-field or ultra-small angle scatter imaging has become increasingly important since the introduction of phase-based x-ray imaging and is having transformative impact in fields such as *in vivo* lung imaging and explosives detection. Here, we show that dark-field images acquired with the edge-illumination method (either in its traditional double mask or simplified single mask implementation) provide a direct measurement of the scattering function, which is unaffected by system-specific parameters such as the autocorrelation length. We show that this is a consequence both of the specific measurement setup and of the mathematical approach followed to retrieve the dark-field images. We show agreement with theoretical models for datasets acquired both with synchrotron and laboratory x-ray sources. We also introduce a new contrast mechanism, the variance of refraction, which is extracted from the same dataset and provides a direct link with the size of the scattering centers. We show that this can also be described by the same theoretical models. We study the behavior of both signals vs key parameters such as x-ray energy and scatterer radius. We find this allows quantitative and direct scattering measurements during imaging, with implications in all fields where dark-field imaging is used.

© 2023 Author(s). All article content, except where otherwise noted, is licensed under a Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). https://doi.org/10.1063/5.0168049

## INTRODUCTION

X ray dark field (DF) imaging has attracted significant interest over recent years, thanks to its ability to detect the presence of features below the spatial resolution of an imaging system.<fnref n="1" />⁻⁵⁾ It belongs to the class of “phase-sensitive” x-ray imaging methods,⁶⁾ in which image contrast arises from the unit decrement of the real part (δ), rather than from the imaginary part (β) of the refractive index. “Ultra-small angle x-ray scatter” (USAXS) is often used as a synonym, with the caveat that scattering angles involved in DF are in the region of microradians or sub-microradian, while USAXS usually refers to angles of a fraction

of a degree. Following its introduction at synchrotron facilities in crystal-based experiments,<fnref n="1" />⁻<fnref n="3" />⁾ DF became increasingly popular after Pfeiffer et al.’s demonstration that the same signal could be accessed with conventional laboratory sources by using a three-grating setup.⁴⁾ Thereafter, DF with laboratory sources was demonstrated with Edge-Illumination⁵⁾ (EI) and its simplified, single mask “beam tracking” (BT) implementation,⁶⁾ as well as other methods such as speckle-based imaging.⁸,⁹⁾ Following initial applications to, e.g., welding¹⁰⁾ and composite materials,¹¹⁾ DF has significantly evolved and is currently being used for *in vivo* lung imaging of human patients.¹²⁾ A recent study also

<footnote n="1">¹Department of Medical Physics and Biomedical Engineering, University College London, Gower Street, London WC1E 6BT, United Kingdom</footnote>

<footnote n="2">²European Synchrotron Radiation Facility, Grenoble 38043, France</footnote>

<footnote n="3">³Nikon X-Tek System Ltd., Tring Business Centre, Tring, Herefordshire, United Kingdom</footnote>

<footnote>a) Author to whom correspondence should be addressed: ian.buchanan.15@ucl.ac.uk</footnote>

<footnote>b) Current address: University of Grenoble Alpes, Strobe Inserm UA7, Grenoble, France.</footnote>

<footnote>c) Current address: Department of Physics “G. Occhialini,” University Milano Bicocca, Milano, Italy.</footnote>
showed significant potential in the detection of concealed explosives,¹³ and efforts to implement DF on a clinical CT gantry are under way.¹⁴ Among the many phase-based techniques, we focus here on EI¹⁵ (and on its BT implementation, which earlier work demonstrated to provide equivalent signals¹⁶) as it is achromatic¹⁷ and can be implemented with low spatial coherence.¹⁸

A straightforward way to understand the nature of the DF signal is by referring to x-ray refraction. This is greatest at sample boundaries (as the refraction angle is proportional to the first derivative of $\delta$ in space⁶) and after some propagation, directional changes translate into a change in the (transverse) position at which the x-rays are detected. These changes are usually referred to as “phase contrast” when they are resolved by the imaging system, and as DF when they are not. Refraction, modeled through ray-tracing, provides an approximation of phase-based mechanisms; wave-optics tools (e.g., Fresnel–Kirchhoff diffraction integrals) are required for a more accurate description.⁶ Differences are significant only when the object is coherently illuminated; under limited coherence conditions (e.g., those of a laboratory x-ray source), the refraction (i.e., ray-tracing) and wave-optics descriptions provide compatible results.¹⁹ The former is simpler and lends itself to straightforward implementation in Monte Carlo approaches.

We implemented both ray-tracing Monte Carlo and wave-optics models without resorting to the thin object approximation. Concurrently, we demonstrate that the same results are obtained using classical scattering theory when multiple scattering is negligible. Details on the two models are provided in the methods section.

The intensity of scattered radiation can be measured as a function of the scattering momentum vector, $q$ [where $|q| = \frac{4\pi}{\lambda}\sin(\theta)$, $\lambda$ is the x-ray wavelength, and $2\theta$ is the scattering angle]. For a thin layer of uniformly distributed spheres, the intensity takes the form:²⁰

$$I(q) = |\Delta\rho|^2 V_f \left| \frac{3(\sin(qR) - qR \cos(qR))}{(qR)^3} \right|^2, \quad (1)$$

where $\Delta\rho$ is the difference in electron density between the spheres and the surrounding medium, $V_f$ is the volume of spheres, and $R$ is the sphere radius; we also note that $I(0) = |\Delta\rho|^2 V_f$.

Scattering measurements can refer to wide angles on the order of several degrees (molecular; crystalline), small angles on the order of arc seconds (complex biological materials; soft matter), and to ultra-small angles on the scale of microradians (microscopic or sub-microscopic structures).²¹ In wide and small angle scattering experiments, the primary beam is often stopped, as the characteristic peaks are of such low intensity that, if the primary beam were integrated alongside them, detectors would saturate quickly. In USAXS as measured in EI/BT and other phase methods, the higher order peaks of $I(q)$ are not measured, and the broadening of the primary beam becomes the object of analysis.

Nonetheless, by using the wave-optics model developed for EI/BT (see methods), we can demonstrate both adherence to and departure from Eq. (1) under conditions of single and multiple scattering, respectively. Figures 1(a) and 1(b) display the intensity field resulting from a 15 keV plane wave interacting with sphere ensembles of constant packing density in 200 and 400 µm thick slabs. Figure 1(c) shows that the (radially integrated) intensity resulting from interactions with the 200-µm-thick sample approximate Eq. (1) well (aside from the difficult-to-sample deep troughs), while the intensity oscillations tend to

disappear in the case of multiple scattering caused by the thicker sphere ensemble. From the model’s experimental validation (see below), these results demonstrate the link between scattering theory and EI/BT-based USAXS measurements. Figure 1(d) shows the radial intensity from the same sample as panel (b) modeled with Monte Carlo ray tracing, which only models photon intensities rather than amplitudes, and thus does not reproduce the oscillations caused by coherence effects but, rather, traces the envelope of the function. However, as shown by the dashed yellow line in Fig. 1(c), these same oscillations are washed out by multiple scattering in thick samples like those analyzed in this work. This demonstrates the link, and underlying consistence under the conditions of limited coherence and/or multiple scattering between classic scattering theory, wave-optics, and Monte Carlo modeling.

In EI/BT, one or more fan beams (hereafter, “beamlets”) are used instead of pencil beams, making them full-field imaging methods (or 1D scanned methods when a single beamlet is used). The observed change in a beamlet’s intensity, center of mass and width correspond to transmission, refraction, and DF measurements, respectively.²² Sample properties are inferred via the combination of these, quantitatively supported by forward modeling which was shown to agree with experimental data.²³,²⁴ DF contrast is the width of the sample-induced distribution of refraction angles:²⁵ the greater the average number (and magnitude) of refraction events within a given beamlet, the broader the emerging beamlet, i.e., the greater the DF signal. This is expressed as the change in angular variance of beamlet intensity, $I(x)$, with the sample present, minus the reference variance without the sample:

$$M_2^{S,R} = \frac{1}{M_0^{S,R}} \int \left( x - M_1^{S,R} \right)^2 I^{S,R}(x) dx, \quad (2a)$$

$$DF = (M_2^S - M_2^R)/z_2^2. \quad (2b)$$

In Eq. (2a), we are utilizing the moments approach to EI/BT data processing,²⁵ with superscripts S and R referring to sample and reference beamlets, respectively. DF signals are the change in second moment, $M_2$, as shown in Eq. (2b), with $z_2$ being the propagation distance from sample to detector. The zeroth ($M_0$) and first moments ($M_1$) refer to the total beam intensity and center of mass positions, respectively. While this is the data processing method used throughout the present work, we note that other methods (deconvolution, Gaussian perturbation etc.) provide comparable results.²⁶ To comprehensively determine whether EI/BT DF imaging can directly measure x-ray scattering signals as described by classical scattering theory, and how the measured signals vary according to beam, imaging system and sample parameters, we present data obtained at the European Synchrotron Radiation Facility (Grenoble, France) in which a single beamlet of variable vertical size and energy probes ensembles of monodisperse spheres. The spheres are of various radii (straddling the different beamlet dimensions), arranged in layers of varying thicknesses. Sphere ensembles were encased in gel wax slabs, and attenuation signals were fixed by maintaining a constant gel wax thickness through the inclusion of sphere-free slabs: regardless of the number of sphere-containing slabs, X-rays always traversed a total of five slabs. The microspheres were made of soda-lime glass ($\rho = 2.49 \pm 0.04 \text{ gcm}^{-3}$), and the mass of each layer encased in gel wax was $0.0417 \pm 0.0006 \text{ g}$, meaning that the estimated number of spheres in each layer decreases from $5.5 \times 10^7$ for the smallest (8 µm) diameter to $2.6 \times 10^3$ for the largest (233 µm).
<figure><img src="image_11.png" /><figcaption>**FIG. 1.** Wave-optics and Monte Carlo modeling of EI/BT vs scattering theory. Panels (a) and (b) show wave-optics results for a pencil beam scattered by a thin (200 µm) and a thick (400 µm) layer of 1-µm-diameter microspheres, respectively, with the color bars showing x-ray intensities relative to the peak of an unperturbed probe beam. Radially integrated plots are overlapped to the profile predicted by scattering theory (solid blue line) in panel (c): as can be seen, intensity from the thin layer (dashed red line) matches it much better than the that from the thick one (dashed yellow). Panel (d) shows that ray-tracing cannot reproduce the intensity oscillations and only provides the curve's envelope; however, in conditions of limited coherence and/or multiple scattering, the three models are shown to be compatible.</figcaption></figure>

While the number of spheres changes with radius, the thickness of soda-lime glass traversed by x-rays is expected to be relatively constant across sphere sizes. The beamlet size is changed by varying the aperture in the pre-sample slit (see methods). A subset of measurements was repeated using a conventional x-ray source, to demonstrate the generality of the obtained results and their applicability outside specialized synchrotron facilities.

There are four parameters which may affect the DF signal in our (multiple-scattering) experiment:

(1) the beamlet width;

(2) the characteristic feature size of the sample;

(3) the sample thickness; and

(4) the X-ray energy.

Clearly, the sample material would also affect the DF signal but in our experiment is kept constant. The interplay between the first three parameters (at 60 keV) is explored in Fig. 2, while energy is discussed in the supplementary material.

Figures 2(a)–2(d) make it evident that the DF signal increases with sample thickness (the number of traversed layers containing

microspheres)²⁷,²⁸ and with decreasing sphere size, in part because, as explained above, effort was made to keep constant the fill factor by volume which led to a total number of spheres inversely proportional to the cube of their diameter. While a similar dependence on sample thickness and sphere size has been observed before,²⁹ a first novelty observed here is the independence from the size of the beamlets, despite the fact that resolution in EI/BT is defined by the aperture width.³⁰ In addition from the heatmaps in Figs. 2(a)–2(d), this can be clearly observed in the graphs of Figs. 2(e)–2(h). This is an important result because, together with EI/BT’s independence from the spacing between adjacent beamlets (shown in previous work²²,³⁰ and further discussed below), it demonstrates the independence of the retrieved scattering signal from system-specific parameters such as the autocorrelation length (defined as $\xi = \lambda d/p$, where $\lambda$ is the x-ray wavelength, $d$ the sample-to-detector distance, and $p$ the period of the mask or grating employed).

Another important result evident from Figs. 2(e)–2(h) is the agreement between model and experiment across the widely explored experimental conditions. Taken together with the agreement between model and scattering theory shown above, this demonstrates the ability
<figure><img src="image_12.png" /><figcaption>**FIG. 2.** DF signal vs sphere size, sample thickness, and beamlet size. Panels (a)–(d) show experimental DF values for beamlet sizes of 10, 20, 30, and 40 µm (respectively); blocks marked with crosses indicate missing data. Sphere size and number of layers (used to create different sample thicknesses) are reported on the horizontal and vertical axes, respectively. Panels (e)–(h) show comparisons between (Monte Carlo) model (dashed lines) and experiment (dots) for the same range of beamlet sizes. All plots show selected results vs sample thickness for sphere diameters of 15 µm (blue), 30 µm (red), and 60 µm (yellow). Error bars represent one standard deviation over the measurements and therefore include the variation in sphere distribution within the considered region-of-interest.</figcaption></figure>

of EI/BT to perform direct scattering measurements. For increased generality, a subset of samples were also scanned with a conventional lab system (Fig. S1) i.e., with an extended, polychromatic source. The quantitative agreement observed between model and experiment persists and demonstrates that the same scattering measurements can be performed with conventional lab sources. However, in this case the polychromaticity of the measurements requires the adoption of appropriate spectral weighting approaches when modeling.<sup>17</sup>

Measurements were also taken at 90 and 120 keV to demonstrate EI/BT's robustness against increasing x-ray energy, which opens the way to applications to higher Z or denser materials while remaining quantitative, as proven by the good agreement between model and experiment observed in all cases (Fig. S2). This also provided an opportunity to study the behavior of the DF signal vs energy, with the proven reliability of the simulation allowing us to fill in more energies than the three (60; 90; 120 keV) that were experimentally tested.

Results are shown in Fig. S3. The best fit indicates proportionality to $E^{-3}$ (Ref. 7), although the previously reported$^{22,27}$ $E^{-4}$ dependence also leads to a reasonably good fit with a reduction in the coefficient of determination $R^2$ from 0.998 to 0.988, meaning an $E^{-4}$ dependence cannot be excluded. It should also be noted that $E^{-3.89}$ dependence was previously reported;<sup>31</sup> hence, this could be an area that requires further investigation. The independence of the EI/BT DF signal from the beamlet size becomes apparent when one considers the way in which it is retrieved in Eq. (2b). By subtracting the beamlet width without the sample, its influence is eliminated. Conversely, in grating-based methods, the DF signal is measured as a reduction in fringe visibility$^{29,32–34}$ $V^5/V^R$, extracted either via fringe-scanning methods<sup>35</sup> or Fourier analysis,<sup>36</sup> with $V = (I_{max} - I_{min})/(I_{max} + I_{min})$ with $I_{max}$, $I_{min}$ the maximum and minimum intensities observed in a sinusoidal pattern and indices S and R having the same meaning as above. This makes the measured signal dependent on the system's autocorrelation
length, $\xi$, regardless of whether absorption rather than phase gratings is used.³⁷ This significant difference between the two methods is exemplified in Fig. 3.

The key aspect to note in Fig. 3 is that, as predicted by Strobl³³ and Lynch,²⁹ in grating-based methods the DF signal “kicks in” and remains stable when $\xi$ becomes larger than the average size of the scatterers, as can be seen by the curve “plateauing” around $\xi = 10~\mu\text{m}$ in Fig. 3(b). It should be noted that while most GI literature plots the DF signal as $V^\delta/V^F$, it is plotted here as $1 - Vr/V_s$ to highlight the fact that the DF signal goes to zero for small values of $\xi$, and stabilizes to its final (asymptotic) value only when $\xi$ exceeds the size of the scatterers. Conversely, with EI/BT, the scattering value is effectively retrieved at extremely small values of $\xi$, and is unaffected by it. What happens around $\xi = 1.4~\mu\text{m}$ is that the specific geometry of the system causes excessive beamlet overlap, which prevents a “moment-type” retrieval as it becomes impossible to integrate the beamlets over their full extent. Other methods (e.g., Gaussian perturbation³⁴) can be used to perform an effective DF retrieval at (moderately) larger $\xi$ values; however, the whole point of EI/BT is to keep the beamlet sufficiently separated from each other so as to allow a retrieval approach that focuses on the individual beamlet (considered as a separate, independent entity), rather than on the analysis of the pattern as a whole. Indeed, as beamlet overlap increases, the modulation ultimately becomes sinusoidal, and EI/BT becomes indistinguishable from grating-based approaches.³⁸ With this in mind, it is important not to misinterpret the graph in Fig. 3(a): the decrease in the retrieved DF signal for $\xi > 1.4$ does not indicate a dependence of the retrieved DF on $\xi$, but rather that EI/BT systems

with such high $\xi$ values should not be built, as they would effectively not be EI/BT systems anymore since they do not allow the individual analysis of each beamlet. In other words, in the described settings an EI/BT system must have a $\xi < 1.4$ and, in this $\xi$ range, scatter retrieval is not affected by the specific value of $\xi$. This also means that the concept of $\xi$ does not really apply to EI/BT, and indeed e.g., increasing $d$ and decreasing $p$ do not have the same effect on an EI/BT system.

Models for grating-based DF were also used to determine a sample’s “scattering power” as a function of the scatterer’s diameter, for example through a “DF extinction coefficient” (see, e.g., Fig. 4 in Lynch 2011²⁹). The models described in this paper allow doing the same for EI/BT, revealing that in this case a monotonic function is obtained (see Fig. S4), because of the discussed independence from specific imaging system parameters. For completeness, the ability of the same (wave-optics) model to reproduce the results obtained using a standard phase gratings setup is also shown (Fig. S5).

It has been argued that the dependence of “visibility-based” DF retrieval on $\xi$ can be used to determine the size of the scatterers, although this requires sweeping $\xi$, which can be experimentally challenging (the most practical method probably being based on changing the distance between two phase gratings²⁹). This is not possible in EI/BT experiments in which, so long as the beamlets are kept physically separated, a constant value directly linked to the sample’s scattering power, which is unaffected by system parameters, is returned. Although models exist that allow retrieving the scatterers’ size so long as more information is extracted from the scattering function on top of its variance,²⁵ the fact that the refraction signal is sensitive to objects

<figure><img src="image_13.png" /><figcaption>**FIG. 3.** DF signal in EI/BT (a) and grating-based methods (b). An ensemble of 10-µm-diameter spheres was simulated at 20 keV, and the resulting DF signals are retrieved as differences between 2nd moments and visibility reduction in (a) and (b), respectively. In both cases, the DF signal is plotted against the autocorrelation length $\xi$, which is initially varied by decreasing the grating period from 80 to 20 µm while keeping the aperture size (10 µm) and sample to detector distance (0.5 m) constant. To simulate periods smaller than 20 µm, half-period apertures were used (i.e., Ronchi gratings were used for $\xi \ge 1.4~\mu\text{m}$), with the resulting beamlets beginning to overlap significantly. When the period reaches 4 µm ($\xi = 3.2~\mu\text{m}$), corresponding to an effective transition to grating interferometry, the autocorrelation distance is increased by increasing the grating to detector distance in half-Talbot distance steps. Error bars represent one standard deviation over the simulated region-of-interest. The theoretical behavior as predicted by Strobl is overlaid as a red curve to the simulated points in (b), showing good agreement.</figcaption></figure>
larger that the system’s spatial resolution can be exploited for this purpose.

In analogy with Figs. 2(a)–2(d), Figs. 4(a)–4(d) show the (experimental) behavior of the variance of the refraction signal (VR) as a function of the scatter size and thickness for various beamlet sizes. The signal is obtained by applying a standard deviation filter with a nine-by-nine pixel window, on a flat-field corrected refraction image, squaring it, and averaging the same ROI as for the DF measurements. As can be seen, the behavior is comparable to that of DF vs sample thickness (i.e., number of scattering layers), but opposite vs scatterer size, with the maximum values observed for the larger spheres. This can be understood intuitively as features below the spatial resolution of the system do not produce distinct refraction signals. Also, the VR signal is not independent from the beamlet size, as made clear also by the graphs of Figs. 4(e)–4(h), which also show that the VR signal can be modeled with the same tools used for the DF signal, obtaining a comparable agreement with the experimental results. This allows us to use the model to explore the VR signal of monodisperse spheres as a function of a varying beamlet size, with a denser sampling than would be practically feasible in a real experiment. The results [Figs. 4(i)–4(l)] show a clear plateauing of the signal when the size of the beamlet reaches that of the scatterers, similarly to (visibility-based) DF vs $\bar{\zeta}$ in grating-based methods. As a consequence, it could be used in the same way—e.g., by using a pre-sample mask with small apertures and translating the mask in aperture increments, the separate images then being summed will create virtual beamlets of larger widths.

We are effectively proposing the VR as a new contrast channel, which provides an “equivalent” to DF for randomly distributed features larger than the spatial resolution of the system, with the same characteristics of, e.g., increasing linearly with sample thickness for a given distribution of scatterers. This had already been used heuristically to determine the degree of porosity in composite materials⁴⁰ and is formalized here as an additional, quantitative contrast channel. The agreement with the theoretical models allows using the latter to explore the behavior of VR vs e.g., sample thickness and x-ray energy, with exemplar results reported in Fig. S6. In particular, the linear behavior of VR vs sample thickness demonstrates its suitability to tomographic implementations.

The simultaneous availability of DF and VR signals through a single scan of the same sample thus offers a method for the quantitative characterization of the sample’s microstructure, above and below the system’s spatial resolution, with direct access to the sample’s scattering function unaffected by specific parameters of the imaging system.

## METHODS

### Synchrotron experiments

Synchrotron experiments were carried out at beamline ID17 of the European Synchrotron Radiation Facility (ESRF). The radiation source is a wiggler placed at ~145 m from the experimental hutch. The beam is monochromatized by a bent Laue crystal, and energies of 60, 90, and 120 keV were selected. An EI/BT setup was installed in the experimental hutch, a side view schematic of which is shown in Fig. 5. The beam (in yellow) is vertically thin but extends to several cm into the plane of the drawing so as to cover the entire imaged samples.

A tunable Huber slit ($A_1$) was used as a pre-sample mask, so that samples could be inspected with variable (vertical) beam sizes—sizes

of 10, 20, 30, and 40 µm were used. A much larger (300 µm) slit ($A_2$) was placed in front of an indirect imaging system with an effective pixel size of 22.4 µm (PCO Edge 5.5 sCMOS detector⁴¹) mounted on a vertical translation stage. This allows rapid switching between the EI and the BT configuration. By letting the beam entirely through $A_2$ (as in the schematic of Fig. 5), the beamlet is directly resolved by the detector pixels (BT mode). By moving $A_2$ downward or upward so that the beam is partially intercepted by one of its edges, the EI configuration is obtained. In this latter case, multiple sample scans, with slightly different degrees of beam or edge overlap, are required to enable the retrieval of the beam’s vertical width; in principle, a much larger (e.g., >300 µm) detector pixel could be used, but in this case the 22.4 µm pixels were binned together for simplicity. In both cases, the sample is scanned vertically through the beam to cover the desired region-of-interest.

### Laboratory experiments

These were performed with a standard laboratory EI system, previously described in Astolfo 2022.⁴² Briefly, a COMET MXR-160/11 tungsten anode x-ray source had its focal spot limited to 70 µm in the horizontal direction by a slit, with the vertical dimension left at the original ~400 µm. For the experiments presented in this paper, it was operated at 60 kVp and 7.7 mA. Two gratings (fabricated by Microworks, Karlsruhe, Germany) with 21 and 28 µm parallel, vertical apertures arranged in 75 and 98 µm periods were used as pre-sample and detector masks, respectively. Both had ~300-µm-thick gold septa on a 1-mm-thick graphite substrate, and they were placed 1.60 and 2.06 m downstream of the source, respectively. The samples were scanned horizontally (i.e., orthogonally to the gratings’ slits) immediately downstream of the pre-sample mask with a Newport (Irvine, CA) translator at a speed of 39.1 µm s⁻¹, and a 100-µm pixel photon-counting detector (XC-FLITE FX2, Direct Conversion, Danderyd, Sweden—now part of Varex), acquiring at 1 frame per second, was placed 4 cm downstream of the detector mask.

### Wave optics and Monte Carlo x-ray propagation models

The rigorous multi-slice wave optical simulation code developed by Munro⁴³ was adapted to simulate the EI/BT synchrotron experimental setup, as well as the simulations highlighting differences and similarities between EI/BT and grating interferometry. Planar wavefronts are propagated via the Fresnel propagator, with sample effects being applied through multiplication of the wavefront by the samples’ complex transmission functions. Due to the large distances between source, sample, and detector, each “layer” of spheres could be simulated as a single projection. To keep computation times manageable, only small sample areas (0.6 × 2.1 mm²) were simulated; this is a particular advantage when considering that the field of view available in such simulations becomes more costly with increasing photon energy in order to preserve robustness against aliasing. Finally, upon reaching the detector, beam divergence is accounted for by application of the Fresnel scaling theorem.

The McXtrace neutron/x-ray scattering engine developed by Knudsen et al.⁴⁴ was used to simulate the synchrotron and lab-based experimental setups. Refraction is implemented in three dimensions via Snell’s law, whereby photons refract or reflect as they encounter
<figure><img src="image_14.png" /><figcaption>FIG. 4. Variance of refraction (VR). Panels (a)–(d) show the same heatmaps as Figs. 2(a)–2(d) for the VR instead of the DF signal, for beamlet sizes of 10, 20, 30, and 40 µm (respectively); blocks marked with crosses indicate missing data. Sphere size and number of layers (used to create different sample thicknesses) are reported on the vertical and horizontal axes, respectively. Panels (e) and (f) show comparisons between model (dashed lines) and experiment (dots) for the same range of beamlet sizes. All plots show selected results vs sample thickness for sphere diameters of 15 µm (blue), 30 µm (red), and 60 µm (yellow). Finally, panels (i)–(l) show simulated data vs beamlet size for scatterers of various diameter, showing how the plots plateau when the size of the scatterer matches that of the beamlet used to probe the sample, in analogy with the behavior of DF as a function of $\xi$ in grating-based methods. Error bars represent one standard deviation over either the experimentally considered or simulated region-of-interest, and as such they include the variation in sphere distribution therein.</figcaption></figure>
<figure><img src="image_15.png" /><figcaption>**FIG. 5.** EI/BT setup. A slit is placed immediately before the sample; its aperture size $A_1$ is tunable, thus allowing varying the size of the beamlet hitting the sample. A second slit with a larger aperture $A_2$ is mounted in front of a high resolution detector, with images being obtained by scanning the sample through the beam. Both BT and EI configurations are possible with this setup: the former by analyzing the beamlet directly with the detector pixels as shown, the latter by summation of vertical pixels and translation of M1 in the x direction.</figcaption></figure>

sample boundaries.²⁴ Absorption is calculated by adjustment of photon “weights” according to the Beer–Lambert law, and in this way, all photon paths that are computed contribute to the final image. In the polychromatic lab setting, photons are assigned energies according to the CdTe efficiency-weighted spectrum produced by TASMICS.⁴⁵

Virtual samples of randomly arranged and tightly packed spheres were created for use in both the simulation frameworks described above via the Advancing Front algorithm described by Valera *et al*.⁴⁶ The average volumetric fill of simulated spheres was 42 ± 8%.

## Sample preparation

Melted gel wax was poured into a 2 × 2 × 1 cm<fnref n="3" /> mold, with a 1 × 1 × 0.5 cm<fnref n="3" /> cuboid void extending inward from one of the wide faces, and allowed to cool. Mass-controlled amounts of calibrated microspheres were added to the voids and manually vibrated until their distribution was approximately uniform. Melted gel wax was then poured into the void to seal the microspheres in place, with the excess gel wax being scraped away with a glass microscope slide moving parallel to the existing gel wax surface to minimize any variation in gel wax (i.e., background material) thickness. As the prepared samples cooled, they were monitored for any signs of air having been trapped in the gel wax, as such pockets of air would produce their own phase signals—any such exhibiting samples were discarded to ensure that only the calibrated microspheres contributed to the final image contrasts.

## Supplementary Material

See the supplementary material for figures describing simulated data, which (Fig. S1) matches lab-based, polychromatic DF data; Figs. S2 and S3 match multiple monochromatic, synchrotron DF measurements and describe the dependence of DF with x-ray energy; Fig. S4 describes the scattering power per unit thickness due to different feature sizes in EI and BT; Fig. S5 demonstrates the wave-optical model compatibility with DF measurements in a grating interferometry system; and Fig. S6 describes the dependence of VR with sample thickness and x-ray energy.

## ACKNOWLEDGMENTS

This work was supported by the EPSRC (Grant No. EP/T005408/1). A.O. and C.K.H. are supported by the Royal Academy of Engineering under the “Chairs in Emerging Technologies” and “Research Fellowships” schemes, respectively. P.R.T.M. was supported by the Royal Society under the “University Research Fellowships” scheme. The authors thank Dr. Heinz Amenitsch (Elettra Synchrotron Light Source, Trieste, Italy) for useful discussions.

## AUTHOR DECLARATIONS

### Conflict of Interest

D. Bate is a Nikon employee; M. Endrizzi, P.R.T. Munro, and A. Olivo are named inventors on patents owned by UCL protecting the imaging technology used to obtain the presented results.

## Author Contributions

**Ian Buchanan:** Conceptualization (equal); Data curation (equal); Formal analysis (lead); Investigation (lead); Project administration (equal); Software (lead); Visualization (lead); Writing – original draft (lead); Writing – review & editing (lead). **Silvia Cipiccia:** Data curation (equal); Methodology (equal); Writing – review & editing (equal). **Carlo Peiffer:** Data curation (equal); Writing – review & editing (equal). **Carlos Navarrete-León:** Data curation (equal); Writing – review & editing (equal). **Alberto Astolfo:** Conceptualization (equal); Writing – review & editing (equal). **Tom Partridge:** Writing – review & editing (equal). **Michela Esposito:** Investigation (equal); Visualization (equal); Writing – review & editing (equal). **Luca Fardin:** Data curation (equal); Writing – review & editing (equal). **Alberto Bravin:** Data curation (equal); Writing – review & editing (equal). **Charlotte Klara Hagen:** Writing – review & editing (equal). **Marco Endrizzi:** Writing – review & editing (equal). **Peter Robert Thomas Munro:** Writing – review & editing (equal). **David Bate:** Supervision (equal); Writing – review & editing (equal). **Alessandro Olivo:** Conceptualization (lead); Data curation (equal); Investigation (equal); Methodology (lead); Project administration (lead); Resources (lead); Supervision (lead); Writing – original draft (equal); Writing – review & editing (equal).

## DATA AVAILABILITY

The data that support the findings of this study are available from the corresponding author upon reasonable request.

## REFERENCES

<footnote n="1">¹L. Rigon, F. Arfelli, and R. H. Menk, “Generalized diffraction enhanced imaging to retrieve absorption, refraction and scattering effects,” *J. Phys. D: Appl. Phys* **40**(10), 3077–3089 (2007).</footnote>

<footnote n="2">²E. Pagot, P. Cloetens, S. Fiedler *et al.*, “A method to extract quantitative information in analyzer-based x-ray phase contrast imaging,” *Appl. Phys. Lett.* **82**(20), 3421–3423 (2003).</footnote>

<footnote n="3">³O. Oltulu, Z. Zhong, M. Hasnah, M. N. Wernick, and D. Chapman, “Extraction of extinction, refraction and absorption properties in diffraction enhanced imaging,” *J. Phys. D: Appl. Phys.* **36**(17), 2152–2156 (2003).</footnote>

<footnote n="4">⁴F. Pfeiffer, M. Bech, O. Bunk *et al.*, “Hard-X-ray dark-field imaging using a grating interferometer,” *Nat. Mater.* **7**(2), 134–137 (2008).</footnote>

<footnote n="5">⁵M. Endrizzi, P. C. Diemoz, T. P. Millard *et al.*, “Hard X-ray dark-field imaging with incoherent sample illumination,” *Appl. Phys. Lett.* **104**(2), 024106 (2014).</footnote>
<footnote n="6">⁶A. Bravin, P. Coan, and P. Suortti, "X-ray phase-contrast imaging: Rom pre-clinical applications towards clinics," Phys. Med. Biol. 58(1), R1–R35 (2013).</footnote>

<footnote n="7">⁷F. A. Vittoria, G. K. N. Kallon, D. Basta et al., "Beam tracking approach for single-shot retrieval of absorption, refraction, and dark-field signals with laboratory x-ray sources," Appl. Phys. Lett. 106(22), 224102 (2015).</footnote>

<footnote n="8">⁸I. Zanette, T. Zhou, A. Burvall et al., "Speckle-based x-ray phase-contrast and dark-field imaging with a laboratory source," Phys. Rev. Lett. 112(25), 253903 (2014).</footnote>

<footnote n="9">⁹H. Wang, Y. Kashyap, and K. Sawhney, "From synchrotron radiation to lab source: Advanced speckle-based X-ray imaging using abrasive paper," Sci. Rep. 6(1), 20476 (2016).</footnote>

<footnote n="10">¹⁰V. Revol, I. Jerjen, C. Kottler et al., "Sub-pixel porosity revealed by x-ray scatter dark field imaging," J. Appl. Phys. 110(4), 044912 (2011).</footnote>

<footnote n="11">¹¹V. Revol, B. Plank, R. Kaufmann, J. Kastner, C. Kottler, and A. Neels, "Laminate fibre structure characterisation of carbon fibre-reinforced polymers by X-ray scatter dark field imaging with a grating interferometer," NDTE Int. 58, 64–71 (2013).</footnote>

<footnote n="12">¹²K. Willer, A. A. Fingerle, W. Noichl et al., "X-ray dark-field chest imaging for detection and quantification of emphysema in patients with chronic obstructive pulmonary disease: A diagnostic accuracy study," Lancet Digit Health 3(11), e733–e744 (2021).</footnote>

<footnote n="13">¹³T. Partridge, A. Astolfo, S. S. Shankar et al., "Enhanced detection of threat materials by dark-field x-ray imaging combined with deep neural networks," Nat. Commun. 13(1), 4651 (2022).</footnote>

<footnote n="14">¹⁴M. Viermetz, N. Gustschin, C. Schmid et al., "Dark-field computed tomography reaches the human scale," Proc. Natl. Acad. Sci. U. S. A. 119(8), e2118799119 (2022).</footnote>

<footnote n="15">¹⁵A. Olivo, "Edge-illumination x-ray phase-contrast imaging," J. Phys. 33(36), 363002 (2021).</footnote>

<footnote n="16">¹⁶F. A. Vittoria, M. Endrizzi, P. C. Diemoz et al., "Virtual edge illumination and one dimensional beam tracking for absorption, refraction, and scattering retrieval," Appl. Phys. Lett. 104(13), 134102 (2014).</footnote>

<footnote n="17">¹⁷M. Endrizzi, F. A. Vittoria, G. Kallon et al., "Achromatic approach to phase-based multi-modal imaging with conventional X-ray sources," Opt. Express 23(12), 16473–16480 (2015).</footnote>

<footnote n="18">¹⁸A. Olivo and R. Speller, "Modelling of a novel x-ray phase contrast imaging technique based on coded apertures," Phys. Med. Biol. 52(22), 6555 (2007).</footnote>

<footnote n="19">¹⁹A. Peterzol, A. Olivo, L. Rigon, S. Pani, and D. Dreossi, "The effects of the imaging system on the validity limits of the ray-optical approach to phase contrast imaging," Med. Phys. 32(12), 3617–3627 (2005).</footnote>

<footnote n="20">²⁰J. W. Strutt, "The incidence of light upon a transparent sphere of dimensions comparable with the wave-length," Proc. R. Soc. London Ser. A 84(567), 25–46 (1910).</footnote>

<footnote n="21">²¹C. G. Windsor, "An introduction to small-angle neutron scattering," J. Appl. Crystallogr. 21(6), 582–588 (1988).</footnote>

<footnote n="22">²²P. C. Diemoz and A. Olivo, "On the origin of contrast in edge illumination X-ray phase-contrast imaging," Opt. Express 22(23), 28199–28214 (2014).</footnote>

<footnote n="23">²³F. A. Vittoria, P. C. Diemoz, M. Endrizzi et al., "Strategies for efficient and fast wave optics simulation of coded-aperture and other x-ray phase-contrast imaging methods," Appl. Opt. 52(28), 6940–6947 (2013).</footnote>

<footnote n="24">²⁴T. P. Millard, M. Endrizzi, P. C. Diemoz, C. K. Hagen, and A. Olivo, "Monte Carlo model of a polychromatic laboratory based edge illumination x-ray phase contrast system," Rev. Sci. Instrum. 85(5), 053702 (2014).</footnote>

<footnote n="25">²⁵P. Modregger, M. Kagias, S. C. Irvine et al., "Interpretation and utility of the moments of small-angle x-ray scattering distributions," Phys. Rev. Lett. 118(26), 265501 (2017).</footnote>

<footnote n="26">²⁶P. Modregger, M. Endrizzi, and A. Olivo, "Direct access to the moments of scattering distributions in x-ray imaging," Appl. Phys. Lett. 113, 254101 (2018).</footnote>

<footnote n="27">²⁷M. Endrizzi, F. A. Vittoria, L. Rigon et al., "X-ray phase-contrast radiography and tomography with a multiperture analyzer," Phys. Rev. Lett. 118(24), 243902 (2017).</footnote>

<footnote n="28">²⁸A. Doherty, S. Savvidis, C. Navarrete-León, M. F. M. Gerli, A. Olivo, and M. Endrizzi, "Edge-illumination x-ray dark-field tomography," Phys. Rev. Appl. 19(5), 54042 (2023).</footnote>

<footnote n="29">²⁹S. K. Lynch, V. Pai, J. Auxier et al., "Interpretation of dark-field contrast and particle-size selectivity in grating interferometers," Appl. Opt. 50(22), 4310–4319 (2011).</footnote>

<footnote n="30">³⁰P. C. Diemoz, C. K. Hagen, M. Endrizzi, and A. Olivo, "Sensitivity of laboratory based implementations of edge illumination X-ray phase-contrast imaging," Appl. Phys. Lett. 103(24), 244104 (2013).</footnote>

<footnote n="31">³¹T. Sellerer, K. Mechlem, R. Tang, K. A. Taphorn, F. Pfeiffer, and J. Herzen, "Dual-Energy X-Ray Dark-Field Material Decomposition," IEEE Trans. Med. Imaging 40(3), 974–985 (2021).</footnote>

<footnote n="32">³²W. Yashiro, Y. Terui, K. Kawabata, and A. Momose, "On the origin of visibility contrast in x-ray Talbot interferometry," Opt. Express 18(16), 16890–16901 (2010).</footnote>

<footnote n="33">³³M. Strobli, "General solution for quantitative dark-field contrast imaging with grating interferometers," Sci. Rep. 4(1), 7243 (2014).</footnote>

<footnote n="34">³⁴F. Prade, A. Yaroshenko, J. Herzen, and F. Pfeiffer, "Short-range order in meso-scale systems probed by X-ray grating interferometry," Europhys. Lett. 112(6), 68002 (2015).</footnote>

<footnote n="35">³⁵H. Miao, A. Panna, A. A. Gomella et al., "A universal moiré effect and application in x-ray phase-contrast imaging," Nat. Phys. 12(9), 830–834 (2016).</footnote>

<footnote n="36">³⁶E. E. Bennett, R. Kopace, A. F. Stein, and H. Wen, "A grating-based single-shot x-ray phase contrast and diffraction method for in vivo imaging," Med. Phys. 37(11), 6047–6054 (2010).</footnote>

<footnote n="37">³⁷H. Wen, E. E. Bennett, M. M. Hegedus, and S. C. Carroll, "Spatial harmonic imaging of x-ray scattering—Initial results," IEEE Trans. Med. Imaging 27(8), 997–1002 (2008).</footnote>

<footnote n="38">³⁸A. F. Stein, J. Ilavsky, R. Kopace, E. E. Bennett, and H. Wen, "Selective imaging of nano-particle contrast agents by a single-shot x-ray diffraction technique," Opt. Express 18(12), 13271–13278 (2010).</footnote>

<footnote n="39">³⁹M. Kagias, Z. Wang, K. Jefimovs, and M. Stampanoni, "Dual phase grating interferometer for tunable dark-field sensitivity," Appl. Phys. Lett. 110(1), 014105 (2017).</footnote>

<footnote n="40">⁴⁰D. Shoukroun, L. Massimi, M. Endrizzi, D. Bate, P. Fromme, and A. Olivo, "Composite porosity characterization using x-ray edge illumination phase contrast and ultrasonic techniques," Proc. SPIE 11593, 115932M (2021).</footnote>

<footnote n="41">⁴¹A. Mittone, I. Manakov, L. Broche, C. Jarnias, P. Coan, and A. Bravin, "Characterization of a sCMOS-based high-resolution imaging system," J. Synchrotron Radiat. 24(6), 1226–1236 (2017).</footnote>

<footnote n="42">⁴²A. Astolfo, I. Buchanan, T. Partridge et al., "The effect of a variable focal spot size on the contrast channels retrieved in edge-illumination X-ray phase contrast imaging," Sci. Rep. 12(1), 3354 (2022).</footnote>

<footnote n="43">⁴³P. R. T. Munro, "Rigorous multi-slice wave optical simulation of x-ray propagation in inhomogeneous space," J. Opt. Soc. Am. A 36(7), 1197–1208 (2019).</footnote>

<footnote n="44">⁴⁴E. Knudsen, A. Prodi, J. Baltser et al., "McXtrace: A Monte Carlo software package for simulating x-ray optics, beamlines and experiments," J. Appl. Crystallogr. 46, 679–696 (2013).</footnote>

<footnote n="45">⁴⁵A. M. Hernandez and J. M. Boone, "Tungsten anode spectral model using interpolating cubic splines: Unfiltered x-ray spectra from 20 kV to 640 kV," Med. Phys. 41(4), 042101 (2014).</footnote>

<footnote n="46">⁴⁶R. R. Valera, I. P. Morales, S. Vanmaercke, C. R. Morfa, L. A. Cortés, and H. D. G. Casañas, "Modified algorithm for generating high volume fraction sphere packings," Comput. Part. Mech. 2(2), 161–172 (2015).</footnote>