Next Article in Journal
How Different Natural Energy Sources Affect the Shallow Geothermal Suitability in Urban Areas: The South Africa Case Study
Previous Article in Journal
On the Identification of Several Key Issues on OER Discovery for Smart Learning Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Variational Bayesian Approach in Model-Based Iterative Reconstruction for 3D X-Ray Computed Tomography with Gauss-Markov-Potts Prior †

1
SAFRAN SA, Safran Tech, Pôle Technologie du Signal et de l’Information, 78772 Magny-Les-Hameaux, France
2
Laboratoire des signaux et systèmes, CNRS, CentraleSupélec-Université Paris-Saclay, 91190 Gif-sur-Yvette, France
*
Author to whom correspondence should be addressed.
Presented at the 39th International Workshop on Bayesian Inference and Maximum Entropy Methods in Science and Engineering, Garching, Germany, 30 June–5 July 2019.
Proceedings 2019, 33(1), 4; https://doi.org/10.3390/proceedings2019033004
Published: 21 November 2019

Abstract

:
3D X-ray Computed Tomography (CT) is used in medicine and non-destructive testing (NDT) for industry to visualize the interior of a volume and control its healthiness. Compared to analytical reconstruction methods, model-based iterative reconstruction (MBIR) methods obtain high-quality reconstructions while reducing the dose. Nevertheless, usual Maximum-A-Posteriori (MAP) estimation does not enable to quantify the uncertainties on the reconstruction, which can be useful for the control performed afterwards. Herein, we propose to estimate these uncertainties jointly with the reconstruction by computing Posterior Mean (PM) thanks to Variational Bayesian Approach (VBA). We present our reconstruction algorithm using a Gauss-Markov-Potts prior model on the volume to reconstruct. For PM calculation in VBA, the uncertainties on the reconstruction are given by the variances of the posterior distribution of the volume. To estimate these variances in our algorithm, we need to compute diagonal coefficients of the posterior covariance matrix. Since this matrix is not available in 3D X-ray CT, we propose an efficient solution to tackle this difficulty, based on the use of a matched pair of projector and backprojector. In our simulations using the Separable Footprint (SF) pair, we compare our PM estimation with MAP estimation. Perspectives for this work are applications to real data as improvement of our GPU implementation of SF pair.

1. Introduction

In 3D X-ray CT, MBIR methods enforce a prior model on the volume to image, so the reconstruction quality is enhanced compared to filtered backprojection (FBP) methods [1], and the dose can be reduced [2]. Smoothing and edge-preserving priors, such as total variation regularization [3,4], Gauss-Markov-Potts prior model [5] or sparsity-inducing priors in a wavelet or learnt transform domain [6,7,8], have provided promising results for the development of MBIR methods in medicine and NDT for industry. Due to the high dimension and to the fact that the reconstruction problem is ill-posed [9], exact estimation of the unknown volume is not available [10]. As a consequence, uncertainties on the estimation are a desirable tool for the analysis of the reconstructed volume.
After the reconstruction has been performed, an iterative method to estimate the uncertainties is proposed in [10]. Nevertheless, its high computational cost makes it only applicable to a few voxels of interest [10]. Since MBIR methods mostly estimate the maximum of the posterior distribution of the unknowns (MAP), confidence regions can be computed following the reconstruction [11] but this procedure is difficult to apply for discrete-continuous channels estimation, such as joint reconstruction and segmentation [5]. For this reason, in this paper, we propose to compute Posterior Mean (PM) rather than MAP. For PM estimator, the uncertainties on the reconstruction correspond to the variances. Our algorithm estimates these variances jointly with the reconstruction based on variational Bayesian approach (VBA) [12,13].
In the following, we first present our reconstruction algorithm based on VBA, applied with a Gauss-Markov-Potts prior model on the volume to reconstruct [5]. To implement this algorithm, the main difficulty is the computation of diagonal coefficients of the posterior covariance matrix, which are linked to projection and backprojection operators (P/BP) : we solve this problem thanks to the use of a matched pair which is here the Separable Footprint (SF) [14]. We present simulation results and compare the obtained reconstruction with the one given by joint maximization a posteriori (JMAP) [5,15]. To the best of our knowledge, this work is the first attempt to apply VBA to a very general 3D inverse problem such as 3D X-ray CT.

