Skip to Content
You are currently on the new version of our website. Access the old version .
SensorsSensors
  • Article
  • Open Access

30 June 2023

16 Pages

Image-Processing-Based Subway Tunnel Crack Detection System

,
,
and
1
School of Land Engineering, Chang’an University, Xi’an 710054, China
2
Shaanxi Province Institute of Geological Survey, Xi’an 710054, China
3
Shaanxi Hydrogeology Engineering Geology and Environment Geology Survey Center, Xi’an 710068, China
4
Shaanxi Engineering Technology Research Center for Urban Geology and Underground Space, Xi’an 710068, China

Abstract

With the increase in urban rail transit construction, instances of tunnel disease are on the rise, and cracks have become the focus of tunnel maintenance and management. Therefore, it is essential to carry out crack detection in a timely and efficient manner to not only prolong the service life of the tunnel but also reduce the incidence of accidents. In this paper, the design and structure of a tunnel crack detection system are analyzed. On this basis, this paper proposes a new method for crack identification and feature detection using image processing technology. This method fully considers the characteristics of tunnel images and the combination of these characteristics with deep learning, while a deep convolutional network (Single-Shot MultiBox Detector (SSD)) is proposed based on deep learning for object detection in complex images. The experimental results show that the test set accuracy and training set accuracy of the support vector machine (SVM) in the classification comparison test are up to 88% and 87.8%, respectively; while the test accuracy of Alexnet’s deep convolutional neural network-based classification and identification is up to 96.7%, and the training set accuracy is up to 97.5%. It can be seen that this deep convolutional network recognition algorithm based on deep learning and image processing is better and more suitable for the detection of cracks in subway tunnels.

1. Introduction

With the continuous development of urban subway construction and the continued existence of tunnels constructed even earlier, various types of diseases have appeared in subway tunnels [1,2]. Due to the low tensile strength of concrete, small cracks are generally generated on the surface of the concrete. Such small cracks do not affect the mechanical properties of the tunnel and are, therefore, classed as harmless cracks [3]. However, under the action of temperature change, foundation settlement, steel corrosion, and other factors, the development and interconnection of microcracks can eventually lead to a deterioration in performance, and, thus, it is necessary to strengthen our detection of these cracks [4]. It is difficult to identify the initial characteristics of early tunnel cracks. If we can find such cracks early and take reasonable and effective preventive measures, this would greatly reduce the difficulty in later maintenance work and reduce maintenance costs. Therefore, it is necessary to intensify the work regarding the operation, maintenance, and inspection of tunnels to improve their overall safety level [5].
The widespread use of image processing technology in various detection fields is the result of the continuous advancement of computer technology, which can solve some of the past shortcomings of traditional detection [6,7]. The ability to use image processing technology for long-distance, noncontact crack identification not only protects the safety of workers but also prevents damage to the tunnel itself. Therefore, it is crucial to study and develop a crack detection system combined with this image processing technology by utilizing the characteristics of tunnel images. This article proposes a subway tunnel crack recognition system based on methods such as grayscale erosion, block contrast, stretching, and binarization to improve image contrast and quality. Due to the high grayscale values of the background area and the low grayscale values of the crack area, the difference in grayscale values between two regions is used to classify image pixels. By maximizing the variance between classes, the system automatically calculates the threshold and updates it based on the segmentation effect. The modified threshold can effectively identify cracks in the image background, maximize the protection of crack information, and correct the noise sensitivity defects of edge detection operators. It also maintains the enhanced characteristics of cracks to better detect them.

4. Crack Detection Experiment Based on Image Processing

4.1. Image Grayscale Transformation Experiment

