Abstract
Tube of X-ray computed tomography (CT) system emitting a polychromatic spectrum of photons leads to beam hardening artifacts such as cupping and streaks, while the metal implants in the imaged object results in metal artifacts in the reconstructed images. The simultaneous emergence of various beam-hardening artifacts degrades the diagnostic accuracy of CT images in clinics. Thus, it should be deeply investigated for suppressing such artifacts. In this study, data consistency condition is exploited to construct an objective function. Non-convex optimization algorithm is employed to solve the optimal scaling factors. Finally, an optimal bone correction is acquired to simultaneously correct for cupping, streaks and metal artifacts. Experimental result acquired by a realistic computer simulation demonstrates that the proposed method can adaptively determine the optimal scaling factors, and then correct for various beam-hardening artifacts in the reconstructed CT images. Especially, as compared to the nonlinear least squares before variable substitution, the running time of the new CT image reconstruction algorithm decreases 82.36% and residual error reduces 55.95%. As compared to the nonlinear least squares after variable substitution, the running time of the new algorithm decreases 67.54% with the same residual error.
Introduction
Tube of X-ray CT imaging system emits photons with polychromatic spectrum, resulting in beam hardening artifacts in the reconstructed image, such as cupping and streaks artifacts [1–3]. At the same time, there may also be metal implants in the imaged object, resulting in metal artifacts in the reconstructed image. For a long time, metal artifacts correction is a difficult problem in X-ray CT imaging of modern medical diagnosis. The simultaneous emergence of various types of artifacts certainly will degrade the accuracy of clinical diagnosis, so it is necessary to conduct in-depth research to suppress them.
Traditional water correction can only correct for cupping artifacts caused by water like substances [4, 5]. Traditional bone correction can correct for the cupping artifact caused by water like substances and the streaks artifacts caused by bone like substances at the same time, but it is usually necessary to use cumbersome physical experiments to determine the scale factor, λ0, in advance, which is subsequently used to convert the reconstruction value of bone tissue into bulk density [6, 7]. We have ever proposed an optimal bone correction method based on the data consistency condition, which can determine the optimal scale factor [8]. The optimal bone correction method can not only avoid large number of physical experiments, but also adapt to the changes of imaging equipment and imaging objects.
Based on the mathematical and physical model of X-ray imaging [9], this paper constructed the corresponding objective function by using data consistency condition for the case that the imaged objects include water-like, bone-like and metal-like substances at the same time. Essentially, the objective function constructed on the novel mathematical and physical model is not globally convex, therefore, the alternating optimization algorithm [10] and non-linear least squares cannot guarantee convergence unless the initial value of variables is very close to the global optimal point. Therefore, non-convex optimization algorithm [11] was used to adaptively determine the optimal scale factors of soft tissue, bone and metal, respectively. An optimal bone correction method was then obtained to correct for the cupping, streaks and metal artifacts simultaneously. Finally, the performance of the correction method is verified by computer simulation.
The innovations of the proposed method are at least three aspects: (1) the beam-hardening effects of the metal-like substance is explicitly considered in the mathematical and physical model of X-ray imaging; (2) the superiority of non-convex optimization algorithm and (3) the positive influence of variable substitution on the performance of the optimal bone correction for various beam-hardening artifacts in x-ray CT imaging are validated in this study.
Methodology
Mathematical model of X-ray imaging
The data acquisition process of projections, generated by X-ray source with polychromatic spectrum in medical diagnostic CT system, can be mathematically modeled as:
Analytical CT reconstruction usually assumes that the photons emitted from the X-ray source used in projection data acquisition are of monochromatic energy. Assuming that the monochromatic energy of the photons emitted by X-ray source is ɛ mono , the corresponding projection data acquisition process can be mathematically modeled as
The beam hardening artifacts in the reconstructed image can be thought to be caused by the mismatch between the assumption of the monochromatic spectrum in the analytical CT reconstruction and the fact of the polychromatic spectrum of the projected data set.
Water correction is a traditional beam hardening correction method suitable for single material [4, 5], which can be divided into two steps: calibration and correction.
In the calibration step, water-like substances (such as plexiglass plates of different thicknesses) are taken as the imaged objects to obtain the projection data of polychromatic spectrum and determine the coefficients of the correction polynomial as follows:
In the correction step, the projection value of monochromatic spectrum corresponding to the actual projection data
for subsequent analytical CT reconstruction. The effectiveness of water correction depends on whether the imaged object is water-like.
When bone correction [6, 7] is performed, the projection is firstly water corrected [4, 5], and then analytic CT pre-reconstruction is performed to obtain water corrected image f w (x, y). The soft tissue and bone tissue images were obtained by thresholding the pre-reconstructed image,
Finally, the bone correction is formulized as follows,
When metal exists in the imaged object, the pre-reconstructed image after water correction is segmented by thresholding to obtain soft tissue, bone tissue and metal images, respectively
When metal exists in the scanned object, the optimal scale factor of polychromatic spectrum in X-ray CT imaging can be determined by minimizing the following objective function by nonlinear least squares:
Since the objective function Φ2 (see Equation (18)) cannot guarantee the global convexity, the non-convex optimization algorithm [11] should be used to solve the problem on the premise of reasonably selecting the initial value of variables
The simplified model (Equation (20)) is nonlinear, and the objective function Φ2 cannot guarantee global convexity. In order to simplify the solving process of the non-convex optimization algorithm [11], the scale factors
Note that this variable substitution is empirically beneficial to improve the linearity of the simplified model formula (20) and the global convexity of the objective function Φ2.
Our previous approach to analytical projection calculation [9] of FORBILD head phantom [12] at z = 0mm section is used for the computer simulation verification. The computational resources used to conduct the simulation are Windows7 OS and Intel® Core™ i3-2310M CPU @2.10 GHz.
Mechanical parameters
In the simulation experiment, the radius of CT circular scanning trajectory is set as 50cm. Fig. 1 shows the natural coordinate system, the local coordinate system of the two-dimension X-ray detector and the scanning track of the X-ray source point. The center of the phantom coincides with the rotating center O, and the radius of the phantom is 128mm. The X-ray detector contains pixels, which constitute an 850×80 matrix, and each pixel size is 1mm×1mm. The distance between the point O d and the detector center is 50cm. When the X-ray source point is rotated 360°, the projection data of 1080 view angles are evenly collected.

