Abstract
Neutron imaging has gained significant importance as a material characterisation technique and is particularly useful to visualise hydrogenous materials in objects opaque to other radiations. Fields of application include investigations of hydrogen in metals as well as metal corrosion, thanks to the fact that neutrons can penetrate metals better than e.g. X-rays and are highly sensitive to hydrogen. However, at interfaces refraction effects sometimes obscure the attenuation image, which is used for hydrogen quantification. Refraction, a differential phase effect, diverts the neutron beam away from the interface in the image leading to intensity gain and intensity loss regions, which are superimposed to the attenuation image, thus obscuring the interface region and hindering quantitative analyses of e.g. hydrogen content in the vicinity of the interface. For corresponding effects in X-ray imaging, a phase filter approach was developed and is generally based on transport-of-intensity considerations. Here, we compare such an approach, that has been adapted to neutrons, with another simulation-based assessment using the ray-tracing software McStas. The latter appears superior and promising for future extensions which enable fitting forward models via simulations in order to separate phase and attenuation effects and thus pave the way for overcoming quantitative limitations at refracting interfaces.
Keywords: Phase contrast, Neutron imaging, Phase retrieval, Simulations
Subject terms: Imaging techniques, Characterization and analytical techniques, Metals and alloys
Introduction
Neutron imaging is a promising analysis tool in many research fields. This is due to the unique penetration capabilities of neutrons and their non-linear dependence of interaction and atomic number1,2. A key example of this non-linear dependence is the large attenuation cross section of hydrogen which renders neutron imaging ideal for observing even small amounts of water or hydrogen-containing compounds in a sample system. Compared to other techniques, such as infrared spectroscopy, secondary ion mass spectroscopy, elastic recoil detection or reflectivity techniques, only neutron imaging allows the determination of hydrogen distribution profiles in a micrometer range and is therefore very appropriate to investigate localised corrosion and thick oxide layers on metals, like Al3 and Zr4.
However, in order to correctly determine the amount of hydrogen in a material the neutron attenuation needs to be measured and analysed accurately. This can be a challenge at the edge or interface of a metallic sample where the neutron refraction takes place due to the corresponding edge enhancement effect, especially in high resolution measurements. In many cases defects or changes in a sample are expected near the interfaces which means the edge enhancement can prevent access to critical information. This differential phase effect depends on a number of factors, like the coherent scattering length of the materials involved, the propagation distance between sample and detector, the neutron energy, i.e. wavelength, the beam collimation, and interface alignment with the beam. Thus, to enable quantitative results based on the neutron attenuation coefficient it is crucial to be able to separate the attenuation signal from the phase effect. This can be done through various phase retrieval procedures developed in X-ray imaging.
Phase retrieval is widespread in X-ray imaging and many different methods have been developed5,6. Single distance methods are the simplest to implement and useful for tomographies as it is inconvenient and time consuming to measure multiple sample-detector distances for each projection6. Multiple-distance methods, so called holographic methods, are good for quantitative phase contrast, because more information is available to perform the phase retrieval7,8. Another type of holographic method uses multiple wavelengths, i.e. energies, instead of propagation distances9,10.
However, there are key differences between X-ray and neutron imaging, that makes it difficult to use the same phase retrieval methods. The main reason is a lack of coherence of neutron beams due to their relatively low phase space density. In most synchrotron experiments one can assume a highly collimated and coherent beam producing high resolution images at multiple sample-detector distances, whereas with neutrons this is not the case. Images are characterised by increasing blurring with increasing sample-detector distances. Another difference is that for X-rays the necessary propagation-distance to see edge effects is significantly larger than zero, whereas for neutrons the edge effects can be seen even at very small sample-detector distances11,12. Furthermore, the goal for neutron imaging data analysis is to retrieve the attenuation signal rather than the pure phase signal, in other words phase contrast filtering rather than phase retrieval. These differences imply that different, novel methods need to be developed to perform phase filtering for neutron imaging.
In this article we present and compare two phase filtering approaches for attenuation contrast neutron images contaminated with neutron propagation-based phase contrast. To this end, we take data on two reference Al samples, namely a bare and an anodic oxide coated pure Al substrate. Al was chosen for its low neutron attenuation and relatively high coherent scattering, ensuring a high differential phase contrast signal. The choice of a single material and its oxide layer with a simple known geometry aimed to facilitate straightforward modelling of the experiments. The data are measured in two series, at different sample-detector distances and with different wavelengths. The two phase filtering methods considered here are a transport-of-intensity-based phase contrast filter and simulation-based phase filtering through a forward model utilising the neutron ray-tracing software McStas.
Methods
Samples
Two rectangular samples were imaged with a depth of 2 mm in the beam direction, width of 1 mm and height > 25 mm. One consists of pure Al (Al 99.9%) and the other was an anodised pure Al substrate (Al 99.9%) with a 225 ± 20 μm thick layer of Al oxide (Al2O3). Both substrates were electropolished at 8 V for 5 min in HCIO4/ethanol (1/3 v/v) solution at 5 °C. The samples were rinsed with MilliQ water (Merck
) and dried with Ar. The oxide layer was then grown by double-sided galvanostatic anodising at a current density of 35 mA/cm2 for 9500 s in stirred 0.1 M phosphoric acid at 15 °C. After anodising, the samples were rinsed with MilliQ water and dried with Ar. For both electropolishing and anodising a two-electrode electrochemical cell was used, the sample acting as the working electrode and a Pt ring electrode as the counter electrode. A Keithley 2400 SourceMeter SMU instrument (Tetronix) was used as a power supply. The oxide layer is porous with an average pore size of 250 ± 40 nm. Porous anodic Al oxide grown in a similar way has been identified as a complex arrangement of Al oxides, oxihydroxides, and hydroxides, referred to as Al2O3 · n H2O3 with water content ranging between 5 and 10% depending on the distance to the substrate due to variations in porosity. The water includes both water incorporated in the oxide structure and water in the pores. The contribution of the electrolyte anions adsorbed at the anodic Al oxide/ electrolyte interface is neglected because phosphorus possesses rather low neutron cross sections. The average density of the oxide was calculated to be 2.6 g/cm3 and 3.2 g/cm3 near the oxide-substrate interface. SEM images of the resulting oxide layer is displayed in Fig. 1. The density variation and inconsistent water distribution induce a significant uncertainty which complicates the forward modelling but also better represents a real sample case.
Fig. 1.
SEM image of anodic oxide coated sample; (a) the top of the anodic oxide layer and (b) the interface between the anodic oxide and the Al substrate.
Neutron imaging
Two separate neutron experiments were performed, one with different sample-detector distances at the Beamline for neutron Optics and other Applications (BOA) at PSI13, and the other with varying neutron wavelengths at the Imaging with Cold Neutrons beamline (ICON) at PSI14. Both the plain and oxide-coated Al samples were measured at each beamline. The BOA experiment was performed with a white beam with a relevant wavelength range of 0.8–10 Å with a weighted mean wavelength of 3.8 Å. The collimating aperture was square with a side length
mm and the aperture-detector distance was
m, resulting in
. The measurements were taken at nine sample-detector distances from approximately 1.1 to 34.4 mm with 3.7 mm steps. The sample-detector distances is measured from the centre of the sample. For each distance, 60 radiographs were recorded with exposure time of 30 s each. The ICON experiment was performed using a velocity selector to select four different wavelengths, specifically 2.7 Å, 3.2 Å, 4.0 Å, and 4.6 Å with a corresponding Gaussian resolution function with a full width at half maximum of
. The sample-detector distance was approximately 1.1 mm. The beam was shaped by a circular aperture with
mm diameter and the aperture-detector distance was
m, which equals a collimation ratio L/D of 138. At each wavelength, 60 radiographs were recorded with an exposure time of 60 s.
Image acquisition was performed by the PSI Neutron Microscope detector15, equipped with a 3.5 µm thick isotopically enriched 157-gadolinium oxysulfide scintillator16 and a sCMOS camera (Balor, Andor, UK), resulting in a field of view of 9.8 × 9.9 mm2 and a pixel size of 2.4 μm. This provides a by far sufficient resolution to spatially resolve the oxide and Al layers. Sample alignment with the beam was carefully performed to minimise the influence of sample edge misalignment on the differential phase effects. For both experiments, the final image, T(x, y), was produced by averaging 60 sample images, I(x, y), and normalised by open beam images,
, after subtracting dark current background image
, according to Eq. 1
![]() |
1 |
Phase retrieval and filtering
Phase retrieval methods are different for the optical near-field and far-field regimes. These regimes are determined by the ratios of the sample width a, sample-detector distance
, and the wavelength
. The near-field regime is defined by
and the far-field regime is
17.
Near field phase retrieval methods are derived by solving a Fresnel integral18. There are multiple methods of phase retrieval commonly split into two groups, one group is based on the contrast transfer function (CTF)7 and the other on the transport-of-intensity equation (TIE)19. The key assumption for CTF phase retrieval is that the sample is a weakly attenuating object inducing a slowly varying phase5. This phase retrieval method needs projections from multiple distances, that are chosen so that the projections map the phase distribution in the Fourier domain. This means choosing distances that span the entire near-field region, so a different number of phase fringes are visible at each distance. This requires a beam coherent enough for multiple phase fringes to be visible and choosing the distances carefully so the projections contain a range of spatial frequencies as represented by the phase fringes. This method also makes quantitative phase retrieval possible due to the sufficient amount of information collected in such an approach.
The other group of phase retrieval methods are based on TIE considerations, assuming that the propagation distance is short compared to the propagation necessary for CTF filtering5. These methods typically require only one near-field projection. This makes the approach well suited also for images recorded with a less coherent beams but since only one projection is used, only limited phase information might be extracted7. On the other hand TIE-based filters are valuable to suppress phase effects and thus enable enhanced attenuation contrast analyses, as is the aim of this work. However, different TIE-based filters require different assumptions about the sample, e.g. that it is a pure phase object or that it is homogeneous and consists of a single material. In addition such filters typically induce additional blur and might obscure small details that are otherwise detectable in the bulk.
Mixed phase retrieval approaches also exist, which combine the CTF and TIE methods. These are based on the assumption of weakly varying objects and also require data from multiple distances resolving multiple phase fringes20.
Based on the discussed limitation a TIE-based phase filter appears the best solution amongst these for neutron imaging, in particular the lower coherence requirements match with the available experimental conditions. The specific phase filter used is referred to as the Paganin filter21, which is widely used in X-ray imaging but is based on the assumption of a homogeneous single-material sample. The goal of the filter is to retrieve images representing the number density of atoms
based on a single material phase and based on the equation
![]() |
2 |
Here
denotes the Fourier and inverse Fourier transforms,
is the open beam-normalised intensity,
is the total neutron cross section of the material phase, (
,
) are the Fourier-space frequencies corresponding to (x,y), and
with regards to the specific material is
![]() |
3 |
where
is the neutron wavelength,
is the bound coherent scattering length of the materials,
is the sample-detector distance, and
is the beam divergence.
This filter has been derived for neutron imaging, in analogy to the corresponding original X-ray imaging filter19. The difference between the two lies in particular in the definition of the variable
which contains specific relevant material parameters of the sample and the wavelength of the beam in the case of both filters, but only the neutron filter additionally contains the beam divergence.
This adapted filter has previously been used with neutrons in an attempt to decrease artefacts due to noisy data and increase contrast for monochromatic21 and polychromatic neutron imaging22 for cases of pure phase and mixed attenuation and phase contrast neutron imaging data.
Forward model
We use forward modelling to introduce an additional path towards phase filtering. This approach is based on simulating data as accurately as possible, based on a priori knowledge and the measured data itself and then manually adapting the sample in the simulation to best possibly fit the measured data. The results enable clear splitting of the phase and attenuation components of the signal. While this is done manually here, we expect successful future implementations to apply fitting routines to this process.
Previously it has been shown that the ray-tracing simulation package McStas23 qualitatively reproduces experimental data well12,24. We chose to model the instrument conditions with McStas with the samples implemented through McStas Union25 to simulate the experiments. We used the BOA instrument26 which has been benchmarked against measurements27 and set the slit configuration and detector to match our experiment. There is no benchmarked ICON instrument, so we implemented a simplified version with a uniform source with the correct divergence and wavelength.
Differential phase contrast is implemented by refraction at the interfaces described by Snell’s law
![]() |
4 |
where
are the refractive indices of the involved materials at an interface and
are the angles of the beam with the interface normal.
In McStas, the neutron refractive index is defined28
![]() |
5 |
where
is the number density of atoms.
The two samples were simulated as one and several blocks, respectively. The Al sample was a rectangular cuboid with material parameters given in Table 1 and of the same dimensions as the real sample. The anodic oxide-coated sample was simulated as five layers, namely a pure Al layer in the middle, representing the bulk substrate material, with two oxide layers on either side. The anodic oxide layer was split into two layers in the simulation, in order to account for the non-uniform distribution of porosity and water: oxide layer 1 closest to the Al is modelled as 160 μm wide filled with 10% water, and oxide layer 2 near the air/oxide interface is considered 80 μm thick with 5% water. The material parameters used for these layers are also given in Table 1. The porosity is reflected in the simulated sample by the oxide material density
which is lower than that of the bulk pure Al due to porosity. This sample geometry was found to produce the best match of of multiple simulated oxide geometries and water contents at matching the simulation data. In addition the Al sample was simulated with a residual rotation angle of 0.24° in the BOA experiment, to match the asymmetry of the experimental data.
Table 1.
Table of material parameters used for absorption, incoherent scattering, and phase contrast in the wave- and McStas simulations.
| Aluminium | Oxide 1 | Oxide 2 | |
|---|---|---|---|
[m−1] |
1.39 | 0.19 | 0.16 |
[barn] |
0.0082 | 5.35 | 2.68 |
[barn] |
1.495 | 2.845 | 3.0225 |
[g/cm3] |
2.7 | 2.6 | 2.6 |
Accuracy of phase filtering
To compare the efficacy of the two phase filtering methods, the filtered images,
, were compared to a pure attenuation contrast image of the sample,
. The pure attenuation image was defined based on experimental data and prior knowledge for the pure Al sample, which was possible as it was single material sample with a simple geometry. The oxide-coated Al was too complex for an accurate estimation of the neutron attenuation image and thus the performance of the phase filtering of this sample could only be qualitatively assessed. Both phase filtered and pure attenuation images were normalised as described and cropped to focus on the sample region. The accuracy in attenuation contrast was computed as:
![]() |
6 |
Results
Aluminium sample
A transmission image of the Al sample at
mm is shown in Fig. 2a with a rectangle showing the region of interest (ROI). The image was averaged along the sample height in the ROI to calculate the neutron transmission profile, and the resulting profile was plotted for different sample-detector distances and different wavelengths in Fig. 2b and c, respectively. The transmission value in air is 1.00 for all samples, but in order to allow better readability, profiles are shown with an artificial vertical offset.
Fig. 2.
Neutron data of Al sample. (a) Neutron radiography of Al sample measured at BOA in white beam at 8.5 mm sample-detector distance with a rectangle showing the region of interest. Neutron transmission profile of Al sample at (b) different sample-detector distances in white beam and (c) different wavelengths at
mm. Dotted line marks the movement of the loss peak. Graphs are offset vertically.
Figure 2b shows a clear phase contrast signal at the edges of the Al sample. The signature of the phase effect is a pair of intensity gain and intensity loss peaks. The size and position of these peaks are dependent on both sample-detector distance and neutron wavelength. Both the gain and loss peaks increase in height until
mm, after this they widen and flatten out. The distance between the gain and loss peaks increases with increasing sample-detector distance as marked by the dotted line, which together with the asymmetric profile between these peaks suggests that the sample surfaces are not perfectly aligned but at a small angle with respect to the beam direction. The figure also shows a consistent shift of profiles to the right with increased sample-detector distance. This indicates a small misalignment of the sample stage with respect to the beam direction, since this is consistent for all of the distance-dependent BOA measurements.
Compared to the distance-dependent data, Fig. 2c shows a significantly weaker phase effect depending on the wavelength. Small and slim loss peaks and larger gain peaks, which both increase in height with increasing wavelength can be observed. It appears that the neutron transmission profile for 2.7 Å contains attenuation contrast only. This is different from the distance-dependent data measured with a broad wavelength spectrum, where even the closest distance results in a pronounced phase peak.
Subsequently the phase contrast filter defined in Eq. 2 was used to perform phase filtering. A filtered radiography is presented in Fig. 3a and the filtered profiles in Fig. 4a and d for the Al sample. The wavelength in Eq. 2 was calculated as the weighted mean wavelength of the BOA spectrum for all the BOA measurements. In order to entirely erase the phase effect peaks, the coherent scattering length values used in the filter had to be set 40 times higher than the tabulated values for Al. Figure 3a shows that the filter successfully removed the phase peaks without introducing artefacts. However, Fig. 4 shows that the profile after phase filtering is more blurred which becomes particularly visible at large sample-detector distances. For clarity, Fig. 4a only displays 5 of the 9 recorded profiles, corresponding to every other sample-detector distance measured. The chosen profiles are a representative section of the data, spanning the range of sample-detector distances.
Fig. 3.
Neutron radiography of Al sample in white beam at 8.5 mm sample-detector distance. (a) Phase retrieved experimental data, (b) data simulated in McStas, and (c) attenuation only data simulated in McStas.
Fig. 4.
Neutron transmission profile of Al sample at (a), (b), (c) different sample-detector distances in white beam and (d), (e), (f) different wavelengths at
mm. (a) and (d) show phase retrieved data, (b) and (e) show data simulated in McStas, and (c) and (f) show attenuation only simulation in McStas with phase retrieved data. The solid line plots show experimental or simulation data and dashed black shows the data after phase filtering. Dotted lines mark the movement of the loss peak. (a), (b), (c) show fewer profiles for clarity. Graphs are offset vertically.
Similar results are found for the wavelength-dependent data when again using 40x the theoretical coherent scattering length value of Al. The blurring is less obvious as these data were taken at a short sample-detector distance. However, close inspection reveals increasing edge blurring when stronger phase artefacts have to be filtered, i.e. for longer wavelengths, due to the wavelength dependence of the refractive index. The accuracy of this phase retrieval as calculated by Eq. 6 is between 99.5 ± 0.3% and 99.9 ± 0.1%. It is least accurate in the case of strong phase signal, in other words at high wavelengths and large sample-detector distances and most accurate at weak phase like at
= 2.7Å and
= 1.1 mm. This is partially due to the increased blur by the phase filter.
Figures 3b and 4b,e, on the other hand, shows the results of matching the data with simulations. Qualitatively the simulations reproduce the experimental data rather well though it is somewhat noisier than the experimental data. The gain and loss peaks move away from each other in the same manner as in the data of the distance scan, as marked by the dotted line, including the asymmetric behaviour, due to the rotational misalignment of the sample, which is accounted for in the simulation. The simulation of the wavelength dependent measurements display a corresponding growth of the phase artefacts with wavelength, however, the 2.7 Å simulation shows a clear signature of phase effects, in contrast to the measurements. This might be a hint of a slightly overestimated collimation and/or resolution in space or with regards to the wavelength resolution.
After the applied manual iterating of the McStas simulation model of the sample in order to achieve good agreement between simulation and experimental data, a measurement of the sample simulated without the phase signal was produced. A radiography of this is shown in Fig. 3c demonstrating that only the signal at the sample edge is affected. The profiles of the simulated attenuation data are compared to the phase filtered data in Fig. 4c and f. The results agree reasonably well with minor contrast variations and apart from some minor phase effect residuals in a few filtered data sets. The accuracy of the simulated profiles without phase contrast as calculated using Eq. 6 was found to be between 99.4 ± 0.8% and 99.7 ± 0.2% for the distance dependent data. It was similarly high for the wavelength dependent simulation after the application of a linear scaling. Again, the lower accuracy values was found in the cases of strong phase contrast signal. These values are functionally identical to those of the phase retrieval method as reflected in the sample profiles, but the McStas model is considered more trustworthy at this stage due to the more accurate material parameters used in the model.
Anodic oxide coated aluminium sample
A transmission image of the Al oxide coated sample is shown in Fig. 5a with a rectangle showing the utilised ROI. The images were again averaged over the height of the ROI to calculate the neutron transmission profiles which are shown in Fig. 5b and c.
Fig. 5.
Neutron data of oxide coated Al sample. (a) Neutron radiography of oxide coated Al sample measured at BOA in white beam at 8.5 mm sample-detector distance with a rectangle showing the region of interest. Neutron transmission profile of Al sample at (b) different sample-detector distances in white beam and (c) different wavelengths at
mm. Dotted line marks the movement of the loss peak. Graphs are offset vertically.
As already observed in3, the anodic oxide layer has a lower transmission on either side of the bulk Al sample. Figure 5 shows that there is a clear gain peak between at the air/oxide interface which increases with sample-detector distance. At the closest sample-detector distance a matching loss peak is not observed but as the distance increases the contrast of the loss peak does too. No phase effect from the oxide/Al interface is observed. At the furthest distance the air/oxide loss peak overlaps more than half with the width of the oxide layer, which makes it difficult to judge how both attenuation and phase contribute to the pattern. A significant fraction of the attenuation difference between the Al and the oxide is biased by the loss peak from the air/oxide interface.
The data also seems to suggest a non-uniform attenuation signal across the oxide coating. As described earlier the oxide is expected to contain water which is non-uniformly dispersed in the oxide. This appears to be supported by the data. In Fig. 5c an increase of the air/oxide gain peak with wavelength can be observed as expected, but similar to the
mm white beam in Fig. 5b it is difficult to identify the corresponding loss peak. No phase effect is observed at left oxide/Al interface, but narrow gain and loss peaks are seen on the right interface. The peaks are highly asymmetric at the air/oxide and oxide/Al interfaces.
Again, the phase filter was applied and the results of this procedure for the oxide coated sample are provided in Figs. 6a and 7a and d. As the specific filter includes the assumption of a single-material the parameters of pure Al were applied in the corresponding equation. The radiography shows that the phase filter again removed the phase peaks. However, the profiles show that after application of the phase filter the sample edges are blurred already at short sample-detector distances and the distinction of oxide coating and the Al substrate is increasingly obscured with increasing sample-detector distance. Even at short sample-detector distances and in the wavelength-dependent data, attenuation differences in the oxide layer are obscured by the filter. Thus, it becomes obvious that the phase filter does not only remove features due to phase artefacts but also such which can clearly be observed the initial images and are thus significant in terms of attenuation contrast. The quantitative accuracy of this phase filtering is not possible to calculate without more knowledge of the sample composition to provide a ground truth image.
Fig. 6.
Neutron radiography of oxide coated Al sample in white beam at 8.5 mm sample-detector distance. (a) Phase retrieved experimental data, (b) data simulated in McStas, and (c) attenuation only data simulated in McStas.
Fig. 7.
Neutron transmission profile of oxide coated Al sample at (a), (b), (c) different sample-detector distances in white beam and (d), (e), (f) different wavelengths at
mm. (a) and (d) show phase retrieved data, (b) and (e) show data simulated in McStas, and (c) and (f) show attenuation only simulation in McStas with phase retrieved data. The solid line plots show experimental or simulation data and dashed black shows the data after phase filtering. (a), (b), (c) show fewer profiles for clarity. Graphs are offset vertically.
McStas simulations were run with the five-layer model, described previously, that separate the anodic oxide layer in two different layers. This model is a result of several iterations of the forward model. The simulated radiography is shown in Fig. 6b. Despite the noise obscuring the phase signal in the simulated radiography, the simulated profiles shown in Fig. 7b and e reproduce the measured profiles relatively well, in particular with regards to the relative attenuation values. The match between simulation and measurement is best at sample-detector distances above 15.9 mm, though the simulated noise does obscure some features at 30.7 mm. At shorter distances some discrepancies can be observed still. The contrast of both air/oxide gain and loss peaks are different in particular at the outer edge of the oxide layer. The loss peak is more distinct in the simulation and gain peak appears more distinct in the measurement of the wavelength-dependent data. It is assumed that sources of deviation are mainly the approximated and simplified structure of the oxide layer concerning density and water content, but potentially also roughness and alignment of the interfaces. the phase signal is difficult to see due to the noise, but the profiles show that it is there
Additional simulations of the pure attenuation signal have been performed utilising the five-layer sample model. These are presented in a radiography in Fig. 6c and together with the phase filtered data in Fig. 7c and f. The simulated attenuation radiography is again similar to the full simulation, aside from the lack of edge peaks. The simulated attenuation profiles have been scaled in order to best possible match the attenuation contrast range of the phase filtered data, in order to enable a qualitative comparison. It can be observed that only the simulated data is able to reveal a layered structure in the oxide layer, for which only a minor hint can be identified in the phase filtered data, specifically the 2.7 Å profile.
Discussion and conclusion
The applied neutron phase filter has been shown to work in removing edge effects for a sample of single material phase, namely the simple Al sample. However, it also induces additional blur to the image which is visible at the edges of the sample in high resolution measurements. For a multilayer sample, here the oxide coated Al sample the blurring increases significantly because the algorithm fails to differentiate different material phases and their intertwined contributions to phase effects and attenuation. In the specific case this results in the oxide layer becoming blurred to an extent that it is impossible to distinguish from the bulk Al substrate, instead the profile resembles merely an increased single edge blur. For both samples, the filter equation required altered material parameters in order to properly remove the phase artefact peaks. However, it is reported in the X-ray community that it is commonly required to alter the inserted b-value in the phase filter, to values differing from the theoretical, tabulated value. This hampers reliability of results even with regards to the desired quantitative attenuation evaluation. The specific phase retrieval filter used is in principle a low-pass filter, which means that high spatial frequencies get filtered and removed from the data. This includes noise just as well as phase contrast artefacts, but also corresponding features of the data representing actual structure in the sample. It is thus very difficult, if possible at all to control the filter through the variables such that the information content is improved rather than diminished.
Another TIE approach30 might be an alternative, in particular concerning dealing with multiple material phases like in the anodic oxide coated Al sample, given correct material parameters for the involved material phases at the respective interfaces can be provided. This might provide better defined interfaces, but it does not solve the other underlying issues of additional blurring and the difficulty of distinguishing subtle attenuation features that should not to be filtered together with the phase artefacts.
The systematic necessity of inputting larger b-values for the phase filter in order to remove the phase artefacts, suggests that the filter underestimates the sizes of the phase-induced peaks. While it is unlikely that the actual Al material parameters for differ that much from data base values or that other structural features like porosity and density variations have such an impact, another consideration can be that some of the base assumptions of the filter, developed for X-rays originally, do not hold for neutrons and thus lead to these deviations. Strobl et al.31 conclude in their work about neutron phase contrast artefacts that Fresnel diffraction would lead to smaller edge peaks than refraction. Therefore, the corresponding artefacts in imaging result from refraction and total reflection and not diffraction. Since the phase retrieval filter is built on the description of Fresnel diffraction, the found shortcomings also appear to indicate that Fresnel diffraction causing the edge effect is not a valid assumption for low coherence neutron phase contrast artefacts.
The issues with the phase filtering also imply that X-ray CTF phase retrieval which requires multiple distance measurements and the detection of multiple phase fringes cannot be applied. Again due to coherence limitations multiple phase fringes have never been reported with neutrons and would not support the conclusion concerning mere refraction effects with neutrons. A multiple wavelength version on the other hand, would be ideal for use at pulsed sources, because through the time-of-flight approach multiple wavelength measurements come without flux penalty and might bring a significant efficiency gain, in case wavelength dispersive measurements provide additional necessary information. It should thus be considered to develop such an approach adapted to the case of neutrons and their low available coherence to provide a viable alternative to the computation-intense simulation approach we explore here.
However, here we introduce an approach for correcting phase contrast artefacts which is based on forward modelling through simulations. To this end, we utilise the ray-tracing simulation software package McStas, which is well suited to simulate phase effects in transmission neutron imaging. Initial simulations were based on a priori knowledge and initial assumptions made about the samples. Where the sample material and structure are well known, the use of tabulated material parameters yields good results, in contrast to the phase filter. For more complex and unknown material features, like the porous Al oxide layer of our second sample, assumptions based on first visual inspection of the measured data and subsequently achieved improvements of fitting between model and measurement data were used in a manual approach to fit simulation and measurement. While this is tedious and no perfect agreement can be produced this way, the approach has the potential to be turned into an autonomous fitting procedure in the future. However, we can show that we can improve our sample model and thus develop a qualitatively improved quantification of the measured structure, by eliminating or at least minimising the phase artefact bias. However, one difficulty we met was that the phase effect measured between the porous anodic oxide layer and Al substrate is so weak that we achieved the best fit within the range we could iterate manually, by neglecting it completely. While this is no problem, in terms of retrieving a good attenuation profile, it raises the question of how this can be rationalised, as the bulk material parameters for the involved phases are not suited to understand this. In addition, it can be assumed that the interface is not smooth but affected by significant cracks and porosity as well as potential misalignment with the beam. However, the effect of interface roughness on the respective phase effect cannot yet be simulated in McStas. This implies the need for further experimental investigations with the aim to add such features to the simulation.
Alternatively, a neural network could be used to perform phase filtering. After training, this would likely be faster than an iterative simulation approach. For a neural network to provide accurate filtering, it is important to have ample training data of samples measured with both phase- and attenuation contrast as well as attenuation contrast only. These would likely have to be simulated to ensure a sufficient quantity of training data, which further reinforces the need for quantitatively accurate simulations.
In summary, we have demonstrated that forward simulation-based sample modelling can provide better quantitative approximations of complex interfaces affected by phase contrast artefacts than directly adapted phase filters from X-ray imaging. While the considered phase filter can work for simple interfaces, when manipulating material parameters beyond reasonable values, as soon as there is a subtle structure at the interface the adapted X-ray filters would rather further obscure these structures, than revealing them. On the other hand, when an interface is simple and contains no additional structure, further analyses and quantification are not relevant in any case. Our forward modelling approach through simulations supports improved structure evaluation on more complex interfaces. However, it will only become a valuable alternative and analysis tool, when automation of the approach of simulation and fitting can be achieved, which remains beyond the scope of this work.
Acknowledgements
We thank the ESS DMSC for use of their simulation cluster. We acknowledge support from the ESS Lighthouse on Hard Materials in 3D, SOLID, funded by the Danish Agency for Science and Higher Education (grant no. 8144-00002B). This work is based on experiments performed at the Swiss spallation neutron source SINQ, Paul Scherrer Institute, Villigen, Switzerland.
Author contributions
E.B.N: Contributed to simulations, performed data analysis and interpretation, and drafted and critically revised the manuscript. O.Y.: Contributed to conception and design, data acquisition, data analysis and interpretation, and critically revised the manuscript. N.O.: Contributed to conception and design, data acquisition, and critically revised manuscript. P.T.: Contributed to conception and design, data acquisition, and critically revised manuscript. M.B.: Contributed to data acquisition, and critically revised manuscript. L.T.K.: contributed to data interpretation, supervision, and critically revised manuscript. M.S.: Contributed to conception and design, data interpretation, supervision, and critically revised manuscript. All authors have given their final approval of the manuscript and have agreed to be accountable for all aspects of the work.
Funding
Danish Agency for Higher Education and Science (grant no. 8144-00002B).
Data availability
Data sets generated during the current study are available at https://doi.org/10.11583/DTU.26064070.
Declarations
Competing interests
I declare that the authors have no competing interests as defined by Nature Research, or other interests that might be perceived to influence the results and/or discussion reported in this paper.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Kardjilov, N., Manke, I., Woracek, R., Hilger, A. & Banhart, J. Advances in neutron imaging. Mater. Today21, 652–672 (2018). [Google Scholar]
- 2.Strobl, M. et al. Advances in neutron radiography and tomography. J. Phys. D Appl. Phys.42, 243001 (2009). [Google Scholar]
- 3.Ott, N., Cancellieri, C., Trtik, P. & Schmutz, P. High-resolution neutron imaging: A new approach to characterize water in anodic aluminum oxides. Mater. Today Adv.8, 100121 (2020). [Google Scholar]
- 4.Buitrago, N. et al. Determination of very low concentrations of hydrogen in zirconium alloys by neutron imaging. J. Nucl. Mater.503, 98–109 (2018). [Google Scholar]
- 5.Langer, M., Cloetens, P., Guigay, J.-P. & Peyrin, F. Quantitative comparison of direct phase retrieval algorithms in in-line phase tomography. Med. Phys.35, 4556–4566 (2008). [DOI] [PubMed] [Google Scholar]
- 6.Burvall, A., Lundström, U., Takman, P. A. C., Larsson, D. H. & Hertz, H. M. Phase retrieval in x-ray phase-contrast imaging suitable for tomography. Opt. Express19, 10359–10376 (2011). [DOI] [PubMed] [Google Scholar]
- 7.Cloetens, P. et al. Holotomography: Quantitative phase tomography with micrometer resolution using hard synchrotron radiation x rays. Appl. Phys. Lett.75, 2912–2914 (1999). [Google Scholar]
- 8.Zabler, S., Cloetens, P., Guigay, J.-P., Baruchel, J. & Schlenker, M. Optimization of phase contrast imaging using hard x rays. Rev. Sci. Instrum.76, 073705 (2005). [Google Scholar]
- 9.Gureyev, T. E., Mayo, S., Wilkins, S. W., Paganin, D. & Stevenson, A. W. Quantitative in-line phase-contrast imaging with multienergy x rays. Phys. Rev. Lett.86, 5827–5830 (2001). [DOI] [PubMed] [Google Scholar]
- 10.Kashyap, Y. S. et al. A variable-wavelength-based approach of phase retrieval for contrast transfer function based methods. J. Synchrotron Radiat.17, 799–803 (2010). [DOI] [PubMed] [Google Scholar]
- 11.Strobl, M. et al. High-resolution investigations of edge effects in neutron imaging. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip.604, 640–645 (2009). [Google Scholar]
- 12.Lehmann, E., Schulz, M., Wang, Y. & Tartaglione, A. Edge enhancement investigations by means of experiments and simulations. Phys. Proc.88, 282–289 (2017). [Google Scholar]
- 13.Morgano, M., Peetermans, S., Lehmann, E. H., Panzner, T. & Filges, U. Neutron imaging options at the BOA beamline at Paul Scherrer Institut. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip.754, 46–56 (2014). [Google Scholar]
- 14.Kaestner, A. et al. The ICON beamline–a facility for cold neutron imaging at SINQ. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip.659, 387–393 (2011). [Google Scholar]
- 15.Trtik, P. & Lehmann, E. H. Progress in high-resolution neutron imaging at the Paul Scherrer Institut–the neutron microscope project. J. Phys. Conf. Ser.746, 012004 (2016). [Google Scholar]
- 16.Crha, J., Vila-Comamala, J., Lehmann, E., David, C. & Trtik, P. Light yield enhancement of 157-gadolinium oxysulfide scintillator screens for the high-resolution neutron imaging. MethodsX6, 107–114 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Als-Nielsen, J. & McMorrow, D. Elements of Modern X-Ray Physics (Wiley, Hoboken, 2011). [Google Scholar]
- 18.Guigay, J. P. Fourier transform analysis of Fresnel diffrcation patterns and in-line holograms. Optik49, 121–125 (1997). [Google Scholar]
- 19.Paganin, D. & Nugent, K. A. Noninterferometric phase imaging with partially coherent light. Phys. Rev. Lett.80, 2586–2589 (1998). [Google Scholar]
- 20.Guigay, J. P., Langer, M., Boistel, R. & Cloetens, P. Mixed transfer function and transport of intensity approach for phase retrieval in the Fresnel region. Opt. Lett.32, 1617–1619 (2007). [DOI] [PubMed] [Google Scholar]
- 21.Paganin, D. M. et al. Revisiting neutron propagation-based phase-contrast imaging and tomography: Use of phase retrieval to amplify the effective degree of brilliance. Phys. Rev. Appl.19, 034005 (2023). [Google Scholar]
- 22.Østergaard, M. et al. Polychromatic neutron phase-contrast imaging of weakly absorbing samples enabled by phase retrieval. J. Appl. Crystallogr.56, 673–682 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Willendrup, P. K. & Lefmann, K. Mcstas (i): Introduction, use, and basic principles for ray-tracing simulations. J. Neutron Res.22, 1–16 (2020). [Google Scholar]
- 24.Naver, E. B. et al. Phase contrast neutron imaging compared to wave propagation- and McStas simulations. J. Appl. Crystallogr.57, 707–713 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Bertelsen, M. Software for Simulation and Design of Neutron Scattering Instrumentation (University of Copenhagen, Copenhagen, Denmark, 2017). [Google Scholar]
- 26.Amg Beamlines Mcstas. https://github.com/matteobsu/AMG-Beamlines-McStas. Accessed 26 June 2023.
- 27.Sine2020wp8. https://github.com/McStasMcXtrace/SINE2020WP8/tree/master
- 28.Sears, V. F. Fundamental aspects of neutron optics. Phys. Rep.82(1), 1–29 (1982). [Google Scholar]
- 29.Neutron scattering lengths and cross sections. https://ncnr.nist.gov/resources/n-lengths/. Accessed 30 Aug 2023.
- 30.Beltran, M., Paganin, D., Uesugi, K. & Kitchen, M. 2D and 3D X-ray phase retrieval of multi-material objects using a single defocus distance. Opt. Express18, 6423–6436 (2010). [DOI] [PubMed] [Google Scholar]
- 31.Strobl, M., Treimer, W., Kardjilov, N., Hilger, A. & Zabler, S. On neutron phase contrast imaging. Nucl. Instrum. Methods Phys. Res. Sect. B Beam Interact. Mater. Atoms266, 181–186 (2008). [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
Data sets generated during the current study are available at https://doi.org/10.11583/DTU.26064070.

