Because nonlinear stretching can only expand or compress the regions with low or high grayscale values, it is not generally suitable for the grayscale transformation of crack images. Therefore, this paper mainly compares linear stretching and histogram equalization. The comparison between the original image and the linear stretching effect is shown in Figure 7.
Figure 7. Comparison of an original image and a linear-stretched rendering.
It can be seen from Figure 7 that the grayscale values of the original image are not clear and it is difficult to capture fine cracks, but after histogram equalization, the contrast between the crack image and the background image is significantly enhanced. The corresponding histogram is shown in Figure 8.
Figure 8. Comparison of original histogram and linear-stretched histogram. (a) Original histogram. (b) Linear-stretched histogram.
It can be seen from Figure 8a that the grayscale values of the original crack image are mainly concentrated in the grayscale value range of 90–150, the fluctuation is large, and other grayscale areas are not widely covered. As can be seen from Figure 8b, due to the linear stretching, the grayscale values of the image evenly cover the entire grayscale range of 20–260. After the comparison based on grayscale experiments, the projection characteristics of the cracks are then compared. In this paper, the fracture projection was drawn in the coordinate system, and the projection curve was obtained. Projection results for transverse cracks, longitudinal cracks, and oblique cracks in the horizontal and vertical directions are shown in Figure 9.
Figure 9. Projections of transverse cracks, longitudinal cracks, and oblique cracks in the horizontal and vertical directions. (a) The horizontal projection of the transverse cracks. (b) The vertical projection of the transverse cracks. (c) The horizontal projection of the longitudinal cracks. (d) The vertical projection of the longitudinal cracks. (e) Horizontal projection of the oblique fissures. (f) Vertical projection of the oblique fissures.
It can be seen from Figure 9a that the transverse cracks have an obvious peak value in the horizontal direction, and the fluctuation range of the value is large. As Figure 9b shows, the projected distribution of transverse cracks in the vertical direction is uniform and gentle. From Figure 9c, it can be seen that the longitudinal cracks are directional and the projection distribution is relatively uniform. Figure 9d shows that the longitudinal cracks are opposite to the transverse cracks and have obvious peaks. While Figure 9e shows that the oblique cracks do not have large fluctuations in the horizontal direction. Finally, it can be seen from Figure 9f that the projection of the oblique cracks in the vertical direction is relatively gentle, and the projection in the horizontal direction is broadly similar.

4.2. Image Target Detection Experiment

Using deep learning, this paper constructs an SSD deep convolutional neural network and verifies and analyzes it, as shown in Table 1.
Table 1. The number of targets included in the sample library.
As shown in Table 1, on the basis of the sample library test, 9171 actual images of subway tunnels and 21,547 target real-label value boxes are obtained by adopting the balanced improvement method. The training set contains 7130 images, the validation set contains 1020 images, and the test set contains 1021 images. After the training, the model generated by the training set is used to detect the tunnel image directly obtained by the detection system. Different confidence thresholds can be set, and prediction boundaries that meet different score requirements can be obtained. In the actual regular inspection of subway tunnels, the focus is on whether cracks can be found to determine the areas of concern. That is, it tries to ensure that all objects are detected. The detection rates of cracks under different confidence threshold ranges are shown in Table 2.
Table 2. Fracture detection rates under different confidence threshold ranges.
Under the confidence level of 0.1, a total of 1240 cracks were detected, with a detection rate of 92.96%. At the confidence level of 0.5, 878 cracks were detected, and the detection rate was 64.38%. Therefore, in the detection results, especially for small cracks, the repeated box selection of multiple prediction boxes is prone to occur, but this does not affect the overall detection effect. This method needs to be perfected in future research, and the recognition accuracy for complex images in subway tunnels can be improved by further fusion.

4.3. Experimental Results of Image Classification and Recognition