Schematic of natural coordinate system, local coordinate system of X-ray 2D detector, and scanning trajectory of X-ray source point.
The performance of the proposed method is independent on the types of X-ray tube and detector. X-ray tube emission spectrum S (ɛ) [13] and CsI material X-ray detector absorption spectrum Q (ɛ) [14] are used and shown in Fig. 2, in which the tube voltage used for polychromatic spectrum imaging is set to 120kVp (plus 35mm aluminum filter), and the monochromatic spectrum used for comparison is manually set at 66keV. Under this monochromatic spectrum, equivalent linear attenuation coefficient close to polychromatic spectrum can be obtained. It is convenient for follow-up experiment comparison.

Distribution functions of emitting energy spectrum S (ɛ) as X-ray tube is set to 120 kVp and a filter of 35 mm Aluminum is added, and absorption energy spectrum Q (ɛ) of CsI X-ray detector.
Analytical CT reconstruction adopts the algorithm in paper [15], which is a typical filtering back projection (FBP) algorithm. The reconstructed image is a matrix of 512×512 pixels, with each pixel size of 0.5mm×0.5mm. Since the two-dimensional reconstruction plane locates in the middle plane of the cone beam, the reconstruction is theoretically accurate. Fig. 3 shows the reconstruction results of monochromatic spectrum and polychromatic spectrum, in which a small bubble in the right ear has been intentionally replaced by metal material iron to represent the beam-hardening and metal artifacts caused by a small volume metal implant.
Optimal bone correction

Reconstructed slice images of FORBILD head phantom at z = 0mm section. The display window of the reconstructed images is with [–5.4 114.1] HU, while that of the difference images with [–54 54] HU.
The optimal bone correction adopts non-convex optimization [11] after variable substitution and is compared with nonlinear least squares. Since the proposed minimization problem cannot guarantee global convexity, in order to compare the performance of each algorithm, three different groups of the initial values of variables are selected: (i)
Figs 4-9 show the changing curves of the iterative process of non-convex optimization [11] under the condition that the first group of the initial values of variables is selected.

Changing tendency of residual error Φ2 during the optimal bone correction with non-convex optimization.

Profile of Fig.4 shown using semiology.

Changing tendency of λ–1 during the optimal bone correction with non-convex optimization.

Changing tendency of λ0 during the optimal bone correction with non-convex optimization.

Changing tendency of λ1 during the optimal bone correction with non-convex optimization.

Changing tendency of m00 during the optimal bone correction with non-convex optimization.
Fig. 10 qualitatively investigates various correction effects, in which Equation (9) is adopted for bone correction without considering the effect of λ1. As can be seen from the results in Fig. 10, the cupping artifacts are easily corrected by all methods. The soft tissue areas adjacent to the right ear of FORBILD head phantom were selected to examine the streak artifacts, which are caused by a combination of bone tissue and metal implant.

Result comparison between different optimization methods after variable substitution. Reconstructed slice images of FORBILD head phantom at z = 0 mm section are displayed with window [–5.4 114.1] HU, while the difference images are with [–54 54] HU
Water correction has little effect on the streak artifacts, and the streaks severity is almost the same as that of the polychromatic spectrum reconstruction. Bone correction (λ0 = 1.0) showed overcorrection, the dark streaks caused by bone tissue became brighter, and the cupping artifacts was overcorrected to capping artifacts. Bone correction (λ0 = 1.6) showed under-correction, and there were still dark streaks caused by bone tissue. Bone correction (λ0 = 1.3) as it is closest to the optimal bone correction, the correction effect is very close. However, all bone corrections didn’t take into account the metal effects, and the metal artifacts caused by the small metal implant were not corrected for, presenting as residual dark streaks. As expected, the optimal bone correction (using Equation (16)) performed well with almost no metal artifact residues. As the comparison, the metal artifact correction method with a linear interpolation in the projection domain is also carefully performed [16]. Due to the large amount of high-frequency content in the right ear area of the FORBILD head phantom, the metal artifact correction performance degrades seriously.
Figs 11 12 are the profiles of various correction reconstruction and monochromatic and polychromatic spectrum reconstruction images. The studied line is at the line 385 of the FORBILD head phantom z = 0mm section, while shown in Fig. 12 are the profiles of Fig. 11 after zoomed in.

