A Deep Learning-Based Method for Measuring Apparent Disease Areas of Sling Sheaths
Abstract
:1. Introduction
2. Dataset Establishment
2.1. Image Data Acquisition
2.2. Data Augmentation
2.3. Data Labelling
3. Semantic Segmentation Model
3.1. Model Training
3.2. Analysis of Results
- (1)
- The overall performance of semantic segmentation models is typically evaluated using metrics such as Pixel Accuracy (PA), Category Pixel Accuracy (CPA), and Intersection and Union Ratio (IoU). Pixel Accuracy (PA): It is defined as the ratio of the sum of the diagonal elements in the confusion matrix to the sum of all the elements in the upper matrix. This metric intuitively reflects the overall classification accuracy of the model.
- (2)
- Category Pixel Accuracy (CPA): The diagonal value is compared with the total number of pixels in the corresponding column. The category pixel accuracy evaluates each category independently, which helps in comprehending the model’s performance on different categories and enables more effective handling of category imbalances.
- (3)
- Intersection and Union Ratio (IoU): It is the ratio related to the sum of the elements in the corresponding rows and columns of the diagonal values in the confusion matrix. The IoU metric offers a more in-depth understanding of the spatial coverage degree of the segmentation result, and is a widely used evaluation measure.
4. Area Measurement Method
4.1. Measurement of Real Area
- (1)
- To validate the measurement efficacy of the area measurement method, it is necessary to manually determine the crack area for comparison with the outcomes of the area measurement method. The specific steps are as follows. Crack Depiction: Once a crack is identified on the surface of the sling sheath, it is traced onto a standard A4 paper and scanned to obtain a digital image.
- (2)
- Boundary Acquisition: The scanned crack image is imported into the AutoCAD 2021 software in the form of raster image reference (as shown in Figure 4a), and the crack is outlined using polylines to form a closed curve (as shown in Figure 4b). The closed curve should precisely represent the shape and boundary details of the crack. To minimize measurement errors, the shape of the closed curve should also take into account the labels in the dataset.
- (3)
- Area Calculation: The closed curve in AutoCAD is selected and the characteristics of the enclosed graphic area can be retrieved. The obtained area value represents the three-dimensional surface area of the crack, determined manually.
4.2. Image Area Measurement
- (1)
- Conduct semantic segmentation on the image to classify the pixels into three categories: background, sheath, and crack.
- (2)
- Perform image binarization based on the pixel categories. Convert the background pixels to black, and set the sheath pixels and crack pixels to white (as shown in Figure 6a).
- (3)
- Utilize the connected region method to obtain the coordinates of all white pixels. For all the white pixel coordinates at the same horizontal height, identify the left-most and right-most endpoints of the white area. Then, consider the pixel length from the left endpoint to the right endpoint as the diameter of the sheath at that horizontal height. Subsequently, take the midpoint of this diameter as the center of the sheath circle at that horizontal height (as shown in Figure 6b). Considering the impact of the shooting angle on the image (as shown in Figure 6a), the edges of the sheath in the image are not perpendicular, and the pixel diameters of the area close to the lens are larger, whereas those far from the lens are smaller. This phenomenon causes the apparent diameter of the sheath to vary at different horizontal heights in the image. To ensure the accuracy of the measurement results, this paper examines all horizontal heights to obtain 224 sheath centers (the red line in Figure 6b represents the center of the circle at each horizontal height) and 224 sheath diameters. Performing area conversion for different horizontal heights can effectively address the issue of pixel diameter variation, rendering the measurement results more precise and reliable.
5. Validation
6. Conclusions
- (1)
- The MobileNetV2 transfer learning model was trained and tested on the sling apparent disease dataset. Subsequently, the model was evaluated using metrics of pixel accuracy (PA), category pixel accuracy (CPA), and intersection and union ratio (IoU). The pixel accuracies of the background and sheath categories exceeded 97%, suggesting that the model achieved quite satisfactory results in categorizing pixels for these two categories. However, the PA and IoU of the crack category only reached approximately 80%, indicating that there is room for further improvement.
- (2)
- Based on the projection relationship and scale ratio relationship between the sheath surface and the image plane, an area measurement method is proposed. By referring to the classification confusion matrix (Table 1) of the semantic segmentation model for the sling’s apparent diseases and considering the area measurement error, the model correction coefficient is determined. Subsequently, the model correction coefficient is applied to mitigate the influence of model errors on the identification results of the measurement method. Finally, the area measurement results are compared with the crack area obtained manually. The measurement error is predominantly distributed within the range of −3% and 15%, indicating that the area measurement method has achieved a relatively high level of measurement accuracy.
- (3)
- The proposed model successfully achieved the segmentation and quantification of the sling’s apparent diseases. Nevertheless, given the complexity and diversity inherent in engineering problems, the segmentation effect remains sub-optimal when dealing with multiple diseases simultaneously. It is necessary to collect a larger number of images for sling apparent disease detection to train the model. This approach will contribute to further enhancing the model’s performance.
- (4)
- Owing to the limited number of datasets, the model exhibits certain deficiencies in considering the impact of shooting angle, and further research is still required.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Zhang, H.; Jiang, X.G.; Zhu, Z.W.; Xia, R.C.; Zhou, J.T. A review on intelligent recognition of apparent disease images of inclined cables. J. Southwest Jiaotong Univ. 2024, 60, 10–26. (In Chinese) [Google Scholar]
- Yan, B.; Xu, G.Y.; Luan, J.; Lin, D.; Deng, L. Pavement distress detection based on FasterR-CNN and morphological operations. China J. Highw. Transp. 2021, 34, 181–193. (In Chinese) [Google Scholar]
- Lu, H.T.; Zhang, Q.C. Applications of deep convolutional neural network in computer vision. J. Data Acquis. Process. 2016, 31, 1–17. (In Chinese) [Google Scholar]
- Huang, M.; Zhang, J.; Li, J.; Deng, Z.; Luo, J. Damage identification of steel bridge based on data augmentation and adaptive optimization neural network. Struct. Health Monit. Int. J. 2024, 1–26. [Google Scholar] [CrossRef]
- Zhang, J.W.; Huang, M.S.; Wan, N.; Deng, Z.; He, Z.; Luo, J. Missing measurement data recovery methods in structural health monitoring: The state, challenges and case study. Measurement 2024, 231, 114528. [Google Scholar] [CrossRef]
- Huang, M.S.; Wan, N.; Zhu, H.P. Reconstruction of structural acceleration response based on CNN-BiGRU with squeeze-and-excitation under environmental temperature effects. J. Civ. Struct. Health Monit. 2024, 1–19. [Google Scholar] [CrossRef]
- Shafighfard, T.; Kazemi, F.; Asgarkhani, N.; Yoo, D.Y. Machine-learning methods for estimating compressive strength of high-performance alkali-activated concrete. Eng. Appl. Artif. Intell. 2024, 136, 109053. [Google Scholar] [CrossRef]
- Zhang, L.; Yang, F.; Zhang, D.; Zhu, J. Road crack detection using deep convolutional neural network. In Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA, 25–28 September 2016; pp. 3708–3712. [Google Scholar]
- Hoang, N.-D.; Nguyen, Q.-L.; Tran, V.-D. Automatic recognition of asphalt pavement cracks using metaheuristic optimized edge detection algorithms and convolution neural network. Autom. Constr. 2018, 94, 203–213. [Google Scholar] [CrossRef]
- Dong, C.Z.; Catbas, F.N. A review of computer vision–based structural health monitoring at local and global levels. Struct. Health Monit. 2021, 20, 692–743. [Google Scholar] [CrossRef]
- Maslan, J.; Cicmanec, L. A system for the automatic detection and evaluation of the runway surface cracks obtained by unmanned aerial vehicle imagery using deep convolutional neural networks. Appl. Sci. 2023, 13, 6000. [Google Scholar] [CrossRef]
- An, H.; Liu, K.; Liang, Z.H.; Qin, M.; Huang, Y.; Guo, Z. Research review of object detection algorithms in vehicle detection. In Proceedings of the IEEE International Conference on Electrical Engineering, Big Data and Algorithms, Changchun, China, 25–27 February 2022; pp. 1337–1341. [Google Scholar]
- Li, D.J.; Li, R.H. Marker defect detection method based on improved Faster RCNN. Adv. Lasers Optoelectron. 2020, 57, 353–360. (In Chinese) [Google Scholar]
- Cha, Y.J.; Choi, W.; Suh, G.; Mahmoudkhani, S.; Büyüköztürk, O. Autonomous structural visual inspection using region-based deep learning for detecting multiple damage types. Comput.-Aided Civ. Infrastruct. Eng. 2018, 33, 731–747. [Google Scholar] [CrossRef]
- Cha, Y.J.; Choi, W.; Büyüköztürk, O. Deep learning-based crack damage detection using convolutional neural networks. Comput.-Aided Civ. Infrastruct. Eng. 2017, 32, 361–378. [Google Scholar] [CrossRef]
- Xu, D.G.; Wang, L.; Li, F. A review of research on typical target detection algorithms for deep learning. Comput. Eng. Appl. 2021, 57, 10–25. [Google Scholar]
- Liao, Y.N.; Li, W. Bridge crack detection method based on convolutional neural network. Comput. Eng. Des. 2021, 42, 2366–2372. [Google Scholar]
- Yang, C.; Chen, J.; Li, Z.; Huang, Y. Structural crack detection and recognition based on deep learning. Appl. Sci. 2021, 11, 2868. [Google Scholar] [CrossRef]
- Jiang, B.D.; An, X.Y.; Xu, S.F.; Chen, Z. Intelligent image semantic segmentation: A review through deep learning techniques for remote sensing image analysis. J. Indian Soc. Remote Sens. 2023, 51, 1865–1878. [Google Scholar] [CrossRef]
- Xu, Y.; Bao, Y.; Chen, J.; Zuo, W.; Li, H. Surface fatigue crack identification in steel box girder of bridges by a deep fusion convolutional neural network based on consumer-grade camera images. Struct. Health Monit. 2019, 18, 653–674. [Google Scholar] [CrossRef]
- Fei, Y.; Wang, K.C.P.; Zhang, A.; Chen, C.; Li, J.Q.; Liu, Y.; Yang, G.; Li, B. Pixel-level cracking detection on 3D asphalt pavement images through deep-learning-based CrackNet-V. IEEE Trans. Intell. Transp. Syst. 2019, 21, 273–284. [Google Scholar] [CrossRef]
- Chen, F.C.; Jahanshahi, M.R. NB-FCN: Real-time accurate crack detection in inspection videos using deep fully convolutional network and parametric data fusion. IEEE Trans. Instrum. Meas. 2020, 69, 5325–5334. [Google Scholar] [CrossRef]
- Fu, C.B.; Tang, X.Y.; Yang, Y.; Ruan, C.; Li, B. A survey of research progresses on instance segmentation based on deep learning. Int. Conf. Big Data Secur. 2023, 2099, 138–151. [Google Scholar] [CrossRef]
- Zhu, J.S.; Li, H. Deep learning-based segmentation and quantification of steel bridge diseases. J. Southeast Univ. 2022, 52, 516–522. (In Chinese) [Google Scholar]
- Hou, S.; Dong, B.; Wang, H.C.; Wu, G. Inspection of surface defects on stay cables using a robot and transfer learning. Autom. Constr. 2020, 119, 103382. [Google Scholar] [CrossRef]
- Lu, S.Q.; Su, H.; Xu, J.; Li, Q.; Hao, H.L.; Wei, L.Y.; Liu, S.; Du, J.S. Suspender apparent disease identification based on deep learning and voting strategy. Structures 2024, 70, 107919. [Google Scholar] [CrossRef]
- Liu, X.Y.; Huang, Y.; Xu, F.; Li, H. A lightweight convolutional neural network-based damage identification method for PE sheathing of bridge diagonal cables. J. Civ. Environ. Eng. 2022, 47, 167–178. (In Chinese) [Google Scholar]
- Zhao, X.C. Deep Learning Classic Case Analysis (Based on MATLAB); China Machine Press: Beijing, China, 2021. (In Chinese) [Google Scholar]
Category | Projected Results | ||
---|---|---|---|
Background | Sheath | Crack | |
Background | 3,152,754 | 8143 | 39 |
Sheath | 73,287 | 14,545,928 | 287,945 |
Crack | 16 | 3374 | 1,195,802 |
Category | Evaluation Indicators | ||
---|---|---|---|
CPA (%) | IoU (%) | PA (%) | |
Background | 97.73 | 97.48 | 98.07 |
Sling | 99.92 | 97.50 | |
Crack | 80.59 | 80.41 |
Number | True Area | Measured Area | Corrected Area | Error | Correction Error |
---|---|---|---|---|---|
1 | 76.31 | 82.28 | 74.05 | 7.82% | −2.96% |
2 | 74.93 | 98.03 | 88.23 | 30.82% | 17.74% |
3 | 115.60 | 125.49 | 112.94 | 8.55% | −2.31% |
4 | 149.70 | 163.73 | 147.35 | 9.37% | −1.57% |
5 | 70.10 | 70.93 | 63.84 | 1.18% | −8.94% |
6 | 76.31 | 100.13 | 90.12 | 31.22% | 18.10% |
7 | 70.10 | 81.53 | 73.38 | 16.30% | 4.67% |
8 | 114.27 | 141.14 | 127.02 | 23.52% | 11.16% |
9 | 74.93 | 93.83 | 84.44 | 25.21% | 12.69% |
10 | 115.60 | 142.32 | 128.09 | 23.11% | 10.80% |
11 | 149.70 | 174.91 | 157.42 | 16.84% | 5.16% |
12 | 114.27 | 135.71 | 122.14 | 18.77% | 6.89% |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Du, J.; Liu, H.; Liu, Y.; Xu, Z.; Liu, S.; Lu, S. A Deep Learning-Based Method for Measuring Apparent Disease Areas of Sling Sheaths. Buildings 2025, 15, 375. https://doi.org/10.3390/buildings15030375
Du J, Liu H, Liu Y, Xu Z, Liu S, Lu S. A Deep Learning-Based Method for Measuring Apparent Disease Areas of Sling Sheaths. Buildings. 2025; 15(3):375. https://doi.org/10.3390/buildings15030375
Chicago/Turabian StyleDu, Jinsheng, Haibin Liu, Yaoyang Liu, Zhiqiang Xu, Sen Liu, and Shunquan Lu. 2025. "A Deep Learning-Based Method for Measuring Apparent Disease Areas of Sling Sheaths" Buildings 15, no. 3: 375. https://doi.org/10.3390/buildings15030375
APA StyleDu, J., Liu, H., Liu, Y., Xu, Z., Liu, S., & Lu, S. (2025). A Deep Learning-Based Method for Measuring Apparent Disease Areas of Sling Sheaths. Buildings, 15(3), 375. https://doi.org/10.3390/buildings15030375