Skip to main content
Log in

An efficient approach for highway lane detection based on the Hough transform and Kalman filter

  • Technical paper
  • Published:
Innovative Infrastructure Solutions Aims and scope Submit manuscript

Abstract

The advances in lane detection technologies and computer vision enabled the evolution of lane-keeping systems, driver assistance and lane departure warning in traffic management for road safety. However, it is very challenging to identify and track the lane lines due to improper marking of lane lines and blind turns on the road. The present work proposes effective and efficient vision-based real-time lane markings and tracking lane detection methods for straight and curved lane lines. That can adapt to various environmental conditions. Further, the Hough transform optimization is performed to identify lane lines accurately, and the Kalman filter is employed to track lane lines detected in the ROI by the Sobel operator. The proposed approaches show their significance by achieving real-time response and high accuracy for a vehicle in lane change assistant system on highways. While comparing, the proposed methods show better results in terms of detection rate and processing time for straight lanes and detection accuracy, precision, recall and F1-Score for the curved lanes. The result of processing time and accuracy rate for straight lane detection is 16.7 fps, 96.3%, respectively, and the accuracy, precision, recall and F1-scores for curved lane detection are 97.74%, 98.15%, 97.35% and 97.75% in videos, respectively.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig.15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21
Fig. 22
Fig. 23
Fig. 24
Fig. 25
Fig. 26
Fig. 27
Fig. 28

Similar content being viewed by others

Abbreviations

RGB:

Red Green Blue

HSV:

Hue Saturation Value

HSL:

Hue, Saturation and Lightness

\(dst \left( {x,y} \right)\) :

The pixel coordinate for the transformed image

\(src\;\left( {x,y} \right)\) :

The pixels in the input image

\(P_{k|k - 1}\) :

The predicted state covariance

\(F_{k - 1}\) :

State transition matrix

\(H_{k}\) :

Measurement transition matrix

\(G_{x}\) :

The gain of the Kalman filter

\(x_{k}^{ - }\) :

Posteriori estimate state

\(P_{k}\) :

Covariance matrix of a posteriori estimate error

