{'fraction_non_alphanumeric': 0.03633396790862116, 'fraction_numerical': 0.011096002175686702, 'mean_word_length': 4.807169930511686, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Direct Conversion X-ray Detector with Micron-Scale Pixel Pitch for Edge-Illumination and Propagation-Based X-ray Phase-Contrast Imaging

In this work, we investigate the potential of employing a direct conversion integration mode X-ray detector with micron-scale pixels in two different X-ray phase-contrast imaging (XPCi) configurations, propagation-based (PB) and edge illumination (EI). Both PB-XPCi and EI-XPCi implementations are evaluated through a wave optics model—numerically simulated in MATLAB—and are compared based on their contrast, edge-enhancement, visibility, and dose efficiency characteristics. The EI-XPCi configuration, in general, demonstrates higher performance compared to PB-XPCi, considering a setup with the same X-ray source and detector. However, absorption masks quality (thickness of X-ray absorption material) and environmental vibration effect are two potential challenges for EI-XPCi employing a detector with micron-scale pixels. Simulation results confirm that the behavior of an EI-XPCi system employing a high-resolution detector is susceptible to its absorption masks thickness and misalignment. This work demonstrates the potential and feasibility of employing a high-resolution direct conversion detector for phase-contrast imaging applications where higher dose efficiency, higher contrast images, and a more compact imaging system are of interest.


Introduction
X-ray Phase-Contrast Imaging (XPCi), an emerging modality, has demonstrated early results that are superior to conventional attenuation-based X-ray imaging due to its ability to improve visualization of low-contrast objects. It offers an attractive lower cost and potentially higher throughput, and higher spatial resolution alternative to magnetic resonance imaging (MRI) and other imaging methods in some clinical scenarios. This modality has been clinically evaluated to image breast tissue, cancer specimens, and brain tissue, in addition to characterizing multi-material samples [1][2][3].
Among different techniques developed to realize the XPCi modality, propagationbased (PB), and edge-illumination (EI) can be scaled in a relatively straightforward manner to large area imaging systems, which gives them an advantage over other approaches [4,5]. EI-XPCi, in particular, can provide excellent detail from various objects, which makes it a promising candidate for next-generation commercial X-ray imaging benchtop systems [6]. Although PB-XPCi offers a less complex setup compared to EI-XPCi-which requires a set of two absorption gratings-it possesses mathematically intensive methods to retrieve phase and attenuation information. Although many attempts have been made to advance PB-XPCi information retrieval methods, they vary based on different assumptions and approximations that are made, as well as the complexity of the required input data for different materials, which make them hard to use. Moreover, not all of these information retrieval methods can be applied to applications where polychromatic X-ray sources are employed [7][8][9][10]. On the other hand, information retrieval in EI-XPCi can be performed in a less intensive manner due to a difference in imaging physics [11]. In both PB and EI-XPCi, however, employing a high-resolution X-ray detector can potentially improve the detectability of small feature sizes in objects [12].
High spatial resolution imaging becomes essential and critical for certain medical and non-medical applications. The span of its application varies from microtomography (µ-CT) and mammography-where detecting more details and identifying objects with small feature sizes, such as carcinoma, calcification, or cancerous tumor are crucial and vital, especially at their early stages-to emerging applications in the industry such as semiconductor inspection, machine vision, and material science [13][14][15][16][17][18][19]. Extensive research has been conducted to improve spatial resolution in compact X-ray detectors for energies above 20 keV using a combination of amorphous selenium (a-Se) photoconductors and complementary metal-oxide semiconductor (CMOS) readout technology with micron-scale pixels [20][21][22].
Imaging at higher resolutions, higher X-ray energies, and lower exposures are three main and highly interdependent criteria for enhancing any XPCi system, but absorption mask gratings are central to improving an EI-XPCi system. Theoretically, employing high-resolution absorption gratings along with a high-resolution detector, and considering a compatible microfocus X-ray source, should improve EI-XPCi performance. However, such a high-performance EI-XPCi system has not yet been realized due to technological challenges. Two main bottlenecks that impede the realization of such a high-resolution EI-XPCi system are: (1) fabrication of high-resolution (fine pitch) absorption gratings compatible with the small pixel size of such high-resolution detectors, and (2) mechanical vibration sensitivity of a high-resolution EI-XPCi system [23].
In this work, we first introduce a framework by which both PB-XPCi and EI-XPCi can be modelled and numerically simulated; we verify the numerical simulation results using experimental data to validate the model. This model, at a system level, takes into account the effect of source, detector, and pixel blurring; in addition, the thickness and mechanical vibration of the absorption gratings in the final image. By utilizing this model, we analyze PB-XPCi and EI-XPCi methods and evaluate their performance in terms of contrast, edge-enhancement, visibility, and dose efficiency characteristics to explain how EI-XPCi can outperform PB-XPCi with the same X-ray source and detector. This higher performance is due to the fact that EI-XPCi contains less background attenuation signal than PB-XPCi-which can be interpreted as an unwanted signal; thus, EI-XPCi produces a phase image with higher contrast compared to PB-XPCi. Despite EI-XPCi's superiority over PB-XPCi, simulation results reveal that the absorption masks thickness variation and mechanical vibration can significantly affect the behavior of a high-resolution EI-XPCi system. Next, we present existing PB-XPCi and EI-XPCi systems and demonstrate what type of technology is currently being used in each system. A BrillianSe™ prototype is introduced as a direct conversion a-Se/CMOS-based high-resolution integration mode X-ray area detector with a pixel pitch equal to 7.8 µm [24]. Ultimately, we show how the X-ray absorption grating fabrication industry is one step behind the high-resolution detector technology, particularly in EI-XPCi systems.

Theory and Model
Both PB-XPCi and EI-XPCi systems can be mathematically modelled based on electromagnetic wave transmission through objects and propagation in free-space. Figure 1 illustrates the components and geometry of an EI-XPCi system model. It consists of an X-ray source, a pre-sample absorption mask, an object, a detector absorption mask, and an X-ray detector. It is assumed that the pre-sample mask and detector mask are at the object plane and detector plane, respectively. Following the Fresnel-Kirchhoff integral to describe the propagation of X-rays between source and object, as well as object and detector, the expected signal intensity at position (x, y) registered at the detector plane-I d (x, y)-can be expressed through Equations (1)- (6): where E is the photon energy; g is the detector gain; N(x, y, E) is the number of X-ray photons; MTF is the combined modulation transfer function of source, detector, and pixel; S r (x, y) is the re-scaled source intensity distribution on the detector plane; I p (x, y, E) is the intensity measured at a pixel; Φ(E) is the photon flux (photons per time and area) in the detector plane when no object is present; t is the duration of exposure time; w 2 is the pixel area; η d (E) is the detector absorption efficiency; H 1 (x, y, E) is the Fresnel propagator between source and object plane; H 2 (x, y, E) is the Fresnel propagator between the object plane and detector plane; T M1 is the pre-sample mask transmission function and T M2 is the detector mask transmission function, where both are equal to one within the apertures and are equal to zero in the absorbing septa; T obj is the object transmission function; λ is the wavelength of a monochromatic wave; k is the wave number in the z-propagation-direction; as well as φ(x, y, E) is the phase shift and M(x, y, E) is the linear amplitude attenuation, both calculated from the complex refractive index of the object [25,26]. Considering that the object of interest is described by its complex refractive index through Equation (7): where δ (phase coefficient) and β (absorption coefficient) are related to the refraction and absorption of the object, respectively. If the material composition of the object is known, one can calculate δ and β using Equations (8) and (9): with r 0 being the Thomson scattering length or the classical electron radius, h the Planck's constant, c the speed of light, and E the photon energy; n Z is the atomic density, Z is the atomic number with a summation over all present elements in the object material composition, f 0 1Z is the forward scattering factor that can be considered equal to Z in this case, and µ is the linear attenuation coefficient [26]. Using Equations (8) and (9), we can calculate φ(x, y, E) and M(x, y, E) through Equations (10) and (11): The required thickness of a material to stop an X-ray photon can be calculated using exponential attenuation law through Equation (12): It is worth mentioning that the mass thickness is defined as the mass per unit area, and is obtained by multiplying the thickness x t by the density ρ, i.e., x = ρx t . Gold is selected as the X-ray absorber for absorption masks design since it is widely used in X-ray mask fabrication. Figure 2 illustrates the required thickness of gold (for an absorption mask) versus X-ray energy so the X-ray can be stopped in an absorption mask. Environmental vibration has a negative effect on the EI-XPCi system. In this work, environmental vibration is translated into mechanical displacement in the mask misalignment. It should be noted that, for the sake of simplicity, this vibration is modelled through mechanical displacement along only the x-direction of the pre-sample mask, since line gratings ( Figure 1) are assumed for this study. It is assumed that masks misalignment associated with mechanical vibration is within a range of two micrometres. We have simulated different scenarios in which mask misalignment varies within this range for both a high-resolution EI-XPCi (pixel size equal to 7.8 µm to match the prototype detector) and an EI-XPCi system with a bigger pixel pitch (39 µm, i.e., 5 × 5 pixel binning) to highlight the effect of vibration on a high-resolution EI-XPCi system.

Simulation and Verification
The model explained here works well for both monochromatic as well as polychromatic X-ray sources, where, in the latter scenario, the intensity registered at the detector is calculated by integration over each individual X-ray energy component contributed to the polychromatic source energy spectrum. This model is numerically simulated in MATLAB ® following the algorithm shown in Figure 3. It should be noted that we employed the spektr toolset to simulate the X-ray spectrum and mass-energy attenuation coefficient-the data of which are retrieved from NIST [27]. To verify the model, simulation results are compared with experimental data from [25] (using a quasi-monochromatic X-ray beam with an energy of 20 keV), which are illustrated in Figure 4. Simulation is done assuming a quasi-monochromatic Gaussian distributed X-ray source with FWHM = 80 µm at 40 kV p (equal to 20 keV); source to sample distance of 20 m and sample to detector distance of 0.55 m; as well as 50% illumination fraction (for EI-XPCi setup) for two different samples: polyetheretherketone (PEEK) wire with a diameter equal to 460 µm, and titanium wire with a diameter equal to 250 µm. PEEK is selected as an almost transparent object to the X-ray energy considered for this comparison, hence it reveals an intensity profile that is mainly due to phase shift rather than attenuation contrast; and Titanium is chosen as an object which presents a strong absorption, thus a wide range of conditions is covered to verify the model. Figure 4. Comparison between the simulation result and experimental data extracted from [25] for (a) a PEEK wire, and (b) a Titanium wire. The solid blue line represents the simulation result, and the red circles demonstrate experimental data.

Comparison of High-Resolution PB-XPCi and EI-XPCi
The model explained in the previous section is employed to investigate the PB-XPCi and EI-XPCi systems and to evaluate them, where we have considered a polychromatic microfocus X-ray source working at 60 kV p with a spot size equal to 9 µm (except for studying the effect of MTF d on the imaging performance where we consider a spot size equal to 2 µm) and a detector with pixel size and pitch equal to 7.8 µm for a PEEK wire with a diameter equal to 585 µm as the object of interest. Figure 5 illustrates the X-ray spectrum employed in this work to simulate the model. Contrast, edge-enhancement, and visibility characteristics of PB-XPCi and EI-XPCi are evaluated and compared using Equations (13)-(15); dose efficiency, however, is considered as a relative measure to compare how much of the incident X-ray is registered at the object: where I max , I min , and I background are the maximum, minimum, and background signals registered at the detector, respectively.

Direct vs. Indirect Conversion Detector
To highlight the advantage of employing a high-resolution direct conversion detector and its effect on image quality, we simulated and compared a direct conversion detector with an indirect conversion detector. The indirect conversion detector is modelled by modifying its MTF d . To study only the effect of MTF d on the imaging performance, simulation is performed considering MTF p and MTF s with smaller point spread function (PSF) values than the MTF d . Simulation is done for different values of full width at half maximum (FW HM) of a detector PSF to illustrate the effect of MTF d on the image quality. Figure 6 demonstrates the impact of MTF d , which is represented here as different values of the FW HM of the detector PSF. As the detector PSF increases, the imaging resolution decreases, leading to losing the object information in the registered image. For the same detector pixel size, indirect conversion detectors suffer from greater detector PSF, which leads to resolution degradation. However, direct conversion detectors benefit from smaller PSF, making them superior for high-resolution imaging tasks [24]. From a qualitative imaging perspective [28], direct conversion detectors can reveal more details, which is beneficial for XPCi applications where the edge enhancement of a pure phase object plays a critical role (Figure 6a), compared to indirect conversion detectors where details are lost (( Figure 6d). Moreover, for quantitative studies, direct conversion detectors make it easier to extract more information from an image when phase-contrast properties are present (compare Figure 6e with Figure 6h). Simulation is done for a PEEK wire with 585 µm in diameter using a polychromatic microfocus X-ray source working at 60 kV p with a spot size equal to 2 µm to only study and highlight the effect of MTF d on the system performance.
Simulation results confirm that, increasing the FW HM of the detector PSF lowers the contrast, edge-enhancement, and visibility of a PB-XPCi system (the same results can be expected for an EI-XPCi system), as illustrated in Figure 7. The highest value in the three graphs in Figure 7 (at FW HM = 7.8 µm) corresponds to a direct conversion detector with a pixel size equal to 7.8 µm, and higher FW HM values in Figure 7 represent an indirect conversion detector (with the same pixel size).

PB-XPCi
With z so , z od , and z sd being the source-to-object, object-to-detector, and source-todetector distances, investigation of contrast, edge-enhancement, and visibility characteristics are carried out for PB-XPCi as a function of z od , considering the fact that z sd is kept constant-105 cm. In other words, PB-XPCi is evaluated at different magnification scenarios (between 1.05 to 21) when z od is changing between 5 cm to 100 cm, and z sd is always kept constant-equal to 105 cm. Figure 8a-c illustrate the contrast, edge-enhancement, and visibility for a PB-XPCi system. In order to highlight the role of a high-resolution detector in the imaging performance, three different pixel sizes of 7.8 µm, 23.4 µm, and 39 µm are simulated all through the same imaging system condition. Reducing the pixel size results in an enhancement in the detected signal, which leads to higher contrast, edge enhancement, and visibility. Since PB-XPCi systems require high spatial coherence X-ray sources to reveal the phase-contrast effect, phase shift drops for lower spatial coherence components. This is noticeable in Figure 8a-c, where increasing in z od -in other words higher magnifications-results in lower contrast, less edge-enhancement, and less visibility. On the other hand, contrast, edge-enhancement, and visibility experience lower values when the object is close to the detector-at lower z od , since the phase effect has not yet been evolved due to a lower propagation distance between the object and detector.

EI-XPCi
An EI-XPCi system performance relies on parameters such as its masks dimensions, detector pixel size, as well as X-ray source energy; thus, z so and z od should be selected and optimized based on the system configuration, and they should be kept fixed, since altering their values affect the system behavior. As a result of that, contrast, edge-enhancement, and visibility are investigated as a function of masks misalignment-which results in different illumination fractions-for the EI-XPCi system. Investigation of the EI-XPCi system is done based on a 7.8 µm pixel size detector; a pre-sample mask with 1.56 µm aperture and 6.24 µm period; a detector mask with 1.17 µm aperture and 7.8 µm period; z so of 18 cm; and z od equal to 4.5 cm. The aperture and period of pre-sample and detector masks are designed based on the X-ray source specifications, distances, and pixel size. Although the detector mask aperture can be greater than the aperture of the pre-sample mask, we designed it to be smaller to minimize the effect of source blurring and to cover different scenarios in changing the masks misalignment. An EI-XPCi system behavior highly depends on where the beamlets, which exited the pre-sample mask, land on the detector mask. Considering a beamlet to exemplify the situation, three different scenarios could occur: (1) the whole beamlet impinges upon the absorption part of the detector mask (Figure 1), therefore nothing is detected; (2) a portion of the beamlet is absorbed by detector mask and the rest is registered by the pixel-this is the definition of edgeillumination; (3) the beamlet is fully landed within the detector mask aperture. Since only the second scenario leads to edge-illumination behavior, this is worth mentioning that, for mask misalignment, there is a point (or a number of points) at which the system operates to its highest potential for image acquisition. Figure 9a-c illustrate the contrast, edge-enhancement, and visibility of the EI-XPCi system when masks are misaligned over the span of one pre-sample mask period to demonstrate the behavior of the system. The two vertical green bars in Figure 9a-c highlight the regions at which EI-XPCi system reveals the highest contrast (also edge-enhancement and visibility). The middle vertical red bar in Figure 9a-c represents the first scenario where the beamlets of X-ray are fully absorbed by the detector mask, and no signal is detected (without any object present). On the contrary, the far left and far right plateaus are where approximately all of the X-rays are registered by the detector (without any object present). Dose efficiency, however, is considered as the amount of dose the object receives. The optimum condition would be illuminating the object at the lowest possible dose and achieving the highest contrast in the image simultaneously. In order to investigate these two systems in terms of dose efficiency, we need to review how each system does work. In the PB-XPCi system, nothing blocks the incident X-ray when it propagates toward the object, thus the object is fully illuminated. This is the highest amount of radiation dose an object can receive in any X-ray imaging system. On the other hand, in the EI-XPCi approach, there is an absorption mask right before the object (pre-sample mask), which translates the incident X-ray into smaller beamlets. This translation decreases the delivered X-ray dose at the object. Considering a pre-sample mask with 1.56 µm aperture and 6.24 µm period, only 25% of the incident X-ray will be employed for image acquisition, which is a higher dose efficiency-less delivered radiation dose by the object-compared to the PB-XPCi system. However, it should be mentioned that reducing the dose exposure results in a lower signal-to-noise (SNR) ratio, which in some cases can be later compensated by longer imaging time (or more powerful X-ray sources) to have more X-ray photons. Therefore, a considerable reduction in the delivered dose at the object can be achieved through the EI-XPCi system [2]. It is worth mentioning that, from an image perspective, contrast is more important than SNR since that is how features can be distinguished in the image. In the EI-XPCi system, for the same dose efficiency or as defined in this work, dose absorbed by the object (achieved by increasing exposure time to compensate for signal loss in the pre-sample mask), one would expect higher contrast when compared to PB-XPCi using the system described in this manuscript.
The best system, comprehensively, is the one in which both contrast (also edgeenhancement and visibility) and dose efficiency are high. According to simulation results carried out here, the EI-XPCi system outperforms the PB-XPCi one in contrast, edgeenhancement, visibility, and dose efficiency characteristics to a great extent. Figure 10 illustrates simulation results of the impact of detector mask thickness variation on the behavior of a high-resolution direct conversion detector (with 7.8 µm pixel size) for an EI-XPCi system. It shows that transmissions up to 30% of the incident Xray through absorption masks will not considerably change the behavior of the EI-XPCi system (Figure 10a-h). However, transmissions of more than 40% of the incident X-ray through absorption masks result in the EI-XPCi system experiencing a slight change in its behavior-shifting from EI to PB behavior. Transmissions of more than 70% of the incident X-ray through absorption masks highlight the behavior of a PB-XPCi system rather than an EI-XPCi one (Figure 10i-p). The gradual shift from EI to PB behavior, as detector mask thickness decreases, is associated with the increased background signal. The detector mask blocks a portion of incoming beamlets to realize an EI-XPCi system, where any imperfections with the detector mask would result in the EI-XPCi system performance loss. The same shift in behavior, from EI to PB, exists for imperfections in the pre-sample mask, where, in this scenario, impure beamlets generated from an imperfect pre-sample mask result in losing the EI behavior, which is detecting individual beamlet changes. Figure 11 displays how environmental vibration is modelled through mechanical displacement. For the sake of simplicity, we only considered the pre-sample mask displacement along the x-direction. Displacements along the y-direction do not change the signal intensity as they are parallel with line gratings. In addition, any displacement along the z-direction does not change the signal intensity significantly as it hardly changes the shape of beamlets (considering the 2 micrometres range of displacement). The red beamlets (in Figure 11) illustrate the situation in which the pre-sample mask is shifted due to environmental vibration, where the beamlets' position impinging upon the detector is changed.

Effect of Absorption Mask Thickness Variation and Mechanical Vibration in a High-Resolution EI-XPCi System
To study the effect of mechanical vibration on the performance of an EI-XPCi system, we considered two different systems:

1.
A 39 µm pixel size system with a pre-sample mask with 4.68 µm and 31.2 µm aperture and period; a detector mask with 9.75 µm and 39 µm aperture and period; z so of 160 cm; and z od equal to 40 cm. 2.
A 7.8 µm pixel size system with a pre-sample mask with 1.56 µm and 6.24 µm aperture and period; a detector mask with 1.17 µm and 7.8 µm aperture and period; z so of 18 cm; and z od equal of 4.5 cm. Figure 10. The effect of detector mask thickness variation on the performance of a high-resolution EI-XPCi system. As beamlets' transmission through the absorption mask increases, the system shifts from EI to PB behavior.
Simulation results confirm that high-resolution EI-XPCi systems are sensitive to environmental vibration, where their behavior changes dramatically when mask misalignment swings even in the range of 2 micrometres. However, EI-XPCi systems with bigger pixel sizes are not influenced noticeably by this misalignment. Figure 12 illustrates how environmental vibration within the range of two micrometres does not have a noticeable effect on the behavior of the system with 39 µm pixel size. On the other hand, as Figure 13 shows, the same environmental vibration in higher resolution detectors (in this case, a system with 7.8 µm pixel size) significantly swings the system behavior between PB and EI modes. Figure 11. Environmental vibration modelled through mechanical displacement which causes misalignment between pre-sample and detector mask in an EI-XPCi system for high-resolution imaging application.  This study highlights that, as we move towards higher resolution systems, mechanical vibration can become a significant issue in the system performance, which was not a contributing factor in the performance of lower resolution systems. In general, if proper design practices are followed, environmental vibration can be minimized, and thus it is not a common problem in today's large fixed X-ray inspection systems. However, if one is trying to design a benchtop or mobile XPCi system or, alternately, placing such a system on an active industrial factory floor, then vibration can become a concern. As a result, higher precision mechanical stages (or optical tables) are required to dampen the environmental vibration. One solution is to use a feedback mechanism to minimize the effect of environmental vibration in post-processing steps. For example, by knowing the intensity transfer function (illumination curve) of the EI-XPCi system and the background signal, any vibration in the background can be translated into the change of intensity, which can be later corrected to lock the masks in position.

Propagation-Based X-ray Phase-Contrast Imaging System
Here, we present BrillianSe™, an amorphous selenium (a-Se) integration mode X-ray detector, which employs a hybrid a-Se/CMOS detector technology. This high-resolution detector was initially developed at the University of Waterloo, and is now commercialized by a University of Waterloo spin-off company, KA Imaging Inc. [21,22,29]. The a-Se photoconductor possesses a high intrinsic spatial resolution and is utilized in this X-ray detector in the direct conversion mode. The 7.8 µm pixel pitch BrillianSe™ prototype used in this work has micron-scale resolution and high detection efficiency for energies >20 keV. We used this detector in a PB-XPCi configuration to demonstrate the potential of this high-resolution Xray detector. The edge-enhancement effect in PB-XPCi at different geometric magnifications for a Polytetrafluoroethylene (PTFE) rod (with a thickness of 0.7 mm) employing a prototype version of BrillianSe™ X-ray detector-1000 × 1000 pixels with 7.8 µm pixel pitch; a tungsten target Thermo Scientific™ PXS5-927 Microfocus X-ray Source (from Thermo Fisher Scentific Inc., Waltham, MA, USA) working at 60 kV p , 134 µA, and focal spot size of 9 µm; as well as the source to object distance of z so = 18 cm is demonstrated in Figure 14.
As we increase the distance between the object and the detector (by keeping the source to object distance constant and equal to z so = 18 cm), the edges of the object-where the refractive index changes abruptly-become more detectable.   Figure 15a displays the imaging setup and configuration used to perform the PB-XPCi. It should be emphasized that, using a high-resolution X-ray detector like BrillianSe™ not only helps us reveal smaller feature sizes and more information, but makes the final XPCi setup more compact as well. Compactness of an XPCi setup is an advantage when it comes to benchtop and portable imaging systems, such as in intraoperative specimen imaging applications. It should be noted that utilizing such a high-resolution detector to its full potential for higher magnification imaging tasks requires X-ray sources with a finer focal spot, thus the source blurring does not play the limiting factor in the image formation.
(b) X-ray source spectrum. The tungsten target X-ray spectrum used for imaging purposes in this work is illustrated in Figure 15b. The spectrum without any filtration has multiple characteristic lines at around 10 keV, which was filtered using a 0.5 mm aluminum (Al) filter (the inset graph in Figure 15d shows the zoomed-in version of the filtered spectrum). Figure 16a displays the phase-contrast image of a dried bay leaf imaged at 60 kV p , z so = 18 cm, and z od = 8 cm. It is worth mentioning that darker regions in the image displayed in Figure 16a correspond to lower X-ray transmission through the object. Figure 16a reveals the bay leaf's midrib, margins, veins, and lamina where feature sizes as small as 15-20 µm are clearly visible. Profile of relative intensity along the cross-section (blue line), in Figure 16a, is illustrated in Figure 16b, which indicates phase-contrast peaks at the boundaries of bay leaf's margins, midrib, and also different parts within the lamina. A bee head is also imaged through the same setup in two different scenarios, first when the object is close to the detector (z od = 1 cm), which corresponds to the attenuation image (Figure 16c), and then when the detector is put further away from the object (z od = 8 cm) (Figure 16d) which leads to a phase-contrast image. There is a small difference in resolution, roughly 7.8 µm for the attenuation image and 5.5 µm for the phase-contrast image-due to the magnification in the latter image. However, the slightly better resolution is insufficient to explain the significantly improved contrast in the phase-contrast image, which is due to phase contrast refraction effects. The clear edge-enhancement around the boundaries of the bee organs observable in the phase-contrast image is thanks to the phase effect and the high-resolution detector employed, all in a compact system. (c) (d) Figure 16. (a) Phase-contrast image of a dried bay leaf using a prototype version of the BrillianSe™ Xray detector and a microfocus source at 60 kV p , z so = 18 cm, and z od = 8 cm; (b) profile of relative intensity along the vertical cross-section (blue line); (c) X-ray attenuation image of a bee head imaged at 60 kV p , z so = 18 cm, and z od = 1 cm; (d) X-ray phase-contrast image of the same bee head imaged at 60 kV p , z so = 18 cm, and z od = 8 cm.
It should be noted that, to address these bottlenecks from the technological perspective, we are both limited to a few number of X-ray stopper materials, the most common X-ray absorber being used in fabrication technology is gold (Au), and the fabrication technology for high-resolution high-aspect ratio absorption masks is not as developed and available as what it is for high-resolution detectors. For instance, in the case of employing a highresolution detector (7.8 µm pixel pitch) in an EI-XPCi setup, an almost 100 µm thick gold is required to stop 90% of a 40 keV X-ray; considering a compact system with z so = 18 cm and z od = 8 cm, it requires a pre-sample mask with an aperture size of less than 2 µm and period of less than 7 µm-the same condition with slightly bigger aperture size and 7.8 µm period applies for a detector mask; not to mention that by increasing distances, these values should decrease to match the EI-XPCi system requirement. This implies the importance of putting more effort into improving X-ray absorption mask fabrication technology for high-resolution detectors and high-energy X-ray imaging applications.
Amongst different techniques developed for X-ray absorption mask fabrication, there are two well-defined and widely used processes: etching processes-such as deep reactive ion etching (DRIE) on a silicon wafer [38]-and making molds on a conductive substrate, both followed by an electroplating step to create the absorber parts. The former relies on tools such as atomic layer deposition (ALD) of metals and DRIE process, which impede this fabrication method from scaling up and creating larger X-ray masks. The latter approach of making X-ray masks, however, is based on a mechanically stable mold (the most common one widely used is the negative photoresist SU-8) and a lithography process, either X-ray or UV lithography [39,40]. Although X-ray lithography is an efficient tool for high-aspect ratio structure fabrication [41][42][43][44], it is an expensive and hard-to-access method. On the other hand, employing conventional UV lithography techniques with SU-8 photoresist, in the best-case scenario, results in structures with aspect ratios as high as 10-which is not enough for a micro-scale pixel pitch high-resolution EI-XPCi system such as BrillianSe™ Xray detector. Having said that, we could not experimentally test our high-resolution X-ray detector in an EI-XPCi configuration because of not having access to compatible absorption masks. Although a single-mask EI-XPCi method relaxes the conditions in the EI-XPCi systems, it still requires an absorption mask compatible with BrillianSe™ X-ray detector. We, however, tested a single-mask EI-XPCi system using an absorption mask with greater aperture size and period-employing a BrillianSe™ prototype-and its preliminary results are the subject of forthcoming publications. Employing a micron-scale pixel pitch X-ray detector in a single-mask EI-XPCi setup opens up new opportunities and possibilities to perform imaging tasks with less complexity and at lower dose exposures. Regarding the high-aspect ratio gratings, we are developing a new fabrication process to realize high-aspect ratio high-resolution absorption gratings using SU-8 photoresist and the UV LIGA process. The early results of this fabrication process are published in different works [45][46][47].

Conclusions
In this research, we investigated PB-XPCi and EI-XPCi techniques in terms of their contrast, edge-enhancement, visibility, and dose efficiency characteristics for a direct conversion detector with micron-scale pixel pitch. We used numerical modelling and a simulation tool to evaluate both techniques and demonstrate the effect of absorption mask thickness and environmental vibration on the performance of the EI-XPCi system. The numerical modelling was verified by employing a direct conversion amorphous selenium (a-Se)/CMOS based micron-scale pixel X-ray detector, BrillianSe™, in the PB-XPCi configuration to highlight the potential of such a detector in revealing small feature size structures. Although the EI-XPCi configuration demonstrated better performance in simulation results, there are some experimental challenges associated with using such a high-resolution detector. Two main challenges in a high-resolution EP-XPCi system studied in this work are the fabrication of high-resolution high-aspect ratio X-ray absorption gratings and the effect of mechanical vibrations on the system performance. Although the latter challenge can be addressed by using higher precision mechanical stages to dampen the mechanical vibrations, we believe that, by overcoming the challenges in making large-area X-ray grating technology, EI-XPCi systems can be translated into clinical imaging for applications where accuracy and dose efficiency are of importance, such as mammography.