Introduction

In the past decades, X-ray microcomputed tomography (XCT) was established as an invaluable method for the three-dimensional characterization of components and materials. The possibility of an in-depth investigation of multi-material specimens is equally important in medical and industrial applications. However, XCT encounters some limitations when high-density materials such as metals are included in the specimen, particularly in close proximity to materials of lower density. The polychromatic nature of X-ray anodes in laboratory XCT devices causes well known beam hardening artifacts, which deteriorate the reconstructed XCT image data. Polychromatic beam hardening also plays an important role for metal artefacts which appear as bright and dark streaks between high-density objects (streak artifacts) [1]. Furthermore, gradients of decreasing grey values towards the center of otherwise homogeneous objects can appear (cupping artefacts).

Both streak and cupping artefacts are caused by the polychromatic X-ray spectrum which is not thoroughly considered in standard filtered backprojection (FBP) reconstruction algorithms. These algorithms are based on Lambert–Beer’s law which implies a linear relationship between X-ray attenuation and specimen thickness and is strictly valid only for monochromatic X-rays [2]. In a polychromatic spectrum, lower energy X-ray photons are attenuated more significantly. When beam hardening occurs, the X-ray spectrum is shifted to a higher mean energy while propagating through a specimen which results in a higher transmission as would be assumed from Lambert–Beer’s law [3]. The resulting dark streaks between and around highly attenuating structures which are embedded in “softer” matrices usually appear in combination with bright ones as a result from high pass filtering in FBP reconstruction algorithms amplifying differences between adjacent pixels [4].

These streak artifacts are commonly encountered in XCT images of multi-material components, where they overlap with specimen features thereby hindering a proper materials segmentation by thresholding. Examples for metal artifacts in multi-material components like electrical plugs and circuit boards are shown in [5] and [6]. In medical imaging, these artifacts can greatly reduce the diagnostic value of XCT images and complicate the clinical reporting [7,8,9]. Typical scenarios of severe beam hardening occur in the monitoring of metal implants, e.g. after bone fracture. Meyer et al. [10] show cases of severe streak artifacts in patients with metallic hip prostheses, dental fillings and spine fixture. For these reasons, procedures to reduce beam hardening artifacts are a heavily addressed topic in medical imaging [3] and a considerable amount of scientific publications focus on their comparison [2, 7, 11,12,13,14,15,16,17,18]. However, phase contrast imaging (PCI) XCT, which is known to be less prone to metal artifacts caused by beam hardening effects [19, 20], has not yet been considered in these studies. In the course of this work, this absence in literature shall be addressed by a quantitative comparison of PCI to attenuation contrast (AC) XCT methods.

There are several techniques for the extraction of X-ray PCI explained in literature, such as analyzer crystal, propagation or edge illumination based methods [21]. In this work, we facilitate PCI by Talbot-Lau grating interferometer XCT (TLGI-XCT) [22]. In contrast to the majority of other methods, TLGI-XCT has rather low requirements in spatial and temporal coherence and is therefore applicable at most laboratory XCT devices with standard X-ray tubes [19]. As explained and demonstrated by Chabior et al. [19], beam hardening effects in PCI-XCT are qualitatively comparable to artifacts arising in AC-XCT. However, quantitatively, beam hardening artifacts are less pronounced because of a reduced dependency of X-ray refraction on X-ray energy. The linear attenuation coefficient μ is proportional to μ ∼ 1/E3, while its equivalent in PCI (2π/λ) · δ ∼ 1/E, where λ is the X-ray wavelength and δ the real refractive index decrement [19]. The dependency of attenuation and refraction on X-ray energy can also be expressed in terms of phase cross section σp and attenuation cross section σa. Figure 1 shows a comparison of σp and σa for titanium and carbon from 10 to 150 keV X-ray energy, in which the higher linearity of σp compared to σa is visible. Additionally, σp is up to three orders of magnitude higher than σa, which can result in better contrast-to-noise ratio (CNR) in PCI as shown by Zanette et al. [23] and Herzen et al. [24]. Because of this, PCI is most often used for the investigation of low density materials such as biological tissue [25] or polymers [26, 27]. Values for σp are calculated according to

