Skip to content

cuixing158/segmentLaneMarkerRidge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于BEV(birds eye view)图像的车道线特征检测

Open in MATLAB Online

粗糙、简单、有效的车道线特征检测算法实现,算法原理请参阅文后的References。改编自内建函数segmentLaneMarkerRidge,无需配置相机内外参,直接从BEV图像检测出车道线特征的二值图像。本函数优点在于扩展函数 segmentLaneMarkerRidge的适用场合不足,特别在未知的birdsEyeConfig参数情况下,仍然可以正常检测车道线特征。

示例

bevImage = imread("images/birdsEyeImage.png");
figure;imshow(bevImage);
title("原始图像")

figure_0.png

pixelWidthInBEVImage = 5; % 图像中近似车道线宽度,单位:像素
birdsEyeBW = detectLaneMarkerRidge(bevImage,pixelWidthInBEVImage);
figure;imshow(birdsEyeBW)

figure_1.png

References

[1] segmentLaneMarkerRidge

[2] Nieto, M., J. A. Laborda, and L. Salgado. “Road Environment Modeling Using Robust Perspective Analysis and Recursive Bayesian Segmentation.” Machine Vision and Applications. Volume 22, Issue 6, 2011, pp. 927–945.