2. Variational Bayesian Approach

We consider a cone-beam acquisition process : X-rays are sent from a source through the object to control and hit a flat detector which measures the decrease of intensity they have undergone inside the volume. Several perspectives of the volume are acquired by rotating the object around its vertical axis. The M collected measurements g are called the projections and are connected to volume f, of size N, by the linear forward model taking uncertainties into account [16]
g = H f + ζ
where H is called the projection operator. Its adjoint H T is the backprojection operator [14]. Since both the data and the volume are huge, matrix H, which is size M × N , is not storable in memory. Consequently, successive projections and backprojections in MBIR methods are computed on-the-fly [14,15]. Uncertainties ζ are zero-mean Gaussian [16]
p ( ζ i | ρ ζ i ) = N ( ζ i | 0 , ρ ζ i 1 ) , i 1 , , M .
Precisions ρ ζ = ( ρ ζ i ) i are assigned Gamma conjugate prior [5] :
p ( ρ ζ i | α ζ 0 , β ζ 0 ) = G ( ρ ζ i | α ζ 0 , β ζ 0 ) , i .
The prior model on the volume is a Gauss-Markov-Potts prior which consists in labelling each voxel j according to its material z j = k 1 , , K , where K is the number of materials. Then, the distribution of value f j of voxel j depends on its material z j :
f j N ( m k , ρ k 1 ) i f z j = k , j 1 , , N .
Means m = ( m k ) k and inverses ρ = ( ρ k ) k of variances of the classes have to be estimated and are assigned conjugate priors [5] :
p ( m k | m 0 , v 0 ) = N ( m k | m 0 , v 0 ) p ( ρ k | α 0 , β 0 ) = G ( ρ k | α 0 , β 0 ) , k .
A Potts model is assigned to labels z in order to favour compact regions in the volume [5] : denoting by V ( j ) the neighbourhood of voxel j, we have, according to Hammersley-Clifford theorem [17],
p ( z | α , γ 0 ) exp j = 1 N k = 1 K α k δ ( z j k ) + γ 0 i V ( j ) δ ( z j z i ) .
From our prior model M , the posterior distribution of unknowns ψ = ( f , z , ρ ζ , m , ρ ) is given by Bayes’ rule [5]
p ( f , z , ρ ζ , m , ρ | g ; M ) p ( g | f , ρ ζ ) p ( f | z , m , ρ ) p ( z | α , γ 0 ) p ( ρ ζ | α ζ 0 , β ζ 0 ) p ( m | m 0 , v 0 ) p ( ρ | α 0 , β 0 ) ,
where α = ( α k ) k . Based on this distribution, JMAP can be performed [5] but does not provide uncertainties on the result. MCMC methods for joint computation of the means and the variances of the posterior distribution are too computationally costly for 3D applications [5,18]. For this reason, we apply VBA which consists in approximating the true posterior distribution p by a simpler distribution q on which posterior means and variances can be easily estimated. Approximating distribution q minimizes Kullback-Leibler (KL) divergence K L ( q | | p ) on a chosen set of simple distributions [12]. The choice we make for q is a factorizable approximation, which only preserves a dependence between value f j of voxel j and its label [19] :
q ( f , z , ρ ζ , m , ρ ) = j = 1 N q f j ( f j | z j ) × j = 1 N q z j ( z j ) × i = 1 M q ρ ζ i ( ρ ζ i ) × k = 1 K q m k ( m k ) × k = 1 K q ρ k ( ρ k ) .
Minimizing KL divergence with respect to each factor while fixing the others leads to [13,19]
q f j ( f j | z j = k ) = N ( f j | m ˜ j k , v ˜ j k ) q z j ( k ) exp α ˜ j k + γ 0 i V ( j ) q z i ( k ) , k q ρ ζ i ( ρ ζ i ) = G ( ρ ζ i | α ˜ ζ 0 i , β ˜ ζ 0 i ) q m k ( m k ) = N ( m k | m ˜ 0 k , v ˜ 0 k ) q ρ k ( ρ k ) = G ( ρ k | α ˜ 0 k , β ˜ 0 k )
The VBA algorithm turns into the iterative updating of the parameters of these distributions with respect to the others. The updating formulae and the order of their applications are given in [13]. In particular, at iteration t, the variances of the approximating distribution for the volume are updated by
v ˜ j k ( t ) = α ˜ 0 k ( t 1 ) β ˜ 0 k ( t 1 ) + H T V ˜ ζ 1 H j j 1
where V ˜ ζ = d i a g v ˜ ζ and v ˜ ζ i = β ˜ ζ 0 i ( t 1 ) α ˜ ζ 0 i ( t 1 ) , i [13]. Moreover, the updating formula for intensity parameter of the approximating Gamma distribution for ρ ζ i is [13]
β ˜ ζ 0 i ( t ) = β ζ 0 + 1 2 g i H m ˜ i 2 + H V ˜ H T i i
where V ˜ = d i a g v and
m ˜ j = k = 1 K m ˜ j k ( t ) q z j ( t ) ( k ) v ˜ j = k = 1 K v ˜ j k ( t ) + m ˜ j k ( t ) m ˜ j 2 q z j ( t ) ( k ) .
To compute approximate posterior variances, formula (10) needs the computation of diagonal coefficients of H T V ˜ ζ 1 H , while formula (11) needs diagonal coefficients of H V ˜ H T . Both of these matrices imply projector and backprojector which are not in memory, contrary to 2D applications [19]. Therefore, in order to implement VBA for 3D X-ray CT, we need to find a way to compute diagonal coefficients in formulae (10) and (11) efficiently. We propose a strategy which is detailed in the next section.