References

  1. Dinakaran K, Sagayaraj AS, Kabilesh SK, Mani T, Anandkumar A, Chandrasekaran G (2020) Advanced lane detection technique for structural highway based on computer vision algorithm. Mater Today: Proceed 45:2073–2081

    Google Scholar 

  2. Nguyen V, Kim H, Jun S, Boo K (2018) A study on real-time detection method of lane and vehicle for lane change assistant system using vision system on highway. Eng Sci Technol Int j 21(5):822–833

    Google Scholar 

  3. Dorj B, Hossain S, Lee DJ (2020) Highly curved lane detection algorithms based on kalman filter. Appl Sci 10(7):2372

    Article  Google Scholar 

  4. Gayko JE (2012) Lane departure and lane keeping. Handbook of Intelligent Vehicles. Springer, London, pp 689–708

    Chapter  Google Scholar 

  5. Visvikis C et al (2008) Study on lane departure warning and lane change assistant systems. Trans Res Lab Proj Rpt PPR 374:1–13

    Google Scholar 

  6. Muthalagu R, Bolimera A, Kalaichelvi V (2021) Vehicle lane markings segmentation and keypoint determination using deep convolutional neural networks. Multimed Tools Appl 80(7):11201–11215

    Article  Google Scholar 

  7. Sugawara T, Altmannshofer H, Kakegawa S (2017) Applications of road edge information for advanced driver assistance systems and autonomous driving. Advanced microsystems for automotive applications. Springer, London, pp 71–86

    Google Scholar 

  8. Ghanem S, Kanungo P, Panda G, Parwekar P (2021) An improved and low-complexity neural network model for curved lane detection of autonomous driving system. Soft Computing. https://doi.org/10.1007/s00500-021-05815-0

    Article  Google Scholar 

  9. Amaradi P, Sriramoju N, Li Dang GS, Tewolde, Kwon J (2016) Lane following and obstacle detection techniques in autonomous driving vehicles. In: IEEE International Conference on Electro Information Technology (EIT), Grand Forks, ND, pp 0674–0679

  10. Ghanem S, Kanungo P, Panda G, Satapathy SC, Sharma R (2021) Lane detection under artificial colored light in tunnels and on highways: an IoT-based framework for smart city infrastructure. Complex Intelligent Systems. https://doi.org/10.1007/s40747-021-00381-2

    Article  Google Scholar 

  11. Talib ML, Rui X, Ghazali KH, Mohd. Zainudin N, Ramli S, (2013) Comparison of edge detection technique for lane analysis by improved hough transform, vol 8237. Springer, Cham, pp 176–183

    Google Scholar 

  12. Yan X, Li Y (2017) A method of lane edge detection based on Canny algorithm. In: 2017 Chinese Automation Congress (CAC). pp 2120–2124

  13. Canny J (1986) A computational approach to edge detection [J]. IEEE Trans Pattern Anal Mach Intell 8(6):679–698

    Article  Google Scholar 

  14. Richard OD, Peter EH (1972) Use of the Hough transformation to detect lines and curves in picture. Graphics Image Process 15(1):11–15

    Google Scholar 

  15. Ye YY, Hao XL, Chen HJ (2018) Lane detection method based on lane structural analysis and CNNs. IET Intel Transport Syst 12(6):513–520

    Article  Google Scholar 

  16. Kuk JG, An JH, Ki H, Cho (2010) Fast lane detection and tracking based on Hough transform with reduced memory requirement. In IEEE conference on intelligent transportation systems. 1344–1349

  17. Hsiao PY, Yeh CW (2006) A portable real-time lane departure warning system based on embedded calculating technique. In: 2006 IE 63rd Vehicular Technology Conference. 6:2982–2986

  18. Dinakaran K, Sagayaraj AS, Kabilesh SK, Mani T, Anandkumar A, Chandrasekaran G (2021) Advanced lane detection technique for structural highway based on computer vision algorithm. Mater Today: Proceed 45:2073–2081

    Google Scholar 

  19. Ding Y, Xu Z, Zhang Y, Sun K (2017) Fast lane detection based on bird’s eye view and improved random sample consensus algorithm. Multimed Tools Appl 76(21):22979–22998

    Article  Google Scholar 

  20. Collado, Hilario C, Escalera A, Armingol JM (2005) Detection and classification of road lanes with a frequency analysis. IEEE Intelligent Vehicles Symposium. Nevada, USA, 7883

  21. Wang Y, Teoh E, Shen D (2004) Lane detection and tracking using b-snake. Image Vis Comput 22(4):269–280

    Article  Google Scholar 

  22. King HL, Kah PS, Li-Minn A (2009) Lane detection and kalman-based linear-parabolic lane tracking. In: Proceedings of IEEE international conference on intelligent human-machine systems and cybernetics. IEEE, Hangzhou, p 351–354

  23. Lu WN, Zheng YC, Ma YQ, et al. (2008) An integrated approach to recognition of lane marking and road boundary. In: Proceedings of International Workshop on Knowledge Discovery and Data Mining. University of Adelaide, Australia, p 649–653

  24. Chen Q, Wang H (2006) A real-time lane detection algorithm based on a hyperbola-pair model. IEEE Intelligent Vehicles Symposium. IEEE, Tokyo, p 510–515

  25. Teo TY, Sutopo R, Lim JMY, Wong K (2021) Innovative lane detection method to increase the accuracy of lane departure warning system. Multimed Tools Appl 80(2):2063–2080

    Article  Google Scholar 

  26. Dorj B, Lee DJ (2016) A precise lane detection algorithm based on top view image transformation and least-square approaches. J Sens 6:2016

    Google Scholar 

  27. Kim J, Kim W (2022) Direction-aware feedback network for robust lane detection. Multimed Tools Appl. https://doi.org/10.1007/s11042-022-12541-8

    Article  Google Scholar 

  28. Chen C, Tang L, Wang Y, Qian Q (2019) Study of the lane recognition in haze based on kalman filter. In: 2019 International conference on artificial intelligence and advanced manufacturing (AIAM). pp. 479–483

  29. TuSimple (2017) TuSimple Velocity Estimation Challenge in http://github.com/TuSimple/ tusimple--benchmark/tre

  30. Pan X, Shi J, Luo P, Wang X, Tang X (2018) Spatial cnn for traffic scene understanding. In: 32nd AAAI Conf Artif Intell. 1–8

  31. Yu F, Chen H, Wang X, Xian W, Chen Y, Liu F, Madhavan V, Darrell T (2020) BDD100K: a diverse driving dataset for heterogeneous multitask learning. In: IEEE Conf Int’l Conf Comput Vis Pattern Recognit. 2636–2645

  32. Xing Y, Lv C, Chen L, Wang H, Wang H, Cao D, Velenis E, Wang FY (2018) Advances in vision-based lane detection: Algorithms, integration, assessment, and perspectives on ACP-based parallel vision. IEEE/CAA J Autom Sin 5:645–661

    Article  Google Scholar 

  33. Ko Y, Jun J, Ko D, Jeon M, Key points estimation and point instance segmentation approach for lane detection. arXiv 2020, arXiv:2002.06604

  34. Liang D, Guo YC, Zhang SK, Mu TJ, Huang X (2020) Lane Detection: a survey with new results. J Comput Sci Technol 35:493–505

    Article  Google Scholar 

  35. Yang W, Zhang X, Lei Q, Shen D, Huang Y (2020) lane position detection based on long short-term memory (LSTM). Sensors 20:3115

    Article  Google Scholar 

  36. Zou Q, Jiang H, Dai Q, Yue Y, Chen L, Wang Q (2020) Robust lane detection from continuous driving scenes using deep neural networks. IEEE Trans Veh Technol 69:41–54

    Article  Google Scholar 

  37. Jiang L, Li J, Ai W (2019) Lane line detection optimization algorithm based on improved Hough transform and r-least squares with dual removal. In 2019 IEEE 4th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC) Vol. 1, pp. 186–190. IEEE

  38. Dubey A, Bhurchandi KM (2015) Robust and real time detection of curvy lanes (curves) with desired slopes for driving assistance and autonomous vehicles. arXiv preprint arXiv:1501.03124

  39. Ma C, Mao L, Zhang Y, Xie M (2010, July) Lane detection using heuristic search methods based on color clustering. In 2010 international conference on communications, circuits and systems (ICCCAS) pp. 368–372. IEEE

  40. Srivastava S, Lumb M, Singal R (2014) Improved lane detection using hybrid median filter and modified Hough transform. Int J Adv Res Comput Sci Softw Eng 4(1):30–37

    Google Scholar 

  41. Wang J, Ma H, Zhang X, Liu X (2018) Detection of lane lines on both sides of road based on monocular camera. In 2018 IEEE International Conference on Mechatronics and Automation (ICMA) (pp. 1134–1139). IEEE

  42. Li Y, Zhang W, Ji X, Ren C, Wu J (2019) Research on lane a compensation method based on multi-sensor fusion. Sensors 19(7):1584

    Article  Google Scholar 

  43. Haselhoff A, Kummert A (2009) 2D line filters for vision-based lane detection and tracking. In 2009 International Workshop on Multidimensional (nD) Systems pp. 1–5. IEEE

  44. Piao J, Shin H (2017) Robust hypothesis generation method using binary blob analysis for multi-lane detection. IET Image Proc 11(12):1210–1218

    Article  Google Scholar 

  45. Salarpour A, Salarpour A, Fathi M, Dezfoulian M (2011) Vehicle tracking using Kalman filter and features. Sign Image Process 2(2):1–3

    Google Scholar 

  46. Wu Y, Chen Z (2016) A detection method of road traffic sign based on inverse perspective transform. In 2016 IEEE International Conference of Online Analysis and Computing Science (ICOACS). pp. 293–296. IEEE

  47. Jung, C. R., & Kelber, C. R. (2004, June). A lane departure warning system based on a linear-parabolic lane model. In IEEE Intelligent Vehicles Symposium, 2004. pp. 891–895. IEEE

  48. Lee, D. H., & Liu, J. L. (2021). End-to-end deep learning of lane detection and path prediction for real-time autonomous driving. arXiv preprint arXiv:2102.04738

  49. Lee, M., Lee, J., Lee, D., Kim, W., Hwang, S., & Lee, S. (2021). Robust lane detection via expanded self-attention. arXiv preprint arXiv:2102.07037

  50. Muthalagu R, Bolimera A, Kalaichelvi V (2020) Lane detection technique based on perspective transformation and histogram analysis for self-driving cars. Comput Electr Eng 85:106653

    Article  Google Scholar 

  51. Li M, Li Y, Jiang M (2018) Lane detection based on connection of various feature extraction methods. Advances in Multimedia, 2018

  52. Zheng F, Luo S, Song K, Yan CW, Wang MC (2018) Improved lane line detection algorithm based on Hough transform. Pattern Recognit Image Anal 28(2):254–260

    Article  Google Scholar 

  53. Wang JG, Lin CJ, Chen SM (2010) Applying fuzzy method to vision-based lane detection and departure warning system. Expert Syst Appl 37(1):113–126

    Article  Google Scholar 

  54. Son J, Yoo H, Kim S, Sohn K (2015) Real-time illumination invariant lane detection for lane departure warning system. Expert Syst Appl 42(4):1816–1824

    Article  Google Scholar 

  55. Zhang X, Zhu X (2019) Autonomous path tracking control of intelligent electric vehicles based on lane detection and optimal preview method. Expert Syst Appl 121:38–48

    Article  Google Scholar 

  56. Kim KB, Song DH (2017) Real time road lane detection with RANSAC and HSV Color transformation. J Inform Comm Convergence Eng 15(3):187–192

    Google Scholar 

  57. Mammeri A, Boukerche A, Lu G (2014) Lane detection and tracking system based on the MSER algorithm, hough transform and kalman filter. In Proceedings of the 17th ACM international conference on Modeling, analysis and simulation of wireless and mobile systems. pp. 259–266

  58. Huang Y, Li Y, Hu X, Ci W (2018) Lane detection based on inverse perspective transformation and Kalman filter. KSII Trans Internet Inform Syst (TIIS) 12(2):643–661

    Google Scholar 

  59. Yan X, Li Y (2017) A method of lane edge detection based on Canny algorithm. In 2017 Chinese Automation Congress (CAC). pp. 2120–2124. IEEE

  60. Hoang TM, Hong HG, Vokhidov H, Park KR (2016) Road lane detection by discriminating dashed and solid road lanes using a visible light camera sensor. Sensors 16(8):1313

    Article  Google Scholar 

  61. Talib ML, Rui X, Ghazali KH, Zainudin NM, Ramli S (2013) Comparison of Edge Detection Technique for Lane Analysis by Improved Hough Transform. In: International Visual Informatics Conference. pp. 176–183. Springer: Cham

  62. Lee JW, Yi UK (2005) A lane-departure identification based on LBPE, Hough transform, and linear regression. Comput Vis Image Underst 99(3):359–383

    Article  Google Scholar 

  63. Olson CF (1999) Constrained Hough transforms for curve detection. Comput Vis Image Underst 73(3):329–345

    Article  Google Scholar 

  64. Cao J, Song C, Song S, Xiao F, Peng S (2019) Lane detection algorithm for intelligent vehicles in complex road conditions and dynamic environments. Sensors 19(14):3166

    Article  Google Scholar 

  65. Lim KH, Seng KP, Ang LM, Chin SW (2009) Lane detection and Kalman-based linear-parabolic lane tracking. In 2009 International Conference on Intelligent Human-Machine Systems and Cybernetics. Vol. 2, pp. 351–354. IEEE

  66. Wang Z, Li X, Jiang Y, Shao Q, Liu Q, Chen B, Huang D (2015) swDMR: a sliding window approach to identify differentially methylated regions based on whole genome bisulfite sequencing. PLoS ONE 10(7):e0132866

    Article  Google Scholar 

  67. Yi SC, Chen YC, Chang CH (2015) A lane detection approach based on intelligent vision. Comput Electr Eng 42:23–29

    Article  Google Scholar 

  68. Wu BF, Huang HY, Chen CJ, Chen YH, Chang CW, Chen YL (2013) A vision-based blind spot warning system for daytime and nighttime driver assistance. Comput Electr Eng 39(3):846–862

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sunil Kumar.

Ethics declarations

Conflict of interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. The authors declare the following financial interests/personal relationships which may be considered as potential competing interests.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Informed Consent

For this type of study, formal consent is not required.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kumar, S., Jailia, M. & Varshney, S. An efficient approach for highway lane detection based on the Hough transform and Kalman filter. Innov. Infrastruct. Solut. 7, 290 (2022). https://doi.org/10.1007/s41062-022-00887-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s41062-022-00887-9

Keywords

Navigation