CN108052904B - Method and device for acquiring lane line - Google Patents

Method and device for acquiring lane line Download PDF

Info

Publication number
CN108052904B
CN108052904B CN201711332712.3A CN201711332712A CN108052904B CN 108052904 B CN108052904 B CN 108052904B CN 201711332712 A CN201711332712 A CN 201711332712A CN 108052904 B CN108052904 B CN 108052904B
Authority
CN
China
Prior art keywords
lane line
probability
pixel
color
map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711332712.3A
Other languages
Chinese (zh)
Other versions
CN108052904A (en
Inventor
于洋
王巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Liaoning University of Technology
Original Assignee
Liaoning University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Liaoning University of Technology filed Critical Liaoning University of Technology
Priority to CN201711332712.3A priority Critical patent/CN108052904B/en
Publication of CN108052904A publication Critical patent/CN108052904A/en
Application granted granted Critical
Publication of CN108052904B publication Critical patent/CN108052904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/588Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/155Segmentation; Edge detection involving morphological operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/181Segmentation; Edge detection involving edge growing; involving edge linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30248Vehicle exterior or interior
    • G06T2207/30252Vehicle exterior; Vicinity of vehicle
    • G06T2207/30256Lane; Road marking

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Image Analysis (AREA)

Abstract

本发明提供一种车道线的获取方法及装置,该方法包括:对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图;采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;并对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率;根据每一个像素属于车道线的灰度概率得到车道线灰度概率图;采用聚类算法对车道线灰度概率模型图进行区域分割处理,得到二值分割结果图;对二值分割结果图进行处理,并获取待检测道路中的车道线。本发明提供的车道线的获取方法及装置,提高了车道线的检测精度。

Figure 201711332712

The present invention provides a method and device for acquiring lane lines. The method includes: performing inverse perspective transformation on a region of interest map on a road to be detected to obtain a transformed region of interest map; and determining the transformation by using a YC b C r color space model. The color probability of each pixel belonging to the lane line in the area of interest map after the The gray probability belonging to the lane line is used to obtain the gray probability map of the lane line; the clustering algorithm is used to segment the gray probability model map of the lane line to obtain a binary segmentation result map; the binary segmentation result map is processed and obtained Lane lines in the road to be detected. The method and device for acquiring lane lines provided by the present invention improve the detection accuracy of lane lines.

Figure 201711332712

Description

车道线的获取方法及装置Method and device for obtaining lane lines

技术领域technical field

本发明涉及智能交通技术领域,尤其涉及一种车道线的获取方法及装置。The invention relates to the technical field of intelligent transportation, and in particular, to a method and device for acquiring lane lines.

背景技术Background technique

汽车辅助驾驶系统通常用来避免驾驶员的错误操作和疲劳驾驶。当车辆偏离正确车道或即将发生碰撞时,提醒驾驶员或自动控制车辆到安全状态,进而提高驾驶员的安全性。在汽车辅助驾驶系统中,车道线检测的精度和鲁棒性是非常重要的。Automotive assisted driving systems are often used to avoid driver errors and fatigue driving. When the vehicle deviates from the correct lane or is about to collide, it reminds the driver or automatically controls the vehicle to a safe state, thereby improving driver safety. In the vehicle assisted driving system, the accuracy and robustness of lane line detection are very important.

为了提高车道线的检测精度,现有技术中,通常是基于车道线颜色特征的方法和基于车道线边缘灰度值特征的方法进行检测,但是,对于基于车道线颜色特征的方法而言,其要求车道线必须具有鲜明的对比色,而现有的车道线的各颜色之间不一定具有鲜明的对比,采用该方法检测车道线的精度不高。此外,对于基于车道线边缘灰度值特征的方法而言,如果在安全标记较多的道路上,车道线边缘灰度值特征之间相似度较高,采用该方法检测车道线的精度也不高。In order to improve the detection accuracy of the lane line, in the prior art, the method based on the color feature of the lane line and the method based on the gray value feature of the edge of the lane line are usually used for detection. However, for the method based on the color feature of the lane line, its It is required that the lane lines must have sharp contrasting colors, and the existing lane lines do not necessarily have sharp contrasts between the colors, so the detection accuracy of the lane lines using this method is not high. In addition, for the method based on the feature of the gray value of the edge of the lane line, if the similarity between the features of the gray value of the edge of the lane line is high on the road with many safety marks, the accuracy of the detection of the lane line by this method is not good. high.

因此,采用现有的车道线检测方法,使得车道线检测的精度不高。Therefore, by using the existing lane line detection method, the accuracy of lane line detection is not high.

发明内容SUMMARY OF THE INVENTION

本发明提供一种车道线的获取方法及装置,以提高车道线的检测精度。The present invention provides a method and device for acquiring lane lines, so as to improve the detection accuracy of lane lines.

本发明实施例提供一种车道线的获取方法,包括:An embodiment of the present invention provides a method for acquiring lane lines, including:

对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图;Perform inverse perspective transformation on the ROI map in the road to be detected to obtain the transformed ROI map;

采用YCbCr颜色空间模型确定所述变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;Using the YC b C r color space model to determine the color probability that each pixel in the transformed region of interest map belongs to the lane line;

并对所述每一个像素属于车道线的颜色概率进行归一化处理,得到所述每一个像素属于车道线的灰度概率;and normalize the color probability that each pixel belongs to the lane line to obtain the grayscale probability that each pixel belongs to the lane line;

根据所述每一个像素属于车道线的灰度概率得到所述车道线灰度概率图;Obtain the lane line gray level probability map according to the gray level probability that each pixel belongs to the lane line;

采用聚类算法对所述车道线灰度概率模型图进行区域分割处理,得到二值分割结果图;A clustering algorithm is used to perform regional segmentation processing on the lane line grayscale probability model graph to obtain a binary segmentation result graph;

对所述二值分割结果图进行处理,并获取所述待检测道路中的车道线。The binary segmentation result graph is processed, and lane lines in the road to be detected are acquired.

在本发明一实施例中,所述采用YCbCr颜色空间模型确定所述变换后的感兴趣区域图中每一个像素属于车道线的颜色概率,包括:In an embodiment of the present invention, the use of the YC b C r color space model to determine the color probability of each pixel belonging to the lane line in the transformed region of interest map includes:

根据

Figure GDA0003199357760000021
确定所述变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;according to
Figure GDA0003199357760000021
Determine the color probability that each pixel in the transformed region of interest map belongs to the lane line;

其中,P(Ci|x)表示像素属于车道线的概率,N-1表示车道线共有N-1类颜色,Ci为第i类颜色,每个像素的颜色可以表示为:x=(Y,Cb,Cr),且x=(Y,Cb,Cr),Y是亮度分量,Cb是蓝色色度分量,Cr是红色色度分量,P(x)为像素x的颜色概率,P(x|Ci)为可能性概率,

Figure GDA0003199357760000022
为先验性概率,#Ci为颜色Ci类中的样本数,K表示第K种颜色。Among them, P(C i |x) represents the probability that the pixel belongs to the lane line, N-1 represents that there are N-1 types of colors in the lane line, and C i is the color of the ith type. The color of each pixel can be expressed as: x=( Y, C b , C r ), and x=(Y, C b , C r ), Y is the luminance component, C b is the blue chrominance component, C r is the red chrominance component, and P(x) is the pixel x The color probability of , P(x|C i ) is the probability probability,
Figure GDA0003199357760000022
is the prior probability, #C i is the number of samples in the color C i class, and K represents the Kth color.

在本发明一实施例中,所述对所述每一个像素属于车道线的颜色概率进行归一化处理,得到所述每一个像素属于车道线的灰度概率,包括:In an embodiment of the present invention, the normalization process is performed on the color probability that each pixel belongs to the lane line to obtain the grayscale probability that each pixel belongs to the lane line, including:

根据

Figure GDA0003199357760000023
对所述每一个像素属于车道线的颜色概率进行归一化处理,得到所述每一个像素属于车道线的灰度概率;according to
Figure GDA0003199357760000023
Normalize the color probability that each pixel belongs to the lane line to obtain the grayscale probability that each pixel belongs to the lane line;

其中,

Figure GDA0003199357760000024
表示像素属于车道线的灰度概率。in,
Figure GDA0003199357760000024
Represents the grayscale probability that a pixel belongs to a lane line.

在本发明一实施例中,所述对所述二值分割结果图进行处理,并获取所述待检测道路中的车道线,包括:In an embodiment of the present invention, the processing of the binary segmentation result map and the acquisition of lane lines in the road to be detected include:

对所述二值分割结果图进行形态学处理,得到处理后的二值分割结果图;Morphological processing is performed on the binary segmentation result map to obtain a processed binary segmentation result map;

对所述处理后的二值分割结果图进行处理,并获取所述待检测道路中的车道线。The processed binary segmentation result graph is processed, and lane lines in the road to be detected are acquired.

在本发明一实施例中,所述对所述处理后的二值分割结果图进行处理,并获取所述待检测道路中的车道线,包括:In an embodiment of the present invention, the processing of the processed binary segmentation result graph, and the acquisition of lane lines in the road to be detected, includes:

采用索贝尔Sobel算法检测所述处理后的二值分割结果图中的边缘曲线;Adopt Sobel Sobel algorithm to detect the edge curve in the binary segmentation result figure after described processing;

对所述边缘曲线进行中心线操作处理,得到处理后的中心曲线;Perform centerline operation processing on the edge curve to obtain the processed center curve;

采用霍尔Hough变换对所述中心曲线进行分段处理,并对分段处理后得到的多个直线段进行拟合处理,获取所述待检测道路中的车道线。The center curve is segmented by using Hall Hough transform, and a plurality of straight line segments obtained after segmental processing are fitted to obtain lane lines in the road to be detected.

在本发明一实施例中,所述采用索贝尔Sobel算法检测所述处理后的二值分割结果图中的边缘曲线,包括:In an embodiment of the present invention, the Sobel algorithm is used to detect the edge curve in the processed binary segmentation result graph, including:

采用所述Sobel算法获取所述处理后的二值分割结果图中每一个像素的横向值和纵向值;Adopt the described Sobel algorithm to obtain the horizontal value and the vertical value of each pixel in the processed binary segmentation result graph;

根据所述每一个像素的横向值和纵向值确定所述每一个像素梯度值和方向;Determine the gradient value and direction of each pixel according to the horizontal value and the vertical value of each pixel;

当所述每一个像素的梯度值和方向大于预设阈值,且梯度值在一定预设范围内时,确定所述每一个像素为所述处理后的二值分割结果图的边缘点;When the gradient value and direction of each pixel are greater than a preset threshold, and the gradient value is within a certain preset range, determine that each pixel is an edge point of the processed binary segmentation result map;

根据每一个边缘点检测所述处理后的二值分割结果图中的边缘曲线。The edge curve in the processed binary segmentation result graph is detected according to each edge point.

在本发明一实施例中,所述获取所述待检测道路中的车道线之后,包括:In an embodiment of the present invention, after acquiring the lane lines in the road to be detected, the method includes:

在地图上显示所述待检测道路中的车道线。The lane lines in the road to be detected are displayed on the map.

本发明实施例还提供一种车道线的获取装置,包括:An embodiment of the present invention also provides a device for acquiring lane lines, including:

变换单元,用于对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图;The transformation unit is used to perform inverse perspective transformation on the ROI map in the road to be detected to obtain the transformed ROI map;

确定单元,用于采用YCbCr颜色空间模型确定所述变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;A determination unit, used for using the YC b C r color space model to determine the color probability that each pixel in the transformed region of interest map belongs to the lane line;

处理单元,用于对所述每一个像素属于车道线的颜色概率进行归一化处理,得到所述每一个像素属于车道线的灰度概率;a processing unit, configured to perform normalization processing on the color probability that each pixel belongs to the lane line, to obtain the grayscale probability that each pixel belongs to the lane line;

生成单元,用于根据所述每一个像素属于车道线的灰度概率得到所述车道线灰度概率图;a generating unit, configured to obtain the grayscale probability map of the lane line according to the grayscale probability that each pixel belongs to the lane line;

分割单元,用于采用聚类算法对所述车道线灰度概率模型图进行区域分割处理,得到二值分割结果图;a segmentation unit, used for using a clustering algorithm to perform regional segmentation processing on the lane line grayscale probability model graph to obtain a binary segmentation result graph;

获取单元,用于对所述二值分割结果图进行处理,并获取所述待检测道路中的车道线。an acquisition unit, configured to process the binary segmentation result map and acquire lane lines in the road to be detected.

在本发明一实施例中,所述确定单元,具体用于根据

Figure GDA0003199357760000031
N确定所述变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;In an embodiment of the present invention, the determining unit is specifically configured to
Figure GDA0003199357760000031
N determines the color probability that each pixel in the transformed region of interest map belongs to the lane line;

其中,P(Ci|x)表示像素属于车道线的概率,N-1表示车道线共有N-1类颜色,Ci为第i类颜色,每个像素的颜色可以表示为:x=(Y,Cb,Cr),且x=(Y,Cb,Cr),Y是亮度分量,Cb是蓝色色度分量,Cr是红色色度分量,P(x)为像素x的颜色概率,P(xCi)为可能性概率,

Figure GDA0003199357760000032
为先验性概率,#Ci为颜色Ci类中的样本数,K表示第K种颜色。Among them, P(C i |x) represents the probability that the pixel belongs to the lane line, N-1 represents that there are N-1 types of colors in the lane line, and C i is the color of the ith type. The color of each pixel can be expressed as: x=( Y, C b , C r ), and x=(Y, C b , C r ), Y is the luminance component, C b is the blue chrominance component, C r is the red chrominance component, and P(x) is the pixel x The color probability of , P(xC i ) is the probability probability,
Figure GDA0003199357760000032
is the prior probability, #C i is the number of samples in the color C i class, and K represents the Kth color.

在本发明一实施例中,所述处理单元,具体用于根据

Figure GDA0003199357760000041
对所述每一个像素属于车道线的颜色概率进行归一化处理,得到所述每一个像素属于车道线的灰度概率;In an embodiment of the present invention, the processing unit is specifically configured to
Figure GDA0003199357760000041
Normalize the color probability that each pixel belongs to the lane line to obtain the grayscale probability that each pixel belongs to the lane line;

其中,

Figure GDA0003199357760000042
表示像素属于车道线的灰度概率。in,
Figure GDA0003199357760000042
Represents the grayscale probability that a pixel belongs to a lane line.

在本发明一实施例中,所述获取单元,具体用于对所述二值分割结果图进行形态学处理,得到处理后的二值分割结果图;并对所述处理后的二值分割结果图进行处理,并获取所述待检测道路中的车道线。In an embodiment of the present invention, the acquisition unit is specifically configured to perform morphological processing on the binary segmentation result map to obtain a processed binary segmentation result map; and perform morphological processing on the processed binary segmentation result. image processing, and obtain the lane lines in the road to be detected.

在本发明一实施例中,所述获取单元,具体用于采用索贝尔Sobel算法检测所述处理后的二值分割结果图中的边缘曲线;对所述边缘曲线进行中心线操作处理,得到处理后的中心曲线;采用霍尔Hough变换对所述中心曲线进行分段处理,并对分段处理后得到的多个直线段进行拟合处理,获取所述待检测道路中的车道线。In an embodiment of the present invention, the obtaining unit is specifically configured to use the Sobel algorithm to detect the edge curve in the processed binary segmentation result graph; perform centerline operation processing on the edge curve, and obtain the processed The center curve is obtained; the center curve is segmented by using Hall Hough transform, and a plurality of straight line segments obtained after segmental processing are fitted to obtain the lane lines in the road to be detected.

在本发明一实施例中,所述获取单元,具体用于采用所述Sobel算法获取所述处理后的二值分割结果图中每一个像素的横向值和纵向值;根据所述每一个像素的横向值和纵向值确定所述每一个像素梯度值和方向;当所述每一个像素的梯度值和方向大于预设阈值,且梯度值在一定预设范围内时,确定所述每一个像素为所述处理后的二值分割结果图的边缘点;根据每一个边缘点检测所述处理后的二值分割结果图中的边缘曲线。In an embodiment of the present invention, the obtaining unit is specifically configured to use the Sobel algorithm to obtain the horizontal value and vertical value of each pixel in the processed binary segmentation result graph; The horizontal value and the vertical value determine the gradient value and direction of each pixel; when the gradient value and direction of each pixel are greater than a preset threshold, and the gradient value is within a certain preset range, determine that each pixel is The edge point of the processed binary segmentation result graph; the edge curve in the processed binary segmentation result graph is detected according to each edge point.

在本发明一实施例中,所述车道线的获取装置还包括显示单元;In an embodiment of the present invention, the device for acquiring lane lines further includes a display unit;

所述显示单元,用于在地图上显示所述待检测道路中的车道线。The display unit is used for displaying lane lines in the road to be detected on a map.

本发明实施例提供了一种车道线的获取方法,先对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图;采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;并对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率;根据每一个像素属于车道线的灰度概率得到车道线灰度概率图;采用聚类算法对车道线灰度概率模型图进行区域分割处理,得到二值分割结果图;对二值分割结果图进行处理,并获取待检测道路中的车道线,从而提高了车道线检测的精度。An embodiment of the present invention provides a method for acquiring lane lines. First, inverse perspective transformation is performed on the ROI map on the road to be detected to obtain the transformed ROI map; the YC b C r color space model is used to determine the transformed ROI map. The color probability of each pixel belonging to the lane line in the area of interest map; and the color probability of each pixel belonging to the lane line is normalized to obtain the grayscale probability of each pixel belonging to the lane line; according to the fact that each pixel belongs to the lane The gray probability of the line is used to obtain the gray probability map of the lane line; the clustering algorithm is used to segment the gray probability model map of the lane line to obtain a binary segmentation result map; Lane lines in the road, thereby improving the accuracy of lane line detection.

附图说明Description of drawings

图1为本发明实施例提供的一种车道线的获取方法的示意图;FIG. 1 is a schematic diagram of a method for acquiring lane lines according to an embodiment of the present invention;

图2为本发明实施例提供的一种摄像机位置的示意图;FIG. 2 is a schematic diagram of a camera position according to an embodiment of the present invention;

图3为本发明实施例提供的一种拍摄的帧图像的大小尺寸的示意图;3 is a schematic diagram of the size of a captured frame image according to an embodiment of the present invention;

图4为本发明实施例提供的一种感兴趣区域图进行逆透视变换前和变换后的感兴趣区域图的示意图;4 is a schematic diagram of a region of interest map before and after inverse perspective transformation of a region of interest map provided by an embodiment of the present invention;

图5为本发明实施例提供的一种二值分割结果图的示意图;5 is a schematic diagram of a binary segmentation result graph provided by an embodiment of the present invention;

图6为本发明实施例提供的一种对二值分割结果图进行处理的流程示意图;6 is a schematic flowchart of processing a binary segmentation result graph according to an embodiment of the present invention;

图7为本发明实施例提供的一种形态学处理后的二值分割结果图的示意图;7 is a schematic diagram of a binary segmentation result graph after morphological processing according to an embodiment of the present invention;

图8为本发明实施例提供的一种处理后的中心曲线的示意图;8 is a schematic diagram of a processed center curve according to an embodiment of the present invention;

图9为本发明实施例提供的一种跟踪后得到的两侧车道线的示意图;9 is a schematic diagram of lane lines on both sides obtained after tracking according to an embodiment of the present invention;

图10为本发明实施例提供的一种车道线获取的装置的结构示意图;10 is a schematic structural diagram of a device for obtaining lane lines according to an embodiment of the present invention;

图11为本发明实施例提供的另一种车道线获取的装置的结构示意图。FIG. 11 is a schematic structural diagram of another apparatus for obtaining lane lines according to an embodiment of the present invention.

具体实施方式Detailed ways

这里将对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。Exemplary embodiments will be described herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to Describe a particular order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can, for example, be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

现有技术中,通常是基于车道线颜色特征的方法和基于车道线边缘灰度值特征的方法进行检测,但是,对于基于车道线颜色特征的方法而言,其要求车道线必须具有鲜明的对比色,而现有的车道线的各颜色之间不一定具有鲜明的对比,采用该方法检测车道线的精度不高。此外,对于基于车道线边缘灰度值特征的方法而言,如果在安全标记较多的道路上,车道线边缘灰度值特征之间相似度较高,采用该方法检测车道线的精度也不高,从而导致车道线检测的精度不高。为了提高车道线检测的精度,本发明实施例提供了一种车道线的获取方法,先对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图;采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;并对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率;根据每一个像素属于车道线的灰度概率得到车道线灰度概率图;采用聚类算法对车道线灰度概率模型图进行区域分割处理,得到二值分割结果图;对二值分割结果图进行处理,并获取待检测道路中的车道线,从而提高了车道线检测的精度。In the prior art, the detection method is usually based on the color feature of the lane line and the method based on the gray value feature of the edge of the lane line. However, for the method based on the color feature of the lane line, the lane line must have a sharp contrasting color. , and the colors of the existing lane lines do not necessarily have a sharp contrast, so the detection accuracy of the lane lines using this method is not high. In addition, for the method based on the feature of the gray value of the edge of the lane line, if the similarity between the features of the gray value of the edge of the lane line is high on the road with many safety marks, the accuracy of the detection of the lane line by this method is not good. high, resulting in low accuracy of lane line detection. In order to improve the accuracy of lane line detection, an embodiment of the present invention provides a method for acquiring lane lines. First, perform inverse perspective transformation on the ROI map on the road to be detected to obtain the transformed ROI map; use YC b C The r color space model determines the color probability of each pixel belonging to the lane line in the transformed region of interest map; and normalizes the color probability of each pixel belonging to the lane line to obtain the gray level of each pixel belonging to the lane line Probability; according to the gray probability that each pixel belongs to the lane line, the gray probability map of the lane line is obtained; the clustering algorithm is used to perform regional segmentation processing on the gray probability model map of the lane line, and the binary segmentation result map is obtained; Graphs are processed, and lane lines in the road to be detected are obtained, thereby improving the accuracy of lane line detection.

下面以具体的实施例对本发明的技术方案进行说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solutions of the present invention will be described below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes will not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.

图1为本发明实施例提供的一种车道线的获取方法的示意图,该车道线的获取方法可以由车道线的获取装置,该车道线的获取装置可以独立设置,也可以集成在其他设备中,请参见图1所示,该车道线的获取方法可以包括:FIG. 1 is a schematic diagram of a method for acquiring lane lines according to an embodiment of the present invention. The method for acquiring lane lines may be obtained by a device for acquiring lane lines, which may be set independently or integrated in other equipment. , please refer to Figure 1, the acquisition method of the lane line can include:

S101、对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图。S101. Perform inverse perspective transformation on the ROI map on the road to be detected to obtain a transformed ROI map.

在确定待检测道路的原始图像后,可以去除原始图像中的感兴趣区域中的天空区域,以得到感兴趣区域图;再对感兴趣区域进行逆透视变换,示例的,在进行逆透视变换时,可以通过使用摄像机参数将车道线从摄像机视图转换为鸟瞰图,逆透视变换后的车道线是平行的并且具有相同的宽度,然后使用滤波器或几何约束检测车道。利用逆透视变换可以将图像坐标系中的道路图变换到世界坐标系中。请参见图2和图3所示,图2为本发明实施例提供的一种摄像机位置的示意图,图3为本发明实施例提供的一种拍摄的帧图像的大小尺寸的示意图。逆透视变换后的感兴趣区域图中的坐标为x,y,z,γ和θ是摄像机的偏航角和俯仰角,摄像机视角范围为2α。摄像机相对地平面的位置为d,h,l,初始帧图像中的坐标为u,v,初始帧图像的尺寸为Rx,RyAfter the original image of the road to be detected is determined, the sky area in the region of interest in the original image can be removed to obtain the region of interest map; then inverse perspective transformation is performed on the region of interest, for example, when inverse perspective transformation is performed , the lane lines can be transformed from the camera view to a bird's-eye view by using the camera parameters, the lane lines after inverse perspective transformation are parallel and have the same width, and then the lanes are detected using filters or geometric constraints. The road map in the image coordinate system can be transformed into the world coordinate system using the inverse perspective transformation. 2 and FIG. 3, FIG. 2 is a schematic diagram of a camera position according to an embodiment of the present invention, and FIG. 3 is a schematic diagram of the size of a captured frame image according to an embodiment of the present invention. The coordinates of the region of interest after inverse perspective transformation are x, y, z, γ and θ are the yaw and pitch angles of the camera, and the camera's viewing angle range is 2α. The position of the camera relative to the ground plane is d, h, l, the coordinates in the initial frame image are u, v, and the size of the initial frame image is R x , R y .

其中,逆透视变换的模型可以为:Among them, the model of inverse perspective transformation can be:

Figure GDA0003199357760000071
Figure GDA0003199357760000071

z=0z=0

在感兴趣区域图进行逆透视变换之后,可以生成逆透视变换后的感兴趣区域图,请参见图4所示,图4为本发明实施例提供的一种感兴趣区域图进行逆透视变换前和变换后的感兴趣区域图的示意图。After inverse perspective transformation is performed on the region of interest map, an inverse perspective transformation region of interest map can be generated. Please refer to FIG. 4 . FIG. 4 is a region of interest map provided by an embodiment of the present invention before inverse perspective transformation is performed. and a schematic representation of the transformed region of interest map.

S102、采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率。S102 , using the YC b C r color space model to determine the color probability that each pixel in the transformed region of interest map belongs to the lane line.

在通过S101得到变换后的感兴趣区域图之后,就可以采用YCbCr颜色空间模型确定逆透视变换后的感兴趣区域图中每一个像素属于车道线的颜色概率,由于在不同的光照条件下,YCbCr空间比RGB空间有更好的性能,并可以基于人的视觉特性降低摄像机采集的彩色图像的存储容量,因此,可以先将逆透视变换后的感兴趣区域图由RGB颜色空间转换为YCbCr空间,其中Y是亮度分量,Cb是蓝色色度分量,Cr是红色色度分量,从而通过该YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率。After obtaining the transformed region of interest map through S101, the YC b C r color space model can be used to determine the color probability of each pixel belonging to the lane line in the inversely transformed region of interest map. The YC b C r space has better performance than the RGB space, and can reduce the storage capacity of the color image collected by the camera based on the characteristics of human vision. Therefore, the area of interest map after inverse perspective transformation can be converted into RGB color The space is converted to the YC b C r space, where Y is the luminance component, C b is the blue chrominance component, and C r is the red chrominance component, so that the transformed region of interest is determined by the YC b C r color space model in the map The color probability that each pixel belongs to the lane line.

具体的,可以通过

Figure GDA0003199357760000072
RGB颜色空间转换为YCbCr空间。Specifically, through
Figure GDA0003199357760000072
RGB color space is converted to YC b C r space.

可选的,在本发明实施例中,S102采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率,包括:Optionally, in this embodiment of the present invention, S102 adopts the YC b C r color space model to determine the color probability of each pixel belonging to the lane line in the transformed region of interest map, including:

根据

Figure GDA0003199357760000073
确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率。according to
Figure GDA0003199357760000073
Determine the color probability of each pixel belonging to the lane line in the transformed region of interest map.

其中,P(Ci|x)表示像素属于车道线的概率,N-1表示车道线共有N-1类颜色,Ci为第i类颜色,每个像素的颜色可以表示为:x=(Y,Cb,Cr),且x=(Y,Cb,Cr),Y是亮度分量,Cb是蓝色色度分量,Cr是红色色度分量,P(x)为像素x的颜色概率,

Figure GDA0003199357760000076
为可能性概率,
Figure GDA0003199357760000074
Figure GDA0003199357760000075
为先验性概率,其中#Ci为颜色Ci类中的样本数,K表示第K种颜色。Among them, P(C i |x) represents the probability that the pixel belongs to the lane line, N-1 represents that there are N-1 types of colors in the lane line, and C i is the color of the ith type. The color of each pixel can be expressed as: x=( Y, C b , C r ), and x=(Y, C b , C r ), Y is the luminance component, C b is the blue chrominance component, C r is the red chrominance component, and P(x) is the pixel x The color probability of ,
Figure GDA0003199357760000076
is the probability probability,
Figure GDA0003199357760000074
Figure GDA0003199357760000075
is the prior probability, where #C i is the number of samples in the color C i class, and K represents the Kth color.

S103、对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率。S103 , normalize the color probability of each pixel belonging to the lane line, and obtain the grayscale probability that each pixel belongs to the lane line.

通过S102确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率之后,就可以对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率。可选的,S103对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率,包括:After determining the color probability of each pixel belonging to the lane line in the transformed region of interest map through S102, the color probability of each pixel belonging to the lane line can be normalized to obtain the gray level of each pixel belonging to the lane line probability. Optionally, S103 normalizes the color probability that each pixel belongs to the lane line, and obtains the grayscale probability that each pixel belongs to the lane line, including:

根据

Figure GDA0003199357760000081
对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率;according to
Figure GDA0003199357760000081
Normalize the color probability that each pixel belongs to the lane line, and obtain the gray probability that each pixel belongs to the lane line;

其中,

Figure GDA0003199357760000082
表示像素属于车道线的灰度概率。in,
Figure GDA0003199357760000082
Represents the grayscale probability that a pixel belongs to a lane line.

S104、根据每一个像素属于车道线的灰度概率得到车道线灰度概率图。S104, obtaining a lane line gray probability map according to the gray probability that each pixel belongs to the lane line.

在通过S103对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率之后,就可以根据每一个像素属于车道线的灰度概率得到车道线灰度概率图,在该车道线灰度概率图中,车道线区域有较高的密度,背景区域有较低的密度,但其中可能包含大量的误报信息。因此,可以使用中值滤波消除图像的尖脉冲噪声,突出图像的边缘和细节。After normalizing the color probability of each pixel belonging to the lane line through S103 to obtain the grayscale probability of each pixel belonging to the lane line, the grayscale of the lane line can be obtained according to the grayscale probability of each pixel belonging to the lane line Probability map, in this grayscale probability map of lane lines, the lane line area has a higher density, and the background area has a lower density, but it may contain a lot of false positive information. Therefore, median filtering can be used to remove spike noise in the image and highlight the edges and details of the image.

需要说明的是,在本发明实施例中,在通过S101对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图之后,还可以直接采用RGB颜色空间模型对变换后的感兴趣区域图进行处理,得到处理后的车道线颜色概率图,再采用聚类算法对车道线颜色概率模型图进行区域分割处理,得到二值分割结果图。It should be noted that, in this embodiment of the present invention, after performing inverse perspective transformation on the ROI map in the road to be detected through S101 to obtain the transformed ROI map, the RGB color space model can also be directly used to perform the transformation on the transformed ROI map. The color probability map of lane line after processing is processed to obtain the processed color probability map of lane line, and then the clustering algorithm is used to perform regional segmentation processing on the color probability model map of lane line, and the result map of binary segmentation is obtained.

S105、采用聚类算法对车道线灰度概率模型图进行区域分割处理,得到二值分割结果图。S105 , using a clustering algorithm to perform regional segmentation processing on the grayscale probability model graph of the lane line to obtain a binary segmentation result graph.

示例的,该聚类算法可以为部分信息模糊C-均值聚类算法,也可以采用K-means聚类算法,当然,也可以采用其它聚类算法。示例的,在本发明实施例中,聚类算法为部分信息模糊C-均值聚类算法。在局部信息模糊C-均值聚类算法是用点的隶属度确定每个点属于某个聚类的程度的一种聚类算法。Illustratively, the clustering algorithm may be a partial information fuzzy C-means clustering algorithm, or a K-means clustering algorithm, and of course, other clustering algorithms may also be used. Illustratively, in this embodiment of the present invention, the clustering algorithm is a partial information fuzzy C-means clustering algorithm. The fuzzy C-means clustering algorithm in local information is a clustering algorithm that uses the membership degree of points to determine the degree of each point belonging to a certain cluster.

具体算法如下:The specific algorithm is as follows:

(1)先根据

Figure GDA0003199357760000091
计算第K类的中心;(1) First according to
Figure GDA0003199357760000091
Calculate the center of class K;

(2)根据

Figure GDA0003199357760000092
确定最小化目标函数;其中Gki是模糊因数,
Figure GDA0003199357760000093
dij为像素i和j之间的空间欧氏距离;(2) According to
Figure GDA0003199357760000092
Determine the minimization objective function; where G ki is the ambiguity factor,
Figure GDA0003199357760000093
d ij is the spatial Euclidean distance between pixels i and j;

(3)再根据

Figure GDA0003199357760000094
更新灰度值xj相对于第k类的模糊隶属度,迭代上面步骤直到max|V(b)-V(b+1)|<ε,其中V(b)为模糊划分矩阵,b为循环次数,从而得到车道线的二值分割结果图。请参见图5所示,图5为本发明实施例提供的一种二值分割结果图的示意图。(3) Then according to
Figure GDA0003199357760000094
Update the fuzzy membership of the gray value x j relative to the k-th class, and iterate the above steps until max|V (b) -V (b+1) |<ε, where V (b) is the fuzzy partition matrix, b is the cycle times to obtain the binary segmentation result map of the lane lines. Please refer to FIG. 5 , which is a schematic diagram of a binary segmentation result graph according to an embodiment of the present invention.

S106、对二值分割结果图进行处理,并获取待检测道路中的车道线。S106: Process the binary segmentation result graph, and acquire lane lines in the road to be detected.

在通过S105得到二值分割结果图后,就可以对该二值分割结果图进行处理,并获取待检测道路中的车道线。由此可见,在获取待检测道路中的车道线时,在采用聚类算法对车道线灰度概率模型图进行区域分割处理之前,先采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率,对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率,根据每一个像素属于车道线的灰度概率得到车道线灰度概率图,之后,再对生成的车道线灰度概率图进行区域分割,从而提高了车道线检测的精度。After the binary segmentation result graph is obtained through S105, the binary segmentation result graph can be processed, and lane lines in the road to be detected are acquired. It can be seen that when obtaining the lane lines in the road to be detected, the YC b C r color space model is used to determine the transformed region of interest before using the clustering algorithm to segment the lane line gray probability model map. In the figure, the color probability of each pixel belonging to the lane line is normalized, and the gray probability of each pixel belonging to the lane line is obtained by normalizing the color probability of each pixel belonging to the lane line. The grayscale probability map of the lane line is obtained by probability, and then the generated grayscale probability map of the lane line is divided into regions, thereby improving the accuracy of the lane line detection.

本发明实施例提供了一种车道线的获取方法,先对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图;采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;并对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率;根据每一个像素属于车道线的灰度概率得到车道线灰度概率图;采用聚类算法对车道线灰度概率模型图进行区域分割处理,得到二值分割结果图;对二值分割结果图进行处理,并获取待检测道路中的车道线,从而提高了车道线检测的精度。An embodiment of the present invention provides a method for acquiring lane lines. First, inverse perspective transformation is performed on the ROI map on the road to be detected to obtain the transformed ROI map; the YC b C r color space model is used to determine the transformed ROI map. The color probability of each pixel belonging to the lane line in the area of interest map; and the color probability of each pixel belonging to the lane line is normalized to obtain the grayscale probability of each pixel belonging to the lane line; according to the fact that each pixel belongs to the lane The gray probability of the line is used to obtain the gray probability map of the lane line; the clustering algorithm is used to segment the gray probability model map of the lane line to obtain a binary segmentation result map; Lane lines in the road, thereby improving the accuracy of lane line detection.

基于图1所示的实施例,在得到二值分割结果图之后,对二值分割结果图进行处理,并获取待检测道路中的车道线,可以通过以下方式实现,请参见图6所示,图6为本发明实施例提供的一种对二值分割结果图进行处理的流程示意图。Based on the embodiment shown in FIG. 1 , after the binary segmentation result graph is obtained, the binary segmentation result graph is processed, and the lane lines in the road to be detected are obtained. FIG. 6 is a schematic flowchart of processing a binary segmentation result graph according to an embodiment of the present invention.

S601、对二值分割结果图进行形态学处理,得到处理后的二值分割结果图。S601. Perform morphological processing on the binary segmentation result graph to obtain a processed binary segmentation result graph.

示例的,在本发明实施例中,通过对二值分割结果图进行形态学处理,目的在于可以将跨度小于矩形结构的峰顶取消且去除噪音,使得处理后的二值分割结果图中的车道线区域更加完整。请参见图7所示,图7为本发明实施例提供的一种形态学处理后的二值分割结果图的示意图。Illustratively, in the embodiment of the present invention, by performing morphological processing on the binary segmentation result graph, the purpose is to cancel the peaks whose spans are smaller than the rectangular structure and remove noise, so that the lanes in the binary segmentation result graph after processing can be eliminated. The line area is more complete. Please refer to FIG. 7 , which is a schematic diagram of a binary segmentation result graph after morphological processing according to an embodiment of the present invention.

S602、采用索贝尔Sobel算法检测处理后的二值分割结果图中的边缘曲线。S602. Use the Sobel algorithm to detect the edge curve in the processed binary segmentation result graph.

可选的,在本发明实施例中,S602采用索贝尔Sobel算法检测处理后的二值分割结果图中的边缘曲线,可以包括:Optionally, in the embodiment of the present invention, S602 adopts the Sobel algorithm to detect the edge curve in the processed binary segmentation result graph, which may include:

采用Sobel算法获取处理后的二值分割结果图中每一个像素的横向值和纵向值;根据每一个像素的横向值和纵向值确定每一个像素梯度值和方向;当每一个像素的梯度值和方向大于预设阈值,且梯度值在一定预设范围内时,确定每一个像素为处理后的二值分割结果图的边缘点;根据每一个边缘点检测处理后的二值分割结果图中的边缘曲线。The Sobel algorithm is used to obtain the horizontal value and vertical value of each pixel in the processed binary segmentation result image; the gradient value and direction of each pixel are determined according to the horizontal value and vertical value of each pixel; when the gradient value of each pixel and When the direction is greater than the preset threshold, and the gradient value is within a certain preset range, determine that each pixel is an edge point of the processed binary segmentation result map; edge curve.

具体的,Sobel算法能够在低对比度图像中准确地定位边缘,其横向和纵向近似求导后的图像为:Specifically, the Sobel algorithm can accurately locate the edge in the low-contrast image, and the image after the approximate derivation of the horizontal and vertical directions is:

Figure GDA0003199357760000101
Figure GDA0003199357760000101

梯度大小和方向为:

Figure GDA0003199357760000102
The gradient magnitude and direction are:
Figure GDA0003199357760000102

当某像素的梯度大于某一阈值,并且方向在一定范围内,设定该像素为车道线区域的边缘点;在确定每一个边缘点之后,就可以根据每一个边缘点检测处理后的二值分割结果图中的边缘曲线。请参见图7所示,图7为本发明实施例提供的一种采用索贝尔Sobel算法检测处理后的二值分割结果图中的边缘曲线的示意图。When the gradient of a pixel is greater than a certain threshold and the direction is within a certain range, the pixel is set as the edge point of the lane line area; after each edge point is determined, the processed binary value can be detected according to each edge point The edge curve in the segmentation result graph. Referring to FIG. 7 , FIG. 7 is a schematic diagram of an edge curve in a binary segmentation result graph after detection and processing by using the Sobel algorithm according to an embodiment of the present invention.

S603、对边缘曲线进行中心线操作处理,得到处理后的中心曲线。S603. Perform centerline operation processing on the edge curve to obtain a processed center curve.

车道线区域的中心线可以为车道线区域两条边缘线的平均值,请参见图8所示,图8为本发明实施例提供的一种处理后的中心曲线的示意图。The center line of the lane line area may be the average value of the two edge lines of the lane line area. Please refer to FIG. 8 , which is a schematic diagram of a processed center curve according to an embodiment of the present invention.

S604、采用霍尔Hough变换对中心曲线进行分段处理,并对分段处理后得到的多个直线段进行拟合处理,获取待检测道路中的车道线。S604 , using Hall Hough transform to perform segmentation processing on the center curve, and performing fitting processing on a plurality of straight line segments obtained after the segmentation processing, to obtain lane lines in the road to be detected.

在通过S603得到处理后的中心曲线之后,就可以采用Hough变换在图像底部区域的左右两部分分别搜索直线。Hough变换在直线的极坐标参数空间进行投票,累积的局部峰值点为候选直线。其中,候选直线满足如下条件:After obtaining the processed center curve through S603, the Hough transform can be used to search for straight lines in the left and right parts of the bottom area of the image respectively. Hough transform votes in the polar coordinate parameter space of the line, and the accumulated local peak points are candidate lines. Among them, the candidate straight line satisfies the following conditions:

(1)直线与垂直方向的夹角必须在25°内;(2)直线的底部交点与图像的底部中心点之间的距离不能超过图像中一个车道的宽度;(3)两条车道线必须满足平行条件;(4)当有多条直线符合条件时,分别在左右两侧选择最接近底部中心点的直线作为车道线。(1) The angle between the straight line and the vertical direction must be within 25°; (2) The distance between the bottom intersection of the straight line and the bottom center point of the image cannot exceed the width of one lane in the image; (3) The two lane lines must be The parallel conditions are met; (4) When there are multiple straight lines that meet the conditions, select the straight line closest to the bottom center point on the left and right sides as the lane line.

根据上述四个条件可以确定图像底部区域左右两部分中最主要的直线。在当前帧中,检测到的直线底部的固定长度线段,选取其作为两侧车道线的初始段;然后沿着初始段方向跟踪车道线;整个车道线可近似为许多直线段首尾相连;连续一侧的车道直线段的角度可用于近似跟踪另一侧断续的车道线;当车道线中断或道路上有阴影时,跟踪程序也可以持续跟踪检测出完整的当前帧车道线。请参见图9所示,图9为本发明实施例提供的一种跟踪后得到的两侧车道线的示意图。在得到图9之后,可以使用最小二乘方法拟合为二次多项式,通过求解拟合多项式的系数矩阵来获得拟合曲线方程。拟合过程通过二次多项式模型将近似的跟踪结果转变为高精度拟合曲线,提高了检测的可靠性。According to the above four conditions, the most important straight line in the left and right parts of the bottom area of the image can be determined. In the current frame, the fixed-length line segment at the bottom of the detected line is selected as the initial segment of the lane lines on both sides; then the lane line is tracked along the direction of the initial segment; the entire lane line can be approximated as many straight line segments connected end to end; The angle of the lane line segment on the side can be used to approximately track the intermittent lane line on the other side; when the lane line is interrupted or there is a shadow on the road, the tracking program can also continuously track and detect the complete current frame lane line. Referring to FIG. 9 , FIG. 9 is a schematic diagram of lane lines on both sides obtained after tracking according to an embodiment of the present invention. After obtaining Figure 9, the least squares method can be used to fit a quadratic polynomial, and the fitted curve equation can be obtained by solving the coefficient matrix of the fitted polynomial. The fitting process converts the approximate tracking result into a high-precision fitting curve through a quadratic polynomial model, which improves the reliability of detection.

可选的,在本发明实施例中,获取待检测道路中的车道线之后,还可以包括:Optionally, in this embodiment of the present invention, after acquiring the lane lines in the road to be detected, it may further include:

在地图上显示待检测道路中的车道线。Displays lane lines in the road to be detected on the map.

利用卡尔曼滤波器跟踪每帧的车道线斜率,可以通过先前状态和当前测量预测之后的状态,预测比单独测量更准确,然后逐帧修正进而绘制出精准的全局地图,从而在地图上显示待检测道路中的车道线。Using the Kalman filter to track the slope of the lane line for each frame, the post state can be predicted by the previous state and the current measurement, and the prediction is more accurate than the measurement alone, and then corrected frame by frame to draw an accurate global map, so as to display the pending state on the map. Detect lane lines in roads.

为了验证本发明实施例提供的车道线的获取方法,下面,以表1中的相关数据为例,选取车辆在城市道路上的视频图像序列中的300帧进行分析,这些图像中的道路质量较差,包括雨天和夜晚等不同环境,还包括各种不同的弯道情况。其中,每帧图像的大小为320*280,平均每帧图像检测车道线的时间为22毫秒,平均每秒45.5帧。当车辆速度为100km/h时,即车辆每秒行驶27.8m,系统每隔0.61m进行车道线更新。检测结果如表1所示。In order to verify the method for obtaining lane lines provided by the embodiment of the present invention, below, taking the relevant data in Table 1 as an example, select 300 frames in the video image sequence of the vehicle on the urban road for analysis, and the road quality in these images is relatively high. Poor, including different environments such as rain and night, but also a variety of different cornering situations. Among them, the size of each frame of image is 320*280, the average detection time of lane line per frame of image is 22 milliseconds, and the average is 45.5 frames per second. When the vehicle speed is 100km/h, that is, the vehicle travels 27.8m per second, the system updates the lane line every 0.61m. The test results are shown in Table 1.

表1各种不同环境下的检测正确率Table 1 Detection accuracy in various environments

Figure GDA0003199357760000121
Figure GDA0003199357760000121

由表1的检测结果可以看出:有295帧图像可正确检测车道线,其正确率为98.3%。在车道线有部分遮挡、孔洞、阴影情况下,该系统仍有很好的检测结果,因此,本发明实施例提供的车道线的获取方法具有良好的抗干扰性能。It can be seen from the detection results in Table 1 that there are 295 frames of images that can correctly detect lane lines, and the correct rate is 98.3%. When the lane lines are partially occluded, holes, and shadows, the system still has good detection results. Therefore, the lane line acquisition method provided by the embodiments of the present invention has good anti-interference performance.

图10为本发明实施例提供的一种车道线获取的装置100的结构示意图,请参见图10所示,该车道线获取的装置100可以包括:FIG. 10 is a schematic structural diagram of an apparatus 100 for acquiring lane lines according to an embodiment of the present invention. Referring to FIG. 10 , the apparatus 100 for acquiring lane lines may include:

变换单元1001,用于对待检测道路中的感兴趣区域图进行逆透视变换,得到变换后的感兴趣区域图。The transformation unit 1001 is configured to perform inverse perspective transformation on the ROI map on the road to be detected, to obtain the transformed ROI map.

确定单元1002,用于采用YCbCr颜色空间模型确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率。The determining unit 1002 is configured to use the YC b C r color space model to determine the color probability that each pixel in the transformed region of interest map belongs to the lane line.

处理单元1003,用于对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率。The processing unit 1003 is configured to perform normalization processing on the color probability that each pixel belongs to the lane line to obtain the grayscale probability that each pixel belongs to the lane line.

生成单元1004,用于根据每一个像素属于车道线的灰度概率得到车道线灰度概率图。The generating unit 1004 is configured to obtain a grayscale probability map of the lane line according to the grayscale probability that each pixel belongs to the lane line.

分割单元1005,用于采用聚类算法对车道线灰度概率模型图进行区域分割处理,得到二值分割结果图。The segmentation unit 1005 is configured to use a clustering algorithm to perform regional segmentation processing on the grayscale probability model graph of the lane line to obtain a binary segmentation result graph.

获取单元1006,用于对二值分割结果图进行处理,并获取待检测道路中的车道线。The obtaining unit 1006 is configured to process the binary segmentation result graph and obtain lane lines in the road to be detected.

可选的,确定单元1002,具体用于根据

Figure GDA0003199357760000131
确定变换后的感兴趣区域图中每一个像素属于车道线的颜色概率;Optionally, the determining unit 1002 is specifically configured to
Figure GDA0003199357760000131
Determine the color probability of each pixel belonging to the lane line in the transformed region of interest map;

其中,P(Ci|x)表示像素属于车道线的概率,N-1表示车道线共有N-1类颜色,Ci为第i类颜色,每个像素的颜色可以表示为:x=(Y,Cb,Cr),且x=(Y,Cb,Cr),Y是亮度分量,Cb是蓝色色度分量,Cr是红色色度分量,P(x)为像素x的颜色概率,P(x|Ci)为可能性概率,

Figure GDA0003199357760000132
为先验性概率,#Ci为颜色Ci类中的样本数,K表示第K种颜色。Among them, P(C i |x) represents the probability that the pixel belongs to the lane line, N-1 represents that there are N-1 types of colors in the lane line, and C i is the color of the ith type. The color of each pixel can be expressed as: x=( Y, C b , C r ), and x=(Y, C b , C r ), Y is the luminance component, C b is the blue chrominance component, C r is the red chrominance component, and P(x) is the pixel x The color probability of , P(x|C i ) is the probability probability,
Figure GDA0003199357760000132
is the prior probability, #C i is the number of samples in the color C i class, and K represents the Kth color.

可选的,处理单元1003,具体用于根据

Figure GDA0003199357760000133
对每一个像素属于车道线的颜色概率进行归一化处理,得到每一个像素属于车道线的灰度概率;Optionally, the processing unit 1003 is specifically configured to
Figure GDA0003199357760000133
Normalize the color probability that each pixel belongs to the lane line, and obtain the gray probability that each pixel belongs to the lane line;

其中,

Figure GDA0003199357760000134
表示像素属于车道线的灰度概率。in,
Figure GDA0003199357760000134
Represents the grayscale probability that a pixel belongs to a lane line.

可选的,获取单元1006,具体用于对二值分割结果图进行形态学处理,得到处理后的二值分割结果图;并对处理后的二值分割结果图进行处理,并获取待检测道路中的车道线。Optionally, the obtaining unit 1006 is specifically configured to perform morphological processing on the binary segmentation result graph to obtain the processed binary segmentation result graph; process the processed binary segmentation result graph, and obtain the road to be detected. Lane lines in .

可选的,获取单元1006,具体用于采用索贝尔Sobel算法检测处理后的二值分割结果图中的边缘曲线;对边缘曲线进行中心线操作处理,得到处理后的中心曲线;采用霍尔Hough变换对中心曲线进行分段处理,并对分段处理后得到的多个直线段进行拟合处理,获取待检测道路中的车道线。Optionally, the obtaining unit 1006 is specifically configured to use the Sobel algorithm to detect the edge curve in the processed binary segmentation result graph; perform centerline operation processing on the edge curve to obtain the processed center curve; use Hall Hough The transformation performs segmentation processing on the center curve, and performs fitting processing on a plurality of straight line segments obtained after the segmentation processing, so as to obtain lane lines in the road to be detected.

可选的,获取单元1006,具体用于采用Sobel算法获取处理后的二值分割结果图中每一个像素的横向值和纵向值;根据每一个像素的横向值和纵向值确定每一个像素梯度值和方向;当每一个像素的梯度值和方向大于预设阈值,且梯度值在一定预设范围内时,确定每一个像素为处理后的二值分割结果图的边缘点;根据每一个边缘点检测处理后的二值分割结果图中的边缘曲线。Optionally, the obtaining unit 1006 is specifically used to obtain the horizontal value and vertical value of each pixel in the processed binary segmentation result graph by using the Sobel algorithm; determine the gradient value of each pixel according to the horizontal value and vertical value of each pixel. and direction; when the gradient value and direction of each pixel are greater than the preset threshold, and the gradient value is within a certain preset range, determine each pixel as the edge point of the processed binary segmentation result map; according to each edge point Detect edge curves in the processed binary segmentation result graph.

可选的,车道线的获取装置100还可以包括显示单元1007,请参见图11所示,图11为本发明实施例提供的另一种车道线获取的装置100的结构示意图。Optionally, the apparatus 100 for acquiring lane lines may further include a display unit 1007. Please refer to FIG. 11, which is a schematic structural diagram of another apparatus 100 for acquiring lane lines according to an embodiment of the present invention.

显示单元1007,用于在地图上显示待检测道路中的车道线。The display unit 1007 is used to display the lane lines in the road to be detected on the map.

上述车道线的获取装置100,对应地可执行任一实施例的车道线的获取方法的技术方案,其实现原理和技术效果类似,在此不再赘述。The above-mentioned apparatus 100 for acquiring lane lines can correspondingly execute the technical solutions of the method for acquiring lane lines in any embodiment, and the implementation principles and technical effects thereof are similar, and details are not repeated here.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本发明旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common general knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for acquiring a lane line is characterized by comprising the following steps:
carrying out inverse perspective transformation on the interesting region image in the road to be detected to obtain a transformed interesting region image;
using YCbCrDetermining the color probability of each pixel in the transformed region of interest image belonging to the lane line by using a color space model;
normalizing the color probability of each pixel belonging to the lane line to obtain the gray level probability of each pixel belonging to the lane line;
obtaining a lane line gray probability map according to the gray probability of each pixel belonging to the lane line;
performing region segmentation processing on the lane line gray level probability model map by adopting a clustering algorithm to obtain a binary segmentation result map;
and processing the binary segmentation result graph, and acquiring a lane line in the road to be detected.
2. The method of claim 1, wherein the first and second light sources are selected from the group consisting of,characterized in that YC is adoptedbCrThe color space model determines the color probability that each pixel in the transformed region of interest map belongs to the lane line, and the color space model comprises the following steps:
according to
Figure FDA0003199357750000011
Determining the color probability of each pixel in the transformed region of interest map belonging to a lane line;
wherein, P (C)i| x) represents the probability that a pixel belongs to a lane line, N-1 represents that the lane line has N-1 types of colors in common, CiFor the ith type of color, the color of each pixel can be expressed as: x ═ Y, Cb,Cr) And x ═ Y, Cb,Cr) Y is a luminance component, CbIs the blue chrominance component, CrIs the red chrominance component, P (x) is the color probability of pixel x, P (x | C)i) In order to be the probability of a possibility,
Figure FDA0003199357750000012
for a priori probability, # CiIs color CiThe number of samples in a class, K represents the K-th color.
3. The method according to claim 2, wherein the normalizing the color probability of each pixel belonging to the lane line to obtain the gray level probability of each pixel belonging to the lane line comprises:
according to
Figure FDA0003199357750000013
Normalizing the color probability of each pixel belonging to the lane line to obtain the gray level probability of each pixel belonging to the lane line;
wherein,
Figure FDA0003199357750000014
representing the gray level probability of a pixel belonging to a lane line.
4. The method according to any one of claims 1 to 3, wherein the processing the binary segmentation result map and acquiring the lane lines in the road to be detected comprises:
performing morphological processing on the binary segmentation result graph to obtain a processed binary segmentation result graph;
and processing the processed binary segmentation result graph, and acquiring a lane line in the road to be detected.
5. The method according to claim 4, wherein the processing the processed binary segmentation result map and acquiring the lane lines in the road to be detected comprises:
detecting an edge curve in the processed binary segmentation result graph by adopting a Sobel algorithm;
performing centerline operation processing on the edge curves to obtain a processed image, wherein the processed image is provided with a center curve, and the center curve is the centerline of the two edge curves;
processing the processed image by adopting Hall Hough transformation according to the central curve to obtain initial sections of lane lines on two sides;
and tracking the lane lines along the initial section direction of the lane lines on the two sides according to the initial sections of the lane lines on the two sides, and fitting the lane lines on the two sides obtained after tracking to obtain the lane lines in the road to be detected.
6. The method according to claim 5, wherein the detecting the edge curve in the processed binary segmentation result map by using the Sobel algorithm comprises:
acquiring a horizontal value and a longitudinal value of each pixel in the processed binary segmentation result image by adopting the Sobel algorithm;
determining the gradient value and the direction of each pixel according to the transverse value and the longitudinal value of each pixel;
when the gradient value and the direction of each pixel are larger than a preset threshold value and the gradient value is within a certain preset range, determining each pixel as an edge point of the processed binary segmentation result image;
and detecting an edge curve in the processed binary segmentation result graph according to each edge point.
7. The method according to any one of claims 1 to 3, characterized in that after acquiring the lane line in the road to be detected, it comprises:
and displaying the lane lines in the road to be detected on a map.
8. An acquisition device of a lane line, comprising:
the transformation unit is used for carrying out inverse perspective transformation on the interesting region image in the road to be detected to obtain a transformed interesting region image;
a determination unit for adopting YCbCrDetermining the color probability of each pixel in the transformed region of interest image belonging to the lane line by using a color space model;
the processing unit is used for carrying out normalization processing on the color probability of each pixel belonging to the lane line to obtain the gray level probability of each pixel belonging to the lane line;
the generating unit is used for obtaining a lane line gray probability map according to the gray probability that each pixel belongs to the lane line;
the segmentation unit is used for carrying out region segmentation processing on the lane line gray level probability model map by adopting a clustering algorithm to obtain a binary segmentation result map;
and the acquisition unit is used for processing the binary segmentation result graph and acquiring the lane line in the road to be detected.
9. The apparatus of claim 8,
the determination unit is specifically used for determining
Figure FDA0003199357750000031
Determining the color probability of each pixel in the transformed region of interest map belonging to a lane line;
wherein, P (C)i| x) represents the probability that a pixel belongs to a lane line, N-1 represents that the lane line has N-1 types of colors in common, CiFor the ith type of color, the color of each pixel can be expressed as: x ═ Y, Cb,Cr) And x ═ Y, Cb,Cr) Y is a luminance component, CbIs the blue chrominance component, CrIs the red chrominance component, P (x) is the color probability of pixel x, P (x | C)i) In order to be the probability of a possibility,
Figure FDA0003199357750000032
for a priori probability, # CiIs color CiThe number of samples in a class, K represents the K-th color.
10. The apparatus of claim 9,
the processing unit is specifically used for
Figure FDA0003199357750000033
Normalizing the color probability of each pixel belonging to the lane line to obtain the gray level probability of each pixel belonging to the lane line;
wherein,
Figure FDA0003199357750000034
representing the gray level probability of a pixel belonging to a lane line.
CN201711332712.3A 2017-12-13 2017-12-13 Method and device for acquiring lane line Active CN108052904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711332712.3A CN108052904B (en) 2017-12-13 2017-12-13 Method and device for acquiring lane line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711332712.3A CN108052904B (en) 2017-12-13 2017-12-13 Method and device for acquiring lane line

