An algorithm for lane detection based on RIME optimization and optimal threshold

Abstract In order to address the challenges of low lane line detection rates caused by complex road conditions,we propose a novel algorithm that integrates frost and ice optimisation with optimal thresholding. A pre-processing model based on Retinex theory is used to reduce noise and preserve grey s...

Full description

Saved in:
Bibliographic Details
Main Authors: Shuang Zhai, Xiao Zhao, Guoming Zu, Libin Lu, Chao Cheng
Format: Article
Language:English
Published: Nature Portfolio 2024-11-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-024-76837-5
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1846172050852413440
author Shuang Zhai
Xiao Zhao
Guoming Zu
Libin Lu
Chao Cheng
author_facet Shuang Zhai
Xiao Zhao
Guoming Zu
Libin Lu
Chao Cheng
author_sort Shuang Zhai
collection DOAJ
description Abstract In order to address the challenges of low lane line detection rates caused by complex road conditions,we propose a novel algorithm that integrates frost and ice optimisation with optimal thresholding. A pre-processing model based on Retinex theory is used to reduce noise and preserve grey scale detail. The optimal OTSU threshold is determined for segmentation, which is enhanced by tent mapping. To further enhance the precision of the detection process, the binarized image is transformed into a bird’s-eye view, and the lane line pixel features are identified through the use of an adaptive sliding window. Ultimately, the RANSAC algorithm is utilized in conjunction with a parabolic model for lane line fitting. The experimental results demonstrate that, in comparison to similar image segmentation algorithms, the proposed method exhibits a notable advantage in terms of threshold calculation error and computational efficiency. Moreover, in comparison to analogous line detection algorithms, the detection accuracy rate reaches 93.87%, effectively reducing the impact of interference factors and demonstrating remarkable robustness that surpasses the traditional Hough Transform, which has an accuracy of 43.2%, and sliding window and Hough transform, with an accuracy of 89.16%. The code of our research work is publicly available at: https://github.com/zx2000430/rime .
format Article
id doaj-art-a0d08c2dd0a244e48b2f2e1d2efe2c79
institution Kabale University
issn 2045-2322
language English
publishDate 2024-11-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-a0d08c2dd0a244e48b2f2e1d2efe2c792024-11-10T12:22:26ZengNature PortfolioScientific Reports2045-23222024-11-0114111910.1038/s41598-024-76837-5An algorithm for lane detection based on RIME optimization and optimal thresholdShuang Zhai0Xiao Zhao1Guoming Zu2Libin Lu3Chao Cheng4College of Computer Science and Engineering, Changchun University of TechnologyCollege of Computer Science and Engineering, Changchun University of TechnologyCollege of Computer Science and Engineering, Changchun University of TechnologyDirui Industrial Co.,LtdCollege of Computer Science and Engineering, Changchun University of TechnologyAbstract In order to address the challenges of low lane line detection rates caused by complex road conditions,we propose a novel algorithm that integrates frost and ice optimisation with optimal thresholding. A pre-processing model based on Retinex theory is used to reduce noise and preserve grey scale detail. The optimal OTSU threshold is determined for segmentation, which is enhanced by tent mapping. To further enhance the precision of the detection process, the binarized image is transformed into a bird’s-eye view, and the lane line pixel features are identified through the use of an adaptive sliding window. Ultimately, the RANSAC algorithm is utilized in conjunction with a parabolic model for lane line fitting. The experimental results demonstrate that, in comparison to similar image segmentation algorithms, the proposed method exhibits a notable advantage in terms of threshold calculation error and computational efficiency. Moreover, in comparison to analogous line detection algorithms, the detection accuracy rate reaches 93.87%, effectively reducing the impact of interference factors and demonstrating remarkable robustness that surpasses the traditional Hough Transform, which has an accuracy of 43.2%, and sliding window and Hough transform, with an accuracy of 89.16%. The code of our research work is publicly available at: https://github.com/zx2000430/rime .https://doi.org/10.1038/s41598-024-76837-5Lane line detectionRIME optimization algorithmImage segmentation
spellingShingle Shuang Zhai
Xiao Zhao
Guoming Zu
Libin Lu
Chao Cheng
An algorithm for lane detection based on RIME optimization and optimal threshold
Scientific Reports
Lane line detection
RIME optimization algorithm
Image segmentation
title An algorithm for lane detection based on RIME optimization and optimal threshold
title_full An algorithm for lane detection based on RIME optimization and optimal threshold
title_fullStr An algorithm for lane detection based on RIME optimization and optimal threshold
title_full_unstemmed An algorithm for lane detection based on RIME optimization and optimal threshold
title_short An algorithm for lane detection based on RIME optimization and optimal threshold
title_sort algorithm for lane detection based on rime optimization and optimal threshold
topic Lane line detection
RIME optimization algorithm
Image segmentation
url https://doi.org/10.1038/s41598-024-76837-5
work_keys_str_mv AT shuangzhai analgorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT xiaozhao analgorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT guomingzu analgorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT libinlu analgorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT chaocheng analgorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT shuangzhai algorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT xiaozhao algorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT guomingzu algorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT libinlu algorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold
AT chaocheng algorithmforlanedetectionbasedonrimeoptimizationandoptimalthreshold