## Abstract

We introduce theoretically and demonstrate experimentally a contrast transfer function based phase retrieval algorithm that reconstructs the projected thickness of an homogeneous sample using a polychromatic x-ray source. We show excellent quantitative recovery of test samples in 2D using a synchrotron source with significant harmonic contamination, and in 3D using a laboratory source.

© 2011 OSA

## 1. Introduction

Since the discovery of X-rays in 1895, X-ray imaging has been a powerful tool in the non-destructive investigation of materials. In the intervening century the attenuation of an x-ray beam by the sample through photo-electric absorption has been the dominant method used to produce image contrast. More recently coherent scattering, which at a microscopic level is characterized by the real part of the refractive index, has been used to produce contrast from sources with a high degree of temporal and/or spatial coherence [1].

Since then a variety of methods [2–5] have been demonstrated which retrieve a quantitative map of the sample scattering potential – so called phase retrieval methods. Typically phase retrieval methods rely on both spatial and temporal coherence in the illuminating field though recent approaches have also been demonstrated in the presence of partial spatial [6] and temporal [7, 8] coherence. In the so-called Fresnel imaging regime, a technique based on an extension to the Transport of Intensity equation (TIE) [9] has been used to demonstrate phase retrieval for a polychromatic source in cases where $\lambda z{u}^{2}<<1.$ Here *λ* is the wavelength, *z* is the propagation distance and u is the spatial frequency of phase features in the sample. The validity condition is satisfied for sufficiently small propagation distances. Consequently, the approach is referred to as applying in the “near Fresnel” regime.

Here we propose an extension of the conventional contrast transfer function (CTF) based phase retrieval [5], which extends the validity condition to the intermediate regime for homogeneous objects, i.e. objects composed of a single material [4, 10]. The technique requires weak absorbing, homogeneous objects with slowly varying phase [5]. We show that the new technique can achieve quantitative image reconstruction for homogeneous objects using polychromatic sources of known spectra, demonstrated using a polychromatic lab based source. We then apply the technique for a quantitative reconstruction of a two dimension object using a synchrotron beam with a significantly higher harmonic content and a three dimension object using a polychromatic x-ray source whose spectrum has been well characterized.

Just as the previous polychromatic approach [9] generalized the TIE, which operates in the near Fresnel regime, our approach generalizes the contrast transfer function (CTF) [5] method which operates for slowly varying phase into the intermediate regime. The requirement for homogeneity is imposed where we wish to acquire a single image and that will provide a quantitative result [4].

## 2. Contrast transfer function based phase retrieval for polychromatic sources

It is well known that for a homogeneous sample, given the average density for each voxel of a homogeneous sample is described by ${\rho}_{o},$ the projected thickness,$T\left(\text{r}\right),$ along a projection through the sample is described by the following equation

where r is the 2D coordinate in a plane transverse to the beam direction, $z;$ $\rho \left(\text{r},z\right)$is the 3D density distribution of a sample.Consider a monochromatic plane wave, ${\psi}_{o,\lambda},$of wavelength *λ* arriving at a thin, homogeneous sample. The exit wave field after the sample is

The diffracted intensity at the detector plane of a distance *z* from the sample, ${I}_{\lambda}\left(\text{r},z\right),$ can be determined using the following relation [11]

*ℑ*. The first exponential term in Eq. (3) can be linearized by applying the assumptions [5]

The conditions shown in (4) refer to the requirement of a weak absorbing sample of slowly varying phase.

After the linearization, Eq. (3) can be rewritten as

In an experiment with a polychromatic source, the measured intensity after the sample is

*λ*we can also describewhere $S\left(\lambda \right)$ is the measured spectral distribution of a polychromatic source. Strictly $S\left(\lambda \right)$ should also be a function of transverse position, but we have found that in the paraxial geometry used in phase imaging the approximation in Eq. (9) is valid here, in which ${I}_{o}$ scales the source strength. Therefore, Eq. (5) is re-written equivalently as

Assume that the assumption in Eq. (4) is still valid for any wavelength in the polychromatic source. So, taking integral both sides of Eq. (10), then combining with Eq. (7), (8), and Eq. (9), we have

We define $CT{F}_{poly}\left(\text{u},z\right)$as the weighted average of $CT{F}_{\lambda}\left(\text{u},z\right)$ due to spectral and detection effects

Then Eq. (11) can be written

The thickness, $T\left(\text{r}\right),$is obtained as:

