Box-Constrained Nonlinear Weighted Anisotropic TV Regularization for Beam Hardening Artifacts Reduction in CT

Abstract

In Computed Tomography (CT), the beam hardening artifacts are caused by polychromatic X-ray beams applied in real medical imaging. In this article, we applied the recently proposed box-constrained nonlinear weighted anisotropic total variation regularization (box-constrained NWATV) method in the process of the reconstruction. We do numerical experiments to validate the advantages of the proposed method in reducing the beam hardening artifacts compared with the existing ways.

Share and Cite:

Shi, X. (2025) Box-Constrained Nonlinear Weighted Anisotropic TV Regularization for Beam Hardening Artifacts Reduction in CT. Journal of Applied Mathematics and Physics, 13, 392-399. doi: 10.4236/jamp.2025.132019.

1. Introduction

Because of the change in voltage and current, the energy of incident X-rays is changed, which makes polychromatic beams in CT scanning. Since low-energy photons are more easily absorbed than high-energy photons, this causes the beam to harden as X-rays pass through the object [1]. The incident intensity is denoted by I 0 ( E ) and I θ ( E,s ) is the measured attenuated intensity along L θ,s . So, the average energy of the X-rays reaching the detectors E I θ ( E,s )dE I θ ( E,s )dE is higher than that of the incident X-rays E I 0 ( E )dE I 0 ( E )dE . Then, from reference [2], we acquire the inequality

E I 0 ( E )dE I 0 ( E )dE E I θ ( E,s )dE I θ ( E,s )dE

This effect is known as beam hardening artifacts. The effects will cause the cupping artifacts in the reconstructed attenuation images.

Beam hardening artifact reduction is important in medical and industrial CT applications to improve the visual quality of images [3]. Since 1975, the correction of beam hardening artifacts has been a hot topic in CT. The correction methods are divided into two categories: hardware correction methods and software correction methods. The hardware correction methods add some correction tools to the CT system to suppress the beam hardening artifacts. Software correction methods are based on the mathematical view of beam hardening artifacts. Common software correction methods mainly include the polynomial fitting method [4], Monte Carlo correction method [5], dual-energy method [6], iterative correction method [7], and single-energy correction method [3].

Iterative reconstruction method models the problem mathematically and transforms the model into an optimization problem with fidelity term and regularization term. In reference [8], the authors proposed the Nonlinear Weighted Anisotropic TV (NWATV) regularization in the electrical impedance tomography to solve the EIT inverse problem. In reference [9], the authors proposed the box-constrained nonlinear weighted anisotropic TV (box-constrained NWATV) regularization to solve the sparse-view X-ray CT inverse problem.

In this article, we proposed an iterative method to correct the beam hardening artifacts. We build a discretized model of beam hardening artifacts and use the box-constrained NWATV regularization to correct beam hardening artifacts and compare the reconstructed results of box-constrained NWATV regularization, TV regularization, and ISP method by some numerical experiments to validate the advantages of the box-constrained NWATV regularization.

2. Notation and Concept

In CT imaging, the imaging object, such as the human body, is placed between the X-ray sources and the detectors. The X-rays are injected into the body and the attenuated X-rays are measured on the detector. X-ray imaging visualizes the internal structure of the object by reconstructing the attenuation coefficients via the relationship between the injection and measurements described by the law of Lambert-Beer.

Suppose the object is located in a two-dimensional bounded region Ω, and for simplicity, we assume the parallel beams are used in this paper. To be precise, θ distribute evenly from 0 to 179π 180 . Suppose 180 angles are used. We discretize Ω to be N×N pixels. We assume that there are K rays at each angle and K detectors to receive the signals. We assume the sign distance between each X-ray and the origin of the region Ω is [ S 1 , S 2 ] , and the distance from the origin of the kth ray in angle θ is s k = S 1 +( k1 ) ( S 2 S 1 ) K1 . Then, the number of all X-rays is M=180K . So, the matrix of parallel beam scanning A is M× N 2 , and the measured data y is an M×1 vector.

The kth monochromatic X-ray beam in angle θ passes through the object along L θ, s k and the law of Lambert-beer is described as [10]