3. Computation of diagonal coefficients

At one iteration of the algorithm, for any voxel j, diagonal coefficient used to compute v j k by (10) is
d v j = H T V ˜ ζ 1 H j j = H e ( j ) V ˜ ζ 2
where e i ( j ) = δ ( j i ) , i . As d v = ( d v j ) j has the size of a volume, formula (13) implies to compute N projections, which is very long, even if the projector implemented on GPU is very fast. We calculated that, if we have to reconstruct a volume of size N = 256 3 voxels from 64 projections of size 256 2 pixels, and if one projection takes only 10 milliseconds, computing all dialgonal coefficients d v j , j , for only one iteration of proposed VBA algorithm [13], would require more than 40 hours. Due to this huge computational cost, we prefer to consider the algebraic formula:
d v j = H T V ˜ ζ 1 H j j = i = 1 M H i j 2 v ˜ ζ i 1 , j .
From this formula, diagonal coefficients d v appear to be similar to a backprojection of v ˜ ζ 1 = ( v ˜ ζ i 1 ) i , except that coefficients H i j are replaced by their squares H i j 2 , i , j . Similarly, diagonal coefficients
d ζ i = H V ˜ H T i i = j = 1 N H i j 2 v ˜ j , i ,
appear like a projection of volume v ˜ , with H i j 2 instead of H i j . Given formulae (14) and (15), we implement a squared-projector H ( 2 ) such that H i j ( 2 ) = H i j 2 , i , j , and a squared-backprojector ( H ( 2 ) ) T . Both are implemented exactly like the projector and the backprojector respectively. In order to ensure the validity of formulae (14) and (15), and therefore the convergence of our algorithm, we use a matched P/BP pair, which is here the Separable Footprint (SF) pair [14]. This pair is implemented on GPU as described in [15]. The same implementation is used for H ( 2 ) and ( H ( 2 ) ) T .
Thanks to these new operators, in one iteration of our algorithm, diagonal coefficients d v j , j , are simultaneously computed by applying ( H ( 2 ) ) T , which is very fast because it takes exactly the same time as a backprojection, instead of N projections. Similarly, diagonal coefficients d ζ i , i , are simultaneously computed by applying H ( 2 ) , as fast as one projection, instead of M backprojections.
Figure 1 shows diagonal coefficients of H H T and H T H , computed by H ( 2 ) and ( H ( 2 ) ) T respectively. Diagonal coefficients of H H T have the size of projections and are shown as it in Figure 1, while those of H T H are shown as a volume. We now apply our VBA algorithm to simulated data, and compare the estimated PM with JMAP. JMAP algorithm is described in [5] and applied with SF pair as we did in [15].

4. Results