Publications (2)

Publication Number Publication Date
CN108052904A CN108052904A (en) 2018-05-18
CN108052904B true CN108052904B (en) 2021-11-30

Family

ID=62132692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711332712.3A Active CN108052904B (en) 2017-12-13 2017-12-13 Method and device for acquiring lane line

Country Status (1)

Country Link
CN (1) CN108052904B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209777A (en) * 2018-11-21 2020-05-29 北京市商汤科技开发有限公司 Lane line detection method and device, electronic device and readable storage medium
CN111209770B (en) * 2018-11-21 2024-04-23 北京三星通信技术研究有限公司 Lane line recognition method and device
CN111460866B (en) * 2019-01-22 2023-12-22 北京市商汤科技开发有限公司 Lane line detection and driving control method and device and electronic equipment
CN112131914B (en) * 2019-06-25 2022-10-21 北京市商汤科技开发有限公司 Lane line attribute detection method and device, electronic equipment and intelligent equipment
CN110595499A (en) * 2019-09-26 2019-12-20 北京四维图新科技股份有限公司 Lane change reminding method, device and system
CN112101163A (en) * 2020-09-04 2020-12-18 淮阴工学院 Lane line detection method
CN114463245A (en) 2020-11-10 2022-05-10 北京百度网讯科技有限公司 Image processing method and device and electronic equipment
CN112418187A (en) * 2020-12-15 2021-02-26 潍柴动力股份有限公司 Lane line recognition method and apparatus, storage medium, and electronic device
CN112633151B (en) * 2020-12-22 2024-04-12 浙江大华技术股份有限公司 Method, device, equipment and medium for determining zebra stripes in monitoring images
CN113887298A (en) * 2021-08-31 2022-01-04 际络科技(上海)有限公司 Lane line detection method, lane line detection device, electronic apparatus, storage medium, and program product
CN114926751A (en) * 2022-04-08 2022-08-19 广州市华南自然资源科学技术研究院 Farmland road extraction threshold value selection method and device based on data mining

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488975A (en) * 2013-09-17 2014-01-01 北京联合大学 Zebra crossing real-time detection method based in intelligent driving
CN104331873A (en) * 2013-07-22 2015-02-04 浙江大学 Method for detecting road from single image
CN104598892A (en) * 2015-01-30 2015-05-06 广东威创视讯科技股份有限公司 Dangerous driving behavior alarming method and system
CN105261020A (en) * 2015-10-16 2016-01-20 桂林电子科技大学 Method for detecting fast lane line
CN105631880A (en) * 2015-12-31 2016-06-01 百度在线网络技术(北京)有限公司 Lane line segmentation method and apparatus
CN105678285A (en) * 2016-02-18 2016-06-15 北京大学深圳研究生院 Adaptive road aerial view transformation method and road lane detection method
CN105740796A (en) * 2016-01-27 2016-07-06 大连楼兰科技股份有限公司 Grey level histogram based post-perspective transformation lane line image binarization method
CN106446864A (en) * 2016-10-12 2017-02-22 成都快眼科技有限公司 Method for detecting feasible road
CN106558051A (en) * 2015-09-25 2017-04-05 浙江大学 A kind of improved method for detecting road from single image

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331873A (en) * 2013-07-22 2015-02-04 浙江大学 Method for detecting road from single image
CN103488975A (en) * 2013-09-17 2014-01-01 北京联合大学 Zebra crossing real-time detection method based in intelligent driving
CN104598892A (en) * 2015-01-30 2015-05-06 广东威创视讯科技股份有限公司 Dangerous driving behavior alarming method and system
CN106558051A (en) * 2015-09-25 2017-04-05 浙江大学 A kind of improved method for detecting road from single image
CN105261020A (en) * 2015-10-16 2016-01-20 桂林电子科技大学 Method for detecting fast lane line
CN105631880A (en) * 2015-12-31 2016-06-01 百度在线网络技术(北京)有限公司 Lane line segmentation method and apparatus
CN105740796A (en) * 2016-01-27 2016-07-06 大连楼兰科技股份有限公司 Grey level histogram based post-perspective transformation lane line image binarization method
CN105678285A (en) * 2016-02-18 2016-06-15 北京大学深圳研究生院 Adaptive road aerial view transformation method and road lane detection method
CN106446864A (en) * 2016-10-12 2017-02-22 成都快眼科技有限公司 Method for detecting feasible road