$${\sigma }_{p}={r}_{0}\lambda Z$$
(1)

where r0 is the classical electron radius, the X-ray wavelength λ and the atomic number Z of the respective material [28]. Equation (1) is valid for X-ray energies far from absorption edges of the material. Values for σa are obtained from tabulated data in the XOP database software [29]. Further effects which contribute to a lower sensitivity of PCI-XCT to beam hardening effects are its reduced dependence on the actual signal intensity measured by the detector, and that in PCI using grating interferometry only a band of the X-ray energy spectrum, around the design energy of the interferometer, effectively contributes to the recorded phase image [30]. Gusenbauer et al. [31] have previously shown that PCI is capable to reduce metal artifacts in a carbon-fiber-reinforced polymer component including copper wires for lightning protection. Furthermore, Donath et al. [30] show a medical example of beam hardening artifact reduction by PCI.

Fig. 1
figure 1

Attenuation σa and phase cross section σp for titanium and carbon at X-ray energy from 10 to 150 keV. σp values were calculated according to equation (1) and σa values were obtained from XOP database [25]

In AC-XCT, one of the most commonly applied beam-hardening correction (BHC) methods is the pre-filtering of the X-ray beam with metallic plates (e.g. Al, Cu or Sn) which have 25%-50% of the objects attenuation length and remove low energy photons from the spectrum. Thereby, a harder energy spectrum is created at the expense of photon flux which generally contributes to a reduction of patient dose and beam hardening artifacts while slightly increasing the measurement time. I.e., the application of attenuation filters reduces photon statistics, leading to worse signal-to-noise ratios.

Another technique for the reduction of beam hardening effects which has been established particularly in medical imaging, is dual-energy XCT (DECT). At DECT, two images representing different energy spectra are recorded for every projection view and subsequently superimposed prior to XCT reconstruction. For most standard laboratory XCT devices this means two consecutive measurements at different acceleration voltages are required, which effectively at least doubles the measurement time. In medical XCT, dual source devices for the simultaneous acquisition of both energy channels are more commonly encountered. When the two different spectra are known, virtual monochromatic XCT images can be directly reconstructed from the dual projection data using an iterative reconstruction scheme. When applied at sufficiently high energy levels, these virtual monochromatic XCT images can reduce beam hardening artifacts significantly [4, 11]. However, consequently and contrary to PCI, contrast for low absorbing structures is reduced as well [11].

Besides DECT and attenuation-filtering digital metal artifact reduction (MAR) algorithms are commonly used due to their versatility and applicability on existing data. Consequently, many manufacturers of XCT systems already supply their devices with beam hardening correction methods, e.g. for the reduction of cupping effects, by default. MAR algorithms can be roughly categorized into physical effects correction (e.g. beam hardening, scatter, photon starvation), projection completion (interpolation) in the sinogram domain [32] and iterative reconstruction methods [33, 34]. However, hybrid forms combining different techniques have been developed as well [3]. Among these, the normalized MAR (NMAR) [10] was established as a state-of-the-art method [12, 34, 35]. Furthermore, MAR by deep learning methods gain increasing importance as computational power becomes more readily available with technological progress [34,35,36]. Comparative studies of different MAR algorithms for industrial [12] and medical applications [16, 37] can be found in literature. However, this work will extend literature by the quantitative comparison of PCI- to AC-XCT in combination with different hardware pre-filters and a MAR algorithm.

Materials and Methods

Specimen Design

For the investigation of beam hardening effects on image quality we designed a phantom specimen consisting of Polyamide 12 (PA12) including four Ti6Al4V inserts. The PA12 box of roughly 12 × 12 × 25 mm size was additively manufactured by selective laser sintering on an EOS P 396 device (EOS GmbH, Germany). The Ti6Al4V inserts of 1 mm diameter each were manufactured by selective laser melting on a Concept Laser M2 Cusing device (Concept Laser GmbH, Germany). The two components can be easily assembled and disassembled allowing measurements with and without metal parts in the specimen. A schematic image of the specimen can be seen in Fig. 2.

Fig. 2
figure 2