Due to the difficulty in identifying crack images in subway tunnels, the function was continuously adjusted according to the experimental results during the experiment to improve efficiency and accuracy. In this experiment, a total of 3000 data images were selected, the data images were extracted with features, the output data were normalized, and then the output data were read and trained. Because the initial weights were random, the error in the result was also random, and the training result taken was the best training result selected from multiple experiments. The experimental result can be obtained as long as some output(s) approaches 1 and other outputs approach 0, as then the fracture type can be determined. The experimental classification results are shown in Figure 10.
Figure 10. Experimental results of fracture classification.
The experimental results show that the detection accuracy with transverse cracks reached 92.3%; the detection accuracy with longitudinal cracks reached 94.0%; and the detection accuracy with oblique cracks reached 90.8%. The output results of the analysis can be obtained for transverse cracks and longitudinal cracks with regular shapes, because, even if they have a certain angle in the horizontal or vertical direction, this would not affect the results of the system judgment, and at the same time, a high classification accuracy can be achieved. This verifies the rationality of feature selection. However, considering that not all cracks are regularly shaped, some misclassified crack images were found during the experiment. Because of the distortion and ductility of the cracks in these images, it is difficult to define their type manually, and the analysis of the misclassified images shows that it is this type of crack image that interferes with the judgment results. At the same time, it can be seen that the set of eigenvectors selected in the experiment can classify and identify cracks well, and the average accuracy rate of the system for the identification of the three types of cracks reached 92.4%.
Using the original image sample library for classification and recognition, the training accuracy was 74.7% and 69.2%, respectively. By combining the feature texture after pixel processing with the improved bounding rectangle correspondence, a better sample library was obtained. The training accuracy reached 87.8%, and the test accuracy reached 88%. At the same time, a comparison experiment between subway tunnel image classification and recognition was carried out with the improved Alexnet deep convolutional network, and the experimental results are shown in Table 3.
Table 3. Classification and recognition accuracy of sample library based on Alexnet deep convolutional network.
As can be seen from Table 3, the model was classified and identified based on the Alexnet deep convolutional neural network. The results show that the training accuracy and test accuracy of the method were 87% and 88.2%, respectively. Compared with the original image, the training accuracy of the binarized image sample library was 79.6%. This approach uses the method corresponding to the minimum circumscribed rectangle of the feature texture connection area after pixel processing to establish a new sample library. The sample library has the characteristics of completeness, large proportions, and extractability. The method has a training accuracy of 94.3% and a test accuracy of 93%. The main reason for this is that, after batch preprocessing and hierarchical feature analysis, the tunnel image was converted from a three-channel image to a grayscale binary image, the content information was reduced, and the features that can be extracted during classification and recognition were reduced. It is difficult to distinguish cracks from pseudo-cracks or small cracks from noise by using the pixel information contained in the grayscale binary image. On this basis, the extracted original image was matched with the improved circumscribed rectangle to make its size broadly the same. This reduces the impact of network feature extraction and classification prediction, achieving a 97.5% training accuracy and 96.7% testing accuracy. This classification and identification algorithm is fast and accurate and cannot be affected by human subjective factors. It can be directly used for real image detection in subway tunnels.

5. Conclusions

(1)
With the aim of identifying complex crack images in subway tunnels, a deep-learning-based SSD deep convolutional neural network method was proposed.
(2)
In the experiment, original images and linear-stretched effect maps, as well as the horizontal and vertical projection results, of transverse cracks, longitudinal cracks, and oblique cracks, were compared. In order to verify the application of this method in subway tunnels, an SVM-based classification and identification method was adopted.
(3)
Experiments show that the method combining image processing and deep learning has better performance than the SVM-based classification and recognition method.
(4)
There are still several issues that need to be resolved because of the complicated internal environment of subway tunnels, the numerous interference elements, and the constrained number of image samples. Therefore, the algorithm still needs to be optimized and improved, and the scientific basis and rigor of the experiment should be strengthened in future work.

Author Contributions