In order to evaluate Eq. (14) to reconstruct the thickness of a homogeneous sample by using the Fast Fourier Transform algorithm we must adequately sample the argument of the Fourier transform. Under the assumption that the intensity is slowly varying compared to the CTF, a condition whereby the CTF is sampled adequately for the whole spectrum can be derived using the Shannon-Nyquist sampling criterion is two samples per period. Thus the maximum phase gradient of the CTF for a particular wavelength, λ, across the entire array must be less than *π* per sampling interval, which here is given by the pixel size,$\Delta x$and the number of pixel, $N.$After some derivations we have $z<\sqrt{0.5}N\Delta {x}^{2}{\lambda}_{}^{-1}.$In order to apply for the whole spectrum, the requirement in Eq. (14) must be correct for every wavelength. This means that

Note that, in addition to the requirement described in Eq. (4), Eq. (15) sets the maximum propagation distance z for which Eq. (14) can be applied numerically. Furthermore, when we want to reconstruct a feature with the size larger than a pixel size, the value of z can be extended. In this case, $\Delta x$can be considered as the smallest feature size that can be reconstructed.

## 3. Experiment

#### 3.1. Polychromatic CTF based phase retrieval for a synchrotron source with harmonic contamination

It is often assumed by many users that synchrotron radiation after a monochromator is monochromatic. However, it is not uncommon that a significant fraction of higher order harmonics is present in the beam, particularly when the sample and/or the optics are highly absorbing. The degree of harmonic contamination can be quantified using a series of filters of known thicknesses following the relationship [12].

*I*is the transmitted intensity, ${I}_{o}$ is the incident intensity,

*α*the fraction of the fundamental component in the beam, ${\mu}_{t}$ and ${\mu}_{h}$ are the linear absorption coefficients for the fundamental and harmonic energies respectively corresponding to a filter of a given composition and

*t*is the thickness of the filter.

The experiment was conducted at the SAXS/WAXS beamline of the Australian Synchrotron [13]. The fundamental energy was set to 9030 eV and the beam was heavily attenuated (by rougly 3 orders of magnitude) by a filter located upstream of the experiment hutch. At this level of attenuation we assume that there is a measureable fraction of 3^{rd} order harmonic photons in the beam after a Si 111 monochromator. We used 9 Aluminum filters with thicknesses in the range from 11.2 µm to 350 µm to characterise the harmonic content in the beam. The fraction of the 3rd order harmonic in the beam was found to be 11.3%±0.1%.

A sample of Cu with a nominal thickness of 100 nm, satisfying the weak absorption condition and slowing varying phase conditions, was used. The sample had a width of 100 μm. A diffraction pattern was recorded with a scintillator-coupled CCD detector (2048 x 2048 pixels, 13.5 μm) located at a distance of 3.37 m downstream of the sample. A 10x lens was used to image the scintillator giving an effective pixel size of 1.35 μm. A profile of the diffraction pattern is shown in Fig. 1(b) .

The reconstructed thickness from the diffraction pattern following Eq. (14) and Eq. (5) are shown in Fig. 1(c). An error of approximate 10% occurred in the thickness reconstruction (only about 90 nm ± 1 nm) using the monochromatic CTF (Eq. (5)) at energy of 9030 eV compared with the nominal thickness. The polychromatic formalism described in the paper produced a quantitative reconstruction which is in very good agreement with the expected value, which was 100 nm ± 1 nm.

#### 3.2. Polychromatic CTF based phase retrieval for a polychromatic laboratory source

We applied the new algorithm to 3D tomographic imaging using a laboratory polychromatic x-ray unfiltered source (Xradia Inc. micro-XCT) in the Department of Physics, La Trobe University. The source consisted of a closed x-ray tube with a tungsten target. The source size is about 6 μm at a tube voltage of 40 keV. The spectrum was measured using a wavelength sensitive detector (XR-100T-CdTe, AMPTEK Inc.) shown in Fig. 2 , the measurement was described in [9].

The sample was made from a polyimide tube (Kapton, C_{22}H_{10}N_{2}O_{4}) with average density of ${\rho}_{o}=$1.42 ±0.02 g/cm^{3}. The inner diameter was 122 µm and the outer diameter was 168 µm. Accordingly, the projected thickness through the middle of the tube is expected to be approximately 46 µm.