The simulated phantom is of size 256 3 voxels and contains K = 5 classes. It is shown in Figure 2. We reconstruct this volume from 64 projections of size 256 2 pixels, uniformly distributed over 0 , 2 π . These projections are noisy with SNR equal to 20 db.
Parameters ( α ζ 0 , β ζ 0 , α 0 , β 0 ) are fixed near Jeffreys’ prior as in [13,19]. The strategies to fix other parameters α , γ 0 , m 0 and v 0 are explained in [13]. The values of the parameters for VBA are given in Table 1, excepted m 0 and α which are fixed automatically as in [5]. For our comparison, the parameters are the same for JMAP.
The initialization of approximating distributions for VBA is described in [13]. This initialization requires initial volume and segmentation, obtained as explained in [13]. The same initialization is used for JMAP.
Figure 3 and Figure 4 show the reconstructions obtained by JMAP and VBA respectively. They are compared with total-variation (TV) regularization. For TV, the reconstruction, shown in Figure 5, is obtained thanks to Primal-Dual Frank-Wolfe algorithm (PDFW) [20]. Thanks to the use of Gauss- Markov-Potts prior model, JMAP and VBA reconstructions have compact and well-distinguishable regions, while contours are slightly blurred for TV. VBA reconstruction has smoother contours than JMAP.
For each reconstruction, the L 2 -relative error with respect to the original phantom is shown in Table 2. As we see in Figure 4, details are lost by VBA because of the factorized approximating distribution. Consequently, VBA has the highest error, while it is roughly the same for PDFW and JMAP. The variances of the posterior distribution of the volume estimated by VBA are shown in Figure 6. Unsurprisingly, the highest variances are on the thinest part of the phantom which is the bone. Nevertheless, the loss of details in the reconstruction is not highlighted by posterior variances. Indeed, uncertainties are known to be under-estimated in VBA when considering divergence K L ( q | | p ) [12]. The stop criterion for PDFW is given in [20] and is minimized, while those for JMAP and VBA are maximized and given in [5,13] respectively. For each algorithm, the evolution of stop criterion is shown in Figure 7, Figure 8 and Figure 9 respectively. One iteration of JMAP contains 20 sub-iterations and few sub-iterations for segmentation step [5], while VBA and PDFW do not have sub-iterations [13,20]. Consequently, in Table 2, the computation time of VBA is much less than the one of JMAP and quite similar to the one of PDFW. Furthermore, during our experiments, we have noticed that, compared to JMAP, VBA has a higher sensitivity to the choice of the parameters, as to the number of iterations. Indeed, for a too large number of iterations of VBA, the reconstruction is over-regularized. This is a drawback of VBA compared to JMAP.
Moreover, the memory cost of VBA is much higher than the one of JMAP and PDFW. This makes VBA only applicable to small regions-of-interest (ROI), typically of size 256 3 . Based on a reconstruction of high quality (for instance, obtained by JMAP [5]), the reconstruction of ROI can be performed following the method of [21], as done for other MBIR methods [14]. This point will be covered in future works.

5. Conclusions and Perspectives

In this paper, we have presented an application for 3D X-ray CT of variational Bayesian approach (VBA) with Gauss-Markov-Potts prior model. By computing posterior mean (PM) thanks to VBA, we have been able to jointly perform the reconstruction and the estimation of the posterior variances, which give the uncertainties on the reconstruction. To compute these variances, we have seen that the huge dimension in 3D X-ray CT hinders to easily get diagonal coefficients, due to the fact that projection and backprojection operators cannot be stored in memory. To tackle this problem, we have taken benefit from the use of a matched pair of projector and backprojector, which was the Separable Footprint (SF) one : based on this pair, we have implemented “squared” projector and backprojector which have enabled us to compute diagonal coefficients on-the-fly. The GPU implementation for these squared operators was the same we used for SF projector and backprojector.
Our tests on simulated data and comparison with joint maximization a posteriori (JMAP) have shown that VBA obtains smoother contours than JMAP and converges faster. Although the memory cost of VBA is higher than the one of JMAP, we have underlined that the algorithm can be applied to estimate the uncertainties in a region-of-interest (ROI). Future works will focus on applications to real and bigger data, as on optimization of GPU implementation of SF pair [15]. Other variational Bayesian algorithms will also be worth to study in order to improve the estimation of uncertainties.

