research papers\(\def\hfill{\hskip 5em}\def\hfil{\hskip 3em}\def\eqno#1{\hfil {#1}}\)

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775

On the optimization of the geometric pattern for structured illumination based X-ray phase contrast and dark-field imaging: a simulation study and its experimental validation

crossmark logo

aUniv. Grenoble Alpes, Inserm UA7, Strobe, Grenoble, France, and bXenocs SAS, Grenoble, France
*Correspondence e-mail: [email protected]

Edited by A. Momose, Tohoku University, Japan (Received 22 September 2025; accepted 25 March 2026; online 20 April 2026)

Phase contrast and dark-field imaging are relatively new X-ray imaging modalities that provide additional information to conventional attenuation-based imaging. However, this new information comes at the price of a more complex acquisition scheme and optical components. Among the different techniques available, such as grating interferometry or edge illumination, modulation-based and more generally single-mask/grid imaging techniques simplify these new procedures to obtain phase and dark-field images by shifting the experimental complexity to the numerical post-processing side. This family of techniques involves inserting a membrane into the X-ray beam that locally modulates the intensity to create a pattern on the detector which serves as a reference. However, the topological nature of the mask used seems to determine the quality of the reconstructed phase and dark-field images. We present in this article an in-depth study of the impact of the membrane parameters used in a single-mask imaging approach. A spiral topology seems to be an optimum both in terms of resolution and contrast-to-noise ratio compared with random and regular patterns.

1. Introduction

X-ray phase contrast and dark-field imaging have emerged as powerful tools in a wide array of applications, demonstrating their efficacy in both bio-medical (Willer et al., 2021View full citation; Viermetz et al., 2022View full citation), cultural heritage (Mocella et al., 2015View full citation) and industrial fields (Partridge et al., 2022View full citation; Shirani et al., 2023View full citation). These techniques have proven to be remarkably effective in enhancing image quality both in terms of contrast and spatial resolution as they were able to provide valuable information beyond conventional absorption-based imaging. However, their implementation outside synchrotron facilities typically requires dedicated optical setups or highly coherent sources (Quenot et al., 2022View full citation; Wilkins et al., 1996View full citation). The most common technique to transfer phase contrast on conventional X-ray source is grating interferometry which introduces generally two grating interferometers that reduce the flux or augment the radiation dose to the sample and that need to be carefully aligned, generating therefore problems for their 3D implementation in rotation gantry systems (Viermetz et al., 2022View full citation).

Over the past decade a new family of methodologies, named single-mask methods (Morgan et al., 2012View full citation; Bérujon et al., 2012View full citation; Lim et al., 2015View full citation), has emerged. This set of techniques significantly simplified X-ray phase contrast imaging (PCI) by shifting the experimental complexity towards digital and data processing realms. Single-mask techniques therefore made phase contrast and dark-field techniques more accessible and practical to a wider community. Indeed, by analyzing the distortion of the original pattern caused by the introduction of a sample, these techniques allow refraction and scattering to be directly measured. Different implementations exist. The modulation pattern might differ in nature (1D, 2D) and the space in which the phase retrieval is performed: either Fourier or real. In this study, we use the concept of modulation-based imaging (MoBI) (Quenot et al., 2022View full citation) which is the most generic method as no assumption is made on the modulation generated by the mask and where the phase retrieval is made in real space.

While these advancements have made X-ray phase contrast and dark-field imaging more feasible using conventional X-ray sources (Zanette et al., 2014View full citation), the optimization of modulation topology remains an open research question, especially with regard to semi-random modulators. A subfamily of these single grid methods uses regular patterns, either Cartesian grids (Sun et al., 2019View full citation) or honeycomb topology (Busi et al., 2023View full citation). They profit from this known modulation by either modelling the signal in real space (Croughan et al., 2023View full citation) or using Fourier space-based methods (Sun et al., 2022View full citation) to retrieve dark-field and phase contrast. In this context of regular grids, Cartesian patterns or gratings, several aspects of design and/or optimization have already been investigated (Vanthienen et al., 2023View full citation; Rieger et al., 2017View full citation; Kagias et al., 2016View full citation; Morgan et al., 2011View full citation; Wen et al., 2010View full citation; Lim et al., 2015View full citation; Guitard et al., 2024View full citation).

In the case of the MoBI method (Magnin et al., 2023View full citation), which derives from the synchrotron's native speckle techniques (Zdora et al., 2017View full citation; Berujon & Ziegler, 2016View full citation; Morgan et al., 2012View full citation), no assumption is made of the modulation. The method consists of inserting a membrane into the beam, usually a piece of sandpaper, and making several pairs of images of this membrane with and without the presence of the sample. The membrane is moved a few pixels between each pair of images and the grains on the surface of the paper modulate the X-ray intensity randomly on the detector.

In this study, the impact of different geometries on image quality was investigated. This work enables the optimization of modulation geometries according to the characteristics of the devices used. We aim to provide a more streamlined approach to X-ray phase contrast and dark-field imaging, making these techniques even more valuable and versatile for a wide range of applications. We present the results obtained by simulating an existing device and the associated experimental validation.

2. Material and method

2.1. Modulation-based imaging method

In this study, MoBI is used to acquire and retrieve phase and dark-field images. MoBI involves inserting a membrane into the X-ray beam to modulate its intensity locally, thereby generating a reference pattern in the detector plane. In the original approach (Morgan et al., 2012View full citation; Bérujon et al., 2012View full citation), authors used sandpapers to create a speckle-like pattern thanks to the coherence of synchrotron beams and the multiple refraction caused by different layers of silicon grains. More recently, Quenot et al. (2022View full citation) used a higher-Z element to create a modulation pattern based on absorption using a low coherence source. Nevertheless, in all these experimental setups, several pairs of images of the reference pattern alone (Ir) and with the sample (Is) are taken. The membrane is moved a few pixels between each acquisition to obtain an entirely different reference pattern for each pair of images. Fig. 1[link] illustrates the MoBI method and shows the different membrane and sample geometries used in the study.

[Figure 1]
Figure 1
The MoBI method consists of inserting a single mask into the X-ray beam to locally modulate the intensity on the detector. Several pairs of images are acquired of the mask alone (Ir) and of the mask with the sample (Is) by shifting the mask position between each acquisition pair. Representation of the different mask (b) and samples geometries (c) simulated. (d) Examples of reference and sample images.

In this study, ten pairs of images of Ir and Is are used to retrieve phase and dark-field images both experimentally and by simulation. Between each pair of images, the membrane is randomly moved by 50 to 150 pixels in the 1 (x) or 2 (x and y) directions in space. The displacement is intentionally set to be larger than 1 pixel to ensure a measurable shift of the gradient and modulation between successive reference images. To limit the number of parameters in this study, the effect of membrane displacement is addressed separately and in detail in a different work (Perion et al., 2025View full citation). These pairs of Ir and Is images will be used to retrieve phase and dark-field images after an algorithmic analysis described in Section 2.2[link].

2.1.1. Simulations

To compare a wide variety of membrane types and sample geometries, a large part of this study was carried out by numerical simulation. The PARESIS simulation tool (Quénot et al., 2021View full citation) is used to digitally generate pairs of reference and sample images, taking into account several inputs to define the geometries and parameters of the imaging device (source–detector distances) as well as the membrane and sample characteristics.

Four different membrane types and six samples were numerically simulated for this purpose and are shown in Fig. 1[link](c). In the simulations, the samples are made of nylon with different geometries and thicknesses. Six samples were generated:

(i) A cylindrical wire with a diameter of 1.5 mm.

(ii) A sphere with a diameter of 12 mm.

(iii) A cube with side length of 7 mm.

(iv) A torus with an outer diameter of 13 mm, an inside diameter of 3 mm and a maximum thickness of 3 mm.

(v) A Shepp–Logan (SL) phantom of size 13 mm × 18 mm with thicknesses ranging from 1 to 5 mm.

(vi) A Julia's fractal geometry of 18 mm × 10 mm with a maximum height of 5 mm.

The samples geometries were chosen to represent simple and more complex materials. The SL phantom was used to assess the contrast-to-noise ratio and quantitativeness in a more complex geometry. Finally, the fractal sample was mainly used to assess the quality of reconstructed images; its geometry is complex with fine details enabling the reconstruction to be probed on several size scales.

In parallel, membranes are created digitally. Their construction is inspired by the sandpaper used to date, where sand grains on the surface of the paper allow variations in X-ray attenuation. To reproduce similar intensity gradients, SiO2 cones with a fixed height of 200 nm and variable diameters are digitally placed on the surface of the membranes. These cones are distributed in different arrangements over a flat surface of the size of the detector. Four families of membrane geometries have been numerically created and are shown in Fig. 1[link](b):

(i) A random geometry reproducing the distribution of grains on the surface of sandpapers.

(ii) A hexagonal geometry that mimics honeycomb constructions known to optimize space.

(iii) A regular geometry based on a square-mesh grid.

(iv) A spiral geometry.

Generally speaking, a spiral is a curve that wraps around a fixed point while moving progressively away from it. Mathematically, a spiral can be described in a polar coordinate system by an equation of the form

Mathematical equation

with r the distance from the point to the center, θ the angle in radians and f(θ) the function that defines how r varies with angle. In this study a Vogel spiral is used, a pattern known for reproducing the geometry of sunflowers. Several spiral geometries exist, and a numerical comparison of the performance comparison of different patterns is given in the supporting information.

Because we want to validate the results obtained by simulation on an existing system, the simulated experimental setup is based on a Xeuss 3.0 instrument (Xenocs SAS, Grenoble, France) adapted for MoBI. In this context, the simulations were carried out using the following parameters:

(i) Source-to-membrane distance: 0.33 m.

(ii) Source-to-sample distance: 0.55 m.

(iii) Sample-to-detector distance: 0.80 m.

(iv) Simulated source: Cu target with a polychromatic beam of mean energy equal to 8.6 keV.

(v) Constant mean number of photons on the detector: 75000 counts per pixel.

(vi) Under vacuum environment.

(vii) Photon-counting detector of 1030 × 514 pixels with a pixel size of 75 µm.

(viii) The membrane is randomly shifted between each image pair by 50 to 150 pixels in one or two spatial directions (x only or both x and y).

2.1.2. Experimental setup

As previously mentioned, our experimental setup is a Xeuss 3.0 (Xenocs SAS, Grenoble France) adapted for MoBI and described in Table 1[link]. The device features a polychromatic cone-shaped beam X-ray source dedicated to imaging. A vacuum chamber contains the sample, the motorized membrane in one direction, and a movable detector along the X-ray propagation direction. Three membranes were used experimentally: a piece of sandpaper (random pattern), a honeycomb geometry and a Vogel spiral (Vogel, 1979View full citation). These membranes were fabricated by drilling circular apertures in the surface of Ni plates. The effect of the holes in the material, convoluted by the size of the source, enabled us to obtain intensity modulations similar to those obtained by adding material in the form of cones, as we had initially envisaged. The experimental parameters of this set-up are summarized in Table 1[link]. Throughout the rest of this article, we use pixel dimensions instead of physical dimensions in order to maintain generality.

Table 1
Experimental parameters

Distances Source to sample: 0.55 m; source to membrane: 0.33 m; sample to detector: 0.80 m.
X-ray source Transmission copper anode; 30 kVp; 8.6 keV average energy; 50 µm spot size.
Detector Photon-counting Eiger2 (DECTRIS, Switzerland) with pixels of 75 µm; imaging acquisition time: 30 s per image.
Membrane Piece of sandpaper p180 (31 mm × 20 mm) and two micro-perforated patterns of holes of 60 µm diameter in a 30 µm-thick Ni foil (31 mm  ×  20 mm). The membrane is randomly shifted by 50 to 150 pixels in one spatial x direction.

The samples used in the experimental part were (i) a home-made phantom of nylon and bundles of carbon fibers and (ii) the Julia fractal printed out in 3D in resin with the same geometrical characteristics as the simulated one.

2.2. Phase retrieval

Once the reference and sample image pairs have been obtained experimentally or by simulation, the phase and dark-field images were retrieved using the recently published implicit `Low coherence system' (LCS) reconstruction algorithm with (directional) dark-field extraction (Magnin et al., 2023View full citation). This algorithm retrieves several image modalities: absorption, phase obtained by integrating displacement images Dx and Dy, dark-field and directional dark-field. LCS maps the distortions in the reference pattern induced by the presence of the sample. These distortions of various kinds can be linked to the absorption, refraction and scattering phenomena that correspond to the transmission, phase and dark-field images, respectively. The algorithm is based on the resolution of equations based on the Transport of Intensity (TIE) equation and optical flow conservation. More details are given by Magnin et al. (2023View full citation) but the general form of the founding equation is

Mathematical equation

where Ir and Is are the reference image and the sample image, z2 is the sample-to-detector distance, D = (Dx, Dy) is the transverse displacement field and ∇ = ∂/∂x + ∂/∂y is the two dimensional transverse gradient operator. (Dx, Dy) provides the phase image after an integration step. Iobj is a sink term introduced to compensate for attenuation that might comprise also the interference fringes, if any, and Df the scattering term that represent the dark-field contribution. In order to retrieve the absorption, phase and dark-field signal, we must solve a system with at least four membrane positions due to the four unknowns (Iobj, Dx, Dy, Df), the phase being the integral of Dx and Dy,

Mathematical equation

Note that in equation (2)[link] the refraction terms (Dx and Dy) are retrieved thanks to the gradient image of the reference pattern and that the dark-field term Df uses the Laplacian of the same image. Thus, improving the distribution and the value of the Laplacian and gradient of the reference image is a way to enhance the image retrieval process and, consequently, the quality of the reconstructed images.

A detailed review article on the different algorithms in MoBI can be found in the literature (Celestre et al., 2024View full citation). For clarity, the methods described in the following sections are those best suited to the low-coherence X-ray system used to validate our simulation results. A comparison with two explicit algorithms is nonetheless provided in the supporting information, and shows no difference in trend.

2.3. Metrics

To assess the quality of the reconstructed images, several image quality assessment (IQA) indexes were used. In this study, IQA are calculated on Dy displacement images because they are directly linked to phase information (phase is the integral of the Dx and Dy images), and avoids the integration issues that can occur with phase images. The different indices are computed by comparing the Dy images obtained experimentally or by simulation with a ideal D0y image calculated theoretically and denoted I0. This theoretical image D0y, which represents the ideal displacement of the object, is calculated by simulation from the thickness map of each sample. Indeed, the theoretical phase shift of the sample can be numerically computed, given the thickness and material of the simulated object. Only the FRC index is not compared with a theoretical Dy image, but is instead based on several images acquired under the same experimental or simulation conditions. Most of these indices were calculated using the Pytorch Image Quality (Kastryulin et al., 2019View full citation) and Sk-Image (Van der Walt et al., 2014View full citation) libraries:

(i) NRMSE (normalized root mean square error). RMSE is defined as the square root of the mean square error between two different images. It measures the difference between two images by calculating the average of the squared deviations for each pixel, then taking the square root of this average as

Mathematical equation

where D0y is the theoretical image and Dy the displacement image to be compared, i represents a pixel, and N is the total number of pixels in the images. To facilitate comparisons, the RMSE is normalized by the Euclidean norm of the reference image, giving the NRMSE criterion. The lower the NRMSE, the more similar the images are.

(ii) SSIM (structural similarity index measure). To be more representative of human vision than the mean square error, the SSIM index was introduced in the early 2000s (Wang et al., 2003View full citation). This index is calculated between two windows x and y of size N × N of two images as

Mathematical equation

where μx is the mean of x, μy the mean of y, Mathematical equation the variance of x, Mathematical equation the variance of y, covxy the covariance of x and y, and c1 = (k1L)2, c2 = (k2L)2 and c3 = c2/2 are three variables designed to stabilize division when the denominator is very low. L is the dynamic range of pixel values, i.e. 255 for 8-bit coded images. k1 = 0.01 and k2 = 0.03 by default. Several more recent image quality indexes have been developed from the SSIM model, such as the MS-SSIM and SR-SSIM mentioned below.

(iii) MS-SSIM (multi-scale structural similarity index) (Wang et al., 2003View full citation) takes into account image details at different resolutions. This index aims to better reflect the way humans perceive image quality. It works by applying a low-pass filter to the image and halving its size at each iteration. The process is repeated several times, producing several scales of the image. At each scale, contrast and structure comparisons are calculated. The measurements obtained at each scale are then combined to produce an overall assessment of structural similarity.

(iv) SR-SIM (spectral residual based similarity) (Zhang & Li, 2012View full citation). The spectral residual visual saliency (SRVS) is derived from the image spectrum, whereas the spectral residual is obtained from the logarithmic spectrum. This residual is then transformed into the spatial domain to obtain a visual saliency map for each image, and compared with each other to obtain a local similarity measure. SRVS is effective for detecting salient areas, but less so for capturing local contrast, which is why SR-SIM also incorporates a measure of image gradient (GM). GM provides an additional measure for assessing local image quality, focusing on transitions and contours.

(v) VSI (visual saliency-induced index) is based on the visual importance of different image regions. Unlike other indices, VSI uses a model of visual salience, describe elsewhere by Zhang et al. (2014View full citation), to identify the parts of the image that attract the human observer's attention the most. It thus gives greater weight to salient regions in the quality calculation, offering an assessment more faithful to human perception.

(vi) FRC (Fourier ring correlation) is an image quality criterion widely used to assess image resolution in microscopy (Koho et al., 2019View full citation). This index measures the similarity between two images or sets of images by decomposing them into their frequency representations and then calculating the correlation of these frequency components at different spatial scales. This method allows us to assess the resolution to which fine image structures are correlated. In our case, we took two different realizations (two different sets of references and sample images) to evaluate the spatial resolution. The FRC curve shows how the correlation varies with spatial frequency. A threshold value is often defined to determine the resolution at which correlation becomes insignificant. This threshold value is interpreted as the resolution at which details can no longer be distinguished with confidence in the images. In this analysis, the most widely used threshold of (1/7 = 0.143) is chosen.

3. Results

3.1. Membrane optimization by numerical simulation

The first step in objectively comparing the four membrane topologies was to set the optimal configurations in terms of gradient distribution on the reference image for each geometry. The modulation amplitude was fixed by keeping the same height of cone on our virtual membrane, and we studied the influence of the modulation size on the image quality. Fig. 2[link](a) shows the evolution of the NRMSE criterion on the Dy images of a fractal object for different modulation sizes (expressed as the peak-to-peak distance). The fractal object was chosen for this purpose because it is a multi-scale geometry that allows the resolution of the images to be probed. The membrane was virtually moved randomly in two spatial directions (x, y), perpendicular to the beam propagation axis, between each of the ten reference/sample image pairs. We remind the reader that the lower the NRMSE, the better the image quality. We can observe the same plateau in the image quality measurements for all the different topologies at approximately the same modulation size: 6–3 pixels. This latter is a clear advantage of the MoBI approach because it means that the same membrane can be used for different magnifications.

[Figure 2]
Figure 2
Simulation results. NRMSE index of the retrieved images as a function of average peak-to-peak distance between modulations on the membrane. (a) Results are obtained for the four membrane geometries on the fractal sample. The membrane is moved in two directions. (b) NRMSE index calculated on the six sample Dy images retrieved according to different membranes. The membrane is moved in one direction only. The lower the index, the better the image quality. The object images represent the thickness of the simulated samples in grayscale, as shown in Fig. 1[link](c).

To avoid optimizing for a given algorithm we also used two explicit tracking algorithms: unified modulation pattern analysis (UMPA) (Zdora et al., 2017View full citation) and X-ray speckle vector tracking (XSVT) (Berujon & Ziegler, 2016View full citation). Results are reported in the supporting information; briefly, the maximum image quality is found for a modulation size of 6 to 3 pixels for all the algorithms, with LCS outperforming in terms of image quality. It is beyond the scope of this article to compare the different algorithms in detail, and we refer the reader to Celestre et al. (2024View full citation) for a quantitative comparison.

In the rest of this study, the results have been obtained using a single-direction mask movement (for practical reasons of using a single motor). Image quality measurements made with two directions of membrane sensing can be found in the supporting information. In the simulation section we use ten different positions of the membrane obtained from the same initial membrane by applying a random displacement of 50 to 150 pixels in the x direction.

Fig. 2[link](b) shows NRMSE index measurements obtained on Dy images for all samples using the four membrane geometries with single-axis displacement. Under these conditions, the regular pattern yields poor image quality due to artifacts, except for the wire sample, whose orientation is orthogonal to the direction of membrane displacement. Note that an optimized displacement strategy for membranes with such regular topology could potentially yield better results. The refraction effect caused by the wire is unidirectional and can therefore be measured without being impacted by the periodicity effect of the regular membrane. The scores obtained by the three other membrane topologies are closer to each other. However, it is interesting to note that the random pattern, used experimentally up to now with sandpaper (Zanette et al., 2014View full citation; Bérujon et al., 2012View full citation; Morgan et al., 2012View full citation) or powder deposits (Quenot et al., 2022View full citation), is not the most interesting option. The spiral pattern seems to have a slight advantage over the other geometries, as it achieves the lowest NRMSE values in all cases.

NRMSE is known not to reflect the human eye vision for image quality (Wang & Bovik, 2009View full citation). Further image quality indices are considered in Figs. 3[link](a)–3(d) to validate the superiority of the spiral membrane, particularly in the case of unidirectional membrane displacement. The regular membrane was eliminated from the analysis due to low-quality results. The set of criteria compares the images obtained with theoretical images, and the higher the metrics, the better the image quality. Figs. 3[link](a)–3(d) confirm the trends observed earlier on the NRMSE for the four simplest object geometries. First of all, the random pattern seems to be the worst in terms of topology of the three tested even though it is the most used in the literature. On the other hand, the spiral pattern gives the best topology for the different geometries except the torus sample in which hexagonal and spiral are tied. The more complex SL and fractal samples were analyzed in greater detail and are presented in Figs. 4[link] and 5[link].

[Figure 3]
Figure 3
Different image quality indices calculated on Dy images obtained numerically using different membrane geometries. The higher the indexes, the better the image quality. The membrane is moved in one direction only. The object images represent the thickness of the simulated samples in grayscale, as shown in Fig. 1[link](c).
[Figure 4]
Figure 4
Comparison of numerical Dy images of the SL sample obtained theoretically (a) and with different membrane geometries (b, c, d). Associated image quality indices (e).
[Figure 5]
Figure 5
Vertical refraction (Dy) numerical images comparison on fractal sample obtained in theory (a) and with the different membrane geometries (b, c, d). FRC index computed on the three Dy images (e) with a threshold at 1/7.

Figs. 4[link](a)–4(d) show refraction maps in the vertical direction (Dy) obtained with the different membrane topologies for the SL phantom together with the theoretical image to retrieve. This phantom is made up of ellipsoids of different densities/thicknesses aiming to model a brain sample. This phantom, commonly used in biomedical imaging, emphasizes the strengths and weaknesses of different membrane geometries. Two different insets are isolated to highlight the background and signal-to-noise ratio. Fig. 4[link](e) shows in radar plot of the different image quality metrics.

In this figure, the image obtained with the random pattern is the noisiest in the uniform thickness region and shows moderate noise in the background. The image retrieved with the hexagonal pattern contains long-line artifacts and a high level of noise in the background. Finally, the spiral pattern generates a low-noise refraction map with a higher level of detail. These qualitative observations are supported by Fig. 4[link](e), which shows that the spiral pattern outperforms the other geometries for all criteria.

Table 2[link] lists the calculated angular sensitivity values of these images, as in Navarrete-León et al. (2024View full citation), carried out in eight different 5 × 40 pixel windows in a sample-free zone by calculating the mean and standard error of the standard deviation of the refraction angles. A rectangular window is used in order to maximize the statistics when measuring the gradient along the Y direction. Once again, the spiral membrane achieves the best resolution with the lowest angular sensitivity down to 98 nrad.

Table 2
Angular sensitivity in Dy SL images

  Random Honeycomb Spiral
Angular sensitivity (nrad) 141 810 98

Figs. 5[link](a)–5(d) show the vertical refraction image (Dy) obtained on a fractal sample, and Fig. 5[link](e) shows the calculation of the FRC (Koho et al., 2019View full citation) associated with each of these images. FRC, widely used in microscopy, is another highly informative index to look at, relevant for analyzing a fractal object, since it has been established for calculating spatial resolutions. The FRC curves highlight the superiority of the spiral membrane, which achieves a resolution of 2.3 pixels compared with 2.7 and 3.2 pixels for the hexagonal and random membranes, respectively. These spatial frequency estimates are consistent with visual impressions and the distribution of noise inside and outside of the sample in the Dy images of Figs. 5[link](b)–5(d). The results of the other component Dx are equivalent – see the supporting information.

3.2. Experimental validation

Previous numerical simulations showed the superiority of the spiral geometry. Experimental measurements were carried out to confirm its performance. To this end, three membranes were selected, manufactured and compared under experimental conditions as close as possible to the simulation parameters:

(i) A piece of p180 sandpaper generates a random reference pattern.

(ii) A honeycomb pattern of holes of 60 µm diameter in a 30 µm-thick Ni foil.

(iii) A spiral pattern reproducing the Vogel pattern of holes of 60 µm diameter in a 30 µm-thick Ni foil.

A fractal object similar to the one used in simulation was printed in 3D and imaged with these different membranes. Ten pairs of reference and sample images were acquired, each with an exposure time of 30 s to limit the effects of photon noise. The membrane was moved with a random displacement of between 50 and 150 pixels between each pairs in only one direction to get closer to numerical simulation conditions.

Fig. 6[link] shows the vertical refraction (Dy) images obtained experimentally [Figs. 6(b)–6(d)] with the different masks. The FRC curve, Fig. 6[link](e), shows the resolutions achieved.

[Figure 6]
Figure 6
Experimental validation. Dy images comparison on fractal sample obtain in theory (a) and with the different membrane geometries (b, c, d). FRC index computed on the three Dy images (e) with a threshold at 1/7.

This experimental analysis highlights the clear inferiority of random pattern compared with other geometries, confirming the previous numerical results. The image qualities achieved with the hexagonal and spiral patterns are close both visually and by analysis of the FRC curves.

To go further, and not restrict the study to the case of phase contrast, the experimental investigation was extended to the quality of dark-field and directional dark-field images. Fig. 7[link] shows the results of this comparison. Directional dark-field is color coded using the HSV (hue, saturation, value) space. In detail, hue is the angle of the semi-major axis (modulao π), saturation is the length of this principal vector of the dark field tensor, and value encodes the norm of this tensor (i.e. the square root of the squared axis lengths). As there is currently no reliable simulation model capable of faithfully reproducing the effects measured in dark-field imaging, this evaluation was carried out exclusively on an experimental approach.

[Figure 7]
Figure 7
Dark-field (top) and directional dark-field (bottom) images on experimental data of a nylon wire and bundles of carbon fibers sample using three different membranes: random (a, d), hexagonal (b, e) and spiral (c, f) patterns.

The sample used for this purpose is a home-made phantom consisting of a nylon wire and two bundles of carbon fibers with two different orientations. Fiber bundles are known to scatter anisotropically, so they have a strong dark-field signal with a preferred orientation. In contrast, the nylon wire generates no scattering signal.

In Fig. 7[link], dark-field and directional dark-field images show once again the inferiority of sandpaper, which induces noisier dark-field images inside and outside of the sample.

Dark-field images show that the hexagonal pattern mask is the best candidate for reducing image noise. The spiral membrane gives inferior results to the hexagonal geometry, but significantly better than those of the random membrane, as reflected in the signal-to-noise ratio (SNR) values in Table 3[link]. However, the directional dark-field images reveal the limitations of the honeycomb geometry: although it reduces image noise, the orientations of the structures are poorly evaluated. This visual observation translates into a lower saturation value, as shown in the last line of Table 3[link]. The spiral membrane therefore emerged as the best compromise, enabling us to improve image quality while producing directional dark-field images with sharper orientation values, with stronger coloration and better contrast.

Table 3
Signal-to-noise ratio in dark-field (DF) images and saturation-to-noise ratio in directional dark-field (DDF) images in the ROI represented by the red boxes in Fig. 7[link]

  Random Honeycomb Spiral
SNR DF 9.8 34 13.7
SNR DDF saturation 5 3 8

4. Discussion

In this article we have estimated the image quality in X-ray phase contrast and dark-field imaging using different illumination patterns. This work was carried out by simulation and validated experimentally.

The overall numerical and experimental study demonstrates the value of membranes with quasi-periodic geometries, such as spiral patterns, for improving phase and dark-field image quality. This analysis highlights the superiority of spiral patterns over the other geometries considered conventionally: random, regular and honeycomb. The use of regular patterns such as grids creates significant artifacts due to the preferred directions contained within the pattern. Fourier based methods for phase retrieval (Guitard et al., 2024View full citation) might give a better phase retrieved signal. Finally, the study shows that random patterns such as those obtained by the illumination of sandpapers used up to now are largely disadvantageous compared with other geometries both numerically and experimentally.

The efficiency of the different patterns has been studied here empirically. A purely theoretical solution in terms of image reconstruction equations seems beyond reach. We evaluated in this study different criteria such as local extrema distribution, intensity gradient values, contrast, modulation distributions and packing. As the mask optimization problem is relatively complex, no single criterion can explain the above empirical observations.

We propose to explain these results in terms of two key parameters: the intensity gradient distribution and the modulation packing density obtained on reference images using the different masks.

4.1. Gradient distribution

Starting from equation (1)[link], we can see that the resolution of phase images (i.e. of displacement Dx, Dy) is linked to the term ∇Ir, the gradient of the reference image. One way of understanding the superiority of some geometries would be to think of these patterns as optimizing the distribution and gradient values of reference images, and thus improving the resolution of displacement terms Dx and Dy.

Fig. 8[link] shows the intensity gradient distributions on the reference images alone (a) and on the sum of the ten reference images used (b). Figs. 8(c) and 8(d) show the distribution of gradient orientations on the reference images alone and on the sum of the ten reference images, respectively.

[Figure 8]
Figure 8
Analysis of the gradient distribution Mathematical equation on a single numerical reference image (a) and on the sum of ten reference images (b), with the corresponding statistical tables for each distribution shown below. Gradient orientation distribution on a single reference image (c) and the sum of ten reference images (d).

The graphs of Figs. 8(a) and 8(b) show that random and spiral geometries address a wide range of gradient values in a continuous way. In contrast, the distributions associated with hexagonal and regular patterns are discretized and more concentrated at the level of mean gradient values. Figs. 8(c) and 8(d) show that for hexagonal and regular geometries the gradients calculated on the reference images have clear preferred directions. This effect is reinforced on the sum of the ten reference images, while for the random and spiral patterns the orientation distribution is homogeneous. This directionality in gradient distribution can be the source of geometric artifacts in reconstructed images. This observation helps to explain the superiority of the spiral pattern over the hexagonal and regular geometries, but not the inferiority of the random distribution. An analysis of the modulation density gives some additional insight on the differences in image quality.

4.2. Modulation packing density

In order to explain the variations in image quality obtained with the different masks, the analysis of the distribution of intensity gradient values must be compared with the spatial density of modulation distribution. Indeed, the gradient values obtained on reference images may be ideal, but, if the number of modulations contained in the latter is insufficient, the retrieved phase image will be of poor quality, due to the lack of information caused by the local absence of modulation. Fig. 9[link] shows the modulation density distribution map (in modulations pixel−2) on reference images obtained by simulation with the four mask geometries.

[Figure 9]
Figure 9
Analysis of packing density distribution (modulations pixel−2) on a single numerical reference image. The mean densities are 0.03 ± 0.02, 0.052 ± 0.005, 0.041 ± 0.001 and 0.04 ± 0.01 modulations pixel−2 for the random, honeycomb, regular and spiral geometries, respectively.

This figure shows the weakness of the random pattern with an average modulation density well below the others. Visually, Fig. 9[link] describes an inhomogeneous distribution of modulations on the reference image obtained with this pattern. Despite some areas of high density (red), the image surface contains many regions of insufficient modulation density (blue and green), which can lead to information loss and artifacts when reconstructing phase and dark-field data. In contrast, regular and hexagonal patterns maximize and homogenize modulation distribution. The spiral pattern achieves an average modulation density comparable with that of the regular pattern, while evenly distributing the modulations over the image surface, making it clearly superior to the random pattern in this respect.

Finally, we can explain the advantages of the spiral pattern in phase contrast image enhancement, as it allows us to optimally pave the space (without having a preferred direction, as can be the case with regular structures which cause artifacts) while maximizing the gradient values addressed by the modulation. This analysis also helps us to understand the weaknesses of the random pattern, which can achieve interesting gradient values, but whose paving is often locally insufficient, resulting in a loss of information during phase retrieval.

The results highlight that the effectiveness of modulation geometries depends not only on their ability to create appropriate intensity gradients but also on their spatial distribution. While random patterns offer uniform intensity gradient distributions, their inhomogeneous spatial distribution severely compromises the quality of reconstructed images. Conversely, spiral patterns, with their ability to evenly distribute modulations over the imaging field, offer an optimal balance between gradient and density, resulting in images of higher quality for a given number of image pairs. In addition, the use of quasi-periodic geometric patterns minimizes the directional artifacts that can be observed when using regular or hexagonal masks.

5. Conclusion

This qualitative study provides an initial overview of the impact of the performance of different geometries on the quality of X-ray images reconstructed using the single-mask method. This work can be taken further in various ways, by exploring other geometric configurations or developing theoretical models to improve our understanding of the impact of membrane structure on image quality. Such work could lead to further optimization of the masks used and the quality of the reconstructed images. Moreover this optimization was performed on X-ray single-mask imaging but other techniques using similar structured illumination scheme, such as visible light microscopy (Gigan, 2022View full citation; Boominathan et al., 2020View full citation) or wavefront sensing (Berto et al., 2017View full citation), might benefit of this study. In this study, we focused on the topology of the membrane using several pairs of randomly scanned images. In the near future, we will work on determining whether this optimization is also valid in single-shot approaches (Qiao et al., 2021View full citation; Doherty et al., 2023View full citation) or if we optimize the acquisition scheme for a given membrane.

Supporting information


Funding information

Part of this work was supported by the LABEX PRIMES (ANR-11-LABX-0063) of Université de Lyon, within the program `Investissements d'Avenir' (ANR-11-IDEX-0007) operated by the French National Research Agency (ANR). We acknowledge the support of ANRT cifre No. 2022/0476 program that partly funds CM. EB acknowledges the support of Inserm IRP linx project.

References

Return to citationBerto, P., Rigneault, H. & Guillon, M. (2017). Opt. Lett. 42, 5117–5120.  Web of Science CrossRef PubMed Google Scholar
Return to citationBerujon, S. & Ziegler, E. (2016). Phys. Rev. Appl. 5, 044014.  Web of Science CrossRef Google Scholar
Return to citationBérujon, S., Ziegler, E., Cerbino, R. & Peverini, L. (2012). Phys. Rev. Lett. 108, 158102.  Web of Science PubMed Google Scholar
Return to citationBoominathan, V., Adams, J. K., Robinson, J. T. & Veeraraghavan, A. (2020). IEEE Trans. Pattern Anal. Mach. Intell. 42, 1618–1629.  CrossRef PubMed Google Scholar
Return to citationBusi, M., Shen, J., Bacak, M., Zdora, M. C., Čapek, J., Valsecchi, J. & Strobl, M. (2023). Sci. Rep. 13, 15274.  Web of Science CrossRef PubMed Google Scholar
Return to citationCelestre, R., Quenot, L., Ninham, C., Brun, E. & Fardin, L. (2024). arXiv:2404.11633.  Google Scholar
Return to citationCroughan, M. K., How, Y. Y., Pennings, A. & Morgan, K. S. (2023). Opt. Express 31, 11578–11597.  Web of Science CrossRef CAS PubMed Google Scholar
Return to citationDoherty, A., Buchanan, I., Astolfo, A., Savvidis, S., Gerli, M. F., Citro, A., Olivo, A. & Endrizzi, M. (2023). arXiv:2308.09465.  Google Scholar
Return to citationGigan, S. (2022). Nat. Phys. 18, 980–985.  CrossRef CAS Google Scholar
Return to citationGuitard, L., Stolidi, A., Giakoumakis, G., Sousa Martins, R., Primot, J. & Jarnac, A. (2024). Sci. Rep. 14, 21803.  CrossRef PubMed Google Scholar
Return to citationKagias, M., Wang, Z., Villanueva-Perez, P., Jefimovs, K. & Stampanoni, M. (2016). Phys. Rev. Lett. 116, 093902.  CrossRef PubMed Google Scholar
Return to citationKastryulin, S., Zakirov, D. & Prokopenko, D. (2019). PyTorch Image Quality: Metrics and measure for image quality assessment, https://github.com/photosynthesis-team/piqGoogle Scholar
Return to citationKoho, S., Tortarolo, G., Castello, M., Deguchi, T., Diaspro, A. & Vicidomini, G. (2019). Nat. Commun. 10, 3103.  Web of Science CrossRef PubMed Google Scholar
Return to citationLim, H., Park, Y., Cho, H., Je, U., Hong, D., Park, C., Woo, T., Lee, M., Kim, J., Chung, N., Kim, J. & Kim, J. (2015). Opt. Commun. 348, 85–89.  CrossRef CAS Google Scholar
Return to citationMagnin, C., Quénot, L., Bohic, S., Mihai Cenda, D., Fernández Martínez, M., Lantz, B., Faure, B. & Brun, E. (2023). Opt. Lett. 48, 5839–5842.  Web of Science CrossRef CAS PubMed Google Scholar
Return to citationMocella, V., Brun, E., Ferrero, C. & Delattre, D. (2015). Nat. Commun. 6, 5895.  CrossRef PubMed Google Scholar
Return to citationMorgan, K. S., Paganin, D. M. & Siu, K. K. (2011). Opt. Express 19, 19781–19789.  Web of Science CrossRef CAS PubMed Google Scholar
Return to citationMorgan, K. S., Paganin, D. M. & Siu, K. K. W. (2012). Appl. Phys. Lett. 100, 124102.  Web of Science CrossRef Google Scholar
Return to citationNavarrete-León, C., Patrick, P. S., Doherty, A., Allan, H., Cipiccia, S., Marathe, S., Wanelik, K., Esposito, M., Hagen, C. K., Olivo, A. & Endrizzi, M. (2024). J. Synchrotron Rad. 31, 1293–1298.  CrossRef IUCr Journals Google Scholar
Return to citationPartridge, T., Astolfo, A., Shankar, S., Vittoria, F., Endrizzi, M., Arridge, S., Riley-Smith, T., Haig, I., Bate, D. & Olivo, A. (2022). Nat. Commun. 13, 4651.  CrossRef PubMed Google Scholar
Return to citationPerion, P., Magnin, C., Arfelli, F., Faure, B., Menk, R. H. & Brun, E. (2025). arXiv:2511.14886.  Google Scholar
Return to citationQiao, Z., Shi, X., Wojcik, M. J., Rebuffi, L. & Assoufid, L. (2021). Appl. Phys. Lett. 119, 011105.  Web of Science CrossRef Google Scholar
Return to citationQuenot, L., Bohic, S. & Brun, E. (2022). Appl. Sci. 12, 9539.  Web of Science CrossRef Google Scholar
Return to citationQuénot, L., Brun, E., Létang, J. M. & Langer, M. (2021). Phys. Med. Biol. 66, 175027.  Google Scholar
Return to citationRieger, J., Meyer, P., Horn, F., Pelzer, G., Michel, T., Mohr, J. & Anton, G. (2017). J. Instrum. 12, P04018.  Google Scholar
Return to citationShirani, S., Cuesta, A., Morales-Cantero, A., Santacruz, I., Diaz, A., Trtik, P., Holler, M., Rack, A., Lukic, B., Brun, E., Salcedo, I. R. & Aranda, M. A. G. (2023). Nat. Commun. 14, 2652.  Web of Science CrossRef PubMed Google Scholar
Return to citationSun, W., MacDonald, C. A. & Petruccelli, J. C. (2019). Proc. SPIE 10990, 109900U.  Google Scholar
Return to citationSun, W., Pyakurel, U., MacDonald, C. A. & Petruccelli, J. C. (2022). Biomed. Phys. Eng. Expr. 8, 055016.  CrossRef Google Scholar
Return to citationVan der Walt, S., Schönberger, J. L., Nunez-Iglesias, J., Boulogne, F., Warner, J. D., Yager, N., Gouillart, E. & Yu, T. (2014). PeerJ 2, e453.  Web of Science CrossRef PubMed Google Scholar
Return to citationVanthienen, P.-J., Sanctorum, J., Huyge, B., Six, N., Sijbers, J. & De Beenhouwer, J. (2023). Opt. Express 31, 28051–28064.  CrossRef CAS PubMed Google Scholar
Return to citationViermetz, M., Gustschin, N., Schmid, C., Haeusele, J., von Teuffenbach, M., Meyer, P., Bergner, F., Lasser, T., Proksa, R., Koehler, T. & Pfeiffer, F. (2022). Proc. Natl Acad. Sci. USA 119, e2118799119.  Web of Science CrossRef PubMed Google Scholar
Return to citationVogel, H. (1979). Math. Biosci. 44, 179–189.  CrossRef Web of Science Google Scholar
Return to citationWang, Z. & Bovik, A. C. (2009). IEEE Signal Process. Mag. 26, 98–117.  CrossRef Google Scholar
Return to citationWang, Z., Simoncelli, E. & Bovik, A. (2003). The 37th Asilomar Conference on Signals, Systems and Computers, 2003, 9–12 November 2003, Pacific Grove, CA, USA, Vol. 2, pp. 1398–1402  Google Scholar
Return to citationWen, H. H., Bennett, E. E., Kopace, R., Stein, A. F. & Pai, V. (2010). Opt. Lett. 35, 1932–1934.  Web of Science CrossRef PubMed Google Scholar
Return to citationWilkins, S., Gureyev, T. E., Gao, D., Pogany, A. & Stevenson, A. (1996). Nature 384, 335–338.  CrossRef CAS Google Scholar
Return to citationWiller, K., Fingerle, A. A., Noichl, W., De Marco, F., Frank, M., Urban, T., Schick, R., Gustschin, A., Gleich, B., Herzen, J., Koehler, T., Yaroshenko, A., Pralow, T., Zimmermann, G. S., Renger, B., Sauter, A. P., Pfeiffer, D., Makowski, M. R., Rummeny, E. J., Grenier, P. A. & Pfeiffer, F. (2021). The Lancet Digital Health, 3, e733–e744.  CrossRef CAS PubMed Google Scholar
Return to citationZanette, I., Zhou, T., Burvall, A., Lundström, U., Larsson, D. H., Zdora, M., Thibault, P., Pfeiffer, F. & Hertz, H. M. (2014). Phys. Rev. Lett. 112, 253903.  Web of Science CrossRef PubMed Google Scholar
Return to citationZdora, M.-C., Thibault, P., Zhou, T., Koch, F. J., Romell, J., Sala, S., Last, A., Rau, C. & Zanette, I. (2017). Phys. Rev. Lett. 118, 203903.  Web of Science CrossRef PubMed Google Scholar
Return to citationZhang, L. & Li, H. (2012). Proceedings of the 2012 19th IEEE International Conference on Image Processing (ICIP 2012), 30 September–3 October 2013, Lake Buena Vista, Florida, USA, pp. 1473–1476.  Google Scholar
Return to citationZhang, L., Shen, Y. & Li, H. (2014). IEEE Trans. Image Process. 23, 4270–4281.  CrossRef PubMed Google Scholar

This is an open-access article distributed under the terms of the Creative Commons Attribution (CC-BY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775
Follow J. Synchrotron Rad.
Sign up for e-alerts
Follow J. Synchrotron Rad. on Twitter
Follow us on facebook
Sign up for RSS feeds