Schematic grating interferometer setup of the SkyScan 1294 device used for phase contrast imaging. The specimen in the beam path as well as source- (G0), phase- (G1), and analyzer grating (G2) positions are indicated

Experimental Setup and Parameters

Phase contrast measurements were performed on a SkyScan 1294 desktop device (Bruker microCT N.V., Belgium) which is a dedicated phase contrast system equipped with a Talbot-Lau grating interferometer formed by two absorption and one phase grating, with periods of 4.8 µm each, positioned in a symmetric setup. As the system was developed for a design energy of 30 keV, the maximum applicable acceleration voltage is limited to 50 kV. Additionally, a 0.045 mm thin copper pre-filter was applied to adjust the energy spectrum for the interferometry setup. For the measurement of titanium components this voltage is still rather low. However, a minimum transmission of roughly 7.5% was achievable. With a 4000 × 2672 pixel CCD camera in 2 × 2 binning mode the applicable voxel size of this system is fixed to 11.4 µm. Phase contrast images were extracted by a phase stepping procedure [38] in 4 steps over one grating period. As this effectively means a quadruplication of the acquisition time for each angular projection image, less projections and averaging were applied for PCI in order to reduce the total scan time to approximately 3 h. Furthermore, to avoid grating misalignments caused by temperature drifts during the scans, the X-ray tube was conditioned for approximately 2 h prior to every scan. A voxel size calibration phantom (2 ruby ball bars, distance from sphere to sphere: 12 mm) was used for the calibration of voxel size in x–y and z direction.

Due to the low applicable voltage, the loss in photon flux caused by the interferometer gratings and the required phase stepping procedure, the SkyScan device is not particularly suited for standard AC measurements. Consequently, AC-XCT measurements were performed on a Nanotom 180NF (GE Sensing & Inspection Technologies GmbH, Germany) device for comparability. Two different parameter settings at 100 kV and 150 kV were used to investigate the effects of acceleration voltage in combination with varying pre-filter thickness on image quality. Furthermore, a reference scan of the PA12 box without titanium inserts was performed at a reduced acceleration voltage of 80 kV, to optimize image contrast. To allow for higher X-ray energies, a tungsten transmission target on diamond substrate was used in combination with a 2304 × 2304 pixel flat panel detector (Hamamatsu Photonics K.K., Japan). At the given specimen dimensions, a maximum resolution of 8 µm was achieved. The voxel size was calibrated by scanning of a commercially available ruby ball bar with 8 mm sphere distance. For comparability, measurement times were kept at approximately 3 h for all measurements. Detailed parameters are listed in Table 1.

Table 1 Scanning parameters for attenuation- and TLGI-XCT

Image Processing and Visualization

For comparability, all data sets have been reconstructed with the software X-AID (MITOS GmbH, Germany, version 2021.2.0, www.x-aid.de) by means of a filtered back-projection algorithm, which includes a feature for cupping and streaking artifact correction. The streak artifact correction method is based on an advanced NMAR algorithm and allows for an interactive reduction of streaks between and around high attenuating metal parts. Attenuation CT data was reconstructed with and without streaking correction for reference. Streak artifact correction parameters were determined empirically to minimize artifacts while avoiding overcorrection. No artifact correction was applied for PCI data. Reconstructed data was visualized in Volume Graphics Studio 3.4 (Volume Graphics GmbH, Germany) and aligned by a best fit algorithm.

Image Quality Metrics

For the quantification of streaking artifacts, we used a metric introduced by Cao et al. [39] which calculates the streak index (SI) on the basis of line profiles between two metal inserts as shown in Fig. 3. The equation defined by Cao et al. is as follows:

$$SI=\frac{1}{n}\times \sum\limits_{i=1}^{n}\left(\frac{{I}_{ai}-{I}_{bi}}{\mathrm{max}\left({I}_{ai},{I}_{bi}\right)-{M}_{b}+C}\right)$$
(2)

where

$${I}_{a}=\frac{{I}_{p1}+{I}_{p2}}{2}$$
(3)

and

$${I}_{b}=\frac{{I}_{v1}+{I}_{v2}}{2}$$
(4)
Fig. 3
figure 3