The sample was located at a distance of 40 mm from the source and a CCD detector was located at a distance of 360 mm downstream from the sample. The CCD detector was described in section 4.1. With the combination of the geometric magnification, the objective magnification 10x, and the 2x2 binning of the CCD, the effective pixel size was 0.27 µm for images taken by the detector with this configuration.

The diffraction pattern of a typical projection recorded at the detector is shown in Fig. 3a . The measured intensity was corrected for the measured dark current and normalized by the corresponding white field. From the diffraction pattern, the observed noise level, estimated as the standard deviation in the background area of the diffraction pattern, was about 1.2%. The maximum net absorption of the tube is less than 2%, which satisfies the weak absorption requirement for the sample.

As the experiment is in a point projection geometry we use the Fresnel scaling theorem [14] to recast the distance and pixel scales into corresponding effective quantities for plane wave geometry. Here, the effective propagation distance is 3.6 cm. This satisfies the condition for the distance required for adequate scaling as shown in Eq. (15).

Figure. 3b shows the 2D thickness reconstruction from Fig. 3a. In Fig. 3c, the black dashed line shows the nominal projected thickness for the ideal tube. The red line shows the quantitative result using polychromatic CTF (Eq. (14)). The dotted line shows the monochromatic CTF reconstruction using Eq. (5) for an energy corresponding to the peak energy of 8.3 keV in the measured spectrum, which is the combined spectral and detection response distribution shown in Fig. 2a, the measurement of this spectrum has been discussed in [9]. The reconstructed projected thickness in the central region obtained using Eq. (14) was *45.9 μm ± 0.2 μm,* which agrees very well with the expected value.

From Eq. (1), the 3D density of the sample,$\rho \left(\text{r},z\right)$can be reconstructed with an additional tomography technique, the standard technique is excellently discussed in [15, 16]. Here, we reconstruct the 3D distribution of the object density, $\rho \left(\text{r},z\right)$ rather than reconstruct the 3D refractive index of that, because the density $\rho \left(\text{r},z\right)$ is independent on energy. This means that for each projection, $\theta ,$a projected thickness ${T}_{\theta}\left(\text{r}\right)$is reconstructed. Then, the corresponding column density ${\rho}_{o}{T}_{\theta}\left(\text{r}\right)$ is calculated (here, a known average density of the sample is ${\rho}_{o}$ of 1.42 ± 0.02 g/cm^{3}). The process is repeated for every other projection to calculate the corresponding column densities. Finally, these column densities are combined by applying standard filtered back projection tomographic reconstruction [15, 16] to reconstruct $\rho \left(\text{r},z\right)$assuming that an equivalent plane wave geometry to the point projection geometry was used - valid here as the divergence of the source subtended by the sample was $7\times {10}^{-4}$rad.

Indeed, for this particular sample, we used 361 projections from 0° to 180°. The 3D distribution of the density of the sample was reconstructed and is shown in Fig. 4a . Figure 4b shows the distribution of the density in a slice, which is a 2D across section of the sample. Figure 4c shows a 1d plot along the dashed line in (b).

In the Fig. 4c, the maximum of the second peak for $\rho \left(\text{r},z\right)$ in a slice of the sample shows the value of 1.38 ± 0.02 g/cm^{3}. The differences between two peaks and between the measured and the average density show that the density of the sample as well as the wall thickness is not uniform. We used the reconstructed 3D density of the sample to calculate the column density along the projection described in the 2D reconstruction above (Fig. 3b), and then calculate the 2D projected thickness with the average density ${\rho}_{o}$ of 1.42 ± 0.02 g/cm^{3}. From that we obtained again the 2D result shown in Fig. 3b, and then the plot shown and c, which has the value along the dashed line (in Fig. 3b) through the middle, was approximately 46.0 μm ± 0.2 μm. This is an excellent agreement between the nominal thickness and the reconstructed thickness using polychromatic CTF.

## 4. Conclusion

We have demonstrated an applicability of a polychromatic version of the CTF approach for phase retrieval that relies only on the measured (polychromatic) diffraction pattern and knowledge of the source spectrum, the detector response and, where significant, additional detection related effects. We applied the new technique to obtain quantitative reconstructions of homogeneous samples using real polychromatic sources. Once again, the polychromatic CTF approach can be used to extend the validity condition from “near Fresnel” regime to the intermediate regime to overcome the distance limitations of TIE, whose validity condition only valid in the near field.

## Acknowledgment

