Pavement Cracks Segmentation Algorithm Based on Conditional Generative Adversarial Network
Abstract
:1. Introduction
- (1)
- U-net3+ is used as the generator of CGAN, and PatchGAN is used as the discriminator of CGAN for pavement cracks segmentation.
- (2)
- The parallel attention mechanism is embedded into the generator to highlight crack features and suppress noise features.
- (3)
- A weighted hybrid loss function is proposed to improve the segmentation accuracy of cracks.
- (4)
- This paper is organized as follows. Section 2 presents related work on pavement crack segmentation. Section 2 presents preliminary work about U-net3+ and CGAN. Section 4 introduces the design of our proposed network generator, discriminator, and loss function. Section 5 describes the dataset, evaluation metrics, and experimental content used in the experiments. Section 6 concludes the paper.
2. Related Work
3. Preliminary
3.1. U-net3+
3.2. CGAN
4. Proposed Method
4.1. The Generator
- Channel attention. First, the input feature map is defined as , and the feature map is transposed to obtain . Then, the feature map is subjected to maximum pooling and averaging pooling to obtain two feature maps and . After concatenating the two feature maps, the channel weight map is obtained by convolution, batch normalization, and ReLU activation. The following is a mathematical description of :
- Spatial attention. First, the input feature map is defined as . Then, the feature map is subjected to maximum pooling and averaging pooling to obtain two feature maps and . After concatenating the two feature maps, the spatial weight map is obtained by convolution, batch normalization, and ReLU activation. The following is a mathematical description of :
- Fusion. Finally, the channel weight map and the spatial weight map are multiplied by the feature map to obtain two attention feature maps and . The final feature map is obtained by adding the two feature maps and using ReLU activation. can be calculated as follows:
4.2. The Discriminator
4.3. Design of Loss Function
5. Experiment and Result Analysis
5.1. Experimental Environment and Dataset
5.2. Evaluation Indicators
5.3. Experimental Results
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Akagic, A.; Buza, E.; Omanovic, S.; Karabegovic, A. Pavement crack detection using Otsu thresholding for image segmentation. In Proceedings of the International Convention on Information and Communication Technology, Electronics and Microelectronics, Opatija, Croatia, 21–25 May 2018; pp. 1092–1097. [Google Scholar]
- Quan, Y.; Sun, J.; Zhang, Y.; Zhang, H. The Method of the Road Surface Crack Detection by the Improved Otsu Threshold. In Proceedings of the IEEE International Conference on Mechatronics and Automation, Tianjin, China, 4–7 August 2019; pp. 1615–1620. [Google Scholar]
- Cao, W.; Liu, Q.; He, Z. Review of Pavement Defect Detection Methods. IEEE Access 2020, 8, 14531–14544. [Google Scholar] [CrossRef]
- Jiang, J.; Jin, Z.; Wang, B.; Ma, L.; Cui, Y. A Sobel operator combined with patch statistics algorithm for fabric defect detection. KSII Trans. Internet Inf. Syst. 2020, 14, 687–701. [Google Scholar]
- Zhou, Y.; Wang, F.; Meghanathan, N.; Huang, Y. Seed-based approach for automated crack detection from pavement images. Transp. Res. Rec. 2016, 2589, 162–171. [Google Scholar] [CrossRef]
- Song, M.; Cui, D.; Yu, C.; An, J.; Chang, C.; Song, M. Crack Detection Algorithm for Photovoltaic Image Based on Multi-Scale Pyramid and Improved Region Growing. In Proceedings of the International Conference on Image, Vision and Computing, Chongqing, China, 27–29 June 2018; pp. 128–132. [Google Scholar]
- Dung, C.V.; Anh, L.D. Autonomous concrete crack detection using deep fully convolutional neural network. Autom. Constr. 2019, 99, 52–58. [Google Scholar] [CrossRef]
- Sobol, B.V.; Soloviev, A.N.; Vasiliev, P.V.; Podkolzina, L.A. Deep Convolution Neural Network Model in Problem of Crack Segmentation on Asphalt Images. Vestn. Don State Tech. Univ. 2019, 19, 63–73. [Google Scholar] [CrossRef]
- Park, S.; Bang, S.; Kim, H.; Kim, H. Patch-Based Crack Detection in Black Box Road Images Using Deep Learning. In Proceedings of the International Symposium on Automation and Robotics in Construction, Berlin, Germany, 20–25 July 2018; pp. 2–5. [Google Scholar]
- Yang, F.; Zhang, L.; Yu, S.; Prokhorov, D.; Mei, X.; Ling, H. Feature pyramid and hierarchical boosting network for pavement crack detection. IEEE Trans. Intell. Transp. Syst. 2019, 21, 1525–1535. [Google Scholar] [CrossRef] [Green Version]
- Liu, Y.; Yao, J.; Lu, X.; Xie, R.; Li, L. DeepCrack: A deep hierarchical feature learning architecture for crack segmentation. Neurocomputing 2019, 338, 139–153. [Google Scholar] [CrossRef]
- Jenkins, M.D.; Carr, T.A.; Iglesias, M.I.; Buggy, T.; Morison, G. A deep convolutional neural network for semantic pixel-wise segmentation of road and pavement surface cracks. In Proceedings of the European Signal Processing Conference, Italy, Rome, 3–7 September 2018; pp. 2120–2124. [Google Scholar]
- König, J.; Jenkins, M.D.; Barrie, P.; Mannion, M.; Morison, G. A convolutional neural network for pavement surface crack segmentation using residual connections and attention gating. In Proceedings of the IEEE International Conference on Image Processing, Taipei, China, 21–26 September 2019; pp. 1460–1464. [Google Scholar]
- Gao, Z.; Peng, B.; Li, T.; Gou, C. Generative adversarial networks for road crack image segmentation. In Proceedings of the International Joint Conference on Neural Networks, Budapest, Hungary, 14–19 July 2019; pp. 1–8. [Google Scholar]
- Zhang, J.; Zhang, C.; Lu, Y.; Zheng, T.; Dong, Z.; Tian, Y.; Jia, Y. In-situ recognition of moisture damage in bridge deck asphalt pavement with time-frequency features of GPR signal. Constr. Build. Mater. 2020, 244, 118295. [Google Scholar] [CrossRef]
- Shirahata, H.; Hirayama, S.; Ono, S.; Yamase, Y. Detection of crack in painted flange gusset welded joint by ultrasonic test. Weld World 2021, 65, 2147–2156. [Google Scholar] [CrossRef]
- Cotič, P.; Kolarič, D.; Bosiljkov, V.B.; Bosiljkov, V.; Jagličić, Z. Determination of the applicability and limits of void and delamination detection in concrete structures using infrared thermography. NDT E Int. 2015, 74, 87–93. [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]
- 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]
- Shelhamer, E.; Long, J.; Darrell, T. Fully Convolutional Networks for Semantic Segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 640–651. [Google Scholar] [CrossRef]
- Islam, M.M.; Kim, J.M. Vision-Based Autonomous Crack Detection of Concrete Structures Using a Fully Convolutional Encoder-Decoder Network. Sensors 2019, 19, 4251. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Liu, Z.; Cao, Y.; Wang, Y.; Wang, W. Computer vision-based concrete crack detection using U-net fully convolutional networks. Autom. Constr. 2019, 104, 129–139. [Google Scholar] [CrossRef]
- Badrinarayanan, V.; Kendall, A.; Cipolla, R. SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 2481–2495. [Google Scholar] [CrossRef] [PubMed]
- Zou, Q.; Zhang, Z.; Li, Q.; Qi, X.; Wang, Q.; Wang, S. DeepCrack: Learning hierarchical convolutional features for crack detection. IEEE Trans. Image Pro. 2019, 28, 1498–1512. [Google Scholar] [CrossRef] [PubMed]
- Huyan, J.; Li, W.; Tighe, S. CrackU-net: A novel deep convolutional neural network for pixelwise pavement crack detection. Struct Control. Health Monit. 2020, 27, e2551. [Google Scholar] [CrossRef]
- Song, W.; Jia, G.; Jia, D. Automatic pavement crack detection and classification using multiscale feature attention network. IEEE Access 2019, 7, 171001–171012. [Google Scholar] [CrossRef]
- Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-assisted Intervention, Munich, Germany, 5–9 October 2015; pp. 234–241. [Google Scholar]
- Huang, H.; Lin, L.; Tong, R.; Hu, H.; Zhang, Q.; Iwamoto, Y.; Han, X.; Chen, Y.; Wu, J. UNet 3+: A Full-scale Connected Unet for Medical Image Segmentation. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Barcelona, Spain, 4–9 May 2020; pp. 1055–1059. [Google Scholar]
- Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial nets. In Proceedings of the Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, Montreal, QC, Canada, 8–13 December 2014. [Google Scholar]
- Mirza, M.; Osindero, S. Conditional Generative Adversarial Nets. arXiv 2014, arXiv:1411.1784. [Google Scholar]
- Gaj, S.; Yang, M.; Nakamura, K.; Li, X. Automated cartilage and meniscus segmentation of knee MRI with conditional generative adversarial networks. Magn. Reson. Med. 2020, 84, 437–449. [Google Scholar] [CrossRef] [PubMed]
- Poudel, R.P.K.; Liwicki, S.; Cipolla, R. Fast-SCNN: Fast semantic segmentation network. arXiv 2019, arXiv:1902.04502. [Google Scholar]
Method | |||
---|---|---|---|
U-Net3+ | 69.9 | 66.3 | 68.0 |
+SENet | 70.9 | 65.2 | 67.9 |
+CBAM | 71.0 | 66.6 | 68.7 |
+SAM | 71.2 | 64.9 | 67.9 |
+ECA-Net | 73.1 | 63.9 | 68.2 |
+Ours | 71.1 | 67.5 | 69.2 |
Loss Function | |||
---|---|---|---|
Adv+BCE | 73.8 | 71.6 | 72.7 |
Adv+Dice | 71.4 | 73.6 | 72.5 |
Adv+IoU | 71.3 | 73.4 | 72.3 |
Network | ||||
---|---|---|---|---|
U-Net | 60.3 | 65.2 | 60.6 | 62.8 |
U-Net3+ | 65.8 | 69.9 | 66.3 | 68.0 |
U-Net+CGAN | 63.8 | 67.8 | 63.8 | 65.7 |
U-Net3++CGAN | 71.0 | 73.8 | 71.6 | 72.7 |
Algorithm | |||||
---|---|---|---|---|---|
DeepCrack | 61.2 | 64.4 | 62.8 | 25.6 | 30.9 |
SegNet | 67.2 | 66.6 | 66.9 | 18.7 | 16.3 |
Fast-SCNN | 65.5 | 69.6 | 67.4 | 67.5 | 1.2 |
Ours | 73.8 | 71.6 | 72.7 | 34.8 | 29.0 |
Data Augmentation | |||
---|---|---|---|
73.8 | 71.6 | 72.7 | |
√ | 75.5 | 73.6 | 74.5 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Kang, J.; Feng, S. Pavement Cracks Segmentation Algorithm Based on Conditional Generative Adversarial Network. Sensors 2022, 22, 8478. https://doi.org/10.3390/s22218478
Kang J, Feng S. Pavement Cracks Segmentation Algorithm Based on Conditional Generative Adversarial Network. Sensors. 2022; 22(21):8478. https://doi.org/10.3390/s22218478
Chicago/Turabian StyleKang, Jie, and Shujie Feng. 2022. "Pavement Cracks Segmentation Algorithm Based on Conditional Generative Adversarial Network" Sensors 22, no. 21: 8478. https://doi.org/10.3390/s22218478
APA StyleKang, J., & Feng, S. (2022). Pavement Cracks Segmentation Algorithm Based on Conditional Generative Adversarial Network. Sensors, 22(21), 8478. https://doi.org/10.3390/s22218478