Line profile across a streak artifact as indicated in the cross-section (green line) on the left. Maxima and minima (Ip1,2 and Iv1,2) detected in the uncorrected dataset are shown in comparison to the same line profile from a dataset corrected using a MAR algorithm

However, equation (2) was slightly altered as it is designed for integer type datasets. As we were using floating comma point data for this work, the constant C, which keeps the SI in a range below 1, can be omitted. Mb is defined as the mean grey value in the image background (air) from a region not affected by streak artefacts. Ip1,2 and Iv1,2 are the line profile maxima and minima respectively, determined in the uncorrected dataset as shown in Fig. 3. Their positions in the line profile are used for the extraction of grey values in all following datasets. In the case of an overcorrection, the SI can reach negative values while (with the omission of C) a value above 1 indicates streak artifacts darker than the background grey value. From each data set, 60 line profiles were extracted from pore free regions and evaluated as explained above.

In order to compare the overall image quality and possible effects of MAR, the CNR was calculated subsequently according to [24]:

$$CNR=\frac{|{\mu }_{m}-{\mu }_{b}|}{\sqrt{{\sigma }_{m}^{2}+{\sigma }_{b}^{2}}}$$
(5)

where µm and µb are the mean signals and σm and σb their standard deviations measured in the material and background (air) respectively. Material values were extracted from the whole cross section of the PA12 box excluding pores and titanium inserts. Pores and drill holes for titanium inserts were determined via a reference scan of the PA12 box without titanium inserts and subtracted from the cross-sections. For every dataset, CNR values were extracted in a region affected by streak artefacts and in an artefact free region below the height of the metal inserts for comparison.

Results

Reconstructed slice images of the specimen resulting from different beam hardening correction methods are shown in Fig. 4. Without the application of a pre-filter to remove low energy photons from the spectrum, severe streak artifacts emerge between and around the metal inserts (Fig. 4(a)) in AC-XCT. The streak artifacts cover potentially interesting structures in the lower attenuating polymer and, e.g., evaluation of porosity will be heavily affected. Also, with the application of a MAR algorithm, these artifacts are too severe to be completely removed by post-processing of the data (Fig. 4(b)). By application of a 0.5 mm copper pre-filter, streak artifacts can be significantly reduced, but not completely avoided as shown in Fig. 4(c). Though, with subsequent application of a MAR algorithm, a streak index close to zero can be achieved without significant overcorrection (Fig. 4(d)). In PCI-XCT streak artifacts are perceptibly lower. However, because of the high refraction of X-rays caused at the metal inserts, additional streaks in radial direction of the inserts arise because of phase wrapping effects [23]. Furthermore, when comparing PCI and AC slice images, the metal inserts appear to be larger in AC, because of their much higher attenuation in reference to the surrounding polymer. Consequently, the metal appears to be radiating across its actual material borders, which complicates the visualization of structures in close proximity to the metal inserts.

Fig. 4
figure 4

Cross-sectional images of the specimen. (a) AC-XCT without pre-filter, without MAR. (b) AC-XCT without pre-filter, with MAR. (c) AC-XCT with 0.5 mm Cu pre-filter, without MAR (d) AC-XCT with 0.5 mm Cu pre-filter, with MAR. (e) PCI-XCT (f) AC-XCT reference scan without metal inserts. In PCI-XCT, additional streak artifacts emerging radial from the metal inserts (caused by phase wrapping) are visible

In Fig. 5, boxplots of the streak index for 60 line profiles in each dataset are shown. The mean streak index according to equation (2) is indicated with a cross (x) and outliers with a plus (+) symbol. The biggest improvement in SI by MAR algorithm can be observed in the AC dataset without pre-filtering applied, reducing it to a similar level as for the AC dataset with 0.5 mm copper pre-filter, but without MAR algorithm applied. This pre-filtered AC dataset can further be corrected to a SI close to zero, while the SI of the PCI dataset levels somewhere midrange between MAR corrected and uncorrected pre-filtered AC data. As a reference, the SI in a dataset without metal inserts is plotted as well, which is slightly below zero, because of image noise.

Fig. 5
figure 5