Funding

This research was funded by CIFRE Grant 2016/0188 from French Agence Nationale de la Recherche et de la Technologie (ANRT).

References

  1. Feldkamp, L.; Davis, L.; Kress, J. Practical cone-beam algorithm. JOSA A 1984, 1, 612–619. [Google Scholar] [CrossRef]
  2. Fessler, J.A. Statistical image reconstruction methods for transmission tomography. Hand. Med. Imaging 2000, 2, 1–70. [Google Scholar]
  3. Sidky, E.Y.; Jakob, H.; Pan, X. Convex optimization problem prototyping for image reconstruction in computed tomography with the Chambolle & Pock algorithm. Phys. Med. Biol. 2012, 57, 3065. [Google Scholar] [PubMed]
  4. McGaffin, M.G.; Fessler, J.A. Alternating dual updates algorithm for X-ray CT reconstruction on the GPU. IEEE Trans. Comput. Imaging 2015, 1, 186–199. [Google Scholar] [CrossRef] [PubMed]
  5. Chapdelaine, C.; Mohammad-Djafari, A.; Gac, N.; Parra, E. A 3D Bayesian Computed Tomography Reconstruction Algorithm with Gauss-Markov-Potts Prior Model and its Application to Real Data. Fundam. Inform. 2017, 155, 373–405. [Google Scholar] [CrossRef]
  6. Xu, Q.; Yu, H.; Mou, X.; Zhang, L.; Hsieh, J.; Wang, G. Low-dose X-ray CT reconstruction via dictionary learning. IEEE Trans. Med. Imaging 2012, 31, 1682–1697. [Google Scholar] [PubMed]
  7. Vandeghinste, B.; Goossens, B.; Van Holen, R.; Vanhove, C.; Pižurica, A.; Vandenberghe, S.; Staelens, S. Iterative CT reconstruction using shearlet-based regularization. IEEE Trans. Nucl. Sci. 2013, 60, 3305–3317. [Google Scholar] [CrossRef]
  8. Zheng, X.; Ravishankar, S.; Long, Y.; Fessler, J.A. PWLS-ULTRA: An efficient clustering and learning-based approach for low-dose 3D CT image reconstruction. IEEE Trans. Med. Imaging 2018, 37, 1498–1510. [Google Scholar] [CrossRef] [PubMed]
  9. Idier, J. Bayesian Approach to Inverse Problems; John Wiley & Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
  10. Fessler, J.A. Mean and Variance of Implicitly Defined Biased Estimators (such as Penalized Maximum Likelihood): Applications to Tomography. IEEE Trans. Image Process. 1996, 5, 493–506. [Google Scholar] [CrossRef] [PubMed]
  11. Pereyra, M. Maximum-A-Posteriori estimation with Bayesian Confidence Regions. SIAM J. Imaging Sci. 2017, 10, 285–302. [Google Scholar] [CrossRef]
  12. Pereyra, M.; Schniter, P.; Chouzenoux, E.; Pesquet, J.C.; Tourneret, J.Y.; Hero, A.O.; McLaughlin, S. A survey of stochastic simulation and optimization methods in signal processing. IEEE J. Select. Top. Signal Process. 2016, 10, 224–241. [Google Scholar] [CrossRef]
  13. Chapdelaine, C. Variational Bayesian Approach and Gauss-Markov-Potts prior model. arXiv 2018, arXiv:1808.09552. [Google Scholar]
  14. Long, Y.; Fessler, J.A.; Balter, J.M. 3D forward and back-projection for X-ray CT using separable footprints. IEEE Trans. Med. Imaging 2010, 29, 1839–1850. [Google Scholar] [CrossRef] [PubMed]
  15. Chapdelaine, C.; Gac, N.; Mohammad-Djafari, A.; Parra, E. New GPU implementation of Separable Footprint Projector and Backprojector: First results. In Proceedings of the 5th International Conference on Image Formation in X-Ray Computed Tomography, 20–23 May 2018. [Google Scholar]
  16. Sauer, K.; Bouman, C. A local update strategy for iterative reconstruction from projections. IEEE Trans. Signal Process. 1993, 41, 534–548. [Google Scholar] [CrossRef]
  17. Besag, J. Spatial interaction and the statistical analysis of lattice systems. J. R. Stat. Soc. Ser. B (Methodological) 1974, 36, 192–236. [Google Scholar] [CrossRef]
  18. Zhao, N.; Basarab, A.; Kouame, D.; Tourneret, J.Y. Joint segmentation and deconvolution of ultrasound images using a hierarchical Bayesian model based on generalized Gaussian priors. IEEE Trans. Image Process. 2016, 25, 3736–3750. [Google Scholar] [CrossRef] [PubMed]
  19. Ayasso, H.; Mohammad-Djafari, A. Joint NDT image restoration and segmentation using Gauss–Markov– Potts prior models and variational bayesian computation. IEEE Trans. Image Process. 2010, 19, 2265–2277. [Google Scholar] [CrossRef] [PubMed]
  20. Ongie, G.; Murthy, N.; Balzano, L.; Fessler, J.A. A Memory-Efficient Algorithm for Large-Scale Sparsity Regularized Image Reconstruction. In Proceedings of the Fifth International Conference on Image Formation in X-Ray Computed Tomography, 2018. [Google Scholar]
  21. Ziegler, A.; Nielsen, T.; Grass, M. Iterative reconstruction of a region of interest for transmission tomography. Med. Phys. 2008, 35, 1317–1327. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Diagonal coefficients of H T H (a) and H H T (b).
