X-ray Spectral Estimation using Dictionary Learning
Wenrui Li, Venkatesh Sridhar, K. Aditya Mohan, Saransh Singh,, Jean-Baptiste Forien, Xin Liu, Gregery T. Buzzard, Charles A. Bouman

TL;DR
This paper introduces a dictionary learning-based spectral estimation method for X-ray CT systems that accurately estimates spectral response without initial guesses, improving over existing methods.
Contribution
The paper presents a novel dictionary-based spectral estimation approach using MAP estimation with sparsity and simplex constraints, outperforming state-of-the-art methods.
Findings
Accurate spectral estimates achieved without initial guesses.
Method outperforms existing techniques in cross-validation experiments.
Demonstrated effectiveness on real ALS datasets.
Abstract
As computational tools for X-ray computed tomography (CT) become more quantitatively accurate, knowledge of the source-detector spectral response is critical for quantitative system-independent reconstruction and material characterization capabilities. Directly measuring the spectral response of a CT system is hard, which motivates spectral estimation using transmission data obtained from a collection of known homogeneous objects. However, the associated inverse problem is ill-conditioned, making accurate estimation of the spectrum challenging, particularly in the absence of a close initial guess. In this paper, we describe a dictionary-based spectral estimation method that yields accurate results without the need for any initial estimate of the spectral response. Our method utilizes a MAP estimation framework that combines a physics-based forward model along with an sparsityā¦
| Projection Geometry: | Parallel beam geometry |
|---|---|
| Source filter: | 2 Silicon |
| Scintillator: | 50 |
| Max Energy: | 100 KeV |
| Views Spanning: | Equi-spaced in |
| Detector Pixel Size: | 0.00065 mm |
| Nviews Nrows Ncolumns: | |
| Sample-detector distance: | mm |
| Filter response | |||||||||
| Material |
|
|
|
||||||
| 0.15.9 | 0.2 | 30 | |||||||
| 0.20.49 | 0.01 | 30 | |||||||
| Detector response(Scintillator) | |||||||||
| 0.0250.095 | 0.002 | 36 | |||||||
| Case | Fit | Test | LSSE | DictSE |
|---|---|---|---|---|
| 1 | 0.0331 | 0.0315 | ||
| 2 | 0.0624 | 0.0242 | ||
| 3 | 0.0343 | 0.0122 | ||
| 4 | 0.0483 | 0.0093 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced X-ray and CT Imaging Ā· Medical Imaging Techniques and Applications Ā· Radiation Dose and Imaging
X-Ray spectral estimation using Dictionary Learning
Abstract
As computational tools for X-ray computed tomography (CT) become more quantitatively accurate, knowledge of the source-detector spectral response is critical for quantitative system-independent reconstruction and material characterization capabilities. Directly measuring the spectral response of a CT system is hard, which motivates spectral estimation using transmission data obtained from a collection of known homogeneous objects. However, the associated inverse problem is ill-conditioned, making accurate estimation of the spectrum challenging, particularly in the absence of a close initial guess.
In this paper, we describe a dictionary-based spectral estimation method that yields accurate results without the need for any initial estimate of the spectral response. Our method utilizes a MAP estimation framework that combines a physics-based forward model along with an sparsity constraint and a simplex constraint on the dictionary coefficients. Our method uses a greedy support selection method and a new pair-wise iterated coordinate descent method to compute the above estimate. We demonstrate that our dictionary-based method outperforms a state-of-the-art method as shown in a cross-validation experiment on four real datasets collected at beamline 8.3.2 of the Advanced Light Source (ALS).ā ā Document Release Number: LLNL-CONF-845171
**Index Termsāā** X-ray CT, spectral estimation, dictionary learning, inverse problem
1 Introduction
Non-destructive evaluation (NDE) is an increasingly important application of CT, which motivates improved capabilities for quantitative energy-independent reconstruction and precise material characterization. Such reconstruction techniques utilize physically accurate forward models that account for the polyenergetic nature of the X-ray source radiation and associated physical phenomena such as beam-hardening[1], rather than simpler models based on mono-energetic approximations. However, an accurate estimate of the CT systemās source-detector spectral response is a necessity for the above methods. For example, the method for reconstructing energy-independent material properties like effective atomic-number and electron density from dual-energy CT scans [2, 3, 4] and the method for tissue characterization in [5, 6] require a precise calibration of the source-detector spectral response.
Direct measurement of the spectral response of the whole X-Ray CT system is difficult since the detector response is hard to measure. Based on BeerāLambertās law[7], we can use a linear model for transmission measurements of objects with known dimensions and composition to reconstruct the discretized spectral response of a CT scanner, but this yields a highly ill-conditioned system. Champley et al. [4] use linear least-squares to do spectral estimation (LSSE) with constraints to enforce non-negativity. However, this method requires an accurate initial guess close to the true spectrum. Various regularization methods[8, 9] are used to overcome the issues introduced by the ill-conditioned nature of the problem. SVD-based algorithms have also been applied to the spectral estimation problem[10, 11, 12]. Sidky et al.[13] represent the spectrum as a linear combination of B-splines and use EM (Expectationāmaximization) to find the solution. Zhao et al.[14] estimate the spectrum as a linear combination of six Monte Carlo model spectra. Liu et al.[15] introduce compressed sensing to estimate the spectrum. The central ideas of the above methods have a common theme: try to solve the ill-conditioned inverse problem either with regularized optimization or by introducing basis spectra to perform the estimation.
In this paper, we introduce a novel dictionary-based spectral estimation (DictSE) method that can efficiently reconstruct the overall spectral response of a CT system from transmission scans of multiple known objects, without the need for accurate initialization. We represent the unknown spectral response using an over-complete dictionary that accounts for vast combinations of different source spectra, filter attenuation characteristics, and detector energy-response models. We formulate the reconstruction problem as a MAP estimation framework that combines a linear beam-hardening forward model along with prior constraints. Specifically, we impose an sparsity constraint to limit the support for the spectrum representation and a simplex constraint to account for the bright-dark normalization of the transmission data. We present a novel iterative optimization strategy that alternates between support selection and pairwise iterative coordinate descent (ICD) update to find the optimal sparse representation of the spectrum. Finally, we demonstrate DictSE through a cross-validation experiment on four datasets collected at beamline 8.3.2 of ALS.
2 Reconstruction model
In this section, we describe the spectral estimation problem and our proposed solution in more detail. We use a physics-based model for X-ray transmission measurements and discretize the model in energy and by projection to produce a linear measurement model. Then we introduce a dictionary-based framework and express the reconstruction as a MAP estimation problem. Finally, we solve this dictionary-based MAP problem using support selection to enforce sparse coding and an ICD algorithm modified to enforce a simplex constraint on the coefficients of the selected dictionary elements.
2.1 Physics-based Model and Discretization
Fig.Ā 1 illustrates the setup for X-ray spectral estimation. Using notation as in that figure, the spectral response of this CT system is the product of the X-ray source spectrum, filter response, and detector response, which yields the response function
[TABLE]
and our goal is to estimate .
We relate to measurements by first defining and to be the measured intensity of the object scan (with sample) and the blank scan (without sample), respectively. Based on BeerāLambertās law, we have
[TABLE]
where is linear attenuation coefficient (LAC) with units . Likewise, is defined as in (2) with . The (normalized) transmission through line is then defined as
[TABLE]
where is the normalized response.
We assume each sample consists of solid rods made from known materials taken from a specified reference set . For each material and projection , we define to be the path length of the projection through the material and to be the LAC of the material at energy . Assuming that is independent of projection and noise-free, this yields the transmission for the projection as
[TABLE]
where is additive noise.
We discretize in energy by subdividing into non-overlapping bins and defining . Making the approximation that each is constant on each bin, we define the coefficient from the energy bin to the projection as Then (4) becomes
[TABLE]
Using this along with constraints to yield a normalized spectrum, the forward model is
[TABLE]
where is a vector of normalized transmission measurements, is a forward matrix over energy bins, is additive noise, and is the unknown vector discretization of that we seek to estimate.
2.2 Dictionary-based Model
Developing a dictionary-based method instead of directly estimating the spectrum at each energy bin has several motivations. When the discretization of is very fine, the projection model matrix has a large null space, leading to an underdetermined reconstruction, which requires a good initial estimate. Also, with a dictionary-based method, we can apply a sparsity-promoting penalty so that the dimensionality of the optimization problem can be significantly decreased and the time for reconstruction reduced.
More specifically, as indicated in (LABEL:equ:smp_model), we model as a discrete probability distribution, so that the entries of are nonnegative and sum to 1. We call this the simplex constraint and use to represent the set of all such possible vectors.
We use a fixed, over-complete dictionary to represent the unknown normalized spectrum, , as
[TABLE]
where is an matrix, each column represents a normalized basic spectrum. With this , the transmission model can be rewritten as
[TABLE]
2.3 MAP Estimate
We use a Bayesian framework to estimate from transmission measurements under sparsity and simplex constraints. We define transmission weights using a diagonal matrix , where we take . We then define the loss function , in which case the MAP estimate is given by
[TABLE]
where enforces since each column of is a simplex; the constraint ensures has no more than non-zero components.
2.4 Support Selection and Pairwise ICD update
To minimize the MAP cost function, we alternate between greedy support selection and a pairwise ICD update. Inspired by the Orthogonal Matching Pursuit (OMP)[16], our DictSE builds support set by adding one basic spectrum from the dictionary at a time and then updating the coefficients. However, the conventional support selection method in OMP does not account for simplex constraints on . Further, the OMP method assumes that the dictionary atoms are normalized, whereas, in our spectral estimation problem, the product of forward matrix and the spectrum dictionary is not. Thus choosing a basis spectrum with conventional matching pursuit is inappropriate.
To describe our alternative method for support selection, we first define a function that measures the fit to data obtained by scaling the existing coefficients by and using the remaining weight on the coefficient. That is,
[TABLE]
where enforces and is a one-hot vector for the spectrum.
Then we select a new element from the dictionary by minimizing to obtain
[TABLE]
This minimization can be solved easily for each since equation (10) is quadratic in the scalar . In fact, defining , we have
[TABLE]
Using in equation (10) allows us to find that minimizes equation 10; this is then included in with and the remaining scaled by .
To rebalance the weights while enforcing the simplex constraint, we use pairwise ICD between the most recently added dictionary element with index and the remaining elements in , as shown in lines 6-12 of Algorithm 1. More precisely, after choosing , we loop repeatedly over , in each case finding an optimal pairwise update , where is chosen by
[TABLE]
The constraints on in the minimization ensure each . Since is quadratic, can be computed as below
[TABLE]
The pairwise ICD update will stop when the total update is less than . The algorithm is summarized in Algorithm 1.
3 Implementation
In this section, we describe the normalized transmission data , the projection matrix , and the dictionary of spectra , which are required to estimate the spectral response of an X-ray CT system using Algorithm 1.
3.1 Transmission data
We collected four CT datasets of different metal rods, , at beamline 8.3.2 of the ALS. As shown in Fig.Ā 2, for each dataset, we scanned a single rod. The same CT scanner setup was used to collect all datasets. TableĀ 1 gives more detailed information about the X-ray CT measurements.
We scanned bright scans and dark scans and averaged them to obtain and . Then, for each view, we normalized measurement data to obtain .
3.2 Forward Matrix
For each dataset, the sample is a single rod that is solid and pure. To calculate , we need the path length of the projection through this rod. To obtain the path length, we used filtered back projection to reconstruct the volume of the rod and then generated a mask to represent the object area. Using this mask, we calculated the path length for each projection and used this to calculate the forward matrix .
3.3 Dictionary Generation
As mentioned in equation (1), the spectral response can be modeled as the product of the X-ray source spectrum, filter response, and detector response, so we can create a dictionary by varying one or more of these elements. The X-ray source spectrum is fixed in this experiment; we used an estimate provided by the beamline scientists at the ALS Beamline 8.3.2. Therefore, in this implementation, we generated the dictionary by varying the filter and detector responses. Based on the spectrum models in Ref.Ā [4], the filter response and detector response are determined by their material properties and thicknesses, which we vary as in TableĀ 2 to generate our dictionary. By combining two groups of responses, we obtain an over-complete dictionary containing normalized responses spectra.
4 Experimental Results
We compared our proposed DictSE method with a least-squares spectral estimation (LSSE) method provided by Livermore tomography tools (LTT) [17] on four datasets described in section 3.1. An initial spectrum for the LSSE method was generated by LTT using silicon as a source filter and as a scintillator. We then evaluated the estimated spectra of DictSE and LSSE using leave-one-out cross-validation since we do not have a ground truth response.
TableĀ 3 demonstrates that DictSEās reconstructed spectra outperform the LSSEās reconstructed spectra in NRMSE for all cross-validation cases. For each case , we computed NRMSE to compare transmission measurements and transmission value of the forward model using estimated spectrum on the validation rod.
Fig.Ā 3 shows all four cases of cross-validation reconstructed spectra using both the DictSE and LSSE methods. For each case, DictSEās estimated spectra are smoother than the LSSEās. Also, from the shape of the reconstructed spectra over all cases, DictSE is less data-sensitive than LSSE.
5 Conclusion
This work provides a novel application of dictionary learning to X-Ray spectral estimation, allowing an efficient spectrum reconstruction from a vast dictionary obtained from CT datasets. Our method uses a greedy support selection method to do sparse coding followed by pairwise ICD to do minimization while enforcing a simplex constraint. Leave-one-out cross-validation experiments on four datasets demonstrated that our DictSE method outperforms the LSSE method in NRMSE.
6 ACKNOWLEDGMENTS
This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344 and LDRD project 22-ERD-011. The authors acknowledge Dula Parkinson for his support during beamtime. Charles Bouman was partially supported by the Showalter Trust, and Greg Buzzard was partially supported by NSF CCF-1763896.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Pengchong Jin, Charles A. Bouman, and Ken D. Sauer, āA model-based image reconstruction algorithm with simultaneous beam hardening correction for X-Ray CT,ā IEEE Transactions on Computational Imaging , vol. 1, no. 3, pp. 200ā216, 2015.
- 2[2] Matteo Busi, K Aditya Mohan, Alex A Dooraghi, Kyle M Champley, Harry E Martz, and Ulrik L Olsen, āMethod for system-independent material characterization from spectral X-ray CT,ā NDT & E International , vol. 107, pp. 102136, 2019.
- 3[3] Stephen G Azevedo, Harry E Martz, Maurice B Aufderheide, William D Brown, Kyle M Champley, Jeffrey S Kallman, G Patrick Roberson, Daniel Schneberk, Isaac M Seetho, and Jerel A Smith, āSystem-independent characterization of materials using dual-energy computed tomography,ā IEEE Transactions on Nuclear Science , vol. 63, no. 1, pp. 341ā350, 2016.
- 4[4] Kyle M Champley, Stephen G Azevedo, Isaac M Seetho, Steven M Glenn, Larry D Mc Michael, Jerel A Smith, Jeffrey S Kallman, William D Brown, and Harry E Martz, āMethod to extract system-independent material properties from dual-energy X-ray CT,ā IEEE Transactions on Nuclear Science , vol. 66, no. 3, pp. 674ā686, 2019.
- 5[5] Cynthia H Mc Collough, Shuai Leng, Lifeng Yu, and Joel G Fletcher, āDual-and multi-energy CT: principles, technical approaches, and clinical applications,ā Radiology , vol. 276, no. 3, pp. 637ā653, 2015.
- 6[6] Aaron So and Savvas Nicolaou, āSpectral computed tomography: fundamental principles and recent developments,ā Korean Journal of Radiology , vol. 22, no. 1, pp. 86, 2021.
- 7[7] Johann Heinrich Lambert, Photometria sive de mensura et gradibus luminis, colorum et umbrae , Klett, 1760.
- 8[8] Christopher Ruth and Peter M Joseph, āEstimation of a photon energy spectrum for a computed tomography scanner,ā Medical Physics , vol. 24, no. 5, pp. 695ā702, 1997.