I θ, s k = I 0 e L θ, s k μdl .

When X-ray beam passes through the object along L θ, s k from the low-energy E min to high-energy E max , the incident intensity is I 0 = E min E max I 0 ( E )dE , and μ( E ) is the attenuation coefficient of the object [11]. Then, the relationship between the outgoing intensity and the attenuation coefficient is described by the law of Lambert-Beer [11]

I θ, s k = E min E max I 0 ( E )exp{ L θ, s k μ( E )dl }dE .

The measured data of the mth X-ray is

y m =ln( I θ, s k I 0 )=ln( E min E max I 0 ( E ) E min E max I 0 ( E )dE exp{ L θ, s k μ( E )dl }dE ),

where m=θK+k .

3. Polychromatic Model and Algorithm

We build the Lambert-Beer law for polychromatic X-rays as a discretized mathematical model. We discretize the energy E=[ E 1 , E 2 ,, E J ] of incident X-rays and get the equation E min E max I 0 ( E )dE = i=1 J I 0 ( E i ) . So, we obtain the measured data of the mth X-ray

y m =ln( i=1 J I 0 ( E i ) i=1 J I 0 ( E i ) exp{ L θ, s k μ( E i )dl } )

and

e y m = i=1 J I 0 ( E i ) i=1 J I 0 ( E i ) exp{ L θ, s k μ( E i )dl }.

The right-hand side of the equation is equivalent to a weighted average, resulting in a monochrome image with the energy of E 0 with E min < E 0 < E max . Therefore, the above equation is equivalent to y m = L θ, s k μ( E 0 )dl , that is, the attenuation coefficient of the object to be scanned at this time is the attenuation coefficient when the energy E 0 is attenuated. From this, we get the following reconstruction model y=Au( E 0 ) , where u( E 0 ) is the image, we need to reconstruct, i.e.

u * ( E 0 )=arg min u( E 0 ) yAu( E 0 ) l 2 2 .

In reference [9], we get the nonlinear weighted anisotropic TV regularization and the equation

u * ( E 0 )=arg min u( E 0 ) 1 2 yAu( E 0 ) l 2 2 +λ pDu( E 0 ) l 1 + γ λ [ c 1 , c 2 ] ( u( E 0 ) ),

where λ is the regularization parameter. [ c 1 , c 2 ] ( u( E 0 ) ) is an indicator function. It will be 0 if c 1 u( E 0 )[ i ] c 2 , and will be + otherwise. If γ=1 means box constraint is used otherwise γ=0 . And p=( ω( D x u( E 0 ) );ω( D y u( E 0 ) ) ) 2 N 2 , Du( E 0 )=( D x u( E 0 ); D y u( E 0 ) ) 2 N 2 , ω( )= 1 | | 2 +β , where the β is a positive number to avoid | | 2 to be 0. The augmented Lagrangian functional is

L( u( E 0 ),d,p,v;e,b ) = 1 2 Au( E 0 )y l 2 2 +λ pd l 1 + b,Du( E 0 )d + ρ 2 Du( E 0 )d l 2 2 + [ c 1 , c 2 ] ( v )+ e,u( E 0 )v + α 2 u( E 0 )v l 2 2 (1)

where the e,b are the Lagrangian multipliers and the α,ρ are the penalty parameters [9]. The Alternative Direction Multiplier Method (ADMM) [12] is used to minimize (1). To be precise, we update u( E 0 ) , d , p , b , v and e by (2)-(8). They are updated as

u ( E 0 ) ( n+1 ) = ( A T A+αI+ρ D T D ) 1 ( A T y+ D T b ( n ) ρ D T d ( n ) + e ( n ) α v ( n ) ), (2)

d ( n+1 ) [ i ]= h λ| p ( n ) [ i ] | ρ ( Du ( E 0 ) ( n+1 ) [ i ]+ 1 ρ b n [ i ] ) (3)

where b ( n ) [ i ] , p ( n ) [ i ] , u ( n+1 ) [ i ] , d ( n+1 ) [ i ] represent the ith element of b ( n ) , p ( n ) , u ( n+1 ) , d ( n+1 ) . The h g is defined as