Figure 1. Diagonal coefficients of H T H (a) and H H T (b).
Proceedings 33 00004 g001
Figure 2. Original phantom.
Figure 2. Original phantom.
Proceedings 33 00004 g002
Figure 3. Reconstruction by JMAP.
Figure 3. Reconstruction by JMAP.
Proceedings 33 00004 g003
Figure 4. Reconstruction by VBA.
Figure 4. Reconstruction by VBA.
Proceedings 33 00004 g004
Figure 5. Reconstruction by PDFW.
Figure 5. Reconstruction by PDFW.
Proceedings 33 00004 g005
Figure 6. Variances (log) obtained by VBA.
Figure 6. Variances (log) obtained by VBA.
Proceedings 33 00004 g006
Figure 7. Convergence of PDFW.
Figure 7. Convergence of PDFW.
Proceedings 33 00004 g007
Figure 8. Convergence of JMAP.
Figure 8. Convergence of JMAP.
Proceedings 33 00004 g008
Figure 9. Convergence of VBA.
Figure 9. Convergence of VBA.
Proceedings 33 00004 g009
Table 1. Parameters for JMAP and VBA algorithms.
Table 1. Parameters for JMAP and VBA algorithms.
ParametersK γ 0 v 0 α ζ 0 β ζ 0 α 0 β 0
Values561 10 4 10 2 10 6 10 2
Table 2. Comparaison of PDFW, JMAP and VBA algorithms.
Table 2. Comparaison of PDFW, JMAP and VBA algorithms.
Algorithm L 2 -Relative ErrorComputation Time
PDFW6.0 %126.3 s
JMAP9.1 %751.6 s
VBA13.5 %150.0 s
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chapdelaine, C.; Mohammad-Djafari, A.; Gac, N.; Parra, E. Variational Bayesian Approach in Model-Based Iterative Reconstruction for 3D X-Ray Computed Tomography with Gauss-Markov-Potts Prior. Proceedings 2019, 33, 4. https://doi.org/10.3390/proceedings2019033004

AMA Style

Chapdelaine C, Mohammad-Djafari A, Gac N, Parra E. Variational Bayesian Approach in Model-Based Iterative Reconstruction for 3D X-Ray Computed Tomography with Gauss-Markov-Potts Prior. Proceedings. 2019; 33(1):4. https://doi.org/10.3390/proceedings2019033004

Chicago/Turabian Style

Chapdelaine, Camille, Ali Mohammad-Djafari, Nicolas Gac, and Estelle Parra. 2019. "Variational Bayesian Approach in Model-Based Iterative Reconstruction for 3D X-Ray Computed Tomography with Gauss-Markov-Potts Prior" Proceedings 33, no. 1: 4. https://doi.org/10.3390/proceedings2019033004

Article Metrics

Back to TopTop