Conceptualization, X.L., Z.H., W.S. and X.G.; methodology, X.L., Z.H. and X.G.; validation, W.S. and X.G.; formal analysis, X.L.; investigation, Z.H. and W.S.; resources, Z.H. and W.S.; data curation, X.G.; writing—original draft preparation, X.L.; writing—review and editing, X.L., Z.H. and X.G.; supervision, Z.H. and W.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Shaanxi Provincial Key Laboratory of Land Consolidation, “Soil Pollution Research in Typical Mining Areas in Northern Shaanxi” (2019-ZY01), by the Shaanxi Provincial Key R&D Program (2021SF2-02), and was co-funded by the Shaanxi Provincial Public Welfare Geology Project (202109).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fu, H.; Deng, H.; Zhao, Y.; Chang, X.; Yi, H. Study on the Disturbance of Existing Subway Tunnels by Foundation Sloping Excavation. Appl. Sci. 2023, 13, 948. [Google Scholar] [CrossRef] [Scilit]
  2. Ding, X.; Huang, Q.; Zhu, H.; Hu, H.; Liu, Z. Subway Tunnel Disease Associations Mining Based on Fault Tree Analysis Algorithm. Math. Probl. Eng. 2017, 2017, 2621493. [Google Scholar] [CrossRef] [Scilit]
  3. Zhang, W.; Zhang, Z.; Qi, D.; Lu, Y. Automatic Crack Detection and Classification Method for Subway Tunnel Safety Monitoring. Sensors 2014, 14, 19307–19328. [Google Scholar] [CrossRef] [Scilit]
  4. Liu, X.; Zhu, L.; Wang, Y.; Yu, Z. A crack detection system of subway tunnel based on image processing. Meas. Control. 2022, 55, 164–177. [Google Scholar] [CrossRef] [Scilit]
  5. Lezwijn, S.; Reitsma, T.; DeKok, P. Tunnel safety management in the Netherlands. In Proceedings of the 11th International Conference on Underground Construction, Prague, Czech Republic, 14–16 June 2010; Volume 2010, pp. 869–875. [Google Scholar]
  6. Liu, B.; Yang, T.; Xie, Y. Factors influencing bugholes on concrete surface analyzed by image processing technology. Constr. Build. Mater. 2017, 153, 897–907. [Google Scholar] [CrossRef] [Scilit]
  7. Yang, G.; Wu, J.; Hu, Q. Rapid detection of building cracks based on image processing technology with double square artificial marks. Adv. Struct. Eng. 2019, 22, 1186–1193. [Google Scholar] [CrossRef] [Scilit]
  8. Yuan, W.; Xue, D. Review of tunnel lining crack detection algorithm based on machine vision. Chin. J. Sci. Instrum. 2017, 38, 3100–3111. [Google Scholar]
  9. Xue, F.; Zhang, J. True Three Dimensional Dynamic Analysis of Subway Tunnel Structure and Surrounding Soil under Moving Loads. J. China Railw. Soc. 2017, 39, 133–140. [Google Scholar]
  10. Huang, H.; Yan, S.; Xue, Y.; Fei, W. Inspection equipment study for subway tunnel defects by grey-scale image processing. Adv. Eng. Inform. 2017, 32, 188–201. [Google Scholar] [CrossRef] [Scilit]
  11. Bao, X.; Xia, Z.; Ye, G.; Fu, Y.; Su, D. Numerical analysis on the seismic behavior of a large metro subway tunnel in liquefiable ground. Tunn. Undergr. Space Technol. 2017, 66, 91–106. [Google Scholar] [CrossRef] [Scilit]
  12. Lee, H.; Koh, S.Y.; Jun, J.; Yoon, H.T.; Choi, H. Fundamental study on enlargement method of an existing subway tunnels during operation of sidetrack construction. J. Korean Tunn. Undergr. Space Assoc. 2020, 22, 59–76. [Google Scholar]
  13. Wang, R.; Qi, T.; Hu, S.; Wan, Y. Background Processing of Tunnel Lining Crack Detection and Breakpoint Connection Algorithm. J. Basic Sci. Eng. 2017, 25, 742–750. [Google Scholar]
  14. Dai, Z. Study on Mechanism of Segment Crack and Fracture of Underlying Shield Tunnel Caused by Extensive Excavation and Unloading of Ground Surface. China Railw. Sci. 2017, 38, 62–69. [Google Scholar]
  15. Chen, F.C.; Jahanshahi, R. NB-CNN: Deep Learning-based Crack Detection Using Convolutional Neural Network and Naïve Bayes Data Fusion. IEEE Trans. Ind. Electron. 2018, 65, 4392–4400. [Google Scholar] [CrossRef] [Scilit]
  16. Guo, C.; Yan, J.; Yang, W. Crack detection for a Jeffcott rotor with a transverse crack: An experimental investigation. Mech. Syst. Signal Process. 2017, 83, 260–271. [Google Scholar] [CrossRef] [Scilit]
  17. Colli, A.; Attenkofer, K.; Raghothamachar, B.; Dudley, M. Synchrotron X-Ray Topography for Encapsulation Stress/Strain and Crack Detection in Crystalline Silicon Modules. IEEE J. Photovolt. 2017, 6, 1387–1389. [Google Scholar] [CrossRef] [Scilit]
  18. Ye, J.; Zheng, G.; Yin, X.; Saleem, A.; Bo, A. Performance study of millimetre-wave MIMO channel in subway tunnel using directional antennas. IET Microw. Antennas Propag. 2018, 12, 833–839. [Google Scholar]
  19. Zhang, N.; Lu, Z.; Zhou, D. Influence of train speed and blockage ratio on the smoke characteristics in a subway tunnel. Tunn. Undergr. Space Technol. 2018, 74, 33–40. [Google Scholar] [CrossRef] [Scilit]
  20. Priyadumkol, J.; Kittichaikarn, C.; Thainimit, S. Crack detection on unwashed eggs using image processing. J. Food Eng. 2017, 209, 76–82. [Google Scholar] [CrossRef] [Scilit]
  21. Satpute, D.; Baviskar, P.; Gandhi, P.; Chavanke, M.; Aher, T. Crack Detection in Cantilever Shaft Beam Using Natural Frequency. Mater. Today Proc. 2017, 4, 1366–1374. [Google Scholar] [CrossRef] [Scilit]
  22. Nakamura, T. Recent Revolution in Image Technology for the Wrist. J. Wrist Surg. 2018, 7, 273. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Sriartha, I.P.; Jampel, I.N.; Widiana, I.W.; Putrajay, I.K. Accuracy of ALOS AVNIR-2 image technology for mapping Oxygen need and Green Open Space priority in Denpasar City, Bali. J. Eng. Appl. Sci. 2018, 13, 3594–3600. [Google Scholar]
  24. Ren, Z.Q.; Rao, Z.H.; Hai-Yan, J.I. Identification of Different Concentrations Pesticide Residues of Dimethoate on Spinach Leaves by Hyperspectral Image Technology—ScienceDirect. IFAC-Papers 2018, 51, 758–763. [Google Scholar]
  25. Chen, L.-C.; Papandreou, G.; Kokkinos, I.; Murphy, K.; Yuille, A.L. DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 40, 834–848. [Google Scholar] [CrossRef] [Scilit]
  26. Jing, Z.C.; Juntao, Y.E.; Guo-Liang, X.U. A geometric flow approach for region-based image segmentation theoretical analysis. Acta Math. Appl. Sin. 2018, 34, 65–76. [Google Scholar] [CrossRef] [Scilit]
  27. Swierczynski, P.; Papie, B.W.; Schnabel, J.A.; Macdonald, C. A level-set approach to joint image segmentation and registration with application to CT lung imaging. Comput. Med. Imaging Graph. 2018, 65, 58–68. [Google Scholar] [CrossRef] [Scilit]
  28. Zingman, I.; Saupe, D.; Penatti, O.; Lambers, K. Detection of Fragmented Rectangular Enclosures in Very High Resolution Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2016, 54, 4580–4593. [Google Scholar] [CrossRef]
  29. Wang, J.; Lu, W.; Wang, T. A high precision Algorithm for space object detection under starry background based on cascade support vector machine. Sci. Technol. Eng. 2018, 18, 114–119. [Google Scholar]
  30. Wang, X.; Yang, M.; Zhu, S.; Lin, Y. Regionlets for generic object detection. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 99, 2071–2084. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.