Streak index boxplots for all datasets investigated. From left to right: AC-XCT without pre-filter, without MAR. AC-XCT without pre-filter, with MAR. AC-XCT with 0.5 mm Cu pre-filter, without MAR. AC-XCT with 0.5 mm Cu pre-filter, with MAR. PCI-XCT. AC-XCT without metal inserts. The mean streak index is indicated by a cross (x), outliers with a plus (+) symbol

For the investigation of edge sharpness and the effects of metal artifacts on the detectability of material interfaces, additional line profiles across two pores as well as one metal insert are shown in Fig. 6. Line profiles were plotted for both datasets with MAR algorithms applied, the PCI-XCT dataset and the dataset without metal inserts. A lower edge sharpness in PCI-XCT due to the reduced spatial resolution caused by the extended source size of the SkyScan system [40] can be seen by the reduced slope at pore interfaces. Additional edge enhancement in attenuation XCT data, caused by propagation based phase effects, is visible in some cases. The low CNR in pre-filtered data is also clearly visible as well as declining grey values towards the center of the specimen in PCI. When comparing line profiles across the metal insert in AC and PCI, it becomes more obvious, that artifacts close to the metal surface overlap a gap between the metal insert and polymer box in AC. In PCI-XCT, such a gap is clearly visible in both the cross-section image and line profile. Mean grey values of the polymer material are indicated with dashed horizontal lines to highlight the increased grey values around the metal insert in AC.

Fig. 6
figure 6

Line profiles through two pores on the left and through a metal insert on the right. Polymer material mean grey values are indicated by horizontal dashed lines. Red arrows indicate edge enhancement caused by propagation based phase effects in AC_w/o_metal. Note the logarithmic scale in some of the plots. Scale bars correspond to 1 mm

CNRs in regions with and without streak artifacts are shown in Fig. 7. In regions without streak artifacts, unfiltered as well as PCI-XCT data show CNRs comparable to the reference measurement without metal inserts. However, in regions with streak artifacts, CNR is greatly reduced. Therefore, in unfiltered datasets, a significant part of CNR can be regained by application of artifact correction algorithms. Hardware pre-filtering on the other hand clearly reduces the CNR as a consequence of the reduction in photon count. Additionally, due to the higher acceleration voltage applied, increased photon energies lead to a reduction of the linear attenuation coefficient μ, which further reduces the CNR. Consequently, streak artifacts decrease the already low CNR only marginally as well as MAR algorithms have only minor effect on it. The CNR of PCI-XCT data positions on second place in the comparison. The consistent CNR in regions without streak artifacts before and after MAR algorithms were applied indicates that the applied algorithm affects only regions where actual streak artifacts are present. SI and CNR values evaluated are listed in Table 2.

Fig. 7
figure 7

Comparison of the CNR in all datasets investigated. Blue bars correspond to the CNR in regions unaffected by beam hardening artifacts. Orange bars correspond to the CNR in regions with beam hardening artifacts

Table 2 Streak index (SI) and contrast-to-noise ratio (CNR) evaluated in regions with and without streak artifacts of every dataset investigated

Discussion

The comparison of five datasets with different streak artifact reduction approaches shows how significantly different contrast modalities can affect the resulting image quality. Besides well-established methods, such as hardware pre-filtering of the X-ray spectrum, we have shown that the reduced sensitivity of PCI-XCT to beam hardening effects can provide an alternative modality for investigations e.g. of multi material components. However, it is clear that PCI-XCT comes with its own limitations and problems when investigating multi material components including metal parts. As could be seen in Fig. 4(e), additional streak artifacts appearing in radial direction from the metal inserts can deteriorate image quality and also affect the CNR. Zanette et al. [23] found that such artifacts are entirely caused by phase wrapping effects whereas Massimi et al. [41] presented an artifact reduction algorithm significantly reducing these streaks recently. Moreover, a gradient towards lower grey values in the center of the specimen, between the metal inserts, can be observed. The reason for this lies in the X-ray energy dependent efficiency of the interferometer [30, 42]. Particularly the metal inserts cause a hardening of the X-ray spectrum and therefore a mismatch with the design energy of the grating interferometer. Consequently, a segmentation of the polymer material volume, e.g. by global threshold, is impeded. However, this effect can also be reduced by use of a more appropriate interferometer setup. The grating interferometer used for this work was not particularly designed for investigations including metal components, as its design energy lies at 30 keV with a maximum applicable peak energy of 50 keV. Using current state of the art interferometer gratings, significantly higher design and peak energies can be realized, which will positively affect beam hardening as well as measurement time can be reduced. Also, additional MAR methods for PCI-XCT may be developed, e.g. as shown by Yan et al. [43], who introduced a MAR method applicable for inhomogeneous, multi-material specimens.