h g ( )={ gsgn( ) | |>g; 0 otherwise. (4)

And the p , b , v and e are defined as

p ( n+1 ) =( ω( D x u ( E 0 ) ( n+1 ) );ω( D y u ( E 0 ) ( n+1 ) ) ), (5)

b ( n+1 ) = b n +ρ( Du ( E 0 ) n+1 d ( n+1 ) ), (6)

v ( n+1 ) =min{ max{ u ( E 0 ) ( n+1 ) + 1 α e ( n ) , c 1 }, c 2 }, (7)

e ( n+1 ) = e ( n ) +α( u ( E 0 ) ( n+1 ) v ( n+1 ) ) (8)

with the initial data d ( 0 ) =0 , p ( 0 ) =( 1 β )1 , v ( 0 ) =0 , e ( 0 ) =0 , b ( 0 ) =0 . We set

the maximum iteration to 1000, unless the iterative is broken by u ( n+1 ) u ( n ) <ε . And we get the matrix A of pallel beam scanning in CT by the MATLAB package AIR Tools II [13].

4. Experiments

To display the advantages of the box-constrained NWATV regularization, we will compare the reconstructed results via the Peak Signal-to-Noise Ratio (PSNR), and Structural Similarity Index (SSIM) of box-constrained NWATV regularization, TV regularization in reference [14] and ISP method in reference [1]. We use the MATLAB built-in function “SSIM” to get the results of SSIM. PSNR( n ) is defined as

PSNR( n )=10 log 10 max( u n u n ) MSE( n ) ,

where means component-wise multiplication [8]. The u * means the ground truth image, u n represents the reconstruction in the nth iteration, and

MSE( n )= 1 N 2 ( u n u * l 2 2 ).

In numerical experiments, we use the 128 × 128 standard Shepp-Logan phantom and the 100 × 100 three-disk model made by Matlab in Figure 1 as the ground truth image for box-constrained NWATV regularization and TV regularization. Because of the speed of the calculation, we use the downsampled 32 × 32 standard Shepp-Logan phantom and 50 × 50 three-disk model as the ground truth image for ISP method. In three-disk model, we get the reconstructed images and the PSNR( n ) , SSIM( n ) by box-constrained NWATV regularization with parameters α=100 , β= 10 10 , λ=0.2 , ρ=60 , TV regularization and the ISP method in Figure 2 and Table 1. From Figure 2, we can see that the box-constrained NWATV regularization is more complete for the preservation of boundary information.

Table 1. From left to right are the PSNR and SSIM for box-constrained NWATV regularization, TV regularization, and ISP method for Figure 2.

NWATV-box

TV

ISP

PSNR

SSIM

PSNR

SSIM

PSNR

SSIM

29.2330

0.6895

32.1228

0.5639

14.4854

0.1480

Figure 1. The left side is the 128 × 128 Shepp-Logan ground truth image and the right is the 100 × 100 three-disk model.

Figure 2. The first row of images from left to right are the image with beam hardening artifacts and the reconstructed images for box-constrained NWATV regularization, the TV regularization, and the ISP method. Images in the second row are profiles of reconstructed images for box-constrained NWATV regularization and TV regularization in the 25th, 50th, and 80th lines, and ISP method in the 13th, 25th, and 40th lines.

In Shepp-Logan phantom numerical experiments, we obtain the PSNR( n ) , SSIM( n ) by box-constrained NWATV regularization with α=100 , β=1× 10 10 , λ=0.002 , ρ=800 , TV regularization and the ISP method in Figure 3 and Table 2. From the results of SSIM, it can be seen that the results of the reconstruction of the box-constrained NWATV regularization are closer to the ground truth images than the other two methods.

Table 2. From the left to right are the PSNR and SSIM for box-constrained NWATV regularization, TV regularization and ISP method for Figure 3.

NWATV-box

NWATV

ISP

PSNR

SSIM

PSNR

SSIM

PSNR

SSIM

11.0017

0.7024

11.7279

0.6578

23.7687

0.0959

Figure 3. The meaning of each figure in the first row is the same as that in Figure 2. The images in the second row from the left to right are profiles of reconstructed images for box-constrained NWATV regularization and TV regularization in the 35th lines and ISP method in the 9th lines.

5. Conclusion

From the above results, the NWATV-box regularization has obvious advantages in eliminating the beam hardening artifacts. According to the reconstructed images, we know that TV regularization will blur the image and to a certain extent, will weaken the details, which is not the case in the approach we propose. Moreover, because the ISP method requires the gradient descent method, so the box-constrained NWATV regularization has a higher speed of calculation than ISP method. We can see that the data of SSIM in box-constrained NWATV regularization are better than ISP method and TV regularization.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Van Gompel, G., Van Slambrouck, K., Defrise, M., Batenburg, K.J., de Mey, J., Sijbers, J., et al. (2011) Iterative Correction of Beam Hardening Artifacts in CT. Medical Physics, 38, S36-S49.
https://doi.org/10.1118/1.3577758
[2] Seo, J.K. and Woo, E.J. (2012) Nonlinear Inverse Problems in Imaging. Wiley
https://doi.org/10.1002/9781118478141
[3] Nalcioglu, O. and Lou, R.Y. (1979) Post-Reconstruction Method for Beam Hardening in Computerised Tomography. Physics in Medicine & Biology, 24, 330-341.
https://doi.org/10.1088/0031-9155/24/2/009
[4] Herman, G.T. (1979) Correction for Beam Hardening in Computed Tomography. Physics in Medicine & Biology, 24, 81-106.
https://doi.org/10.1088/0031-9155/24/1/008
[5] Gang, Z. (2006) Beam Hardening Correction Based on Monte Carlo Simulation. High Energy Physics and Nuclear Physics, 30, 178-182.
https://api.semanticscholar.org/CorpusID:138325575
[6] Marshall, W.H., Alvarez, R.E. and Macovski, A. (1981) Initial Results with Prereconstruction Dual-Energy Computed Tomography (Predect). Radiology, 140, 421-430.
https://doi.org/10.1148/radiology.140.2.7255718
[7] Elbakri, I.A. and Fessler, J.A. (2002) Statistical Image Reconstruction for Polyenergetic X-Ray Computed Tomography. IEEE Transactions on Medical Imaging, 21, 89-99.
https://doi.org/10.1109/42.993128
[8] Song, Y., Wang, Y. and Liu, D. (2022) A Nonlinear Weighted Anisotropic Total Variation Regularization for Electrical Impedance Tomography. IEEE Transactions on Instrumentation and Measurement, 71, 1-13.
https://doi.org/10.1109/tim.2022.3220288
[9] Li, H. and Song, Y. (2024) Sparse-View X-Ray CT Based on a Box-Constrained Nonlinear Weighted Anisotropic TV Regularization. Mathematical Biosciences and Engineering, 21, 5047-5067.
https://doi.org/10.3934/mbe.2024223
[10] Brabant, L., Pauwels, E., Dierick, M., Van Loo, D., Boone, M.A. and Van Hoorebeke, L. (2012) A Novel Beam Hardening Correction Method Requiring No Prior Knowledge, Incorporated in an Iterative Reconstruction Algorithm. NDT & E International, 51, 68-73.
https://doi.org/10.1016/j.ndteint.2012.07.002
[11] Hansen, P.C., Jørgensen, J.S. and Lionheart, W.R.B. (2021) Computed Tomography: Algorithms, Insight, and Just Enough Theory. Society for Industrial and Applied Mathematics.
https://epubs.siam.org/isbn/978-1-61197-666-3
[12] Boyd, S. (2010) Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers. Foundations and Trends in Machine Learning, 3, 1-122.
[13] Hansen, P.C. and Jørgensen, J.S. (2017) AIR Tools II: Algebraic Iterative Reconstruction Methods, Improved Implementation. Numerical Algorithms, 79, 107-137.
https://doi.org/10.1007/s11075-017-0430-x
[14] Rudin, L.I., Osher, S. and Fatemi, E. (1992) Nonlinear Total Variation Based Noise Removal Algorithms. Physica D: Nonlinear Phenomena, 60, 259-268.
https://doi.org/10.1016/0167-2789(92)90242-f

Copyright © 2025 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.