Skip to main content
Top
Published in: Russian Journal of Nondestructive Testing 3/2021

Open Access 01-03-2021 | X-RAY METHODS

Calculation Model of X-Ray Computed Tomography with Density Assessment Function

Authors: S. P. Osipov, I. G. Yadrenkin, S. V. Chakhlov, O. S. Osipov, E. Yu. Usachev, A. A. Manushkin

Published in: Russian Journal of Nondestructive Testing | Issue 3/2021

Activate our intelligent search to find suitable subject content or patents.

search-config
insite
CONTENT
download
DOWNLOAD
print
PRINT
insite
SEARCH
loading …

Abstract—

A calculation model of X-ray computed tomography with a density assessment function in the geometry of a parallel beam has been proposed. The model includes blocks for simulating and correcting sinograms and reconstructing section images. When generating sinograms, the parameters of the test object, source, and recorder of X-ray radiation have been taken into account. Modeling algorithms are implemented in the MathCad system and tested on virtual test objects.

INTRODUCTION

In recent decades, there has been a steady increase in interest in X-ray computed tomography (CT) as a method for studying the structure of various test objects with steel dimensions from fractions of millimeters to hundreds of millimeters [1–4]. Prospects for the development of computed tomography are currently associated with measuring linear dimensions, areas, volumes, density, porosity, etc. [5–8]. The tasks of designing computed tomography systems are determined by consumer interests [9–11]. The relevant information is divided into two groups. The first group includes parameters related to the test object: shape, internal structure, and material of fragments. The second group consists of consumer expectations regarding the quality of computed tomography: contrast sensitivity, spatial resolution, the accuracy of the measured parameter assessment, the quality of reproduction of the internal structure by phantoms, and performance. Structurally, computed tomography systems [12] consist of an X-ray source (XRS), an X‑ray recorder (XRR), a mechanical system (MS), and a reconstruction algorithm (RA). The solution to the design problem is reduced to a rational assessment of the required parameters of X-ray source, X-ray recorder, mechanical system, and reconstruction algorithms, the selection of the characteristics for the scanning scheme, and the subsequent selection of structural elements of the computed tomography system from instruments and components available on the scientific equipment market.
The components of computed tomography systems are very expensive; therefore, to assess the possibility of solving computed tomography design problems for specific test objects, it is effective to use computational experiments [13–16]. The simplest scanning scheme in computed tomography is the geometry of a narrow parallel beam [12]. For this scheme, the scattering artifact is minimal [12, 17]. The computational model of the computed tomography system consists of forming a set of projections (sinograms) and of image reconstruction. The back-projection algorithm with filtering (BPF) [12, 18, 19] continues to be one of the demanded reconstruction algorithms for computed tomography images; therefore, when developing a computational model of a computed tomography system with a density assessment function, we will use the BPF algorithm.
In addition to solving design problems, computational computed tomography models and software implementing them [20] are necessary for teaching students and postgraduates. It should be noted that, with the above taken into account, the MathCad system [21] is ideally suited for the implementation of computational computed tomography models, since its internal language corresponds as much as possible to the natural mathematical language.

1 COMPUTATIONAL MODEL FOR FORMATION OF SINOGRAMS

1.1 Generalized Description of the Object Layer

Let us introduce a fixed coordinate system \(XOY.\) Let \(\mathbf{S} \subset {{\Re }^{2}}\) be the set of points of the test object layer. The test object layer is completely determined if at any point with coordinates \((x,~y) \in \mathbf{S}\) the values of the density \(\rho ~(x,~y)\) and the effective atomic number (EAN) \(Z~(x,~y)\) are known.

1.2 Geometric Scheme of Projection Formation

