5.1.1. Reconstructions Based on Valid Datasets
As discussed previously, the existence of electrodes not in contact with conductive medium would introduce errors into the conventional ERT system. We established a current sensing module to locate the erroneous electrodes and eliminate the incorrect measurements accordingly. In this section, the necessity of identifying the valid datasets for reconstructions in the cases of part full pipe applications is justified by comparing images of inclusions recovered from the valid against those from the full datasets.
Experiments were conducted by collecting the background datasets with the tank full and second datasets after inserting a small and medium inclusion under five different liquid levels, as shown in
Table 3 and
Table 4. The real distributions of the phantoms are also provided for reference.
Evidently, with no knowledge of erroneous measurements, the inaccurate measurements can seriously distort the images, especially in the small inclusion tests. On the other hand, the valid datasets managed to recover both the gas void and the inclusion in all tests.
5.1.2. Investigation on Limited Region Method
With the confidence of reconstructions using incomplete datasets, a further investigation on the advantages of applying prior knowledge of the conductive phase area will be discussed in this section.
Three different water levels were considered in both single and multiple inclusion tests:
Level 1: Electrodes 4–14 are submerged in the water;
Level 2: Electrodes 5–13 are submerged in the water;
Level 3: Electrodes 5–12 are submerged in the water,
where the electrode numbering is referred to in
Figure 4.
As suggested previously, sewers are advised to run at part full conditions under normal operation; thus the full tank data are mostly inaccessible. To model such circumstances, we conducted the experiments using datasets taken before and after the insertion of the anomalies in the part full pipes. The influence of liquid level increase caused by the insertions was also ignored to simplify the problem and focus on recovering targets within the conductive phase. That is to say, the liquid level is kept the same for both before and after adding the inclusions to make sure conductivity changes are entirely generated by the addition of targets. Reconstructions were completed and compared between the global method and the limited region method.
In all cases, small (2 cm diameter) and medium (3 cm diameter) plastic rods were placed at various locations under the water within the pipe.
The reconstructed images of two objects using the global and localised methods (ROI) are presented in comparison to the real distribution within the phantom in
Table 5 Table 6 and
Table 7. As previously explained, the purpose of this work is to reconstruct the changes within the conductive phase rather than finding the interface between the liquid and gas phases. The distinct boundaries in the localised reconstructed images, i.e., in ROI columns, are used to mark the ROI area, above which the conductivity changes were set to zero.
In
Table 5, the ROI images do not show an obvious improvement in image quality as the water level is relatively high and not much information is missing due to the exclusion of erroneous measurements. However, a notably better shape preservation of objects can be observed from the ROI images in
Table 6 and
Table 7 as opposed to the global images. Additionally, as the objects move from the edge (P1) to the centre (P3) of the pipe in each table, both reconstruction methods tend to generate severely distorted images. Yet, with the global images in P3 rows of
Table 7 inaccurately spread beyond the conductive area, which would massively mislead the information processing, the ROI method brings the robustness by reliably localising the objects.
Another set of tests were carried out with more than one sample in the tank and the results are presented in
Table 8. As the small object tends to generate low amplitude responses, we placed the small object closer to the boundary of the phantom to simplify the problem. As stated before, when the water level is sufficiently high, which is Level 1 in our case, applying the localised method does not make an impressive difference to the image qualities. This can also be confirmed in the multiple sample test in the Level 1 row of
Table 8. It is also notable that in the Level 1 simulation, both global and ROI methods struggled to separate these two inclusions. This is due to the fact that one inclusion is placed next to the boundary whereas the other is closer to the centre. Nevertheless, the better distinguishability of two objects brought by ROI method can be noted in the Level 3 test.
5.1.3. Image Analysis of Single Inclusion Experiments
To further quantitatively analyse the effect of applying limited region method in the single inclusion tests, four evaluation parameters were introduced. Due to the complexity of the images and image reconstructions involved in ERT problems, we introduced two sets of evaluation parameters to make a comprehensive inspection. Firstly, we adopted three figures of merits defined in [
19], which focus on the quality of targets, namely position error (PE), shape deformation (SD), and amplitude response (AR). The significance of these parameters in the wastewater flow applications were discussed in [
19]. Secondly, three additional parameters were introduced to make judgements on the overall performance of reconstructions, including the correlation coefficient (CC), relative error (RE), and computational time (CT).
Each reconstructed image is comprised of 50 × 50 pixels and for a better accuracy of the evaluation parameters, images are resized to 200 × 200 pixels and can be represented by a column vector
. In the reconstructed images
, a threshold of one-fourth of the maximum amplitude is applied, which detects most of the visually significant effects:
In
Figure 6, the position errors of using two methods are plotted against various locations in all three level cases. The PE plot of the medium object at Location 1 in
Figure 6a does not suggest a significant improvement by using the localised method. As the liquid level goes down and the objects are placed further away from the boundary, PEs see a notable increase with all reconstruction mechanisms. However, applying the localised algorithm manages to lower the PEs for both small and medium objects when compared with the images reconstructed using traditional global method.
The shape deformation is compared between the global and limited region methods in
Figure 7. An increase in SD for both methods is seen as the objects get further away from the boundary, which again confirms the reconstruction difficulty due to the ill-posed nature of ERT problems. The lower value of SD produced by the ROI reconstruction, especially in the cases of lower water level cases (in
Figure 7b,c), however, can confirm a better preservation of using such method.
In
Figure 8, the sizes of the objects are known and the AR of the reconstructed images using the global and localised methods can be compared against the real distribution. In each plot, the theoretical amplitude response is plotted in dashed lines as a reference. The reconstructions using the localised method perform better than those using the global method as ARs of ROI images are closer to the corresponding theoretical values.
Correlation coefficient compares the similarity of the reconstructed images to the real distribution. For two grayscale images
,
, the correlation is defined by:
where
is covariance, and
,
are standards deviations of the pixel values. The closer CC is to 1, the more similar the reconstructed image
is to the real images
.
The plots of CC of the experimental tests under three water levels are presented in
Figure 9. As discussed before, a low water level, the close position to the centre of inclusions and a small inclusion size could lead to the difficulty of image reconstruction. This can also be observed as a decrease in correlation coefficient between the reconstructed and the true images. Moreover, the CCs of ROI images are generally smaller than those of global images, which advises an improvement made by the limited region reconstruction method.
Relative error measures the difference between the reconstructed images and the real images with respect to the real images. It can be defined as
As suggested from the definition of RE, a smaller value indicates a better reconstruction quality.
Figure 10 compares the RE plots of the reconstructed images using global and limited region methods. The advantages of applying the proposed method become noticeable when fewer valid measurements are available. As mentioned previously, RE, as well as CC, is introduced to assess the overall reconstruction performances rather than only the target qualities. However, as the demonstrations were set up with one inclusion for simplification, the overall performance of the reconstructions agrees with the target qualities. This can be confirmed by lower REs and Higher CCs offered by ROI mechanism in
Figure 9 and
Figure 10. That is to say, the CCs and REs manifest a better recovery of the real images offered by using ROI method as opposed to the global method, as suggested in PE, SD and AR analysis.
The computation time is the time required for executing the image reconstruction. As we introduced FEM to simplify the continuous problem into a discretized problem, the image reconstruction is concretely a matrix calculation problem in practice. In the limited region method, the sensitivity matrices involve fewer elements when the size of individual element remains the same; and hence it will spend less time in the mathematical calculation. The computation time (in seconds) taken for recovering small and medium objects in the three water level tests is listed below in
Table 9.
As discussed before, in both the medium and small object tests, the computation time of the limited region method is always smaller than that of global region method. It is also worth noting that, as the water level drops, the ROI area shrinks accordingly, which results in a shorter computation time. This also offers an opportunity for using the localised method to increase the spatial resolution with a finer segmentation under the same computation time.