Profiles of various corrected and monochromatic reconstructions along the 385th line in the images of FORBILD head phantom at z = 0mm section.

Profiles of Fig. 11 after zoomed in.
In order to further quantitatively analyze and compare the correction effects,
The quantitative analysis results in Table 1 show that the optimal bone correction result does exist, and the non-convex optimal bone correction can balance the correction performance in the different regions well, and show an excellent correction effect on metal artifacts (See Fig. 10).
Inconsistencies and deviations in soft tissue region, whose CT value is 50Hu, and bone region, whose CT value is 800Hu, in the original definition of FORBILD head phantom. Unit: %
In order to verify the necessity of non-convex optimization for optimal bone correction, the third group of the initial values of variables was selected. Non-convex optimization [11] before/after variable substitution is compared with nonlinear least squares, and the comparison results are shown in Fig. 13 and Table 2. It can be seen from Table 2, that the optimal bone correction with non-convex optimization after variable substitution has the minimum running time and residual error Φ2, indicating that both variable substitution and non-convex optimization are very necessary. Especially, as compared to nonlinear least squares before variable substitution, the running time decreases 82.36% and residual error Φ2 reduces 55.95%. As compared to nonlinear least squares after variable substitution, the running time decreases 67.54% with the same residual error Φ2.

Result comparison of the optimal bone corrections with nonlinear least squares and non-convex optimization before (the first row) and after (the last row) variable substitution, wherein
Performance comparison of the optimal bone corrections with nonlinear least squares and non-convex optimization before and after variable substitution, wherein
Metal artifacts usually include multiple factors: beam hardening artifacts caused by a polychromatic spectrum, high-frequency streaks artifacts reconstructed from metal projection data with a large dynamic range that are tangent to the edge of metal implants, photon starvation, quantum noise and so on. In this paper, only soft tissue and bone induced beam hardening artifacts (cupping and dark streaks) are considered. Therefore, the beam hardening artifacts (dark streaks) caused by small metal implants can be effectively solved in the framework of optimal bone correction. Computer simulation experiments and analysis results also preliminarily verify the performance of the proposed method. High-frequency streaks artifacts correction is not within the scope of discussion in this paper, and filtering kernel parameters may be alleviated to a certain extent by adaptive adjustment reconstruction algorithm, which will be reserved for future research.
In this study, only metal implants with small volume are discussed. Metal implants with large volume will cause serious photon starvation and quantum noise, leading to serious degradation of projection data quality, and the optimal bone correction method proposed in this paper needs to be improved appropriately [17]. When it is difficult to obtain the energy spectrum distribution functions of X-ray source emission and detector absorption, the polychromatic spectrum effect can be approximated by polynomial. In this paper, only analytical simulation experiment with FORBILD head phantom is used to verify the proposed method, but as a result that the phantom has long been widely used, and the performance of CT reconstruction and correction algorithm has good performance, so the simulation results are still reliable to some extent, and we will try to collect actual data for the goal of verification.
From the experimental results, it can be observed that the optimal bone correction with non-convex optimization after variable substitution has the minimum running time and residual error, indicating that both variable substitution and non-convex optimization are very necessary. As for the underlying cause on the usefulness of variable substitution, it is still not completely clear. One possible explanation is that variable substitution can change the morphology of residual error Φ2 to some extent.
In recent years, deep-learning (DL) technique has developed very quickly, and the effect of its applications to various engineering problems is significant. As DL is used in the correction for the various artifacts in X-ray CT imaging, the effect is obvious too [18, 19]. The relevant researches based on DL by combining with results reported in this paper will be our future works.
Conclusions
In this paper, a non-convex optimal bone correction method based on data consistency and suitable for both beam hardening artifacts and metal artifacts is proposed. This method can determine the optimal values of all scale factors adaptively. The results of computer numerical simulation and qualitative and quantitative analysis demonstrate the existence of the optimal scale factors of bone correction and the adaptive determination ability of the proposed non-convex optimal bone correction method to the scale factors.
Footnotes
Acknowledgments
The project is supported in part by the grants from Xi’an Key Laboratory of Advanced Controlling and Intelligent Processing, China (2019220714SYS022CG044), Science and Technology Department of Shaanxi Province (2020SF-377), China, and National Natural Science Foundation of China (N0. 62071378).