The authors acknowledge the support of the Australian Research Council through the Centre of Excellent for Coherent X-ray Science. The authors also acknowledge the support the Australian Synchrotron, particularly all the SAXS/WAXS beamline scientists.

## References and links

**1. **S. W. Wilkins, T. E. Gureyev, D. Gao, A. Pogany, and A. W. Stevenson, “Phase contrast imaging using polychromatic hard X-rays,” Nature **384**(6607), 335–338 (1996). [CrossRef]

**2. **J. Miao, P. Charalambous, J. Kirz, and D. Sayre, “Extending the methodology of X-ray crystallography to allow imaging of micrometre-sized non-crystalline specimens,” Nature **400**(6742), 342–344 (1999). [CrossRef]

**3. **H. M. Quiney, K. A. Nugent, and A. G. Peele, “Iterative image reconstruction algorithms using wave-front intensity and phase variation,” Opt. Lett. **30**(13), 1638–1640 (2005). [CrossRef] [PubMed]

**4. **D. Paganin, S. C. Mayo, T. E. Gureyev, P. R. Miller, and S. W. Wilkins, “Simultaneous phase and amplitude extraction from a single defocused image of a homogeneous object,” J. Microsc. **206**(1), 33–40 (2002). [CrossRef] [PubMed]

**5. **L. Turner, B. Dhal, J. Hayes, A. Mancuso, K. Nugent, D. Paterson, R. Scholten, C. Tran, and A. Peele, “X-ray phase imaging: Demonstration of extended conditions for homogeneous objects,” Opt. Express **12**(13), 2960–2965 (2004). [CrossRef] [PubMed]

**6. **L. W. Whitehead, G. J. Williams, H. M. Quiney, D. J. Vine, R. A. Dilanian, S. Flewett, K. A. Nugent, A. G. Peele, E. Balaur, and I. McNulty, “Diffractive imaging using partially coherent x rays,” Phys. Rev. Lett. **103**(24), 243902 (2009). [CrossRef]

**7. **B. Chen, R. A. Dilanian, S. Teichmann, B. Abbey, A. G. Peele, G. J. Williams, P. Hannaford, L. Van Dao, H. M. Quiney, and K. A. Nugent, “Multiple wavelength diffractive imaging,” Phys. Rev. A **79**(2), 023809 (2009). [CrossRef]

**8. **R. A. Dilanian, B. Chen, G. J. Williams, H. M. Quiney, K. A. Nugent, S. Teichmann, P. Hannaford, L. V. Dao, and A. G. Peele, “Diffractive imaging using a polychromatic high-harmonic generation soft-x-ray source,” J. Appl. Phys. **106**(2), 023110–023115 (2009). [CrossRef]

**9. **B. D. Arhatari, K. Hannah, E. Balaur, and A. G. Peele, “Phase imaging using a polychromatic x-ray laboratory source,” Opt. Express **16**(24), 19950–19956 (2008). [CrossRef] [PubMed]

**10. **T. E. Gureyev, Y. I. Nesterets, D. M. Paganin, A. Pogany, and S. W. Wilkins, “Linear algorithms for phase retrieval in the Fresnel region. 2. Partially coherent illumination,” Opt. Commun. **259**(2), 569–580 (2006). [CrossRef]

**11. **J. P. Guigay, “Fourier transform analysis of Fresnel diffraction patterns and in-line holograms,” Optik (Stuttg.) **49**, 121–125 (1977).

**12. **C. Q. Tran, Z. Barnea, M. D. deJonge, B. B. Dhal, D. Paterson, D. J. Cookson, and C. T. Chantler, “Quantitative determination of major systematics in synchrotron x-ray experiments: seeing through harmonic components,” X-Ray Spectrom. **32**(1), 69–74 (2003). [CrossRef]

**13. **D. Cookson, N. Kirby, R. Knott, M. Lee, and D. Schultz, “Strategies for data collection and calibration with a pinhole-geometry SAXS instrument on a synchrotron beamline,” J. Synchrotron Radiat. **13**(6), 440–444 (2006). [CrossRef] [PubMed]

**14. **D. M. Paganin, *Coherent X-ray Optics* (Oxford Science Publications, 2006).

**15. **J. Baruchel, J. Y. Buffiere, E. Maire, P. Merle, and G. Peix, *X-Ray Tomography in Material Science* (Hermes Science Publications, 2000).

**16. **J. Hseh, *Computed Tomography: Principle, Design, Artifacts, and Recent Advances* (SPIE-The International Society for Optical Engineering, 2002).