U-Net-Based Learning Using Enhanced Lane Detection with Directional Lane Attention Maps for Various Driving Environments
Abstract
:1. Introduction
- To train a modified U-Net architecture for detecting lane markings in the driving area through setting up a custom dataset.
- To remove unnecessary information from images and extract only the required data through data preprocessing.
- To ensure the robustness of loss calculation and to reflect information across different tasks, weight maps are assigned to areas where lane markings may potentially exist during the calculation of the loss function, while dynamic hyperparameters are incorporated into the loss function.
- To demonstrate the learning safety and usability of the proposed method, we validate it through ablation experiments and comparison experiments.
2. Related Works
2.1. Heuristic-Based Lane Detection
2.2. CNN-Based Lane Detection
3. Proposed Method
3.1. Overview of Proposed Method
3.2. Training Data Tuning
3.2.1. Image Enhancement
Algorithm 1 Image Enhancement |
1: Input: 2: Initialize: 3: 4: 5: for do 6: 7: 8: end for 9: Output: |
3.2.2. E-Attention Map and Targeting a Specific Area
Algorithm 2 E-Attention Map and Targeting a Specific Area |
1: Input: , 2: for do 3: for do 4: 5: 6: end for 7: end for 8: 9: = 10: 11: Output: |
3.3. Weighted Loss Function
Algorithm 3 Weighted Loss Function |
1: Input: 2: 3: for do 4: 5: 6: 7: end for 8: 9: 10: 11: Output: |
3.4. Architecture of the Customized U-Net
4. Experiments and Results
4.1. Settings
4.2. Evaluation Metric
4.3. Ablation Experiments for Option Adjustment
4.4. Results of Performance Comparison Experiments
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Iandola, F.N.; Han, S.; Moskewicz, M.W.; Ashraf, K.; Dally, W.J.; Keutzer, K. SqueezeNet: AlexNet-Level Accuracy with 50x Fewer Parameters and <0.5MB Model Size. arXiv 2016, arXiv:1602.07360. [Google Scholar]
- Li, J.; Mei, X.; Prokhorov, D.; Tao, D. Deep Neural Network for Structural Prediction and Lane Detection in Traffic Scene. IEEE Trans. Neural Netw. Learn. Syst. 2017, 28, 690–703. [Google Scholar] [CrossRef] [PubMed]
- Tian, Y.; Zhang, Y.; Zhang, H. Recent Advances in Stochastic Gradient Descent in Deep Learning. Mathematics 2023, 11, 682. [Google Scholar] [CrossRef]
- Oros, G.I.; Dzitac, S. Applications of Subordination Chains and Fractional Integral in Fuzzy Differential Subordinations. Mathematics 2022, 10, 1690. [Google Scholar] [CrossRef]
- Zhou, Y.; Xu, R.; Hu, X.; Ye, Q. A Robust Lane Detection and Tracking Method Based on Computer Vision. Meas. Sci. Technol. 2006, 17, 736–745. [Google Scholar] [CrossRef]
- Tang, J.; Li, S.; Liu, P. A Review of Lane Detection Methods Based on Deep Learning. Pattern Recognit. 2021, 111, 107623. [Google Scholar] [CrossRef]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015, Munich, Germany, 5–9 October 2015; Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar]
- Das, S.; Pratihar, S.; Pradhan, B.; Jhaveri, R.H.; Benedetto, F. IoT-Assisted Automatic Driver Drowsiness Detection through Facial Movement Analysis Using Deep Learning and a U-Net-Based Architecture. Information 2024, 15, 30. [Google Scholar] [CrossRef]
- Zhang, X.; Yang, W.; Tang, X.; Liu, J. A Fast Learning Method for Accurate and Robust Lane Detection Using Two-Stage Feature Extraction with YOLO V3. Sensors 2018, 18, 4308. [Google Scholar] [CrossRef] [PubMed]
- Ghafoorian, M.; Nugteren, C.; Baka, N.; Booij, O.; Hofmann, M. EL-GAN: Embedding Loss Driven Generative Adversarial Networks for Lane Detection. In Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Spring: Berlin/Heidelberg, Germany, 2019; Volume 11129, pp. 256–272. [Google Scholar] [CrossRef]
- Kenue, S.K. Lanelok: Detection of Lane Boundaries and Vehicle Tracking Using Image-Processing Techniques-Part II: Template Matching Algorithms. In Proceedings of the Mobile Robots IV, Philadelphia, PA, USA, 6–7 November 1989; Chun, W.H., Wolfe, W.J., Eds.; SPIE: Bellingham, WA, USA, 1990; Volume 1195, pp. 234–245. [Google Scholar]
- Goldbeck, J.; Huertgen, B. Lane Detection and Tracking by Video Sensors. In Proceedings of the 199 IEEE/IEEJ/JSAI International Conference on Intelligent Transportation Systems, Tokyo, Japan, 5–8 October 1999; pp. 74–79. [Google Scholar] [CrossRef]
- Illingworth, J.; Kittler, J. A Survey of the Hough Transform. Comput. Vis. Graph. Image Process. 1988, 44, 87–116. [Google Scholar] [CrossRef]
- Ding, Y.; Xu, Z.; Zhang, Y.; Sun, K. Fast Lane Detection Based on Bird’s Eye View and Improved Random Sample Consensus Algorithm. Multimed. Tools Appl. 2017, 76, 22979–22998. [Google Scholar] [CrossRef]
- Duong, T.T.; Pham, C.C.; Tran, T.H.P.; Nguyen, T.P.; Jeon, J.W. Near Real-Time Ego-Lane Detection in Highway and Urban Streets. In Proceedings of the 2016 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), Seoul, Republic of Korea, 26–28 October 2016; pp. 1–4. [Google Scholar] [CrossRef]
- Wang, Y.; Shen, D.; Teoh, E. Lane Detection Using Catmull-Rom Spline. In Proceedings of the IEEE International Conference on Intelligent Vehicles, Stuttgart, Germany, 28–30 October 1998; pp. 51–57. [Google Scholar]
- Wang, Y.; Teoh, E.K.; Shen, D. Lane Detection and Tracking Using B-Snake. Image Vis. Comput. 2004, 22, 269–280. [Google Scholar] [CrossRef]
- Jung, C.R.; Kelber, C.R. Lane Following and Lane Departure Using a Linear-Parabolic Model. Image Vis. Comput. 2005, 23, 1192–1202. [Google Scholar] [CrossRef]
- Srivastava, S.; Singal, R.; Lumba, M. Efficient Lane Detection Algorithm Using Different Filtering Techniques. Int. J. Comput. Appl. 2014, 88, 6–11. [Google Scholar] [CrossRef]
- Wang, J.; Wu, Y.; Liang, Z.; Xi, Y. Lane Detection Based on Random Hough Transform on Region of Interesting. In Proceedings of the 2010 IEEE International Conference on Information and Automation, Harbin, China, 20–23 June 2010; pp. 1735–1740. [Google Scholar] [CrossRef]
- Javeed, M.A.; Ghaffar, M.A.; Ashraf, M.A.; Zubair, N.; Metwally, A.S.M.; Tag-Eldin, E.M.; Bocchetta, P.; Javed, M.S.; Jiang, X. Lane Line Detection and Object Scene Segmentation Using Otsu Thresholding and the Fast Hough Transform for Intelligent Vehicles in Complex Road Conditions. Electronics 2023, 12, 1079. [Google Scholar] [CrossRef]
- Son, Y.; Lee, E.S.; Kum, D. Robust Multi-Lane Detection and Tracking Using Adaptive Threshold and Lane Classification. Mach. Vis. Appl. 2019, 30, 111–124. [Google Scholar] [CrossRef]
- Lee, S.H.; Kwon, H.J.; Lee, S.H. Enhancing Lane-Tracking Performance in Challenging Driving Environments through Parameter Optimization and a Restriction System. Appl. Sci. 2023, 13, 9313. [Google Scholar] [CrossRef]
- Phueakjeen, W.; Jindapetch, N.; Kuburat, L.; Suvanvorn, N. A Study of the Edge Detection for Road Lane. In Proceedings of the 8th Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI) Association of Thailand—Conference 2011, Khon Kaen, Thailand, 17–19 May 2011; pp. 995–998. [Google Scholar] [CrossRef]
- Guo, J.; Wei, Z.; Miao, D. Lane Detection Method Based on Improved RANSAC Algorithm. In Proceedings of the 2015 IEEE Twelfth International Symposium on Autonomous Decentralized Systems, Taichung, Taiwan, 25–27 March 2015; pp. 285–288. [Google Scholar] [CrossRef]
- Borkar, A.; Hayes, M.; Smith, M.T. Robust Lane Detection and Tracking with Ransac and Kalman Filter. In Proceedings of the 16th IEEE International Conference on Image Processing (ICIP), Cairo, Egypt, 7–10 November 2009; pp. 3261–3264. [Google Scholar] [CrossRef]
- Tran, L.A.; Le, M.H. Robust U-Net-Based Road Lane Markings Detection for Autonomous Driving. In Proceedings of the 2019 International Conference on System Science and Engineering (ICSSE), Dong Hoi, Vietnam, 20–21 July 2019; pp. 62–66. [Google Scholar] [CrossRef]
- Zou, Q.; Jiang, H.; Dai, Q.; Yue, Y.; Chen, L.; Wang, Q. Robust Lane Detection from Continuous Driving Scenes Using Deep Neural Networks. IEEE Trans. Veh. Technol. 2020, 69, 41–54. [Google Scholar] [CrossRef]
- Lee, D.H.; Liu, J.L. End-to-End Deep Learning of Lane Detection and Path Prediction for Real-Time Autonomous Driving. Signal Image Video Process. 2023, 17, 199–205. [Google Scholar] [CrossRef]
- Feng, J.; Wu, X.; Zhang, Y. Lane Detection Base on Deep Learning. In Proceedings of the 2018 11th International Symposium on Computational Intelligence and Design, Hangzhou, China, 8–9 December 2018; Volume 1, pp. 315–318. [Google Scholar] [CrossRef]
- Lyu, Y.; Bai, L.; Huang, X. Road Segmentation Using CNN and Distributed LSTM. In Proceedings of the 2019 IEEE International Symposium on Circuits and Systems, Sapporo, Japan, 26–29 May 2019. [Google Scholar] [CrossRef]
- Li, L.; Xu, M.; Wang, X.; Jiang, L.; Liu, H. Attention Based Glaucoma Detection: A Large-Scale Database and CNN Model. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 10563–10572. [Google Scholar] [CrossRef]
- Li, J.; Lin, D.; Wang, Y.; Xu, G.; Zhang, Y.; Ding, C.; Zhou, Y. Deep Discriminative Representation Learning with Attention Map for Scene Classification. Remote Sens. 2020, 12, 1366. [Google Scholar] [CrossRef]
- Zhang, H.; Goodfellow, I.; Metaxas, D.; Odena, A. Self-Attention Generative Adversarial Networks. In Proceedings of the Proceedings of the 36th International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019; Chaudhuri, K., Salakhutdinov, R., Eds.; PMLR: New York, NY, USA, 2019; Volume 97, pp. 7354–7363. [Google Scholar]
- Chollet, F. Xception: Deep Learning With Depthwise Separable Convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017. [Google Scholar]
Scenario | Case 1 | Case 2 | Case 3 | Case 4 | Case 5 | Case 6 | |
---|---|---|---|---|---|---|---|
Day | Left lane | 94% | 64% | 89% | 88% | 98% | 91% |
Right lane | 91% | 60% | 85% | 89% | 91% | 95% | |
Accuracy | 92.5% | 62% | 87% | 88.5% | 94.5% | 93% | |
Day rain | Left lane | 92% | 58% | 83% | 87% | 90% | 98% |
Right lane | 93% | 59% | 81% | 88% | 81% | 89% | |
Accuracy | 92.5% | 58.5% | 82% | 87.5% | 85.5% | 93.5% | |
Night | Left lane | 93% | 58% | 83% | 82% | 88% | 96% |
Right lane | 97% | 61% | 80% | 79% | 84% | 91% | |
Accuracy | 95% | 59.5% | 81.5% | 80.5% | 86% | 93.5% | |
Night rain | Left lane | 90% | 59% | 83% | 80% | 93% | 91% |
Right lane | 91% | 48% | 70% | 77% | 89% | 81% | |
Accuracy | 90.5% | 53.5% | 76.5% | 78.5% | 91% | 86% | |
Tunnel | Left lane | 99% | 71% | 88% | 91% | 92% | 96% |
Right lane | 94% | 72% | 85% | 91% | 93% | 93% | |
Accuracy | 96.5% | 71.5% | 86.5% | 91% | 92.5% | 94.5% | |
Total | Average | 93.4% | 61% | 82.7% | 85.2% | 89.9% | 92.1% |
Scenario | U-Net | DS U-Net | ConvLSTM | Proposed | |
---|---|---|---|---|---|
Day | Left lane | 69% | 75% | 74% | 94% |
Right lane | 70% | 69% | 75% | 91% | |
Accuracy | 69.5% | 72% | 74.5% | 92.5% | |
Day rain | Left lane | 66% | 72% | 70% | 92% |
Right lane | 65% | 77% | 70% | 93% | |
Accuracy | 65.5% | 74.5% | 70% | 92.5% | |
Night | Left lane | 68% | 65% | 76% | 93% |
Right lane | 67% | 68% | 73% | 97% | |
Accuracy | 67.5% | 66.5% | 74.5% | 95% | |
Night rain | Left lane | 71% | 80% | 77% | 90% |
Right lane | 63% | 73% | 84% | 91% | |
Accuracy | 67% | 76.5% | 80.5% | 90.5% | |
Tunnel | Left lane | 64% | 72% | 75% | 99% |
Right lane | 59% | 73% | 77% | 94% | |
Accuracy | 61.5% | 72.5% | 76% | 96.5% | |
Total | Average | 66.2% | 72.4% | 75.1% | 93.4% |
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. |
© 2024 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
Lee, S.-H.; Lee, S.-H. U-Net-Based Learning Using Enhanced Lane Detection with Directional Lane Attention Maps for Various Driving Environments. Mathematics 2024, 12, 1206. https://doi.org/10.3390/math12081206
Lee S-H, Lee S-H. U-Net-Based Learning Using Enhanced Lane Detection with Directional Lane Attention Maps for Various Driving Environments. Mathematics. 2024; 12(8):1206. https://doi.org/10.3390/math12081206
Chicago/Turabian StyleLee, Seung-Hwan, and Sung-Hak Lee. 2024. "U-Net-Based Learning Using Enhanced Lane Detection with Directional Lane Attention Maps for Various Driving Environments" Mathematics 12, no. 8: 1206. https://doi.org/10.3390/math12081206
APA StyleLee, S.-H., & Lee, S.-H. (2024). U-Net-Based Learning Using Enhanced Lane Detection with Directional Lane Attention Maps for Various Driving Environments. Mathematics, 12(8), 1206. https://doi.org/10.3390/math12081206