Abstract
The main goal of the research presented in this paper was to develop a refined machine learning algorithm for industrial tomography applications. The article presents algorithms based on logistic regression in relation to image reconstruction using electrical impedance tomography (EIT) and ultrasound transmission tomography (UST). The test object was a tank filled with water in which reconstructed objects were placed. For both EIT and UST, a novel approach was used in which each pixel of the output image was reconstructed by a separately trained prediction system. Therefore, it was necessary to use many predictive systems whose number corresponds to the number of pixels of the output image. Thanks to this approach the under-completed problem was changed to an over-completed one. To reduce the number of predictors in logistic regression by removing irrelevant and mutually correlated entries, the elastic net method was used. The developed algorithm that reconstructs images pixel-by-pixel is insensitive to the shape, number and position of the reconstructed objects. In order to assess the quality of mappings obtained thanks to the new algorithm, appropriate metrics were used: compatibility ratio (CR) and relative error (RE). The obtained results enabled the assessment of the usefulness of logistic regression in the reconstruction of EIT and UST images.
Keywords: machine learning, electrical impedance tomography, ultrasound tomography, process tomography, image reconstruction
1. Introduction
Tomography is a non-invasive method of identifying the interior of objects [1]. The non-destructive nature of this method is both its advantage and disadvantage. Lack of the necessity of damaging or total destruction of the examined object is burdened with the necessity to solve the inverse problem, which is an immanent feature of every type of tomography [2,3,4].
The inverse problem belongs to the group of so-called ill-posed problems. According to Hadamard, well-conditioned problems must meet three criteria: the solution exists, the solution is unambiguous and the solution is stable [5]. A well-posed problem is likely to be solved on a computer using a stable algorithm [6,7,8]. If the problem is not well-posed, it should be reformulated in a way that allows the use of a numeric algorithm [9]. In such cases, additional assumptions are usually applied, e.g., a smoothness of the solution. Such a process is called regularization. For example, regularization of linear problems is usually carried out by Tikhonov regularization.
In the monitoring of industrial processes (e.g., during crystallization), several measuring techniques can be used simultaneously. One of the possibilities is to combine two methods—electrical impedance tomography and ultrasound transmission tomography. The physical source of data may be electricity, magnetism, sound waves, electromagnetic waves, X-rays, visible light, etc. The most common types of tomography used in industrial processes and medicine are: electrical impedance tomography (EIT) [10,11,12], computed tomography (CT) [13], radio tomographic imaging (RTI) [14], electrical capacitance tomography (ECT) [15,16,17,18,19,20] and ultrasound transmission tomography (UST) [21].
EIT is included in a wider group of methods referred to as electrical tomography (ET) [22,23,24]. ET involves several techniques for image reconstruction including: EIT [25], ERT which is a variation of EIT, and ECT [15,18,19,26,27]. In ECT, we determine the value of the electrical permittivity ε [28,29,30], while EIT and ERT reconstruct the conductivity σ [31]. The difference between EIT and ERT is mainly a matter of name. The term ERT is usually used when the nature of the studied environment is evidently resistant [32]. This is the case, for example, in geological applications of tomography [33,34].
The EIT tomography includes, for example, process industrial tomography, which consists of non-invasive methods of imaging the interior of tanks, reactors or pipes. While the typical area of CT applications is medicine, ERT tomography is applied in the study of geology, and EIT tomography is applied in industry [35]. UST is associated with some forms of medical research, while in industry this method is still not widely used. This is confirmed by the quotation from [36], in which the authors write “in oil and gas industry, the applications of ultrasonic tomography technique for flaw detection in pipeline are limited as this technology is still in its infancy”. When comparing electrical, magnetic and ultrasound tomography, it can be noted that the most innovation is in the field of electrical impedance tomography (EIT) [35], electrical capacitance tomography (ECT) [26] and magnetic resonance [37,38].
There are certain technical and construction conditions of process industrial facilities, which mean the EIT method cannot be used. This happens if, for example, the interior environment of the reactor or tank is highly dielectrical, or the walls of the tank conduct electricity and, due to moisture, the insulation of the electrodes becomes very difficult. In these situations, the appropriate method to replace EIT is UST.
Among the existing problems of process tomography, the following topics can be mentioned: corrosion control of wall loss in places of pipe support [39], imaging of hidden defects inside metal elements [40], reinforced concrete inspection [23,41], detection of cracks or voids in nonmetallic materials [42], monitoring flaws of gas pipelines [36], bubble detection for two-phase liquid and gas [15,20,43], monitoring of flood embankments [11,34,44] and others.
The general purpose of using tomography is a non-invasive imaging of the object interior with the highest possible accuracy and speed. This goal is particularly difficult to achieve if the inclusions are relatively small and occur individually (not in clusters). To overcome these problems, attempts are made to optimally select physical and computational methods for a specific type of tested objects. Researchers are striving to develop a tomography scanner that can be applied to the widest possible range of problems.
The main goal of the research presented in this article is to develop a refined machine learning algorithm for industrial tomography applications. The method proposed in this study is based on machine learning linked to logistic regression. In the literature, one can find attempts to apply logistic regression in both process and medical tomography [45,46].
Most of the novelties in tomographic issues include both equipment (sensors, computer systems) as well as algorithms solving the inverse problem. Considering the frequency and the number of new scientific achievements regarding innovative process industrial solutions, UST is less developed than other tomographic methods. This may be due to the difficulty of developing an efficient system that includes transducers and algorithms that would enable accurate image reconstruction under industrial conditions.
The classic way of solving the inverse problem in tomography is Gauss-Newton method. Other than this approach, currently the most commonly used methods employ machine learning algorithms [27,44]. The popular methods of machine learning used in tomography include neural networks [31], deep learning [27] and statistical methods [47]. Logistic regression is counted among statistical methods of machine learning. Due to the original structure, the presented algorithm based on logistic regression is a fresh proposition in the field of process tomography. Additionally, in order to solve the problem of selecting the relevant input variables in the regression model, the elastic net method was used.
This article consists of four sections. Section 1 presents the state of art regarding tomographic methods and algorithms used in the reconstruction of images in process tomography. Many types of tomography are discussed, taking into account their most common practical applications. A detailed description of the scientific contribution and novelties contained in the presented concept can be found in Section 2. This section also contains a description of the test stand, the data used, elastic net regularization, the multiple logistic regression system (LRS) concept and algorithm, as well as information on the machine learning process. Section 3 presents examples of reconstructions obtained by using the multiple LRS method. The quality of the logistic regression for EIT and UST is also estimated. Two indicators are used as measures of image reconstruction quality: compatibility ratio (CR) and relative error (RE). Section 4 contains a summary, conclusions and directions for further work.
2. Materials and Methods
The article presents two types of tomography—EIT and UST. Each type of tomography requires the use of different hardware. The differences concern sensors and equipment for displaying the output image. In EIT, images are created on a mesh of triangular pixels with a resolution of 2883. UST uses a square screen with a resolution of 128 × 128, which gives 16,384 pixels.
A common feature for both methods is the application of a machine learning algorithm that uses logistic regression to solve the inverse problem, and elastic net regularization of input values. Figure 1 presents test benches for the EIT and UST methods. Based on the measurements carried out, an algorithm was developed to generate training cases necessary for machine learning using computer simulation. The validation of the algorithm was made by comparing simulated measurements with real measurements.
2.1. The Novelty of the Presented Solution
The novelty of the algorithm presented in this article is the combination of elastic net methods and logistic regression to generate the output image from the examples of EIT and UST. The original approach is to use an algorithm consisting of many trained subsystems of an elastic net and logistic regression system (LRS). An elastic net is used to reduce the vector of input variables by removing mutually correlated predictors. After transforming predictors into pixel binary values, a tomographic image is generated. In the case of EIT, the input data for LRS are measurements of voltage drops between the electrodes. For UST, the predictors are the velocity of ultrasound waves emitted in the examined cross-section of the object. The use of multiple LRS generating single-pixel binary classifiers instead of a complex system generating multiple pixels of the output image increases the accuracy of the reconstruction.
The originality of the algorithm is analogous in both the EIT and UST applications. Figure 2a concerns the EIT. It shows an algorithm based on the structure of an ordinary, singular logistic regression unit with 96 inputs and 2883 binary {0,1} outputs. In Figure 2b, for comparison, the multiple LRS with elastic nets scheme is shown. Each of the 2883 LRS after the input data reduction using elastic nets generates a binary classifier as the output, which is a pixel value. Then, reconstructions of all 2883 pixels make up the output image. In the case of UST, the workflow is the same. Only the number of inputs and the resolution of the reconstructed image change.
2.2. Logistic Regression
The main goal of both electric and ultrasound tomography is reconstruction of the cross-section called the field of view. In many cases, we need to specify cross-sections of areas where there are hidden objects requiring imaging. To identify these inclusions, the imaging domain was first defined as a specially developed pixel mesh, acting as finite elements [48]. In the case of EIT, it was a mesh of triangular elements, and for UST they were squares. To answer the question of whether a finite element contains inclusion, it was necessary to define a function whose results belong to a set of binary values {0,1}. The results of this function identify the object by selecting the appropriate pixel with a different color than the background.
In logistic regression, we calculate the probability that the realization of the output variable belongs to the appropriate category. In this case the probability of inclusion was estimated. In addition, the use of logistic regression allows the determination of the resolution of the imaging domain.
Let us consider a data set in which the implementation of the response variable belongs to a binary file. For each finite element, we analyze the training set , where means a series of input variables, is a vector of response variable, and , for and denotes number of measurements gained from transducers and sensors. If the finite element reflects inclusion, then we assume otherwise we take . The training set can be described as , where
Detecting the signal gained from sensors or transducers, it is obligatory to classify the presence or not of inclusion in the finite element. The objective is to discover such a classifier , which allows categorization of the presence of object into categories or based on observation .
We define a random variable with binomial distribution, i.e., on probability space . Logistic regression is a method in which the response variable has a binomial distribution. Based on observation of input variables the logistic regression [49,50,51] describes probability of realization of dependent variable . Therefore, it is necessary to determine probabilities of success , and defeat . In the literature the odds are defined as in Equation (1):
(1) |
Thus, the odds are the ratio probability of success to probability of defeat. The objective of logistic regression is to determine the probability of success based on observation . Since the probability of success , based on Equation (1) it results that the odds but . The logarithm of odds can be called log-odds or logit. In logistic regression the linear dependencies between log-odds and input variables are analyzed as in Equation (2):
(2) |
where . In the case that linear Equation (2) has an intercept, then the column that corresponds to the intercept in matrix contains ones. From Equation (2) we derive Equation (3):
(3) |
Generally, to estimate the unknown parameters in Equation (3), the maximum likelihood technique is applied. From above, the task shown in Equation (4)
(4) |
must be solved, where the likelihood function is defined as in Equation (5):
(5) |
As a replacement for solving Equation (4) we solve the auxiliary task shown in Equation (6):
(6) |
where the objective function is defined as the logarithm of the likelihood function and equals Equation (7):
(7) |
The Newton–Raphson algorithm was applied to determine the unknown parameters . Submission of this algorithm reasons that the unknown parameters are estimated by iterative steps. In the step the estimators are determined by Equation (8):
(8) |
where , represent first and second partial derivatives of the objective function (7).
2.3. Elastic Net
Taking into account the measurements obtained from individual electrode pairs and transducers, one can note that the values are strongly correlated. This phenomenon is referred to as the problem of multicollinearity. If the independent variables (predictors) in the system shown in Equation (2) are correlated, the direct solution of the task in Equation (6) with the direct application of the Newton–Raphson algorithm does not give the expected result. An additional problem is the lack of stability of forecasts based on this model. Therefore, from the full measurement vector, the appropriate predictors (input variables) should be selected, which will then be included in the regression model of Equation (2). Selected predictors should significantly affect the response values and, at the same time, should not generate multicollinearity.
There are many techniques to solve the optimization problem of input variable correlation (6). Among these can be mentioned singular value decomposition, regularization or least angle regression. In the literature, proper examples can be found in [50,52]. A possible way to reduce the problem of multicollinearity between predictors is the application of the elastic net method [49]. An elastic net relies on enforcing a penalty on large values of estimators and involving this penalty in the objective function. To determine the unknown parameters of the logistic regression in Equation (2) for correlated predictors we should solve the task of Equation (9):
(9) |
where and value means the penalty. The elastic net is a mix of ridge regression (Tikhonov regularization) and LASSO (least absolute shrinkage and selection operator). For penalty is a linear combination of vector norm of estimators in spaces , . It is given by Equation (10):
(10) |
This technique causes a reduction of estimators of unknown parameters. Because of this the use of the elastic net method to solve the inverse problem in tomography allows accurate and stable reconstruction images to be obtained [8].
2.4. Electrical Impedance Tomography
The research described in this section uses a method based on many separately trained logistic regression subsystems. The test object was a tank filled with liquid (tap water) with a diameter of 300 mm. A total of 16 electrodes were arranged around the walls of the tank. The data was obtained through EIT. The measuring vector constituting the LRS input consists of 96 input variables (Figure 3). Each of the measurements reflects the voltage drops between 96 pairs of electrodes. In [31] a detailed description of the method of generating the measurement vector was presented. Based on 96 measurements, 2883 LRSs were trained. Each of the 2883 subsystems generates only one binary value, which is then displayed as the pixel of the output image. Since among the 96 input variables considered in the context of a singular binary output a significant number of measurements could be mutually correlated, they were reduced by an elastic net.
The selection of the number of input parameters was estimated separately for each pixel. Figure 3 shows the workflow of the EIT system, converting the input electrical measurements into the output image.
At the input of the EIT system, there are 96 electrical measurements. Then, thanks to the elastic net, each input vector dedicated to a specific pixel is reduced to a dozen or so elements. This situation is shown in Figure 4 where 96 predictors of pixel No. 181 (ψ181) are reduced to 19.
The input vectors, reduced by means of the elastic net, become the inputs of algorithmic subsystems based on the logistic regression (LRS) principle. It should be noted that we are dealing here with a hybrid system, because it combines two methods: the elastic net and logistic regression. In addition, the use of a set of separately trained LRS turns the under-completed problem into over-completed, which significantly improves the chances for better quality of reconstruction. An important issue is also the fact that machine learning in the presented method is applied in two stages. The first stage, when the number of input measures is reduced using the elastic net, and the second stage, when the inverse problem is solved with the use of multiple LRS.
To generate an appropriate training data set, a physical model of an industrial tank was built (Figure 1). Using the finite element method, the tank cross-section mesh together with the electrode system was designed using the MATLAB/EIDORS toolbox. Algorithms generating learning instances were also developed, solving the forward problem. Each case consists of a measurement vector and image generated on a two-dimensional mesh of pixels.
Figure 5 shows one of the 3281 generated cases used for training a predictive system for an EIT model with 16 measuring electrodes (see Figure 3).
Simulation training cases were generated in such a way as to take into account various (random) amounts of inclusions, diameters and positions relative to the tank wall. The presented model corresponds to a 96-element voltage measurement vector. Polarity of the electrodes changes during individual measurements. For this reason, the voltages take positive and negative values. A more precise method of generating simulation data in the form of pseudocode is presented in the article [47].
In the simulation algorithm, Gaussian noise has been implemented with a standard deviation of 4% on the value of a given measurement. The way of adding noise for measurements is presented in Algorithm 1.
Algorithm 1 The MATLAB code to generate noise for measurements |
1: error_level = 0.04; % assumed 4% measurement error level 2: sigma_vector = error_level * measurements; % measurements—columnar vector with measurements % adding 4% error to the measurement values; sigma_vector—columnar vector of standard deviations 3: measurements = measurements + sigma_vector.* randn (length(measurements),1) |
Figure 6 shows a cross-validated MSE (mean squared error) of the elastic net with α = 0.9 for an exemplary single pixel ψ181 of the output image. Coefficient α in Equation (10) is the weight of LASSO versus ridge optimization. The value α = 1 represents LASSO regression, α close to 0 approaches ridge regression, and other values represent elastic net optimization.
The figure indicates two specific lambda values marked with green and blue dashed lines. The green, dashed line shows the value of lambda with a minimum cross-validated mean squared error (LambdaMinMSE). The blue, dashed line indicates the greatest lambda that is within one standard error of the minimum MSE (Lambda1SE). This lambda value makes the sparsest model with relatively low MSE.
Figure 7 on the lower horizontal axis shows the values of estimators β from the L1 norm. The horizontal axis at the top reflects the degrees of freedom (df), meaning the number of nonzero values of beta (β). Beta values represent the coefficients of a sequence of regression fits, as returned from the LASSO function. B is a (p × N) lambda matrix, where p is the number of predictors. Each column of β is a set of coefficients LASSO calculates using one lambda penalty value. When L1 values decrease, the number of degrees of freedom (predictors) also decreases.
Figure 8 is analogous to Figure 7, however, it shows the horizontal axis reflecting the lambda coefficient in relation to the values of beta. Lambda is a penalty factor. It can be noted that along with lambda’s growth there is also a growth of the predictors’ number (df), by means of which the binary value of a given pixel can be predicted. The largest reduction of input variables takes place in the range of . It can be seen that a slight increase in the lambda parameter above zero results in a significant reduction in degrees of freedom.
2.5. Ultrasound Transmission Tomography
As mentioned before, the research described in this paper uses the method based on multiple logistic regression subsystems (LRS) combined with elastic net. The measurement set constituting the LRS input vector consists of 496 measurements. Each of the measurements reflects the time taken for the sound wave to travel the distance between an individual pair of transducers. Each of the 32 transducers placed around the tank walls can both emit and receive ultrasonic signals. If there are no inclusions on the sound wave path, the time is the shortest. Before starting the measurements, the system makes a reference measurement in the environment free of hidden objects. Thanks to this, the presence of some elements disturbs (decreases) the speed of sound, thus increasing the time recorded between specific transducers. On this basis, it is possible to determine the quantity, location and size of the inclusions.
The test object is an industrial tank filled with tap water. Various sets of inclusions were immersed in the water and appropriate sound velocity measurements were made. Knowledge of the location and dimensions, as well as the number, of all inclusions corresponding to individual measurements allowed the creation of a simulation algorithm. In this way, 3602 cases of simulation measurements were generated. The simulation algorithm for generating input data for UST has been developed analogically to the EIT method (see Figure 5).
As mentioned previously, each training vector consisted of 496 measurements and one binary output image with a resolution of 128 × 128 = 16,384 pixels. The number of measurements is the result of using 32 transducers. During one measurement cycle, one of the transducers acts as the sound wave emitter. In the same time the other sensors receive the emitted signal. In this way the full matrix of input vectors counts 992 (32 × 31) measurements. It should be noted that half of the measurements concern the same transducers. The sound wave moves at the same speed regardless of the direction (), so the measurement matrix should be symmetrical. Due to measurement errors, there are usually small differences between the measurements (), hence the symmetric matrix is transformed into a triangular matrix that contains the average values of the sound waves’ speed, as shown in Equation (11):
(11) |
where I is the number of transducers, and j is the number of individual measures in one cycle.
2.6. The Method of Reconstruction
In this further part of the study, the reconstruction with application of logistic regression is presented. Based on measurements obtained from sensors or transducers for the j-th finite element, , the probability of inclusion should be calculated as follows:
(12) |
where is the estimator of unknown parameters for the logistic regression in Equation (2). This process should be repeated for each finite element. The result is a sequence , where for probabilities of hidden object presence for imaging domain.
Modeling of the imaging cross-section therefore consists of the identification of these finite elements, which are a reflection of the detected inclusions and, consequently, on the display of image reconstruction. The main task for solving the problem in question therefore lies in finding a classifier that shows inclusion areas based on the sequence of probabilities. According to the sequence of probabilities of inclusion occurrence (sought for hidden objects), a sequence consisting of elements such as success and failure due to the classification threshold should be defined. Success corresponds to the existence of an inclusion for a finite element. Otherwise the finite element does not consist of an inclusion.
For different thresholds we can obtain different reconstructions of the visual field. The reconstruction of the imaging domain is the sequence , where for and for . The measure of reconstruction quality was the calculation of the value of two indicators. The first indicator determines the effectiveness of the reconstruction and the second its accuracy. To make a meaningful comparison between the pattern and the obtained image reconstruction, the basic property of the scalar product was used (Cauchy–Bunyakovsky–Schwarz inequality).
Let be an image reconstruction corresponding to measures and let be a pattern that corresponds to the same measures. We define the compatibility ratio (CR) as Equation (13):
(13) |
In case the sequences and are collinear (, where ), then .
The relative error (RE) of reconstruction is another indicator that is useful for measuring accuracy:
(14) |
Because the elements of vectors and belong to the binary set, the above indicator shows what percentage part of the imaging domain is different from the pattern image.
3. Results
In order to compare cases of reconstruction of EIT and UST, data generated by simulation were used. Figure 9 shows six examples of reconstructions of EIT made using an elastic net and LRS. A pattern image was assigned to each analyzed case, and the performed reconstructions were divided into three variants differing with the applied coefficient l (classification threshold): l = 0.6, l = 0.5 and l = 0.4.
Analyzing the obtained images, it can be noted that it is not possible to determine which level of the coefficient l is suitable for all reconstructions. For example, in the case of No. 1, containing a single inclusion, the best result was gained for l = 0.4. In turn, in the case of No. 2, despite also a single inclusion, the image closest to the pattern seems to be the image obtained using l = 0.6. Cases 5 and 6 with double inclusions are not satisfactory with any of the used parameters l.
Figure 10 shows the cases of reconstruction of images obtained using an elastic net and LRS with the UST method. All presented reconstructions were made with the classification threshold l = 0.9. The value of coefficient l has been selected experimentally. The obtained images are more repeatable than in the case of EIT. In contrast to EIT, one constant value of the l factor, suitable for different reconstructive cases, can be selected in UST.
Table 1 and Table 2 show the values of reconstruction quality assessment coefficients. As is known, the image compared to the pattern may roughly inform about the quality of the tomography method, but only the use of objective measures enables a meaningful assessment. Table 1 presents CR and RE indices for all EIT reconstructions performed, with respect to three variants of the factor l. The higher the compatibility ratio (CR) and the smaller the relative error (RE), the better the quality of the reconstruction.
Table 1.
CR for Reconstruction with: | RE for Reconstruction with: | |||||
---|---|---|---|---|---|---|
Case ID | l = 0.6 | l = 0.5 | l = 0.4 | l = 0.6 | l = 0.5 | l = 0.4 |
1 | 0.9900 | 0.9927 | 0.9956 | 0.1416 | 0.1207 | 0.0933 |
2 | 0.9868 | 0.9820 | 0.9769 | 0.1637 | 0.1919 | 0.2187 |
3 | 0.9899 | 0.9926 | 0.9954 | 0.1421 | 0.1212 | 0.0955 |
4 | 0.9799 | 0.9812 | 0.9776 | 0.1995 | 0.1931 | 0.2124 |
5 | 0.9679 | 0.9606 | 0.9553 | 0.2568 | 0.2876 | 0.3088 |
6 | 0.9807 | 0.9724 | 0.9639 | 0.1955 | 0.2361 | 0.2736 |
Arithmetic Mean | 0.9825 | 0.9803 | 0.9775 | 0.1832 | 0.1918 | 0.2004 |
Table 2.
Case ID | 1 | 2 | 3 | 4 | 5 | 6 | Arithmetic Mean |
---|---|---|---|---|---|---|---|
CR | 0.9874 | 0.9915 | 0.9958 | 0.9930 | 0.9878 | 0.9864 | 0.9903 |
RE | 0.1585 | 0.1301 | 0.0919 | 0.1185 | 0.1583 | 0.1677 | 0.1375 |
As mentioned in the introduction to this article, cases in which inclusions are relatively small and occur individually (not in clusters) are particularly difficult to tomographically image. One of the most commonly used measures of imaging quality in CT is RMSE (root mean squared error). This indicator is suitable for regression problems, especially where there are large inclusions or a large number of them. In the described case, the output image consists of pixels that take only binary values. For example, if there was one small inclusion in the field of view that would not have been detected by the tomograph, then the RMSE would be close to zero. To avoid such misunderstandings, it was decided to use the CR indicator, which in the mentioned case would reach the value of 1.
The expected time of reconstruction with the use of laptop (battery powered, Intel Core i5 2nd generation) for EIT was about tEIT ≈ 10−3 s, and for UST tUST ≈ 8·× 10−3 s. It should be taken into account that a significant part of this time was not absorbed by the calculation, but by generating a graphic image.
To enable comparison of EIT with UST, both arithmetic mean values of CR and RE coefficients are shown in both tables. It can be seen that in EIT for any of the three variants of the coefficient l, the mean values CR and RE do not match the UST rates. On this basis, it should be stated that better reconstructions were obtained using UST.
4. Conclusions
The article presents examples of the use of logistic regression supported by the elastic net for tomographic imaging in the context of two methods: EIT and UST. The novelty of the presented concept is the training of many logistic regression subsystems (LRS) operating simultaneously, thanks to which each of them generates a binary value of a single pixel of the reconstructed image. The number of LRSs is equal to the resolution of the output image. With this approach, when each LRS based on several or many hundred input variables supports one output, many predictors can be correlated with each other. This causes a distortion of the training process and increases the risk of an overfitting. To filter out unnecessary input variables and reduce the number of predictors, the elastic net method was used. Reduction of inputs significantly simplifies the tomographic system, thanks to which several thousands of LRS subsystems can be used in parallel, avoiding a long reconstruction time. The research carried out showed that the time of a single EIT reconstruction oscillated about tEIT ≈ 10−3 s, and UST tUST ≈ 8·× 10−3 s. This is a sufficiently short time for the described method to be used in industrial processes with significant dynamics, including flow systems.
Due to the limited volume of the text, the article presents only a small part of the obtained results. On the basis of observations of several hundred reconstructions, one can note a certain regularity. In many cases, the reconstruction of objects located in the center of the field of observation by the EIT method is slightly worse, and objects located close to the electrodes are better mapped. Perhaps this is due to the fact that the electric current in the tested environment does not propagate in straight lines. In turn, in the case of UST, slightly better results were obtained for inclusions located closer to the center of the tank, and worse in the vicinity of transducers. This problem can be the result of reflection of sound waves from the tank walls, which introduces interference noise.
The analysis of the obtained results allows one to conclude that it is not possible to choose the one, universal value of classification threshold l appropriate for both EIT and UST. In addition, even within EIT only, the l factor must be selected individually, according to specific cases of reconstruction.
A possible way to overcome the above inconveniences, leading to an increase in the effectiveness of the LRS method, would be to combine the EIT method with UST. This could require installation of both types of sensors around the tested tank: electrodes for EIT and transducers for UST. This idea requires prior solving of several technical problems related to the packing of such a large number of different sensors in close proximity, but we think that it is feasible. Therefore, future research will investigate verification of the super-hybrid method not only at the algorithmic level (LRS + elastic net) but also at the physical level (EIT + UST).
Acknowledgments
The authors would like to thank the authorities and employees of the Institute of Mathematics, Maria Curie-Skłodowska University, Lublin, Poland for sharing supercomputing resources.
Author Contributions
Conceptualization, T.R.; Data curation, E.K.; Formal analysis, G.K., K.N.; Funding acquisition, T.R.; Investigation, G.K., K.N.; Methodology, E.K.; Project administration, T.R.; Software, E.K., G.K., K.N.; Supervision, T.R.; Validation, E.K.; Visualization, E.K.; Writing—original draft, G.K.; Writing—review & editing, G.K.
Funding
This research received no external funding.
Conflicts of Interest
The authors declare no conflict of interest.
References
- 1.Goetzke-Pala A., Hoła A., Sadowski Ł. A non-destructive method of the evaluation of the moisture in saline brick walls using artificial neural networks. Arch. Civ. Mech. Eng. 2018;18:1729–1742. doi: 10.1016/j.acme.2018.07.004. [DOI] [Google Scholar]
- 2.Rymarczyk T., Adamkiewicz P., Duda K., Szumowski J., Sikora J. New electrical tomographic method to determine dampness in historical buildings. Arch. Electr. Eng. 2016;65:273–283. doi: 10.1515/aee-2016-0019. [DOI] [Google Scholar]
- 3.Polakowski K., Filipowicz S.F., Sikora J., Rymarczyk T. Quality of imaging in multipath tomography. Prz. Elektrotech. 2009;85:134–136. [Google Scholar]
- 4.Goetzke-Pala A., Hoła J. Influence of burnt clay brick salinity on moisture content evaluated by non-destructive electric methods. Arch. Civ. Mech. Eng. 2016;16:101–111. doi: 10.1016/j.acme.2015.08.001. [DOI] [Google Scholar]
- 5.Hoff P.D. Lasso, fractional norm and structured sparse estimation using a Hadamard product parametrization. Comput. Stat. Data Anal. 2017;115:186–198. doi: 10.1016/j.csda.2017.06.007. [DOI] [Google Scholar]
- 6.Kłosowski G., Kozłowski E., Gola A. Integer Linear Programming in Optimization of Waste after Cutting in the Furniture Manufacturing. Volume 637. Springer International Publishing; Basel, Switzerland: 2018. [Google Scholar]
- 7.Kozłowski E., Mazurkiewicz D., Kowalska B., Kowalski D. Advances in Intelligent Systems and Computing. Volume 637. Springer; Cham, Switzerland: 2018. Binary Linear Programming as a Decision-Making Aid for Water Intake Operators; pp. 199–208. [Google Scholar]
- 8.Vališ D., Mazurkiewicz D. Application of selected Levy processes for degradation modelling of long range mine belt using real-time data. Arch. Civ. Mech. Eng. 2018;18:1430–1440. doi: 10.1016/j.acme.2018.05.006. [DOI] [Google Scholar]
- 9.Lopato P., Chady T., Sikora R., Gratkowski S., Ziolkowski M. Full wave numerical modelling of terahertz systems for nondestructive evaluation of dielectric structures. COMPEL-Int. J. Comput. Math. Electr. Electron. Eng. 2013;32:736–749. doi: 10.1108/03321641311305719. [DOI] [Google Scholar]
- 10.Rymarczyk T. New methods to determine moisture areas by electrical impedance tomography. Int. J. Appl. Electromagn. Mech. 2016;52:79–87. doi: 10.3233/JAE-162071. [DOI] [Google Scholar]
- 11.Rymarczyk T. Using electrical impedance tomography to monitoring flood banks. Int. J. Appl. Electromagn. Mech. 2014;45:489–494. doi: 10.3233/JAE-141868. [DOI] [Google Scholar]
- 12.Porzuczek J. Assessment of the Spatial Distribution of Moisture Content in Granular Material Using Electrical Impedance Tomography. Sensors. 2019;19:2807. doi: 10.3390/s19122807. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Babout L., Grudzień K., Wiącek J., Niedostatkiewicz M., Karpiński B., Szkodo M. Selection of material for X-ray tomography analysis and DEM simulations: Comparison between granular materials of biological and non-biological origins. Granul. Matter. 2018;20:38. doi: 10.1007/s10035-018-0809-y. [DOI] [Google Scholar]
- 14.Bartusek K., Fiala P., Mikulka J. Numerical modeling of magnetic field deformation as related to susceptibility measured with an MR system. Radioengineering. 2008;17:113–118. [Google Scholar]
- 15.Banasiak R., Wajman R., Jaworski T., Fiderek P., Fidos H., Nowakowski J., Sankowski D. Study on two-phase flow regime visualization and identification using 3D electrical capacitance tomography and fuzzy-logic classification. Int. J. Multiph. Flow. 2014;58:1–14. doi: 10.1016/j.ijmultiphaseflow.2013.07.003. [DOI] [Google Scholar]
- 16.Garbaa H., Jackowska-Strumiłło L., Grudzień K., Romanowski A. Application of electrical capacitance tomography and artificial neural networks to rapid estimation of cylindrical shape parameters of industrial flow structure. Arch. Electr. Eng. 2016;65:657–669. doi: 10.1515/aee-2016-0046. [DOI] [Google Scholar]
- 17.Kryszyn J., Smolik W. Toolbox for 3D modelling and image reconstruction in electrical capacitance tomography. Inform. Control Meas. Econ. Environ. Prot. 2017;7:137–145. doi: 10.5604/01.3001.0010.4603. [DOI] [Google Scholar]
- 18.Kryszyn J., Wanta D.M., Smolik W.T. Gain Adjustment for Signal-to-Noise Ratio Improvement in Electrical Capacitance Tomography System EVT4. IEEE Sens. J. 2017;17:8107–8116. doi: 10.1109/JSEN.2017.2744985. [DOI] [Google Scholar]
- 19.Majchrowicz M., Kapusta P., Jackowska-Strumiłło L., Sankowski D. Acceleration of image reconstruction process in the electrical capacitance tomography 3D in heterogeneous, multi-GPU system. Inform. Control Meas. Econ. Environ. Prot. 2017;7:37–41. doi: 10.5604/01.3001.0010.4579. [DOI] [Google Scholar]
- 20.Wajman R., Fiderek P., Fidos H., Jaworski T., Nowakowski J., Sankowski D., Banasiak R. Metrological evaluation of a 3D electrical capacitance tomography measurement system for two-phase flow fraction determination. Meas. Sci. Technol. 2013;24:065302. doi: 10.1088/0957-0233/24/6/065302. [DOI] [Google Scholar]
- 21.Ziolkowski M., Gratkowski S., Zywica A.R. Analytical and numerical models of the magnetoacoustic tomography with magnetic induction. COMPEL-Int. J. Comput. Math. Electr. Electron. Eng. 2018;37:538–548. doi: 10.1108/COMPEL-12-2016-0530. [DOI] [Google Scholar]
- 22.Wang M. Industrial Tomography: Systems and Applications. Woodhead Publishing; Sawston/Cambridge, UK: 2015. [Google Scholar]
- 23.Grudzien K., Chaniecki Z., Romanowski A., Sankowski D., Nowakowski J., Niedostatkiewicz M. Application of twin-plane ECT sensor for identification of the internal imperfections inside concrete beams; Proceedings of the 2016 IEEE International Instrumentation and Measurement Technology Conference Proceedings; Taipei, Taiwan. 23–26 May 2016; pp. 1–6. [Google Scholar]
- 24.Kryszyn J., Smolik W., Olszewski T., Szabatin R. Development of electrical capacitance tomograph design in the nuclear and medical electronics division. Inform. Control Meas. Econ. Environ. Prot. 2017;7:111–114. doi: 10.5604/01.3001.0010.4597. [DOI] [Google Scholar]
- 25.Dusek J., Hladky D., Mikulka J. Electrical impedance tomography methods and algorithms processed with a GPU; Proceedings of the 2017 Progress In Electromagnetics Research Symposium-Spring (PIERS); St. Petersburg, Russia. 22–25 May 2017; Piscataway, NJ, USA: IEEE; 2017. pp. 1710–1714. [Google Scholar]
- 26.Romanowski A. Big Data-Driven Contextual Processing Methods for Electrical Capacitance Tomography. IEEE Trans. Ind. Inform. 2019;15:1609–1618. doi: 10.1109/TII.2018.2855200. [DOI] [Google Scholar]
- 27.Zheng J., Li J., Li Y., Peng L. A Benchmark Dataset and Deep Learning-Based Image Reconstruction for Electrical Capacitance Tomography. Sensors. 2018;18:3701. doi: 10.3390/s18113701. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Romanowski A. Contextual Processing of Electrical Capacitance Tomography Measurement Data for Temporal Modeling of Pneumatic Conveying Process; Proceedings of the 2018 Federated Conference on Computer Science and Information Systems (FedCSIS); Poznan, Poland. 9–12 September 2018; pp. 283–286. [Google Scholar]
- 29.Soleimani M., Mitchell C.N., Banasiak R., Wajman R., Adler A. Four-dimensional electrical capacitance tomography imaging using experimental data. Prog. Electromagn. Res. 2009;90:171–186. doi: 10.2528/PIER09010202. [DOI] [Google Scholar]
- 30.Tong G., Liu S., Liu S. Computationally efficient image reconstruction algorithm for electrical capacitance tomography. Trans. Inst. Meas. Control. 2019;41:631–646. doi: 10.1177/0142331218763013. [DOI] [Google Scholar]
- 31.Rymarczyk T., Kłosowski G., Kozłowski E. A Non-Destructive System Based on Electrical Tomography and Machine Learning to Analyze the Moisture of Buildings. Sensors. 2018;18:2285. doi: 10.3390/s18072285. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Duraj A., Korzeniewska E., Krawczyk A. Classification algorithms to identify changes in resistance. Prz. Elektrotech. 2015;1:82–84. doi: 10.15199/48.2015.12.19. [DOI] [Google Scholar]
- 33.Szczesny A., Korzeniewska E. Selection of the method for the earthing resistance measurement. Prz. Elektrotech. 2018;94:178–181. [Google Scholar]
- 34.Kłosowski G., Rymarczyk T., Gola A., Kłosowski G., Rymarczyk T., Gola A. Increasing the reliability of flood embankments with neural imaging method. Appl. Sci. 2018;8:1457. doi: 10.3390/app8091457. [DOI] [Google Scholar]
- 35.Rymarczyk T., Kłosowski G., Cieplak T., Kozlowski E. Application of a neural EIT system to control the processes; Proceedings of the 2018 Applications of Electromagnetics in Modern Techniques and Medicine(PTZE); Racławice, Poland. 9–12 September 2018. [Google Scholar]
- 36.Nordin N., Idroas M., Zakaria Z., Ibrahim M.N. Tomographic image reconstruction of monitoring flaws on gas pipeline based on reverse ultrasonic tomography; Proceedings of the IEEE 2014 5th International Conference on Intelligent and Advanced Systems (ICIAS); Kuala Lumpur, Malaysia. 3–5 June 2014; Piscataway, NJ, USA: IEEE; 2014. pp. 1–6. [Google Scholar]
- 37.Mikulka J. GPU-Accelerated Reconstruction of T2 Maps in Magnetic Resonance Imaging. Meas. Sci. Rev. 2015;15:210–218. doi: 10.1515/msr-2015-0029. [DOI] [Google Scholar]
- 38.Krawczyk A., Korzeniewska E. Magnetophosphenes–history and contemporary implications. Prz. Elektrotech. 2018;1:63–66. doi: 10.15199/48.2018.01.16. [DOI] [Google Scholar]
- 39.Volker A., Van Zon T. Ultrasonic multi-skip tomography for pipe inspection; Proceedings of the AIP Conference Proceedings; Delft, The Netherlands. 24 January 2013. [Google Scholar]
- 40.Kang L., Zhang C., Chen P., Li J., Zhang Y. Electromagnetic ultrasonic tomography of plate defects based on omnidirectional Lamb-wave EMATs; Proceedings of the Proceedings of 2015 IEEE Far East NDT New Technology and Application Forum(FENDT); Zhuhai, China. 28–31 May 2015. [Google Scholar]
- 41.Soetomo K., Rahma T.F., Juliastuti E., Kurniadi D. Ultrasonic tomography for reinforced concrete inspection using algebraic reconstruction technique with Iterative Kaczmarz method; Proceedings of the 2016 International Conference on Instrumentation, Control and Automation (ICA); Bandung, Indonesia. 29–31 August 2016; Piscataway, NJ, USA: IEEE; 2016. pp. 16–21. [Google Scholar]
- 42.Yan B., Wu C., Ma H. Study on the method of nonmetallic defects based on ultrasonic tomography and morphology; Proceedings of the 2017 12th IEEE Conference on Industrial Electronics and Applications (ICIEA); Siem Reap, Cambodia. 18–20 June 2017; Piscataway, NJ, USA: IEEE; 2017. pp. 1287–1292. [Google Scholar]
- 43.Rahman Mohd Yunus F., Azida Noor Azlan N., Nor Ayob N.M., Pusppanathan J., Fahajumi Jumaah M., Chiew Loon G., Abdul Rahim R., Ahmad A., Md Yunus Y., Rahim H. Simulation Study of Bubble Detection Using Dual-Mode Electrical Resistance and Ultrasonic Transmission Tomography for Two-Phase Liquid and Gas. Sens. Transducers. 2013;150:97–105. [Google Scholar]
- 44.Cheng X., Li Q., Zhou Z., Luo Z., Liu M., Liu L. Research on a Seepage Monitoring Model of a High Core Rockfill Dam Based on Machine Learning. Sensors. 2018;18:2749. doi: 10.3390/s18092749. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Li X., Lu Y., Wang J., Dang X., Wang Q., Duan X., Sun Y. An image reconstruction framework based on deep neural network for electrical impedance tomography; Proceedings of the 2017 IEEE International Conference on Image Processing (ICIP); Beijing, China. 17–20 September 2017; Piscataway, NJ, USA: IEEE; 2017. pp. 3585–3589. [Google Scholar]
- 46.Cai X.-D., Yang Y., Li J., Liao X., Qiu S., Xu J., Zhang M., Huang Y., Huang Z.-H., Ma H.-M. Logistic regression analysis of clinical and computed tomography features of pulmonary abscesses and risk factors for pulmonary abscess-related empyema. Clinics. 2019;74:e700. doi: 10.6061/clinics/2019/e700. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Rymarczyk T., Kłosowski G., Kozłowski E., Tchórzewski P. Comparison of Selected Machine Learning Algorithms for Industrial Electrical Tomography. Sensors. 2019;19:1521. doi: 10.3390/s19071521. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Psuj G. Multi-Sensor Data Integration Using Deep Learning for Characterization of Defects in Steel Elements. Sensors. 2018;18:292. doi: 10.3390/s18010292. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Hastie T., Tibshirani R., Friedman J., Franklin J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer; New York, NY, USA: 2009. [Google Scholar]
- 50.Tibshirani R. Regression Shrinkage and Selection via the Lasso. J. R. Stat. Soc. Ser. B. 1996;58:267–288. doi: 10.1111/j.2517-6161.1996.tb02080.x. [DOI] [Google Scholar]
- 51.Xin Y., Su X.G. Linear Regression Analysis-Theory and Computing. World Scientific Publishing Co. Pte. Ltd.; Singapore: 2010. [Google Scholar]
- 52.Zou H., Hastie T. Regularization and variable selection via the elastic net. J. R. Stat. Soc. Ser. B Stat. Methodol. 2005;67:301–320. doi: 10.1111/j.1467-9868.2005.00503.x. [DOI] [Google Scholar]