The resulting SI in Fig. 5 showed that, in terms of streak artifacts, PCI-XCT is superior to AC-XCT when no MAR algorithms are applied. Nonetheless, larger, high density metallic components might still push PCI-XCT to its limits. The use of AC imaging in combination with pre-filters and/or MAR algorithms therefore is equally valid. Although, often a compromise between image noise and streak artifact reduction has to be made when hardware pre-filters are applied. In case of the specimen investigated, streak artifacts could not be completely removed by the MAR algorithm if no pre-filter was used at all. With a pre-filter of 0.5 mm Cu applied the remaining artifacts could be removed by the MAR algorithm sufficiently enough to achieve a SI of zero at a considerably reduced CNR. Consequently, a reduction of the pre-filter, e.g. to 0.2 mm Cu, might be the most obvious solution, as long as remaining artifacts can still be removed by MAR algorithms.

These MAR algorithms proved to be efficient for simple geometries as shown in this work. However, increasing size and geometrical complexity of metal parts will often lead to less satisfying results. Moreover, MAR algorithms can also introduce new artifacts, e.g. by overcorrection, as experienced at various examples in literature [15, 37, 44]. We also found, that although streak artifacts distant from the metal inserts can be removed acceptably well, artifacts close to the metal surface still remain. This can hinder the inspection of the metal-polymer interface and gaps between the materials might be underestimated or thin gaps even completely missed. Also in medical applications, regions in close proximity to metal implants often are of particular interest for diagnostic reasons [8].

The evaluation of CNR in streak affected and streak free regions indicates that the MAR algorithm used during this work does affect only regions where streak artifacts occur. In streak free regions, CNR is consistent before and after MAR. In case of the hardware pre-filtered datasets, CNR is mostly decreased by image noise and the reduced attenuation coefficient at high photon energies as the subsequent MAR has only little effect on it. On the contrary, datasets without pre-filtering show greatly increased CNR after the application of a MAR algorithm, indicating that the reduction in CNR is mostly caused by streak artifacts. The high CNR in PCI-XCT (being second only to the unfiltered but metal artifact corrected dataset) was previously also experimentally investigated by Zanette et al. [23] and Herzen et al. [24]. Furthermore, streak artifacts from phase wrapping effects as well as more pronounced ring artifacts most likely caused an additional reduction of CNR in the PCI-XCT dataset. Consequently, CNR could be enhanced significantly if respective artifact reduction methods are applied. However, the main focus of this work was the investigation of the influence of metal artifacts and artifact reduction methods on the CNR for which the uncorrected datasets are considered sufficient. For sake of comparability, parameters of individual measurements were chosen to achieve measurement times of approximately three hours. Nevertheless, PCI and pre-filtered AC scans took up to 26 min longer. Consequently, AC scans without pre-filtering might actually result in slightly better CNR values than depicted in Fig. 7.

Conclusions

We have shown that the reduced sensitivity of PCI-XCT to beam hardening effects can improve streak artifacts in multi-material components. We presented the first quantitative comparison of PCI-XCT which has been widely neglected in comparative studies of MAR methods so far. Furthermore, PCI-XCT showed relatively high CNR while hardware pre-filtering in combination with MAR algorithms often requires a compromise between CNR and effective artifact reduction. However, PCI-XCT also comes with its own limitations such as relatively low spatial resolution and artifacts caused by phase wrapping. Most other drawbacks typically found in literature can widely be counteracted by use of appropriate phase contrast method and system design. To this end, PCI offers a lot of potential for industrial as well as medical applications. Future investigations will include the application to a selection of use-cases such as electronic devices or medical implants like bone fixations and artery stents.