Figure 1 shows the geometric scheme for the formation of projections in X-ray computed tomography. The origin of the fixed \(XOY\) coordinate system coincides with the test object rotation center. The additional coordinate system \(X{\kern 1pt} '{\kern 1pt} OY{\kern 1pt} '\) refers to the test object. The coordinates of a point in the \(X{\kern 1pt} '{\kern 1pt} OY{\kern 1pt} '\) and \(XOY\) coordinate systems are related to each other by a rotation transformation through an angle θ:
$$\left\{ \begin{gathered} x{\kern 1pt} ' = x\cos \theta + y\sin \theta \hfill \\ y{\kern 1pt} ' = - x\sin \theta + y\cos \theta \hfill \\ \end{gathered} \right.,\,\,\,\,\left\{ \begin{gathered} x = x{\kern 1pt} '\cos \theta - y{\kern 1pt} '\sin \theta \hfill \\ y = x{\kern 1pt} '\sin \theta + y{\kern 1pt} '\cos \theta \hfill \\ \end{gathered} \right..$$
(1)
The projection in the computed tomography \(P(x{\kern 1pt} ',~\theta )\) is the \(x{\kern 1pt} '\)-distribution of the integral of the informative parameter of the test object \(p\) along the corresponding \(x{\kern 1pt} '\)-ray, \(L(x{\kern 1pt} ',~\theta )\). Here \(x{\kern 1pt} '\) ranges from \( - A\) to \(A,\,\,~\left| A \right| > R\), and for any point \((x,~y) \in \mathbf{S}\) the following condition is satisfied: \({{x}^{2}} + {{y}^{2}} \leqslant {{R}^{2}}.\) Let us write the definition of a projection as a formula,
$$P(x{\kern 1pt} ',\theta ) = \int\limits_{L(x{\kern 1pt} ',\theta )} {p(y{\kern 1pt} '){\text{d}}y{\kern 1pt} '.} $$
(2)
For an informative parameter \(p\) characterizing the material, the computed tomography uses [22, 23]: the linear radiation attenuation coefficient (LAC) \(\mu \), the Hounsfield number, the density \(\rho ,\) and the effective atomic number \(Z.\) The test object material is most fully characterized by \(\rho \) and \(Z.\)

1.3 Generalized Model of Projection Formation in X-ray Computed Tomography

Models of digital radiographic imaging can be used as the basis for the model of projection formation in computed tomography [24–26]. An expression for how digital signals (DS) from detectors \({{J}_{d}}(x{\kern 1pt} ',~\theta )\) are connected with the estimate of the projection \(P{\kern 1pt} *(x{\kern 1pt} ',~\theta )\) has the form
$$P{\kern 1pt} ^*(x{\kern 1pt} ',\theta ) = - \ln \frac{{{{J}_{d}}(x{\kern 1pt} ',\theta ) - {{B}_{d}}(x{\kern 1pt} ',\theta )}}{{{{W}_{d}}\,(x{\kern 1pt} ',\theta ) - {{B}_{d}}(x{\kern 1pt} ',\theta )}},$$
(3)
here \({{B}_{d}}(x{\kern 1pt} ',~\theta )\) is the digital signal from the detector with switched off X-ray source (dark signals), and \({{W}_{d}}(x{\kern 1pt} ',~\theta )\) is the digital signal from the detector without a test object.
For an X-ray source with energy spectrum \(f(E,~{{E}_{{{\text{max}}}}})\), where \({{E}_{{{\text{max}}}}}\) is the maximum radiation energy, and a radiation-sensitive element (RSE) of thickness \({{h}_{s}}\) operating in integrated recording mode, the analog signals (AS) \(J({{E}_{{{\text{max}}}}},~x{\kern 1pt} ',~\theta )\) that correspond to the digital signal \({{J}_{D}}({{E}_{{{\text{max}}}}},~x{\kern 1pt} ',~\theta )\) are estimated using a formula similar to the expression from [25],
$$\begin{gathered} J({{E}_{{\max }}},x{\kern 1pt} ',\theta ) = I({{E}_{{\max }}},x{\kern 1pt} ',\theta ) + B(x{\kern 1pt} ') \\ = {{C}_{E}}(x{\kern 1pt} '){{N}_{0}}({{E}_{{\max }}},x{\kern 1pt} ')\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}}} )\exp ( - {{P}_{E}}(E,x{\kern 1pt} ',\theta )\varepsilon (E,{{h}_{s}}){\text{d}}E + B(x{\kern 1pt} '), \\ \end{gathered} $$
(4)
where \({{C}_{E}}(x{\kern 1pt} ')\) is the factor of conversion of the absorbed radiation energy into the analog signal; \({{N}_{0}}({{E}_{{{\text{max}}}}},~x{\kern 1pt} ')\) is the number of photons hitting the front surface of the radiation-sensitive element without a test object during projection formation; \({{E}_{{{\text{ab}}}}}~(E,~{{h}_{s}})\) is the average value of energy transmitted to the radiation-sensitive element by a recorded photon with energy \(E;\) and \(\varepsilon (E,~{{h}_{s}})\) is the efficiency of recording. In formula (4)\({{P}_{E}}(E,~x{\kern 1pt} ',~\theta ),~\,\, - {\kern 1pt} A \leqslant x\,' \leqslant A,\) is the projection for photons with energy \(E\) when the informative parameter \(p\) is the linear attenuation coefficient of radiation. For a radiation-sensitive element with small dimensions, it is necessary to take into account the leakage and transfer of energy to the environment and to neighboring elements.
The expression for calculating \({{P}_{E}}(E,~x{\kern 1pt} ',~\theta )\) is
$${{P}_{E}}(E,x{\kern 1pt} ',\theta ) = \int\limits_{L(x{\kern 1pt} ',\theta )} {\mu (E,y{\kern 1pt} '){\text{d}}y{\kern 1pt} ' = \int\limits_{L(x{\kern 1pt} ',\theta )} {m(E,Z(y{\kern 1pt} ')} } )\rho (y{\kern 1pt} '){\text{d}}y{\kern 1pt} ',$$
(5)
where \(m~(E,~Z)\) is the mass coefficient of attenuation (MAC) by material with atomic number \(Z\) of radiation with energy \(E.\) Note that \(J({{E}_{{{\text{max}}}}},~x{\kern 1pt} ',~\theta )\) for \({{P}_{E}}(E,~x{\kern 1pt} ',~\theta ) = \infty \) coincides with \(B(x{\kern 1pt} ')\), and for \({{P}_{E}}(E,~x{\kern 1pt} ',~\theta ) = 0\), with \(W(x{\kern 1pt} ').\)
Analog signals \(J({{E}_{{{\text{max}}}}},~x{\kern 1pt} ',~\theta )\) are transformed into digital signal:
$${{J}_{D}}({{E}_{{\max }}},x{\kern 1pt} ',\theta ) = \operatorname{int} \left( {\frac{{{{J}_{D}}({{E}_{{\max }}},x{\kern 1pt} ',\theta )}}{D}} \right),\,\,\,\,D = \frac{{{{C}_{{\lim }}}W(x{\kern 1pt} ')}}{{{{2}^{{{{k}_{{ADC}}}}}} - 1}},$$
(6)
here \({{k}_{{ADC}}}\) is the digit capacity of the analog-to-digital converter (ADC); \({{C}_{{\lim }}},\) \({{C}_{{\lim }}} > 1\), is the coefficient limiting the digital signal to the level of \({{2}^{{{{k}_{{ADC}}}}}}~ - 1\) in the case of analog signal fluctuations.
The set of formulas (1)–(6) is a generalized model of the formation of projections in X-ray computed tomography.

1.4 Formation of Sinograms in X-ray Computed Tomography

A computed tomography sinogram is a collection of projections. It is an \(M~ \times ~N\) matrix \(\mathbf{P}\), where \(M\) is the number of points in the projection and \(N\) is the number of projections. The quality of the reconstruction of the sections in the computed tomography is determined by the parameters \(M\) and \(N,\) which are related to the size of the radiation-sensitive element \(a\) and the step in the angle \({{\Delta }_{\theta }}\) by the relations
$$N = 2A{\text{/}}a,\,\,\,\,M = 2\pi {\text{/}}{{\Delta }_{\theta }}.$$
(7)
The sinogram formation expression is as follows:
$$P = \left\{ {{\mathbf{P}_{{{{i}_{x}}{{i}_{\theta }}}}} = \left. {P{\kern 1pt}^*(x_{{ix}}^{'},{{\theta }_{{{{i}_{\theta }}}}})} \right|x_{{ix}}^{'} = - A + \frac{a}{2} + a({{i}_{k}} - 1),\,\,\,\,{{i}_{k}} = 1 \ldots N;\,\,\,\,{{\theta }_{{{{i}_{\theta }}}}} = {{\Delta }_{\theta }}({{i}_{\theta }} - 1),\,\,\,\,{{i}_{\theta }} = 1 \ldots M + 1} \right\}.$$
(8)
For a visual check of the quality of the initial data in computed tomography, sinograms are presented in graphical form.

2 RECONSTRUCTION OF CROSS SECTION IMAGES IN X-RAY COMPUTED TOMOGRAPHY METHOD BY BACK PROJECTION WITH FILTERING

A sinogram is sent to the input of the initial information processing unit. The result of sinogram processing is the distribution of the informative parameter over the test object section. The reason for choosing the BPF method as the reconstruction algorithm of cross section images was noted above.
At the first stage of the algorithm, the initial projections \(P{\kern 1pt} ^*\) are filtered using some filter \(h{\kern 1pt} :\)
$$P{\kern 1pt} ^{* *}(x{\kern 1pt} ',\theta ) = \int {P{\kern 1pt} ^*(t,\theta )h(x{\kern 1pt} '\,\, - t} ){\text{d}}t.$$
(9)
Filters with Ramachandran–Lakshminarayanan (RL) [27] and Shepp–Logan (SL) [28] kernels are most often used as filters in computed tomography.
At the second stage, inverse convolution is implemented, the purpose of which is to estimate the distribution of the information parameter over the test object section \(p{\kern 1pt} - {\kern 1pt} p{\kern 1pt} ^*{\kern 1pt} :\)
$$p{\kern 1pt} ^*(x,y) = \int\limits_0^{2\pi } {P{\kern 1pt} ^{* *}(x\cos \theta + y\sin \theta ){\text{d}}\theta .} $$
(10)
Expressions (9) and (10) make it possible to estimate any function defined on a section for which the complete set of projections (sinogram) is known.

3 ALGORITHM FOR COMPUTATIONAL MODELING OF FORMATION AND PROCESSING OF SINOGRAMS IN COMPUTED TOMOGRAPHY

The algorithm for computational modeling of sinograms and reconstruction of images of sections in computed tomography consists of several main blocks: initial data of the computed tomography system; setting of auxiliary functions for attenuation and recording of radiation; description of the test object section; formation of an ideal sinogram; selection of a rational value for the maximum energy of X-ray radiation; the formation of calibration functions of the dependences of the mass thicknesses of the test objects on the their thicknesses in free path lengths (f.p.l.); formation of sinograms; formation of corrected sinograms with their graphic display; and reconstruction of cross section images.

3.1 Initial Data of X-ray Computed Tomography System

In accordance with the adopted scheme for the formation of sinograms in X-ray computed tomography, the initial data of the system include: the half-width of the linear X-Ray recorder \(A,\) mm; the transverse dimension of radiation-sensitive element \(a,\) mm; the radiation-sensitive element thickness \({{h}_{s}},\) mm; the radiation-sensitive element material; and the angle step \({{\Delta }_{\theta }},\) rad.

3.2 Setting Auxiliary Radiation Attenuation and Recording Functions

The primary data for this block are borrowed from open libraries on the attenuation of gamma radiation (for example, [29]) and are summarized in tables of mass radiation coefficient of attenuation by substance in the range of atomic number from \(Z = 1\) (hydrogen) to \(Z = 82\) (lead). Three vectors correspond to each value of \(Z{\kern 1pt} :\) the energy levels of gamma radiation \({\mathbf{E}_{n}};\) the gamma radiation MAC \(\mathbf{m};\) and the average value of absorbed energy \({{E}_{{{\text{ab}}}}}.\)
This block specifies: the functions \(m(E,~Z)\) interpolating the dependences of the MAC \(m\) on the gamma radiation energy \(E\) for substances ranging from hydrogen to lead; the radiation source energy spectrum \(f(E,~{{E}_{{{\text{max}}}}})\); the energy dependences of the radiation-sensitive element detection efficiency \(\varepsilon (E,~{{h}_{s}})\) based on its thickness and material; and an interpolation for the functions \({{E}_{{{\text{ab}}}}}(E,~{{h}_{s}}).\)

3.3 Description of Test Object Section

It was noted above that the test object section is determined by the distributions of the density \(\rho (x,~y)\) and the effective atomic number \(Z(x,~y),~(x,~y) \in \mathbf{S}\). It follows from the analysis of expressions (3)–(6) that the performance of the modeling algorithm depends on the complexity of calculating the energy dependence \({{P}_{E}}(E,~x{\kern 1pt} ',~\theta )\). In [25], the efficiency of replacing the integrals in (4) and (5) by parametric interpolation dependences, for example, on the mass thickness, was noted. The indicated approach can be easily implemented for a test object for which \(Z(x,~y) = {\text{const}},~(x,~y) \in S.\) Let us dwell on test objects of the kind.
In computed tomography, full-scale and virtual phantoms are widely used, which consist of fragments with sections of regular shapes. Most often, circles and squares are used as simple shapes. Here are the descriptions of the test object with such fragments.

3.3.1 Sections of Fragments in the Form of Circles

Consider a cylindrical shell with noncontacting cylindrical inclusions of various densities. The axes of the inclusions are parallel to the axis of the cylindrical shell. We will consider sections perpendicular to the shell axis. Such sections are made up of fragments in the form of circles. In this case, the test object section is described by a set of vectors \(\mathbf{r},~\,\mathbf{r0},~\,\boldsymbol{\rho} ,\,~{\text{and}}\,\,~\boldsymbol{\beta} \) with dimension \({{n}_{0}}\) and parameters \(x0~\,\,{\text{and}}~\,\,y0.\) Here \(\mathbf{r}\) is the vector of the radii of the fragments, \(\mathbf{r0}\) is the vector of the radii of the centers of the fragments, \(\boldsymbol{\rho} \) is the vector of the material densities of the fragments, \(\boldsymbol{\beta} \) is the vector of the angular coordinates of the centers of the fragments, and \(x0~\,\,{\text{and}}\,\,~y0\) are the coordinates of the displacement of the axis of rotation. Let \(i,~\,\,i = ~~1\,\, \ldots ~\,\,{{n}_{0}},\) be the number of the fragment, \(i = 1\) corresponds to the shell itself, \(i = 2\) to the axial cavity, and \(i = 3\,\, \ldots ~\,\,{{n}_{0}}\) to the inclusions.

3.3.2 Sections of Fragments in the Form of Squares

Thick-walled pipes with a square cross section are a typical representative of test objects with sections of fragments in the form of squares. For the considered test object, all sections of the fragments have the shape of a square. The test object section is determined by a set of vectors \(\mathbf{r}{{,\;}}\mathbf{X0}{{,\;}}\mathbf{Y0}{{,\;}}\boldsymbol{\rho} {,\;\text{and\;}}\boldsymbol{\theta} \) with dimension \({{n}_{0}}\) and parameters \(x0\) and \(y0.\) Here \(r\) is the vector of the radii of the circles inscribed in the fragments; \(\mathbf{X0}{\;\text{and}\;}\mathbf{Y0}\) are the vectors of the coordinates of the centers of the fragments; \(\boldsymbol{\rho} \) is the vector of the material density of the fragments; \(\boldsymbol{\beta} \) is the vector of the angles of rotation of the fragments, and \(x{0\;\text{and}\;}y{\text{0}}\) are the coordinates of the displacement of the axis of rotation. Fragment numbering is the same as described above: \(i = 1\) corresponds to the shell; \(i = 2\) to the axial cavity, and \(i = 3\,\, \ldots ~\,\,{{n}_{0}}\) to shell inclusions.

3.4 Formation of Ideal Sinograms

A sinogram is called ideal if the informative parameter is the density ρ. To form a sinogram, we will use an approach similar to the additive algorithm for modeling radiographic images [25].
In accordance with [25], the expression for the formation of an ideal sinogram is as follows:
$$P(x{\kern 1pt} ',\theta ) = {{H}_{1}}(x{\kern 1pt} ',\theta ){{\rho }_{1}} - \sum\limits_{i = 2}^{{{n}_{0}}} {({{\rho }_{i}} - {{\rho }_{1}}){{H}_{i}}(x{\kern 1pt} ',\theta ),\,\,\,\, - {\kern 1pt} A \leqslant x{\kern 1pt} ' \leqslant A,\,\,\,\,0 \geqslant \theta \leqslant 2\pi ,} $$
(11)
here \({{H}_{i}}(x{\kern 1pt} ',~\theta ),~\,\,i = 1\,\, \ldots \,\,~{{n}_{0}},\) are the thicknesses of the test object fragments along the ray passing through a point \(x{\kern 1pt} '.\)
The complexity of calculating ideal sinograms by formula (11) is determined by the shape of the fragments of the test object section. Let us illustrate this for circles and squares.

3.4.1 Estimation of the beam thicknesses for cross sections of fragments in the form of a circle

The formula for estimating the thicknesses of the fragments with numbers \(i = 1~\,\,...~\,\,{{n}_{0}}\) is
$${{H}_{i}}(x{\kern 1pt} ',\theta ) = \left\{ \begin{gathered} 2\sqrt {r_{i}^{2} - {{{(x - x0 - r{{0}_{i}}\cos {{\beta }_{i}})}}^{2}}} ,\,\,\,\left| {x - x0} \right| \leqslant r{{0}_{i}}\cos {{\beta }_{i}} \hfill \\ 0,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\left| {x - x0} \right| > r{{0}_{i}}\cos {{\beta }_{i}} \hfill \\ \end{gathered} \right.,\,\,\,\,\left\{ \begin{gathered} x - x0 = x{\kern 1pt} '\cos \theta - y{\kern 1pt} '\sin \theta \hfill \\ y - y0 = x{\kern 1pt} '\sin \theta + y{\kern 1pt} '\cos \theta \hfill \\ \end{gathered} \right..$$
(12)
Expression (12) in combination with (1) is easily implemented in the MathCad system.

3.4.2 Estimation of the beam thicknesses for cross sections of fragments in the form of a square

A square is defined by the coordinates of its center and the coordinates of the corner points. Therefore, at the first stage, the specified coordinates are calculated for the \(i\)th fragment. Let there be a local Cartesian coordinate system \(X{\kern 1pt} ''O{\kern 1pt} ''Y{\kern 1pt} ''\) anchored at the center of a square fragment, with its axes parallel to the sides of the square. The set of coordinates of corner points of fragments \(x_{{ji}}^{{''}},~y_{{ji}}^{{''}},~\,\,j = 1~...~4,\) in the corresponding local coordinate systems is described by the expression
$$\left[ {\begin{array}{*{20}{c}} {x_{{1i}}^{{''}}}&{y_{{1i}}^{{''}}} \\ {x_{{2i}}^{{''}}}&{y_{{2i}}^{{''}}} \\ {x_{{3i}}^{{''}}}&{y_{{3i}}^{{''}}} \\ {x_{{4i}}^{{''}}}&{y_{{4i}}^{{''}}} \end{array}} \right] = \left[ {\begin{array}{*{20}{c}} { - {{r}_{i}}}&{{{r}_{i}}} \\ {{{r}_{i}}}&{{{r}_{i}}} \\ { - {{r}_{i}}}&{ - {{r}_{i}}} \\ {{{r}_{i}}}&{ - {{r}_{i}}} \end{array}} \right].$$
(13)
Taking into account the rotation of the square fragments by the angles \({{\beta }_{i}}\) and the displacement of the centers in the \(XOY\) system, the coordinates of the corner points are calculated by the formula:
$$\left[ {\begin{array}{*{20}{c}} {{{x}_{{ji}}}} \\ {{{y}_{{ji}}}} \end{array}} \right] = \left[ {\begin{array}{*{20}{c}} {\cos {{\beta }_{i}}}&{ - \sin {{\beta }_{i}}} \\ {\sin {{\beta }_{i}}}&{\cos {{\beta }_{i}}} \end{array}} \right]\left[ {\begin{array}{*{20}{c}} {x{{{_{{ji}}^{{''}}}}_{{}}}} \\ {y{{{_{{ji}}^{{''}}}}_{{}}}} \end{array}} \right] + \left[ {\begin{array}{*{20}{c}} {x{{0}_{i}}} \\ {y{{0}_{i}}} \end{array}} \right].$$
(14)
The coordinates in the \(~X{\kern 1pt} 'OY{\kern 1pt} '\) coordinate system are calculated in a similar way, obtained by rotating the \(XOY\) system relative to the point \(O\) by the angle \(\theta {\kern 1pt} :\)
$$\left[ {\begin{array}{*{20}{c}} {x{{{_{{ji}}^{'}}}_{{}}}} \\ {y{{{_{{ji}}^{'}}}_{{}}}} \end{array}} \right] = \left[ {\begin{array}{*{20}{c}} {\cos \theta }&{ - \sin \theta } \\ {\sin \theta }&{\cos \theta } \end{array}} \right]\left[ {\begin{array}{*{20}{c}} {{{x}_{{ji}}}} \\ {{{y}_{{ji}}}} \end{array}} \right].$$
(15)
Further, for \(i,\,\,~i = 1\,\, \ldots ~\,\,{{n}_{0}}\), the matrices \(X{{Y}_{i}}\) are sorted by the first column in ascending order:
$${\mathbf{XY}_{i}} = \left[ {\begin{array}{*{20}{c}} {x_{{1i}}^{'}}&{y_{{1i}}^{'}} \\ {x_{{2i}}^{'}}&{y_{{2i}}^{'}} \\ {x_{{3i}}^{'}}&{y_{{3i}}^{'}} \\ {x_{{4i}}^{'}}&{y_{{4i}}^{'}} \end{array}} \right] \Rightarrow \mathbf{XY}_{i}^{*} = {\text{csort}}({\mathbf{XY}_{i}},1) = \left[ {\begin{array}{*{20}{c}} {x_{{1i}}^{*}}&{y_{{1i}}^{*}} \\ {x_{{2i}}^{*}}&{y_{{2i}}^{*}} \\ {x_{{3i}}^{*}}&{y_{{3i}}^{*}} \\ {x_{{4i}}^{*}}&{y_{{4i}}^{*}} \end{array}} \right].$$
(16)
here \({\text{csort}}({\mathbf{XY}_{i}},~1)\) is the sorting procedure by the first column in ascending order.
The estimate of the thickness of the fragments along the beam is found using the formula
$${{H}_{i}}(x{\kern 1pt} ',\theta ) = \left\{ \begin{gathered} 0,\,\,\,\,\left( {x{\kern 1pt} ' < x_{{1i}}^{*}} \right) \vee \left( {x{\kern 1pt} ' < x_{{4i}}^{*}} \right) \hfill \\ 2{{r}_{i}},\,\,\,\,\left( {x_{{1i}}^{*} \leqslant x{\kern 1pt} ' \leqslant x_{{4i}}^{*}} \right) \wedge \left( {\left( {x_{{1i}}^{*} = x_{{2i}}^{*}} \right) \vee \left( {x_{{3i}}^{*} = x_{{4i}}^{*}} \right)} \right) \hfill \\ 2\sqrt 2 {{r}_{i}},\,\,\,\,x_{{2i}}^{*} = x_{{3i}}^{*} \hfill \\ \frac{{y_{{2i}}^{*} - y_{{1i}}^{*}}}{{x_{{2i}}^{*} - x_{{1i}}^{*}}}\left. {\left( {x{\kern 1pt} '\,\, - x_{{1i}}^{*}} \right)} \right| - \frac{{y_{{3i}}^{*} - y_{{1i}}^{*}}}{{x_{{3i}}^{*} - x_{{1i}}^{*}}}\left. {\left( {x{\kern 1pt} '\,\, - x_{{1i}}^{*}} \right)} \right|,\,\,\,\,\left( {x_{{1i}}^{*} \leqslant x{\kern 1pt} ' < x_{{2i}}^{*}} \right) \wedge \left( {x_{{1i}}^{*} \ne x_{{2i}}^{*}} \right) \hfill \\ \frac{{y_{{3i}}^{*} - y_{{1i}}^{*}}}{{x_{{3i}}^{*} - x_{{1i}}^{*}}}\left( {x{\kern 1pt} '\,\, - x_{{1i}}^{*}} \right) + y_{{1i}}^{*} - \frac{{y_{{4i}}^{*} - y_{{2i}}^{*}}}{{x_{{4i}}^{*} - x_{{2i}}^{*}}}\left( {x{\kern 1pt} '\,\, - x_{{2i}}^{*}} \right) - \left. {y_{{2i}}^{*}} \right|,\,\,\,\,\left( {x_{{2i}}^{*} \leqslant x{\kern 1pt} ' < x_{{3i}}^{*}} \right) \wedge \left( {x_{{2i}}^{*} \ne x_{{3i}}^{*}} \right) \hfill \\ \frac{{y_{{4i}}^{*} - y_{{2i}}^{*}}}{{x_{{4i}}^{*} - x_{{2i}}^{*}}}\left( {x{\kern 1pt} '\,\, - x_{{2i}}^{*}} \right) + y_{{2i}}^{*} - \frac{{y_{{4i}}^{*} - y_{{3i}}^{*}}}{{x_{{4i}}^{*} - x_{{3i}}^{*}}}\left( {x{\kern 1pt} '\,\, - x_{{3i}}^{*}} \right) - \left. {y_{{3i}}^{*}} \right|,\,\,\,\,\left( {x_{{3i}}^{*} \leqslant x{\kern 1pt} ' < x_{{4i}}^{*}} \right) \wedge \left( {x_{{3i}}^{*} \ne x_{{4i}}^{*}} \right). \hfill \\ \end{gathered} \right.$$
(17)
Expressions (13)–(17) make it possible to estimate the beam thicknesses of sections of fragments in the form of a square for any values of \(x{\kern 1pt} '\) and \(\theta .\)
The above formulas (12)(17) are the basis of algorithms for the formation of ideal sinograms for sections of fragments in the form of a circle and a square.

3.5 Selecting the Maximum X-ray Energy

The choice of the maximum energy of X-ray radiation has a significant effect on the quality of reconstruction of images of cross sections in computed tomography [30]. The equation for selection of \({{E}_{{{\text{max}}}}}\) is similar to the equation specified in [30],
$$\ln \frac{{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\varepsilon (E,{{h}_{s}}){\text{d}}E} }}{{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\exp ( - m(E,Z){{{\max }}_{{x{\kern 1pt} ' \in [ - A,A],\theta \in [0,2\pi ]}}}P(x{\kern 1pt} ',\theta )\varepsilon (E,{{h}_{s}}){\text{d}}E} }} = 2.$$
(18)
The right-hand side of Eq. (18) can be decreased or increased. The value \({{P}_{{{\text{max}}}}} = {\text{ma}}{{{\text{x}}}_{{x{\kern 1pt} ' \in \,\left[ { - A,A} \right],\,\,~\theta \, \in \,\left[ {0,2\pi } \right]}}}~P(x{\kern 1pt} ',~\theta )\) is equal to the maximum mass thickness of the test object.

3.6 Formation of Calibration Functions, Dependences of the Mass Thicknesses of Test Objects on Their Thicknesses in Free Path Lengths

It follows from the definition of an ideal sinogram that it is necessary to estimate the mass thickness of the test objects for all beams. For this, the results of a full-scale or computational experiment are used to determine the dependences of the X-ray attenuation coefficients on the mass thickness \(\rho H.\)
We will use the algorithm for the formation of calibration functions for EAN -homogeneous test objects given in [31]. A stepped object with steps of thickness from \({{\left( {\rho H} \right)}_{1}} = \rho {{H}_{{{\text{min}}}}} = 0\) g/cm2 to \({{\left( {\rho H} \right)}_{l}} = \rho {{H}_{{{\text{max}}}}} = {{P}_{{{\text{max}}}}}~\,\,{\text{g/c}}{{{\text{m}}}^{2}}\) acts as a test object. The formula of relationship between the estimate of the thickness of the test object in f.p.l. \(Y\) and the mass thickness \(\rho H\) has the form
$$Y({{E}_{{\max }}},\rho H) = - \ln \frac{{\operatorname{int} {{C}_{E}}{{N}_{0}}{{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\exp ( - m(E,Z)\rho H)\varepsilon (E,{{h}_{s}}){\text{d}}E} } \mathord{\left/ {\vphantom {{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\exp ( - m(E,Z)\rho H)\varepsilon (E,{{h}_{s}}){\text{d}}E} } D}} \right. \kern-0em} D}}}{{\operatorname{int} {{C}_{E}}{{N}_{0}}{{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\varepsilon (E,{{h}_{s}}){\text{d}}E} } \mathord{\left/ {\vphantom {{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\varepsilon (E,{{h}_{s}}){\text{d}}E} } D}} \right. \kern-0em} D}}}.$$
(19)
The table \(\mathbf{B} = ({{\left( {\rho H} \right)}_{n}},~Y({{E}_{{{\text{max}}}}},~{{\left( {\rho H} \right)}_{n}})),~\,\,n = 1 \ldots ~l.\) is fed to the input of the algorithm for forming the calibration functions. The analytical function \(F\) is constructed on the basis of table \(\mathbf{B}\)
$$\rho H = F(Y).$$
(20)
Formula (20) allows one to evaluate ideal sinograms by real ones.

3.7 Formation of Real Sinograms and Their Graphic Display

The input of the algorithm for generating sinograms based on expressions (3)–(8) receives an ideal sinogram. This sinogram for the test object, consisting of a finite number of fragments with different densities, is described by expression (11). For a detailed implementation of the algorithm being carried out for specific shapes of fragments of sections of the test object, for example, circles and squares, see (12)–(17). As a result of applying the algorithm to a specific test object, an ideal sinogram \(\mathbf{P} = \left\{ {{{P}_{{{{i}_{x}}{{i}_{{{\theta }}}}}}} = P\left( {x_{{{{i}_{x}}}}^{'},~{{{{\theta }}}_{{{{{\text{i}}}_{{{\theta }}}}}}}} \right):{{i}_{x}} = 1 \ldots {\kern 1pt} N;\,\,{{i}_{{{\theta }}}} = 1 \ldots {\kern 1pt} M + 1} \right\}\) is formed.
Relationship between the ideal sinogram \(\mathbf{P}\) and the real sinogram \(\mathbf{P} = \left\{ {P_{{{{i}_{x}}{{i}_{{{\theta }}}}}}^{*}:{{i}_{x}} = 1 \ldots {\kern 1pt} N;{{i}_{{{\theta }}}} = 1 \ldots {\kern 1pt} M + 1} \right\}\) is described by the expression
$$P_{{{{i}_{x}}{{i}_{\theta }}}}^{*} = - \ln \frac{{\operatorname{int} \left( {{{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\exp ( - m(E,Z){{P}_{{{{i}_{x}}{{i}_{\theta }}}}})\varepsilon (E,{{h}_{s}}){\text{d}}E} } \mathord{\left/ {\vphantom {{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\exp ( - m(E,Z){{P}_{{{{i}_{x}}{{i}_{\theta }}}}})\varepsilon (E,{{h}_{s}}){\text{d}}E} } D}} \right. \kern-0em} D}} \right)}}{{\operatorname{int} \left( {{{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\varepsilon (E,{{h}_{s}}){\text{d}}E} } \mathord{\left/ {\vphantom {{\int\limits_0^{{{E}_{{\max }}}} {{{E}_{{{\text{ab}}}}}(E,{{h}_{s}})f(E,{{E}_{{\max }}})\varepsilon (E,{{h}_{s}}){\text{d}}E} } D}} \right. \kern-0em} D}} \right)}}.$$
(21)
The synogram \(\mathbf{P}{\kern 1pt} ^*\) is converted into a grayscale image \(\mathbf{G}{\kern 1pt} ^*\) as follows:
$$G_{{{{i}_{x}}{{i}_{\theta }}}}^{*} = 255 - 255\operatorname{int} \left( {\frac{{P_{{{{i}_{x}}{{i}_{\theta }}}}^{*} - \min (\mathbf{P}^*)}}{{\max (\mathbf{P}^*) - \min (\mathbf{P}^*)}}} \right).$$
(22)
The graphical representation of the sinogram is necessary not only for the visual presentation of information in one image, but also for the analysis of possible distortions during scanning or computational modeling.

3.8 Correction of Sinograms

In sinograms, the test object thicknesses along the rays are measured in f.p.l., which makes it impossible to accurately estimate the density distribution over the cross section of the object by the computed tomography method. Correction of sinograms is reduced to recalculation of the thickness of the test object along the rays in the f.p.l. into mass thicknesses of test object along the corresponding rays.
The sinogram \(\mathbf{P}{\kern 1pt} ^*\) is corrected in accordance with the transformation (20). The expression for the formation of the final sinogram \({{\mathbf{P}}_{C}}\) is
$${{\mathbf{P}}_{C}} = \left\{ {{{P}_{{C{{i}_{x}}{{i}_{\theta }}}}} = F\left( {P_{{{{i}_{x}}{{i}_{\theta }}}}^{*}} \right):{{i}_{x}} = 1 \ldots N;\,\,\,\,{{i}_{\theta }} = 1 \ldots M + 1} \right\}.$$
(23)
The graphical image of the sinogram \(\mathbf{P}{\kern 1pt} ^*\) is formed similar to formula (22).

3.9 Reconstruction of Section Images by the Inverse Convolution Method with Filtering

The algorithm and the program for reconstructing images of test object cross sections in computed tomography are independent and linked with each other by a text file. A sinogram is written in a text file, for example, the \(\mathbf{Pr}\) matrix. The file name contains information about the radiation-sensitive element size \(a\).
After reading the matrix \(\mathbf{Pr},\) the number of detectors in the line \(N,\) and the number of projections \(M\) are determined:
$$N = {\text{rows}}(\mathbf{Pr}),\,\,\,\,M = {\text{cols}}(\mathbf{Pr}).$$
(24)
here \({\text{rows}}(\mathbf{Pr})\) and \({\text{cols}}(\mathbf{Pr})\) are the numbers of rows and columns in the matrix \(\mathbf{Pr}.\)
Next, filters with RL and SL kernels are set.

3.9.1 Ramachandran–Lakshminarayanan and Sheppa–Logan Filters

The Ramachandran-Lakshminarayanan filter \({{f}_{{{\text{RL}}}}}\) is defined by the formula [27]
$${{f}_{{{\text{RL}}i}}} = \left\{ \begin{gathered} \frac{1}{{4{{a}^{2}}}},\,\,\,\,i = 0, \hfill \\ 0,\,\,\,\,i = 2k,\,\,\,\,k = \pm 1, \pm 2, \ldots \hfill \\ \frac{{ - 1}}{{{{\pi }^{2}}{{a}^{2}}{{i}^{2}}}},\,\,\,\,i = 2k - 1,\,\,\,\,k = \pm 1, \pm 2, \ldots \hfill \\ \end{gathered} \right.,\,\,\,\,i = - Nh \ldots Nh,\,\,\,\,Nh = \operatorname{int} \left( {\frac{N}{2}} \right).$$
(25)
The expression for the Shepp–Logan filter \({{f}_{{{\text{ShL}}}}}\) has the form [28]
$${{f}_{{{\text{ShL}}i}}} = \frac{1}{{{{\pi }^{2}}{{a}^{2}}}}\left( {\frac{1}{{1 - 4{{i}^{2}}}}} \right),\,\,\,\,i = - Nh \ldots Nh,\,\,\,\,Nh = \operatorname{int} \left( {\frac{N}{2}} \right).$$
(26)

3.9.2 Filtering Initial Projections

The filtering of the initial projections \(\mathbf{Pr}\) is carried out in accordance with expression (8), which in discrete form looks as follows:
$$Pr{{f}_{{{{i}_{x}}{{i}_{\theta }}}}} = a\sum\limits_{{{i}_{f}} = - Nx}^{Nx} {P{{r}_{{{{i}_{f}}{{i}_{\theta }}}}}} \left\{ \begin{gathered} {{f}_{{{{i}_{x}} - {{i}_{f}}}}},\,\,\,\, - {{N}_{x}} \leqslant {{i}_{x}} - {{i}_{f}} < {{N}_{x}} \hfill \\ 0,\,\,\,\,\left( {{{i}_{x}} - {{i}_{f}} < - {{N}_{x}}} \right) \vee \left( {{{i}_{x}} - {{i}_{f}} \geqslant {{N}_{x}}} \right) \hfill \\ \end{gathered} \right..$$
(27)
In expression (27), a filter with the RL kernel \({{f}_{{{\text{RL}}}}}\) (26) or a filter with the SL kernel \({{f}_{{{\text{ShL}}}}}\) (27) or their modifications are used as the filter \(f.\)

3.9.3 Back Projection

The filtered \(\mathbf{Prf}\) projection is input into the back projection unit. In accordance with formula (9), the estimate of the informative parameter at the point of the section \((x,~y)\) is the integral over all rays passing through the marked point.
In the case under consideration, the informative parameter is the density \(\rho ;\) therefore, the estimate for the density \(\rho \) at a point with coordinates \((x,~y)\) is found by the formula:
$$\tilde {\rho }(x,y) \approx {{h}_{\theta }}\sum\limits_{{{i}_{\theta }} = 1}^M {Prf} {\kern 1pt} ^*(x\cos {{\theta }_{{{{i}_{\theta }}}}} + y\sin {{\theta }_{{{{i}_{\theta }}}}},{{\theta }_{{{{i}_{\theta }}}}}).$$
(28)
The function \(Prf{\kern 1pt} ^*(x{\kern 1pt} *,~{{{{\theta }}}_{{{{i}_{{{\theta }}}}}}})\) for a fixed value of \({{i}_{\theta }}\) is an interpolation of the discrete dependence of \(Pr{{f}_{{{{i}_{x}}{{i}_{{{\theta }}}}}}}\) on \(x_{{{{i}_{x}}}}^{'}.\)

3.9.4 Cross Section Imaging

At the first stage, a digital image is formed \(\tilde {\rho },\) representing the distribution of the estimate of the informative parameter (density) over the test object section.
Let the image have the shape of a rectangle with dimensions of \({{N}_{x}} \times {{N}_{y}}\) pixels. Then the matrix \(\tilde {\rho } = \left\{ {{{{{\rho }}}_{{{{i}_{x}}{{i}_{y}}}}},{{i}_{x}} = 1 \ldots {{N}_{x}},{{i}_{y}} = 1 \ldots {{N}_{y}}} \right\}\) is described by the expression
$$\tilde {\rho } = \left\{ \begin{gathered} \tilde {\rho }({{x}_{{{{i}_{x}}}}},{{y}_{{{{i}_{y}}}}}),\,\,\,\,x_{{{{i}_{x}}}}^{2} + y_{{{{i}_{y}}}}^{2} \leqslant {{A}^{2}} \hfill \\ 0,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,x_{{{{i}_{x}}}}^{2} + y_{{{{i}_{y}}}}^{2} > {{A}^{2}} \hfill \\ \end{gathered} \right.,\,\,\,\,\left. {{{x}_{{{{i}_{x}}}}} = - A + \frac{{2A}}{{{{N}_{x}} - 1}}({{i}_{x}} - 1),\,\,\,\,{{y}_{{{{i}_{y}}}}} = - A + \frac{{2A}}{{{{N}_{y}} - 1}}({{i}_{y}} - 1)} \right\}.$$
(29)
At the second stage, based on the image \(\tilde {\rho }\), the corresponding grayscale image \({{G}_{\rho }}\) is formed according to a formula similar to (23).
The aim of this work is to construct a computational model of X-ray computed tomography with estimation of density over the test object cross section; therefore, the image \(\tilde {\rho }\) is processed in order to determine the deviations of the density estimates from their real values.

4 EXAMPLES OF SIMULATION AND PROCESSING OF SINOGRAMS IN COMPUTED TOMOGRAPHY

To illustrate the capabilities of the algorithms for modeling sinograms, their correction, and reconstruction of density distributions over test object sections, we selected objects with the sections of fragments in the shape of a circle and a square. All test object fragments are homogeneous in EAN (\(Z = 13\)) but vary in density.
The developed algorithms are implemented in the MathCad 15 system in the form of programs for generating sinograms and image reconstruction. The program for generating sinograms is universal, with the exception of the test object description block with the calculation of its thickness by rays. The reconstruction program is universal; it contains switchable blocks for calculating the coefficients of the RL and SL filters. The above programs are connected through a text file corresponding to the \(Pr\) sinogram.
The array of X-ray detectors has a size of \(2A = 70\) mm. The radiation-sensitive element material is cadmium tungstate, the radiation-sensitive element transverse dimension is \(a = 0.1\) mm, and the radiation-sensitive element thickness is \({{h}_{s}}\) = 0.3 mm. A total of \({{N}_{0}}\) = 106 photons fall on the front surface of each radiation-sensitive element.

4.1 Object with Sections of Fragments in the Form of a Circle

The test object section is characterized by the following parameters: the outer radius of the thick-walled cylindrical shell \({{r}_{1}} = 25\) mm; the radius of the inner cylindrical cavity \({{r}_{2}} = 10\) mm; the radii of local shell fragments, \({{r}_{3}} = {{r}_{4}} = \ldots ~\, = {{r}_{{14}}} = 4\) mm; the radial coordinates of the centers of the fragments are \(r{{0}_{1}} = r{{0}_{2}} = 0\) mm, \(r{{0}_{3}} = r{{0}_{4}} = \ldots ~ = r{{0}_{{14}}} = 17.5\) mm; the angular coordinates of the centers of the fragments \({{\beta }_{1}} = {{\beta }_{2}} = 0,{{\beta }_{i}} = \pi (i - 3){\text{/}}6,~\,\,i = 3 \ldots ~14;\) and the material density of the fragments \({{\rho }_{1}} = 2.7\) g/\({\text{c}}{{{\text{m}}}^{3}},\) \({{\rho }_{2}} = 0\) g/\({\text{c}}{{{\text{m}}}^{3}},\) \({{\rho }_{i}} = 0.2\)(i − 2) g/\({\text{c}}{{{\text{m}}}^{3}},\) i = 3…14.
The number of projections is \(M = 1440\). The maximum value of the mass thickness along the rays for the object under consideration is \({{P}_{{{\text{max}}}}} = 11.7\) g/\({\text{c}}{{{\text{m}}}^{2}}.\) The rational value for the maximum energy of X-ray radiation was chosen based on condition (19) at \({{E}_{{{\text{max}}}}} = 400\) keV.
Figure 2 shows the images of the sinogram for the section of the analyzed object and the images of the section reconstructed by the BPF method.
The sinogram formation time for the object under study on a laptop with an Intel (R) Core (TM) i5-83000H CPU with a frequency of 2.30 GHz does not exceed 85 s. The image reconstruction time with the RL filter does not exceed 11 minutes, and with the SL filter it is 10.3 minutes. The specified performance of the programs is sufficient for use in the educational process and for a detailed analysis of the influence of the parameters of X-ray computed tomography systems on the quality of image reconstruction in the imaging mode. The reconstructed images for the RL and SL filters are close to each other in quality.
To assess the quality of modeling of computed tomography systems operating in the mode of measuring density distributions over the test object section, we determine the dependence of the density \({{\tilde {\rho }}_{c}}\) on the angle φ along a circle with a radius of \({{r}_{c}} = r{{0}_{3}} = 17.5\) mm centered at the geometric center of the section. The formula for estimating the dependence \({{\tilde {\rho }}_{c}}(\varphi )\) has the form
$${{\tilde {\rho }}_{c}} = \tilde {\rho }({{r}_{c}}\cos \varphi ,{{r}_{c}}\sin \varphi ).$$
(30)
Figure 3 shows copies of the graphs produced by the MathCad program for dependences \({{\rho }_{c}}(\varphi )\) with the employed RL and SL filters.
It can be concluded from the analysis of the graphs shown in Fig. 3 that the density distribution over the cross section of the considered test object obtained by the computed tomography method for reconstruction using the back projection method with RL and SL filtering is highly accurate.

4.1 Object with Sections of Fragments in the Form of a Square

The sections of the considered test objects are characterized by the following parameters: the radius of the circle inscribed in a thick-walled shell with a square section \({{r}_{1}} = 25\) mm; the radius of the circle inscribed in the inner cavity with a square section \({{r}_{2}} = 10\) mm; the radii of the circles inscribed in the sections of square fragments located inside the shell, \({{r}_{3}} = {{r}_{4}} = \ldots = {{r}_{{10}}} = 5\) mm; the coordinates of the centers of the fragments \(X{{0}_{1}} = Y{{0}_{1}} = X{{0}_{2}} = Y{{0}_{2}} = 0\) mm, \(X{{0}_{3}} = Y{{0}_{3}} = - 17.5\) mm, \(X{{0}_{4}} = - 17.5\) mm, \(Y{{0}_{4}} = 0\) mm, \(X{{0}_{5}} = - 17.5\) mm, \(Y{{0}_{5}} = - 17,5\) mm, \(X{{0}_{6}} = 0\) mm, \(Y{{0}_{6}} = - 17.5\) mm, \(X{{0}_{7}} = 0\) mm, \(Y{{0}_{7}} = 17.5\) mm, \(X{{0}_{8}} = 17.5\) mm, \(Y{{0}_{8}} = - 17.5\) mm, \(X{{0}_{9}} = 17.5\) mm, \(Y{{0}_{9}} = 0\) mm, \(X{{0}_{{10}}} = 17.5\) mm, \(Y{{0}_{{10}}} = 17.5\) mm; the angles of rotation of the fragments \({{\beta }_{1}} = {{\beta }_{2}} = 0,~\,\,{{\beta }_{i}} = \pi (i - 3){\text{/}}12,~\,\,i = 3 \ldots 14;\) and the material density of the fragments \({{\rho }_{1}} = 2.7\) g/\({\text{c}}{{{\text{m}}}^{3}}\), \({{\rho }_{2}} = 0\) g/\({\text{c}}{{{\text{m}}}^{3}}\), \({{\rho }_{i}} = 0.3\) (i − 2) g/\({\text{c}}{{{\text{m}}}^{3}}\), \(i = 3~ \ldots 10.\).
The number of projections is \(M = 1440\). The maximum mass thickness along the rays for the object under consideration is \({{P}_{{{\text{max}}}}} = 13.8\) g/\({\text{c}}{{{\text{m}}}^{2}}\). The rational value for the maximum X-ray radiation energy was chosen based on condition (19) at \({{E}_{{{\text{max}}}}} = 450\) keV.
Figure 4 shows the images of the sinogram for the cross section of the investigated test object and the results of reconstruction. Filters with RL and SL kernels were used in the BPF algorithm.
The sinogram simulation time for the analyzed test object on a laptop with an Intel (R) Core (TM) i5-83000H CPU with a frequency of 2.30 GHz does not exceed 129 s. The time of forming images of cross sections with the RL filter does not exceed 15 minutes, and with the SL filter—14 minutes. This performance of the programs is sufficient for use in the educational process and for a thorough analysis of the influence of the parameters of X-ray computed tomography systems on the quality of visualization of cross section images. The rendered images for the RL and SL filters are close to each other in quality.
For the considered test object, the accuracy of measuring the dependence of density \({{\tilde {\rho }}_{c}}(\varphi )\) from the angle \(\varphi \) is estimated along the line connecting the centers of the local fragments of the shell. Figure 5 shows copies of the graphs produced by the MathCad program for dependences \({{\tilde {\rho }}_{c}}(\varphi )\) in relation to the investigated test object for RL and SL filters. Comparison of the graphs confirms the conclusion about the high accuracy of estimating the density distribution over the cross section of the analyzed object by the computed tomography method for reconstruction by the BPF method with RL and SL filters.

5 DISCUSSION

The reconstructions of the internal structure of the test object with sections of fragments in the form of circles and similar objects from [32] visually have the same quality level. We come to the same conclusion as a result of comparing Figs. 4b and 4c with the reconstructed images of the cross sections of a universal phantom for computed tomography with similar fragments [33]. In both cases, the accuracy of density estimation for similar fragment materials is not inferior to the corresponding experimental values from [32]. From the above, we can draw a conclusion about the adequacy of the developed computational model for test objects made of materials homogeneous in EAN with fragments with sections in the form of a circle and a square.
Let us briefly discuss the approaches to estimating the density distribution by the computed tomography method for test objects with more complex sections of fragments or with fragments differing in EAN.

5.1 Cross Section of an Object with Complex Shaped Fragments Made of Materials Homogeneous in Effective Atomic Number

The specificity of the test object affects exclusively the process of forming sinograms.
The approach in [25] can be used to modify the block for describing the test object sections. This approach is based on expression (11) using information about the shapes, sizes, and materials of fragments of the test object section. In [25], the idea is also mentioned, according to which, based on the image of a fragment with small pixels, images with pixels of much larger size are constructed. Let us modify this idea by changing the method of obtaining the initial images of fragments.
The shape and size of technical objects are known and, as a rule, documented with drawings. In accordance with the above, it is sufficient to consider the principle of describing one fragment of a complex shape. Let some continuous closed curve \(\mathbf{W}\) be given on the plane; the curve is the outer boundary of some plane figure (fragment) \(\boldsymbol{\Phi} .\) The sectional drawing of a fragment can be presented on paper or in electronic form. The drawing is converted into a digital image in *.bmp format with the highest possible resolution. The digital image is transformed into an ideal sinogram, which is processed according to the algorithm described above.
Figure 6 shows a true image of the cross section of an aluminum test object in the form of a star with sixteen rays, the sinogram, and the results of reconstruction. The radius of the circumscribed circle is \(R = 25\) mm, and the radius of the inscribed circle is \(r = 20\) mm. The number of projections is \(M = 1440\). The number of detectors in the array is \(N = 700\). The maximum value of the mass thickness along the rays for the object under study is \({{P}_{{{\text{max}}}}} = 13.5\) g/\({\text{c}}{{{\text{m}}}^{2}}\), and \({{E}_{{{\text{max}}}}} = 450\) keV.
The time to form the sinogram is approximately an hour, with most of it is spent on evaluating the ideal projections. The reconstruction time is close to 13 min. The visual high quality of the reconstruction should be noted. The density estimation error does not exceed 2%. In general, the quality of the reconstruction is close to the quality of the experimental images of the cross sections given in [34] for the gearwheel test object.

5.2 Sections of objects with fragments differing in \(Z\)

The presence of fragments with materials with different EANs in the test object leads to a significant shift in the density estimates. To eliminate the noted shift, the dual-energy methods (DEM) are used in computed tomography. The dual-energy methods in computed tomography are based on transillumination of the test object with gamma or X-rays with two energies [35, 36] and the subsequent estimation of the EAN and density distributions. The maximum productivity is achieved by the implementation of the DEM [37], in which monoenergetic gamma radionuclides are used as radiation sources.
The energy spectra of monoenergetic radionuclides are described by \(\delta \)-functions. In accordance with this and formulas (4) and (5), the system connecting the parameters of the test object and the projection for the energies of gamma radiation \({{E}_{1}}\) and \({{E}_{2}}\) has the following form:
$$\begin{gathered} P({{E}_{1}},x{\kern 1pt} ',\theta ) = \int\limits_{L(x',\theta )} {m({{E}_{1}},Z(y{\kern 1pt} '))\rho (y{\kern 1pt} '){\text{d}}y{\kern 1pt} '} = {{P}_{1}}(x{\kern 1pt} ',\theta ); \hfill \\ P({{E}_{2}},x{\kern 1pt} ',\theta ) = \int\limits_{L(x',\theta )} {m({{E}_{2}},Z(y{\kern 1pt} '))\rho (y{\kern 1pt} '){\text{d}}y{\kern 1pt} '} = {{P}_{2}}(x{\kern 1pt} ',\theta ). \hfill \\ \end{gathered} $$
(31)
Two sinograms \({\mathbf{P}_{1}}\) and \({\mathbf{P}_{2}}\) are formed in the program for simulating sinograms. The LAC of radiation acts as an informative parameter in the reconstruction of cross section images, but the representation of the projections in the form (31) allows the necessary modification of the algorithm in order to simultaneously estimate the distributions of density \(\tilde {\rho }(x,~y)\)\(\tilde {\boldsymbol{\rho} }\) and EAN \(\tilde {Z}(x,~y)\)\(\tilde {\mathbf{Z}}\). As a result of the reconstruction, the following distributions are estimated:
$$\begin{gathered} \tilde {m}({{E}_{1}},\tilde {Z}(x,y))\tilde {\rho }(x,y) = \tilde {\mu }({{E}_{1}},x,y); \hfill \\ \tilde {m}({{E}_{2}},\tilde {Z}(x,y))\tilde {\rho }(x,y) = \tilde {\mu }({{E}_{2}},x,y). \hfill \\ \end{gathered} $$
(32)
Estimation of the EAN distribution \(\tilde {Z}(x,~y)\) is carried out by a formula close to [36],
$$\tilde {Z}(x,~y) = G(Q(x,y)) = G(\tilde {m}({{E}_{1}},\tilde {Z}(x,~y)){\text{/}}\tilde {m}({{E}_{2}},\tilde {Z}(x,~y))).$$
(33)
The function \(G\) is determined at the stage of calibration tests on samples made of various materials that differ in EAN. Consider a test object with sections of fragments in the form of circles with variation in density and EAN. The fragment sizes and parameters are identical to those in Sec. 4.1. The local fragments in the shell are divided into six groups: \(Z = 6\,\,(\rho = 1.5~\,\,{\text{g/c}}{{{\text{m}}}^{3}};~\,\,2.2~\,\,{\text{g/c}}{{{\text{m}}}^{3}});\) \(Z = 9\,\,(\rho = 1.5~\,\,{\text{g/c}}{{{\text{m}}}^{3}};~\,\,2.2\,\,~{\text{g/c}}{{{\text{m}}}^{3}});\) \(Z = 17\,\,(\rho = 2\,\,~{\text{g/c}}{{{\text{m}}}^{3}};\,\,~2.5\,\,~{\text{g/c}}{{{\text{m}}}^{3}});\) \(Z = 22\,\,(\rho = 2~\,\,{\text{g/c}}{{{\text{m}}}^{3}};~\,\,3~\,\,{\text{g/c}}{{{\text{m}}}^{3}});\) \(Z = 26\,\,(\rho = 3~\,\,{\text{g/c}}{{{\text{m}}}^{3}};~\,\,5\,\,~{\text{g/c}}{{{\text{m}}}^{3}});\) and \(Z = 29\,\,(\rho = 3~\,\,{\text{g/c}}{{{\text{m}}}^{3}};~\,\,5\,\,~{\text{g/c}}{{{\text{m}}}^{3}}).\) The scan parameters are identical to the example in Sec. 4.1.
Figure 7 shows the sinograms for the \(\gamma \)-radiation energies \({{E}_{1}} = 100\) keV and \({{E}_{2}} = 225\) keV, the results of preliminary reconstruction, and the estimates of the distributions of EAN and density. The following palette was applied: \(Z = 6\) red; \(Z = 9\) yellow; \(Z = 13\) green; \(Z = 17\) light blue; \(Z = 22\) blue; \(Z = 26\) bright purple; and Z = 29 black.
The formation time of two sinograms for monoenergetic radiation sources on the aforementioned laptop does not exceed two minutes. The total reconstruction time is close to half an hour. The data presented in Fig. 7 illustrate the possibility of simultaneous estimation of the density and EAN distributions over the test object section. The errors in the estimates of the density and EAN of the materials of the test object fragments obtained as a result of the computational experiment do not exceed the levels of errors in the estimates of the density and the EAN of the materials of the fragments of the test object fragments with a similar structure [37].

CONCLUSIONS

A computational model of X-ray computed tomography with the function of estimating the density distribution over the cross section of the test object in the parallel beam geometry has been presented.
The modeling algorithm consists of a block for generating sinograms and a block for reconstructing the images of object sections. The mathematical model is implemented in the MathCad software for engineering calculations. The performance of the algorithm is illustrated for objects with fragments with sections in the shape of circles and squares and are homogeneous in effective atomic number of material. The possibility of studying objects with complex shaped cross sections of fragments is demonstrated using the example of a multibeam star. The proposed modeling algorithm is supplemented by the dual energy method, which allows one to simultaneously estimate the distributions of density and effective atomic number over the cross section of the object. The efficiency of the dual-energy method is illustrated by the example of objects with fragments with sections in the form of circles with varying density and effective atomic number of the fragment material. The developed computational models and software implementing them in the MathCad system are intended for the selection and evaluation of the parameters of X-ray computed tomography systems with the function of density estimation over the cross section of the object under study at the design stage and for use in the educational process.
Open Access.This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://​creativecommons.​org/​licenses/​by/​4.​0/​.
insite
CONTENT
download
DOWNLOAD
print
PRINT
Literature
10.
go back to reference Yong, Y., Fei, L., Zhang, T., Chun-guang, X., Ming-chuan, Z., and Jing-rui, R., Design of synchronous projection data acquisition system for cone beam CT based on manipulator, 2016 IEEE Far East NDT New Technol. Appl. Forum (FENDT), 2016, pp. 190–194. https://doi.org/10.1109/FENDT.2016.7992022 Yong, Y., Fei, L., Zhang, T., Chun-guang, X., Ming-chuan, Z., and Jing-rui, R., Design of synchronous projection data acquisition system for cone beam CT based on manipulator, 2016 IEEE Far East NDT New Technol. Appl. Forum (FENDT), 2016, pp. 190–194. https://​doi.​org/​10.​1109/​FENDT.​2016.​7992022
12.
go back to reference Hsieh, J., Computed tomography: Principles, design, artifacts, and recent advances, Bellingham : SPIE Press, 2015, 3rd ed.CrossRef Hsieh, J., Computed tomography: Principles, design, artifacts, and recent advances, Bellingham : SPIE Press, 2015, 3rd ed.CrossRef
16.
go back to reference Yang, Y., Wu, Y.C., Li, L., Zhang, S.Y., Dong, K.G., Zhang, T.K., Yu, M.H., Zhang, X.H., Zhu, B., Tan, F., Yan, Y.H., Li, G., Fan, W., Lu, F., Zhao, Z.Q., Zhou, W.M., Cao, L.F., and Gu, Y.Q., Design and characterization of high energy micro CT with a laser-based X-ray source, Results Phys., 2019, vol. 14, article ID: 102382. https://doi.org/10.1016/j.rinp.2019.102382CrossRef Yang, Y., Wu, Y.C., Li, L., Zhang, S.Y., Dong, K.G., Zhang, T.K., Yu, M.H., Zhang, X.H., Zhu, B., Tan, F., Yan, Y.H., Li, G., Fan, W., Lu, F., Zhao, Z.Q., Zhou, W.M., Cao, L.F., and Gu, Y.Q., Design and characterization of high energy micro CT with a laser-based X-ray source, Results Phys., 2019, vol. 14, article ID: 102382. https://​doi.​org/​10.​1016/​j.​rinp.​2019.​102382CrossRef
24.
27.
go back to reference Ramachandran, G.N. and Lakshminarayanan, A.V., Three-dimensional reconstruction from radiographs and electron micrographs: application of convolutions instead of Fourier transforms, Proc. Natl. Acad. Sci., 1971, vol. 68, no. 9, pp. 2236–2240. https://dx.doi.org/10.1073%2Fpnas.68.9.2236CrossRef Ramachandran, G.N. and Lakshminarayanan, A.V., Three-dimensional reconstruction from radiographs and electron micrographs: application of convolutions instead of Fourier transforms, Proc. Natl. Acad. Sci., 1971, vol. 68, no. 9, pp. 2236–2240. https://dx.doi.org/10.1073%2Fpnas.68.9.2236CrossRef
30.
go back to reference Buratti, A., Grozmani, N., Voigtmann, C., Sartori, L.V., and Schmitt, R.H., Determination of the optimal imaging parameters in industrial computed tomography for dimensional measurements on monomaterial workpieces, Meas. Sci. Technol., 2018, vol. 29, no. 11, article ID: 115009. https://doi.org/10.1088/1361-6501/aae4d6CrossRef Buratti, A., Grozmani, N., Voigtmann, C., Sartori, L.V., and Schmitt, R.H., Determination of the optimal imaging parameters in industrial computed tomography for dimensional measurements on monomaterial workpieces, Meas. Sci. Technol., 2018, vol. 29, no. 11, article ID: 115009. https://​doi.​org/​10.​1088/​1361-6501/​aae4d6CrossRef
32.
go back to reference Mei, K., Ehn, S., Oechsner, M., Kopp, F.K., Pfeiffer, D., Fingerle, A.A., Pfeiffer, F., Combs, S.E., Wilkens, J.J., Rummeny, E.J., and Noël, P.B., Dual-layer spectral computed tomography: measuring relative electron density, Eur. Radiol. Exp., 2018, vol. 2, no. 1, article ID: 20. https://doi.org/10.1186/s41747-018-0051-8CrossRef Mei, K., Ehn, S., Oechsner, M., Kopp, F.K., Pfeiffer, D., Fingerle, A.A., Pfeiffer, F., Combs, S.E., Wilkens, J.J., Rummeny, E.J., and Noël, P.B., Dual-layer spectral computed tomography: measuring relative electron density, Eur. Radiol. Exp., 2018, vol. 2, no. 1, article ID: 20. https://​doi.​org/​10.​1186/​s41747-018-0051-8CrossRef
33.
go back to reference Groenewald, A., and Groenewald, W.A., A universal phantom suitable for quality assurance on X-ray imaging modalities, Acta Radiologica, 2019, vol. 60, no. 11, pp. 1523–1531. https://doi.org/10.1177%2F0284185119831685CrossRef Groenewald, A., and Groenewald, W.A., A universal phantom suitable for quality assurance on X-ray imaging modalities, Acta Radiologica, 2019, vol. 60, no. 11, pp. 1523–1531. https://doi.org/10.1177%2F0284185119831685CrossRef
35.
go back to reference Paziresh, M., Kingston, A.M., Latham, S.J., Fullagar, W.K., and Myers, G.M., Tomography of atomic number and density of materials using dual-energy imaging and the Alvarez and Macovski attenuation model, J. Appl. Phys., 2016, vol. 119, no. 21, pp. 214901-1–214901-11.https://doi.org/10.1063/1.4950807CrossRef Paziresh, M., Kingston, A.M., Latham, S.J., Fullagar, W.K., and Myers, G.M., Tomography of atomic number and density of materials using dual-energy imaging and the Alvarez and Macovski attenuation model, J. Appl. Phys., 2016, vol. 119, no. 21, pp. 214901-1–214901-11.https://​doi.​org/​10.​1063/​1.​4950807CrossRef
Metadata
Title
Calculation Model of X-Ray Computed Tomography with Density Assessment Function
Authors
S. P. Osipov
I. G. Yadrenkin
S. V. Chakhlov
O. S. Osipov
E. Yu. Usachev
A. A. Manushkin
Publication date
01-03-2021
Publisher
Pleiades Publishing
Published in
Russian Journal of Nondestructive Testing / Issue 3/2021
Print ISSN: 1061-8309
Electronic ISSN: 1608-3385
DOI
https://doi.org/10.1134/S1061830921030049

Other articles of this Issue 3/2021

Russian Journal of Nondestructive Testing 3/2021 Go to the issue

Premium Partners