Also Published As

Publication number Publication date
CN108052904A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN108052904B (en) Method and device for acquiring lane line
CN107679520B (en) Lane line visual detection method suitable for complex conditions
Kong et al. Vanishing point detection for road detection
Kong et al. General road detection from a single image
EP3007099B1 (en) Image recognition system for a vehicle and corresponding method
CN105261020B (en) A kind of express lane line detecting method
CN106778593B (en) Lane level positioning method based on multi-ground sign fusion
US9053372B2 (en) Road marking detection and recognition
CN104809433B (en) A kind of zebra line detecting method based on maximum stable region and stochastical sampling
CN105893949A (en) Lane line detection method under complex road condition scene
CN104331873A (en) Method for detecting road from single image
CN104899554A (en) Vehicle ranging method based on monocular vision
CN104112370A (en) Monitoring image based intelligent parking lot parking place identification method and system
CN106558051A (en) A kind of improved method for detecting road from single image
CN105320927A (en) Lane line detection method and system
Li et al. A lane marking detection and tracking algorithm based on sub-regions
CN111753749A (en) A Lane Line Detection Method Based on Feature Matching
KR101998584B1 (en) Lane detection apparatus and lane detection method
CN107301371A (en) A kind of unstructured road detection method and system based on image information fusion
Vajak et al. A rethinking of real-time computer vision-based lane detection
WO2019149213A1 (en) Image-based road cone recognition method and apparatus, storage medium, and vehicle
CN107506739B (en) Night forward vehicle detection and distance measurement method
Irshad et al. Real-time lane departure warning system on a lower resource platform
CN111860084B (en) Image feature matching and positioning method and device and positioning system
Romdhane et al. Combined 2d/3d traffic signs recognition and distance estimation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant