[go: up one dir, main page]

CN107491756B - Lane turning information recognition method based on traffic signs and ground signs - Google Patents

Lane turning information recognition method based on traffic signs and ground signs Download PDF

Info

Publication number
CN107491756B
CN107491756B CN201710709060.4A CN201710709060A CN107491756B CN 107491756 B CN107491756 B CN 107491756B CN 201710709060 A CN201710709060 A CN 201710709060A CN 107491756 B CN107491756 B CN 107491756B
Authority
CN
China
Prior art keywords
lane
traffic sign
signs
recognition result
surface mark
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.)
Expired - Fee Related
Application number
CN201710709060.4A
Other languages
Chinese (zh)
Other versions
CN107491756A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201710709060.4A priority Critical patent/CN107491756B/en
Publication of CN107491756A publication Critical patent/CN107491756A/en
Application granted granted Critical
Publication of CN107491756B publication Critical patent/CN107491756B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • G06V20/582Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of traffic signs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

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

Abstract

本发明涉及基于交通标牌与地面标志的车道转向信息识别方法,包括:步骤1,利用移动测量车获取实际道路的影像序列数据;步骤2,对每一张影像进行交通标牌的检测识别,获得车道内交通标牌的转向信息;步骤3,对每一张影像进行地面标志的检测识别,获得车道内地面标志的转向信息;步骤4,对步骤2和步骤3的转向信息识别结果进行影像序列分析,分别计算出交通标牌与地面标志转向信息的可信度,将可信度最高的作为各自的识别结果;步骤5,对比核验车道内交通标牌转识别结果和地面标志识别结果,获得该车道段的转向信息。本发明通过分析实际道路中地面标志和交通标牌分布的特点,并采用相互确认机制,实现车道转向信息的高准确率识别。

The invention relates to a lane turning information recognition method based on traffic signs and ground signs, comprising: step 1, using a mobile survey vehicle to obtain image sequence data of the actual road; step 2, detecting and identifying traffic signs for each image, and obtaining the lane The turning information of the traffic signs in the lane; step 3, detect and identify the ground signs for each image, and obtain the turning information of the ground signs in the lane; step 4, perform image sequence analysis on the turning information recognition results of steps 2 and 3, Calculate the reliability of the turning information of traffic signs and ground signs respectively, and take the highest reliability as the respective recognition results; step 5, compare and verify the traffic sign turning recognition results and ground sign recognition results in the lane, and obtain the lane section Turn to information. The invention realizes the high-accuracy identification of lane turning information by analyzing the characteristics of the distribution of ground signs and traffic signs in actual roads and adopting a mutual confirmation mechanism.

Description

基于交通标牌与地面标志的车道转向信息识别方法Lane turning information recognition method based on traffic signs and ground signs

技术领域technical field

本发明主要涉及智能交通领域,尤其针对提取车道的转向信息,通过检测交通标牌和车道内地面转向标志,两者相互验证,来提高信息正确率。The invention mainly relates to the field of intelligent transportation, especially for extracting steering information of lanes, by detecting traffic signs and ground turning signs in lanes, and verifying the two to improve the accuracy of information.

背景技术Background technique

汽车的飞速发展,为人们日常生活的出行提供了便利,但也带来了各种问题,交通拥堵,交通事故频频发生。因此,交通标志识别系统得到了广泛的关注,系统可以实时准确地将道路信息传递给驾驶员,有效地帮助驾驶员对可能的危险做出预测,从而实现安全驾驶。由于交通标志种类较多,需处理的信息量大,而且存在大量的干扰因素,如光照条件、道路情况复杂等,使得待识别的交通标志图像往往存在噪声干扰,因此要求交通标志识别算法有较高的准确性。The rapid development of automobiles provides convenience for people's daily travel, but it also brings various problems, such as traffic congestion and frequent traffic accidents. Therefore, the traffic sign recognition system has received extensive attention. The system can accurately transmit road information to the driver in real time, effectively helping the driver to predict possible dangers, so as to achieve safe driving. Due to the large variety of traffic signs, the large amount of information to be processed, and the existence of a large number of interference factors, such as lighting conditions, complex road conditions, etc., the image of the traffic sign to be recognized often has noise interference, so the traffic sign recognition algorithm is required. high accuracy.

目前,国内外对提高交通标牌识别准确性都有一些研究,但大多数研究都仅针对交通标牌识别,不断提高其算法精度,也有少部分研究地面标志的识别。Jobson等人采用Retinex 算法来消除光照影响,但算法十分复杂而且实验效果一般;Teague提出采用连续正交距构造不变距的方法来进行特征提取,主要有两类即Zernike距和Legendre距,但计算这类连续不变距时存在离散误差,会导致不变距的数值变化较大且正交性能下降,造成识别精度下降。陈放提出了基于Hu不变矩和轮廓投影的路面标志识别方法,介炫惠设计了基于双极性和特征融合的人行横道检测算法,提出了基于卷积滤波的特征点搜索算法进行停止线检测。使用此方法误检率较低,处理速度快,但针对具体标志设计算法,缺乏通用性。At present, there are some studies on improving the accuracy of traffic sign recognition at home and abroad, but most of the research is only on traffic sign recognition, and the algorithm accuracy is continuously improved, and a small part of the research is on the recognition of ground signs. Jobson et al. used the Retinex algorithm to eliminate the influence of illumination, but the algorithm was very complex and the experimental results were mediocre; Teague proposed a method of using continuous orthogonal distances to construct invariant distances for feature extraction. There are two main types, Zernike distance and Legendre distance, but There are discrete errors in the calculation of such continuous invariant distances, which will lead to a large change in the value of invariant distances and a decrease in orthogonality performance, resulting in a decrease in recognition accuracy. Chen Fang proposed a road sign recognition method based on Hu invariant moments and contour projection. Jie Xuanhui designed a crosswalk detection algorithm based on bipolarity and feature fusion, and proposed a feature point search algorithm based on convolution filtering for stop line detection. Using this method has a low false detection rate and fast processing speed, but the design algorithm for specific signs lacks versatility.

但就现有算法来看,缺乏对识别结果验证确认的机制。根据实际情况可知,同向多车道的公路一般都设计了分向行驶车道,每个车道内都有其转向信息,且空中会出现车道行驶方向标志,即实际道路上存在多个标志指示同一信息的情况。然而现有研究未对含同一信息的多个标志进行很好地利用。However, as far as the existing algorithms are concerned, there is no mechanism for verifying and confirming the recognition results. According to the actual situation, roads with multiple lanes in the same direction are generally designed with separate driving lanes, each lane has its steering information, and there will be lane driving direction signs in the sky, that is, there are multiple signs on the actual road indicating the same information Case. However, existing studies have not made good use of multiple markers containing the same information.

发明内容Contents of the invention

为显著提高交通标牌识别分类的正确率,充分利用含有同一信息的多个标志,本发明公开了一种基于交通标牌与地面标志相互验证的车道转向信息识别方法。In order to significantly improve the correct rate of identification and classification of traffic signs and make full use of multiple signs containing the same information, the invention discloses a lane turning information recognition method based on mutual verification of traffic signs and ground signs.

本发明的技术方案为一种基于交通标牌与地面标志相互验证的车道转向信息识别方法,包括以下步骤,The technical solution of the present invention is a lane turning information recognition method based on mutual verification of traffic signs and ground signs, comprising the following steps,

步骤1,获取实际道路的影像序列数据;Step 1, obtain the image sequence data of the actual road;

步骤2,对每一张影像进行交通标牌的检测识别,包括以下子步骤,Step 2, the detection and recognition of traffic signs for each image, including the following sub-steps,

步骤2.1,对每一张影像进行HSV颜色空间阈值分割,提取符合交通标牌颜色的区域;Step 2.1, perform HSV color space threshold segmentation on each image, and extract areas that match the color of the traffic sign;

步骤2.2,在已经提取出的符合交通标牌颜色的区域中,进行形状检测,将符合交通标牌形状的区域提取出来;Step 2.2, in the extracted region that conforms to the color of the traffic sign, perform shape detection, and extract the region that conforms to the shape of the traffic sign;

步骤2.3,在获得的交通标牌区域范围中进行hough直线检测,根据得到的直线划分为不同车道,每个车道内对应有一个转向标志,提取各转向标志的特征向量V1;Step 2.3, perform hough straight line detection in the obtained traffic sign area, divide the obtained straight lines into different lanes, each lane corresponds to a turn sign, and extract the feature vector V1 of each turn sign;

步骤2.4,将特征向量V1输入到支持向量机进行识别,获得车道内交通标牌的转向信息;Step 2.4, input the feature vector V1 into the support vector machine for recognition, and obtain the steering information of the traffic signs in the lane;

步骤3,对每一张影像进行地面标志的检测识别,包括以下子步骤,Step 3, perform detection and recognition of ground signs on each image, including the following sub-steps,

步骤3.1,对每一张影像进行灰度化、直方图均衡化以及场景重建的处理;Step 3.1, performing gray scale, histogram equalization and scene reconstruction processing on each image;

步骤3.2,提取影像中的车道线,获得车道的区域范围,并保留车道间的地面标志;Step 3.2, extract the lane lines in the image, obtain the area range of the lane, and keep the ground marks between the lanes;

步骤3.3,在步骤3.2获得的各车道范围内,提取每个车道内的转向标志的特征向量V2;Step 3.3, within the scope of each lane obtained in step 3.2, extract the feature vector V2 of the turn sign in each lane;

步骤3.4,将特征向量V2输入到支持向量机进行识别,获得车道内地面标志的转向信息;Step 3.4, input the feature vector V2 to the support vector machine for identification, and obtain the steering information of the ground signs in the lane;

步骤4,对步骤2和步骤3的转向信息识别结果进行影像序列分析,分别计算出交通标牌与地面标志转向信息的可信度,若得到的可信度均小于规定值,则标记为不可靠信息,留待复检,若得到的可信度满足规定值,则对应输出具有最大可信度的识别结果;Step 4: Carry out image sequence analysis on the recognition results of turning information in steps 2 and 3, respectively calculate the reliability of the turning information of traffic signs and ground signs, if the obtained reliability is less than the specified value, mark it as unreliable The information is left for re-inspection. If the obtained reliability meets the specified value, then the recognition result with the maximum reliability will be correspondingly output;

步骤5,对比核验车道内交通标牌识别结果和地面标志识别结果,获得该车道段的转向信息,实现方式如下,Step 5, compare and verify the recognition results of traffic signs in the lane and the recognition results of ground signs, and obtain the steering information of the lane section. The implementation method is as follows,

首先判断同一个车道内是否同时包含交通标牌与地面标志的识别结果,若是,则根据先验知识,分别确定交通标牌和地面标志识别结果的权重,然后执行(1)和(2),若否,则执行(3);First judge whether the same lane contains the recognition results of traffic signs and ground signs at the same time. If so, then according to the prior knowledge, determine the weights of the recognition results of traffic signs and ground signs respectively, and then execute (1) and (2), if not , then execute (3);

(1)若交通标牌识别结果和地面标志识别结果相同,则将其中任一识别结果作为该车道的转向信息;(1) If the traffic sign recognition result is the same as the ground sign recognition result, use any one of the recognition results as the turning information of the lane;

(2)若交通标牌识别结果和地面标志识别结果存在偏差,则采用具有较大权重的识别结果作为该车道的转向信息;(2) If there is a deviation between the traffic sign recognition result and the ground sign recognition result, the recognition result with a larger weight is used as the steering information of the lane;

(3)若同一个车道内只存在交通标牌识别结果或地面标志识别结果,则将此识别结果作为该车道的转向信息。(3) If there are only traffic sign recognition results or ground sign recognition results in the same lane, the recognition results are used as the steering information of the lane.

进一步的,所述步骤1中通过移动测量车获取实际道路的影像序列数据。Further, in the step 1, the image sequence data of the actual road is obtained by moving the measuring vehicle.

进一步的,所述步骤2.2中形状检测为矩形检测,将符合交通标牌形状的区域提取出来的实现方式如下,Further, the shape detection in the step 2.2 is a rectangle detection, and the implementation of extracting the area conforming to the shape of the traffic sign is as follows,

对一个图形可以求外接矩形,L,W表示其外接矩形的长和宽,Tag表示矩形度 Tag=S/(L*W),S表示分割后,某个图形的像素的个数,即图形的真实大小;当矩形度Tag 的范围在[0.8,1.4]内,判定该图形为矩形。For a graphic, the circumscribed rectangle can be found. L and W represent the length and width of the circumscribed rectangle, Tag represents the degree of rectangle Tag=S/(L*W), and S represents the number of pixels of a certain graph after segmentation, that is, the graph The real size of ; when the range of the rectangularity Tag is within [0.8,1.4], the figure is determined to be a rectangle.

进一步的,所述步骤2.3中采用径向Tchebichef不变矩提取各转向标志的特征向量V1。Further, in the step 2.3, the radial Tchebichef invariant moment is used to extract the feature vector V1 of each turn sign.

进一步的,所述步骤3.3中采用归一化的傅里叶描述子提取各转向标志的特征向量V2。Further, in the step 3.3, the normalized Fourier descriptor is used to extract the feature vector V2 of each turn sign.

进一步的,所述步骤4中的规定值为80%。Further, the prescribed value in step 4 is 80%.

本发明通过分析实际道路中地面标志和交通标牌分布的特点,并采用相互确认机制,实现车道转向信息的高准确率识别,为安全驾驶提供支持,同时可以服务于高精度地图的制作,使得无人驾驶成为可能。By analyzing the characteristics of the distribution of ground signs and traffic signs in actual roads, and adopting a mutual confirmation mechanism, the present invention realizes high-accuracy identification of lane steering information, provides support for safe driving, and can serve for the production of high-precision maps, making no Human driving becomes possible.

附图说明Description of drawings

图1是本发明实施例的流程图。Fig. 1 is a flowchart of an embodiment of the present invention.

图2是本发明实施例的相互检核流程图。Fig. 2 is a flow chart of mutual checking in the embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图和本发明的实施例,对本发明技术方案进行详细分析说明。实施例的实现过程可以概述为以下几个步骤:The technical scheme of the present invention will be analyzed and described in detail below in conjunction with the accompanying drawings and the embodiments of the present invention. The implementation process of the embodiment can be summarized as the following steps:

步骤一,首先获取实际道路的影像资料,使用移动测量车进行数据采集,获得相应的影像序列数据。Step 1: first obtain the image data of the actual road, use the mobile measurement vehicle for data collection, and obtain the corresponding image sequence data.

这里使用了移动测量车,在城市道路上连续采集包括了交通标牌,地面标志的影像信息。车上配备了GPS系统,因此可以获取测量车的轨迹信息。根据道路交叉点可以将道路分为不同道路段,并且根据拍摄时间信息可以将影像按照道路段来分类,因为车上配备的有GPS,所以会在路口的时候有提示,那么可以对此时的影像做标记,在下一个路口出现前,把一段路上拍摄的影像作为一个车道段。而转向交通标牌多处于路口附近,因此可以根据这个获取有较大可能出现转向交通标牌的影像序列,用于之后的检测与识别。而转向信息是基于车道的,这里可以用现有的车道线检测方法来获取车道数,车道边界。Here, a mobile survey vehicle is used to continuously collect image information including traffic signs and ground signs on urban roads. The car is equipped with a GPS system, so it is possible to obtain the track information of the measuring car. The road can be divided into different road sections according to the road intersection, and the images can be classified according to the road section according to the shooting time information. Because the car is equipped with GPS, there will be a reminder at the intersection, so you can use it at this time The image is marked, and the image taken on a section of the road is used as a lane segment before the next intersection appears. Turning traffic signs are mostly located near intersections, so image sequences that are more likely to appear turning traffic signs can be obtained based on this, for subsequent detection and identification. The steering information is based on the lane, and the existing lane line detection method can be used to obtain the number of lanes and the lane boundary.

步骤二,对每一张影像进行交通标牌的检测识别,包括以下子步骤,Step 2: Carry out detection and recognition of traffic signs for each image, including the following sub-steps,

步骤2.1,颜色分割,基于其颜色(通常为红色、蓝色、黄色等)特点,将可能是交通标牌的部分在整幅图中提取出来;HSV颜色系统比RGB系统更接近于人们的经验和对彩色的感知,更适合自然场景下彩色图像的颜色分割。本发明实施例将RGB颜色空间转换到HSV颜色空间后进行颜色阈值分割,转换公式如下,Step 2.1, color segmentation, based on its color (usually red, blue, yellow, etc.) characteristics, the part that may be a traffic sign is extracted from the entire image; the HSV color system is closer to people's experience and The perception of color is more suitable for color segmentation of color images in natural scenes. In the embodiment of the present invention, color threshold segmentation is performed after converting the RGB color space to the HSV color space, and the conversion formula is as follows,

where MAX=MAX(R,G,B),MIN=MIN(R,G,B)where MAX=MAX(R,G,B),MIN=MIN(R,G,B)

表1 HSV彩色分割阈值表Table 1 HSV color segmentation threshold table

具体实施时,本领域技术人员可自行设定HSV颜色分割阈值。图像分割之后,会生成多个连通区域,每个区域都有自己的颜色,而交通标牌的颜色通常为红色,蓝色和黄色,以将符合交通标牌颜色的部分提取出来。During specific implementation, those skilled in the art can set the HSV color segmentation threshold by themselves. After image segmentation, multiple connected regions will be generated, each region has its own color, and the colors of traffic signs are usually red, blue and yellow, so as to extract the parts that match the color of traffic signs.

步骤2.2,形状检测,基于交通标牌通常具有特定的形状(圆形、三角形、矩形)和尺寸,在已经提取出的符合颜色的区域中,滤除那些形状不符的区域(即除了圆形,三角形,矩形之外的其他形状),提高识别效率;本实施例中主要进行矩形检测,根据检测出的连通域的像素的个数来求出连通域面积,继而求出它的矩形度,若在合适的阈值内则判为矩形。Step 2.2, shape detection, based on the fact that traffic signs usually have a specific shape (circle, triangle, rectangle) and size, in the extracted areas that match the color, filter out those areas that do not match the shape (that is, except for circles, triangles) , other shapes other than rectangles) to improve recognition efficiency; in this embodiment, rectangle detection is mainly carried out, and the area of the connected domain is calculated according to the number of pixels in the detected connected domain, and then its rectangularity is obtained, if in Within the appropriate threshold, it is judged as a rectangle.

对一个图形可以求外接矩形,L,W表示其外接矩形的长和宽,Tag表示矩形度Tag=S/(L*W),这里的S表示分割后,某个图形的像素的个数,即图形的真实大小,本领域技术人员可自行设定矩形度阈值,以将矩形交通标牌提取出来。For a graphic, the circumscribed rectangle can be found. L, W represent the length and width of its circumscribed rectangle, Tag represents the degree of rectangle Tag=S/(L*W), where S represents the number of pixels of a certain graph after segmentation, That is, the actual size of the graphic, those skilled in the art can set the threshold of rectangle degree by themselves to extract the rectangular traffic sign.

步骤2.3,特征提取,在步骤2.2获得的范围中,根据标牌的虚线划分为不同区域,对各区域分别提取特征向量,并将其用于交通标牌的分类识别;Step 2.3, feature extraction, in the range obtained in step 2.2, divide it into different regions according to the dotted lines of the signs, extract feature vectors for each region, and use them for classification and recognition of traffic signs;

在获得的矩形范围中进行hough直线检测,根据得到的直线将不同转向标志分割开来,比如在矩形范围中找到了四条直线,那么就根据四条直线将图形分为三个区域(每个区域即为一个车道),每两条相邻直线确定一个区域,每个区域内有一个转向标志。在提取各标志的特征向量时,本发明实施例将采用Mukundan等人提出的径向Tchebichef不变矩,对于N*N 的影像:Perform hough straight line detection in the obtained rectangular range, and divide different turning signs according to the obtained straight lines. For example, if four straight lines are found in the rectangular range, then divide the graph into three regions according to the four straight lines (each region is is a lane), every two adjacent straight lines define an area, and there is a turn sign in each area. When extracting the feature vectors of each sign, the embodiment of the present invention will use the radial Tchebichef invariant moments proposed by Mukundan et al. For N*N images:

式中,n是圆周上最大像素数,m=N/2,k=0,1,2...n-1。这样,径向Tchebichef不变矩如下:In the formula, n is the maximum number of pixels on the circumference, m=N/2, k=0,1,2...n-1. Thus, the radial Tchebichef invariant moments are as follows:

式中,分别是spq的实部与虚部。In the formula, are the real and imaginary parts of spq , respectively.

使用η11、η22、η42、η44四个径向Tchebichef不变矩来提取交通标牌图像的特征向量,并将其用于交通标牌的分类识别。Four radial Tchebichef invariant moments of η 11 , η 22 , η 42 , and η 44 are used to extract the feature vectors of traffic sign images and use them for classification and recognition of traffic signs.

步骤2.4,分类识别,本发明实施例将使用支持向量机(SVM)进行识别,在前期输入样本进行训练,得到性能较好的分类器,输入步骤2.3中的特征向量,输出所属类别。已经训练好了样本,那么把每个车道内的转向信息放入训练好的分类器中进行测试,会输出对应的转向信息。根据虚线划分结果与车道信息,将各区域识别结果分配到车道上。Step 2.4, classification recognition, the embodiment of the present invention will use a support vector machine (SVM) for recognition, input samples in the early stage for training, obtain a classifier with better performance, input the feature vector in step 2.3, and output the category to which it belongs. After the samples have been trained, put the steering information in each lane into the trained classifier for testing, and the corresponding steering information will be output. According to the dotted line division results and lane information, the recognition results of each area are assigned to lanes.

步骤三:对每一张影像进行地面标志的检测识别,具体包括如下子步骤,Step 3: Perform detection and recognition of ground signs on each image, specifically including the following sub-steps,

步骤3.1,预处理,包括进行灰度化以减少运算量,进行滤波来消除噪声,进行直方图均衡化来进一步增强标志与背景对比,进行场景重建以恢复地面标志的形状特征;Step 3.1, preprocessing, including graying to reduce the amount of computation, filtering to eliminate noise, histogram equalization to further enhance the contrast between the sign and the background, and scene reconstruction to restore the shape features of the ground sign;

为了加强标志与背景的区别,将图像灰度化后使用直方图均衡化来增强对比度。同时由于相机参数的未知和不稳定性以及摄像机在拍摄过程中的自身速度、拍摄俯仰角等的影响,使成像过程存在较大的畸变,其中最主要的是透视失真。该畸变导致路面交通标牌的形状特征发生变化,从而引起目标图像特征的变化,影响到地面标志识别的准确性,因此,对原始图像进行场景重建是必不可少的。逆透视变换实质上就是将图像坐标系下的道路图像变换到车体坐标系下的平面中,通过简单的坐标系变换以后,就可以得到,图像坐标系下道路图像坐标值转换为车体坐标系下实际物理距离的计算公式,通过该变换公式,就可以求出车体坐标系下平面上对应点的坐标值(实际宽度和高度距离)。In order to strengthen the difference between the logo and the background, the image is grayscaled and then histogram equalization is used to enhance the contrast. At the same time, due to the unknown and unstable camera parameters and the influence of the camera's own speed and pitch angle during the shooting process, there are large distortions in the imaging process, the most important of which is perspective distortion. The distortion leads to changes in the shape characteristics of road traffic signs, which cause changes in the characteristics of the target image and affect the accuracy of ground sign recognition. Therefore, scene reconstruction of the original image is essential. The inverse perspective transformation is essentially to transform the road image in the image coordinate system into the plane in the car body coordinate system. After a simple coordinate system transformation, it can be obtained. The road image coordinate value in the image coordinate system is converted into the car body coordinates The calculation formula of the actual physical distance in the vehicle body coordinate system can be calculated by the conversion formula, and the coordinate value (actual width and height distance) of the corresponding point on the plane of the vehicle body coordinate system can be obtained.

逆透视变换的模型如下,The model of inverse perspective transformation is as follows,

其中,c1=cosα,c2=cosβ,s1=sinα,s2=sinβ,α是俯仰角,β是航偏角,(u,v)是影像坐标系中的坐标,(X,Y,Z)是WGS-84坐标系中的坐标,(fu,fv)是水平和垂直焦距的长度,(cu,cv) 是像主点坐标。h是相机中心到地面的高度。Among them, c 1 =cosα, c 2 =cosβ, s 1 =sinα, s 2 =sinβ, α is the pitch angle, β is the yaw angle, (u,v) is the coordinate in the image coordinate system, (X,Y , Z) are the coordinates in the WGS-84 coordinate system, (f u , f v ) are the lengths of the horizontal and vertical focal lengths, and (c u , c v ) are the coordinates of the principal point of the image. h is the height from the center of the camera to the ground.

实际应用时,可通过棋盘标定法标定的方法确定相机内外参数,进而完成坐标转换。可将原始影像进行逆透视转换为俯视图。In practical application, the internal and external parameters of the camera can be determined by the checkerboard calibration method, and then the coordinate conversion can be completed. The original image can be reversed and converted into a top view.

步骤3.2,车道线提取与道路区域划分,包括将车道线从道路图像中分割出来,以去除道路图像中的非目标物和干扰信息,获得指定车道的区域范围。Step 3.2, lane line extraction and road area division, including segmenting the lane line from the road image to remove non-target objects and interference information in the road image, and obtain the area range of the designated lane.

将车道线从道路图像中分割出来,本发明实施例采用Otsu最大类间方差法进行二值化,二值化后去除小的连通域(像素值只有1到20的都可以看作小的连通域)。然后利用地面转向标志应该位于车道之间的位置约束及面积约束(转向标志都是有固定大小的),去除二值图中的其他物体,保留下地面标志。Segment the lane line from the road image, the embodiment of the present invention adopts the Otsu maximum inter-class variance method to carry out binarization, and remove the small connected domains after binarization (those with only 1 to 20 pixel values can be regarded as small connected domains). area). Then use the position constraints and area constraints that the ground turning signs should be located between the lanes (the turning signs all have a fixed size), remove other objects in the binary image, and keep the ground signs.

步骤3.3,特征提取,包括在步骤3.2获得的范围中,根据车道线划分为不同区域,对各区域分别提取特征向量,并将其用于地面标志的分类识别;Step 3.3, feature extraction, including dividing the range obtained in step 3.2 into different areas according to the lane lines, extracting feature vectors for each area, and using them for classification and recognition of ground signs;

在步骤3.2获得的范围中,根据车道线划分为不同区域,对各区域分别提取特征向量,本发明实施例选用傅里叶描述子来进行特征提取。傅里叶描述子的基本思想:假设要处理的图像轮廓是一条封闭曲线,曲线上每一点P(t)都有对应的坐标面积(x(t),y(t)),t=0,1,2,…N-1,N 为轮廓上的总点数。将坐标序列表达成复数形式x+yi,视为周期为曲线总长的周期函数,经过离散傅里叶变换得到一系列系数,便是傅里叶描述子,其中高频系数反映了轮廓的细节部分,低频系数反映了轮廓的整体形状。傅里叶描述子的计算公式如下,其中:The range obtained in step 3.2 is divided into different regions according to the lane lines, and feature vectors are extracted for each region. In the embodiment of the present invention, Fourier descriptors are selected for feature extraction. The basic idea of the Fourier descriptor: Assume that the image contour to be processed is a closed curve, and each point P(t) on the curve has a corresponding coordinate area (x(t), y(t)), t=0, 1,2,…N-1, where N is the total number of points on the contour. The coordinate sequence is expressed as a complex number form x+yi, which is regarded as a periodic function whose period is the total length of the curve, and a series of coefficients are obtained through discrete Fourier transform, which is the Fourier descriptor, in which the high-frequency coefficients reflect the details of the contour , the low-frequency coefficients reflect the overall shape of the profile. The calculation formula of the Fourier descriptor is as follows, where:

根据傅里叶变换的性质,傅里叶描述子与形状的尺度、方向和曲线的起始点位置有关,即图形的尺度不同,轮廓的起点位置不同,得到的傅里叶描述子也是不同的。为保证方法的尺度、旋转和平移不变性,采用归一化方法。归一化的傅里叶描述子表达式为:According to the nature of the Fourier transform, the Fourier descriptor is related to the scale, direction and starting point of the curve, that is, the scale of the graph is different, the starting position of the contour is different, and the obtained Fourier descriptor is also different. To ensure the scale, rotation and translation invariance of the method, a normalization method is adopted. The normalized Fourier descriptor expression is:

通过与第一级模值求比值,归一化的傅里叶描述子消除了起点位置的影响并确保了不变性,计算简便,无需设置控制参数,且特征的稳定性较高。最重要的是,可以根据需求选择一定频率范围内的傅里叶描述子作为形状特征进行形状识别。By comparing the value with the first-level modulus, the normalized Fourier descriptor eliminates the influence of the starting point and ensures invariance. The calculation is simple, no control parameters need to be set, and the stability of the feature is high. Most importantly, Fourier descriptors within a certain frequency range can be selected as shape features for shape recognition according to requirements.

步骤3.4,分类识别,本发明实施例此处同样选用SVM进行识别,经过分类后,即可得地面标志识别结果,与所得具体车道结合,可将识别信息分配到具体车道上。Step 3.4, classification recognition, the embodiment of the present invention also uses SVM for recognition here, after classification, the ground sign recognition result can be obtained, combined with the obtained specific lanes, the recognition information can be assigned to specific lanes.

步骤四:对步骤二和步骤三的识别结果进行序列分析,分别计算出地面标志与交通标牌的转向信息的可信度,若得到的可信度均小于规定值(通常取80%或者更高),则标记为不可靠信息,留待复检,若得到的可信度满足规定值,则对应输出具有最大可信度的识别结果。Step 4: Carry out sequence analysis on the identification results of Step 2 and Step 3, respectively calculate the reliability of the turning information of ground signs and traffic signs, if the obtained reliability is less than the specified value (usually 80% or higher ), it will be marked as unreliable information and will be reserved for re-inspection. If the obtained reliability meets the specified value, the recognition result with the maximum reliability will be correspondingly output.

在提取出来的影像序列中,包含着重复的转向信息。例如,对于同一个右转车道,实际上道路上可能有三个按一定间距分布的地面右转标志,并且这里的同一个标志可能会被连续的5帧图像拍到。这样,总计有3*5=15帧影像含有相同的地面标志转向信息。但在实际识别时,可能由于噪声干扰或拍摄条件不佳等因素,这15帧的识别结果不一定完全一致。为了尽量利用这15帧影像里的信息,需要进行序列分析,这里采用了可信度累加,并选出可信度最高的一项作为结果的策略。即可信度与出现频数成正比。例如这15帧中识别结果有12帧为右转,2帧为直行,1帧为左转,则选择可信度为12/15的右转作为结果,此时就认为地面转向标志是右转。同理,如果每张影像上同一个转向标志在交通标牌上出现1次,被连续的5 帧图像拍到,共计1*5=5帧影像含有交通标牌转向信息,其中3次右转,一次左转,一次直行,那么3/5的右转就是交通标牌的识别结果。由于地面标志识别结果的可信度为12/15=80%满足规定值,交通标牌识别结果为3/5=60%小于规定值,因此只输出地面标志识别结果。The extracted image sequence contains repeated turning information. For example, for the same right-turn lane, there may actually be three ground right-turn signs distributed at a certain interval on the road, and the same sign here may be captured by five consecutive frames of images. In this way, a total of 3*5=15 frames of images contain the same ground marker turning information. However, in actual recognition, the recognition results of these 15 frames may not be completely consistent due to factors such as noise interference or poor shooting conditions. In order to make the best use of the information in these 15 frames of images, sequence analysis is required. Here, the strategy of accumulating reliability and selecting the one with the highest reliability as the result is adopted. That is, the reliability is proportional to the frequency of occurrence. For example, in the recognition results of these 15 frames, 12 frames are turning right, 2 frames are going straight, and 1 frame is turning left, and the right turn with a reliability of 12/15 is selected as the result. At this time, the ground turning sign is considered to be a right turn. . Similarly, if the same turn sign on each image appears once on the traffic sign and is captured by 5 consecutive frames of images, a total of 1*5=5 frames of images contain the turn information of the traffic sign, of which 3 turn right and once Turn left and go straight once, then 3/5 right turns are the recognition results of traffic signs. Since the reliability of the ground sign recognition result is 12/15=80% meeting the specified value, and the traffic sign recognition result is 3/5=60% less than the specified value, only the ground sign recognition result is output.

步骤五,对比核验交通标牌和地面标志识别结果,获得该车道段的转向信息。包括首先判断同一个车道内是否同时包含交通标牌与地面标志的识别结果,若是,则根据先验知识,分别确定交通标牌和地面标志识别结果的权重,然后执行(1)和(2),若否,则执行(3);本实施例中,如果认为地面标志识别结果更准确,则赋予地面标志识别结果的权重为0.7,那么交通标牌识别结果的权重为0.3,Step 5: Compare and verify the recognition results of the traffic signs and ground signs, and obtain the turning information of the lane segment. It includes first judging whether the recognition results of traffic signs and ground signs are included in the same lane at the same time. If so, then according to the prior knowledge, the weights of the recognition results of traffic signs and ground signs are respectively determined, and then (1) and (2) are executed. If No, then perform (3); in the present embodiment, if think that ground sign recognition result is more accurate, then give the weight of ground sign recognition result to be 0.7, so the weight of traffic sign recognition result is 0.3,

(1)若交通标牌识别结果和地面标志识别结果相同(即为相同转向信息),则将其中任一识别结果作为该车道的转向信息;例如交通标牌识别结果和地面标志识别结果均为右转,且可信度均满足规定值,那么该车道段的转向信息为右转。(1) If the traffic sign recognition result is the same as the ground sign recognition result (that is, the same turning information), then use any one of the recognition results as the turning information of the lane; for example, the traffic sign recognition result and the ground sign recognition result are both turn right , and the reliability meets the specified value, then the steering information of this lane segment is right turn.

(2)若交通标牌识别结果和地面标志识别结果存在偏差,则采用具有较大权重的识别结果作为该车道的转向信息;例如地面标志识别结果为右转(0.7),交通标牌识别结果为左转 (0.3),那么该车道段的转向信息为右转。(2) If there is a discrepancy between the traffic sign recognition result and the ground sign recognition result, the recognition result with a larger weight is used as the steering information of the lane; for example, the ground sign recognition result is right turn (0.7), and the traffic sign recognition result is left Turn (0.3), then the steering information of this lane segment is right turn.

(3)若同一个车道段只存在交通标牌识别结果或地面标志识别结果,则将此识别结果作为该车道的转向信息;例如地面标志识别结果为右转,交通标牌识别结果为空,那么该车道的转向信息为右转。(3) If there are only traffic sign recognition results or ground sign recognition results in the same lane segment, this recognition result is used as the turning information of the lane; for example, the ground sign recognition result is right turn, and the traffic sign recognition result is empty, then the The steering information of the lane is right turn.

本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which the present invention belongs can make various modifications or supplements to the described specific embodiments or adopt similar methods to replace them, but they will not deviate from the spirit of the present invention or go beyond the definition of the appended claims range.

Claims (6)

1. the lane direction information recognition methods based on traffic sign and surface mark, which comprises the following steps:
Step 1, the image sequence data of real road are obtained;
Step 2, the detection for carrying out traffic sign to each image identifies, including following sub-step,
Step 2.1, the segmentation of hsv color capacity-threshold is carried out to each image, extracts the region for meeting traffic sign color;
Step 2.2, in the region for meeting traffic sign color extracted, SHAPE DETECTION is carried out, traffic mark will be met The extracted region of board shape comes out;
Step 2.3, hough straight-line detection is carried out in the traffic sign regional scope of acquisition, is divided into according to obtained straight line Different lanes are corresponding with a turn marking in each lane, extract the feature vector V1 of each turn marking;
Step 2.4, feature vector V1 is input to support vector machines to identify, obtains the steering letter of traffic sign in lane Breath;
Step 3, the detection for carrying out surface mark to each image identifies, including following sub-step,
Step 3.1, the processing of gray processing, histogram equalization and scene rebuilding is carried out to each image;
Step 3.2, the lane line in image is extracted, obtains the regional scope in lane, and retain the surface mark between lane;
Step 3.3, within the scope of each lane that step 3.2 obtains, the feature vector V2 of the turn marking in each lane is extracted;
Step 3.4, feature vector V2 is input to support vector machines to identify, obtains the steering letter of surface mark in lane Breath;
Step 4, image sequence analysis is carried out to the direction information recognition result of step 2 and step 3, calculates separately out traffic sign It is labeled as unreliable information, is remained if obtained confidence level is respectively less than specified value with the confidence level of surface mark direction information Reinspection, if obtained confidence level meets specified value, corresponding output has the recognition result of maximum confidence;
Step 5, traffic sign recognition result and surface mark recognition result in lane are veritified in comparison, obtain the steering of the roadway segment Information, implementation is as follows,
First determine whether in the same lane whether and meanwhile include traffic sign and surface mark recognition result, if so, according to Priori knowledge determines the weight of traffic sign and surface mark recognition result respectively, then (1) and (2) is executed, if it is not, then holding Row (3);
(1) if traffic sign recognition result is identical with surface mark recognition result, using any recognition result as the vehicle The direction information in road;
(2) if there are deviations for traffic sign recognition result and surface mark recognition result, using the identification with greater weight As a result the direction information as the lane;
(3) if only existing traffic sign recognition result or surface mark recognition result in the same lane, by this recognition result Direction information as the lane.
2. the lane direction information recognition methods based on traffic sign and surface mark, feature exist as described in claim 1 In: the image sequence data of real road are obtained in the step 1 by traverse measurement vehicle.
3. the lane direction information recognition methods based on traffic sign and surface mark, feature exist as claimed in claim 2 In: SHAPE DETECTION is hough transform in the step 2.2, the implementation that the extracted region for meeting traffic sign shape is come out It is as follows,
The length and width of its boundary rectangle can be indicated a figure in the hope of boundary rectangle, L, W, and Tag indicates rectangular degree Tag=S/ (L*W), after S indicates segmentation, the number of the pixel of some figure, the i.e. actual size of figure;When the range of rectangular degree Tag exists In [0.8,1.4], determine the figure for rectangle.
4. the lane direction information recognition methods based on traffic sign and surface mark, feature exist as claimed in claim 3 In: using radial direction Tchebichef, bending moment does not extract the feature vector V1 of each turn marking in the step 2.3.
5. the lane direction information recognition methods based on traffic sign and surface mark, feature exist as claimed in claim 4 In: the feature vector V2 of the turn marking in each lane is extracted in the step 3.3 using normalized Fourier descriptor.
6. the lane direction information recognition methods based on traffic sign and surface mark, feature exist as described in claim 1 In: the specified value in the step 4 is 80%.
CN201710709060.4A 2017-08-17 2017-08-17 Lane turning information recognition method based on traffic signs and ground signs Expired - Fee Related CN107491756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710709060.4A CN107491756B (en) 2017-08-17 2017-08-17 Lane turning information recognition method based on traffic signs and ground signs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710709060.4A CN107491756B (en) 2017-08-17 2017-08-17 Lane turning information recognition method based on traffic signs and ground signs

Publications (2)

Publication Number Publication Date
CN107491756A CN107491756A (en) 2017-12-19
CN107491756B true CN107491756B (en) 2019-10-11

Family

ID=60646414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710709060.4A Expired - Fee Related CN107491756B (en) 2017-08-17 2017-08-17 Lane turning information recognition method based on traffic signs and ground signs

Country Status (1)

Country Link
CN (1) CN107491756B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492596B (en) * 2018-03-16 2020-12-01 武汉理工大学 A rear-end collision prevention method for underground interchange based on visual perception
CN108520212A (en) * 2018-03-27 2018-09-11 东华大学 Traffic sign detection method based on improved convolutional neural network
CN109101924B (en) * 2018-08-14 2021-05-04 武汉大学 A method for road traffic sign recognition based on machine learning
CN111353351A (en) * 2018-12-24 2020-06-30 观致汽车有限公司 Method and device for determining whether a vehicle traveling on a main road enters a ramp
CN111460861B (en) * 2019-01-21 2023-05-19 阿里巴巴集团控股有限公司 Road traffic sign recognition method, device and recognition equipment
CN112052912A (en) * 2020-09-23 2020-12-08 同济大学 Intelligent flame combustion state identification method for fire-fighting robot
CN113221648B (en) * 2021-04-08 2022-06-03 武汉大学 A fusion point cloud sequence image street sign detection method based on mobile measurement system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609702A (en) * 2012-02-03 2012-07-25 中山大学 Method and system for rapidly positioning road guide sign
CN104361350A (en) * 2014-10-28 2015-02-18 奇瑞汽车股份有限公司 Traffic sign identification system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60211503T2 (en) * 2002-07-09 2006-12-07 Accenture Global Services Gmbh Device for automatic recognition of traffic signs

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609702A (en) * 2012-02-03 2012-07-25 中山大学 Method and system for rapidly positioning road guide sign
CN104361350A (en) * 2014-10-28 2015-02-18 奇瑞汽车股份有限公司 Traffic sign identification system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Road sign detection in images:A case study;R.Belaroussi etal.;《2010 International Conference on Pattern Recognition》;20101231;第2010年卷;全文 *
基于改进Hu不变距的路面交通标识识别;张明恒等;《大连理工大学学报》;20121130;第52卷(第6期);全文 *

Also Published As

Publication number Publication date
CN107491756A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
CN107491756B (en) Lane turning information recognition method based on traffic signs and ground signs
CN104778721B (en) The distance measurement method of conspicuousness target in a kind of binocular image
CN105260699B (en) A kind of processing method and processing device of lane line data
CN103927526B (en) Vehicle detection method based on Gaussian difference multi-scale edge fusion
CN102509098B (en) A fisheye image vehicle recognition method
CN105678285B (en) A kind of adaptive road birds-eye view transform method and road track detection method
Yuan et al. Robust lane detection for complicated road environment based on normal map
CN110619279B (en) Road traffic sign instance segmentation method based on tracking
CN109101924A (en) A kind of pavement marking recognition methods based on machine learning
CN107705301B (en) Highway marking damage detection method based on unmanned aerial vehicle aerial highway image
CN107563372A (en) A kind of license plate locating method based on deep learning SSD frameworks
CN112488046B (en) A lane line extraction method based on high-resolution UAV images
CN105488454A (en) Monocular vision based front vehicle detection and ranging method
CN109948552B (en) A method of lane line detection in complex traffic environment
CN105005989B (en) A kind of vehicle target dividing method under weak contrast
CN105551264A (en) Speed detection method based on license plate characteristic matching
CN104899554A (en) Vehicle ranging method based on monocular vision
CN105809138A (en) Road warning mark detection and recognition method based on block recognition
CN105260712A (en) Method and system for detecting pedestrians in front of a vehicle
CN105989334B (en) Road detection method based on monocular vision
CN104318258A (en) Time domain fuzzy and kalman filter-based lane detection method
CN101470807A (en) Accurate detection method for highroad lane marker line
CN106778551A (en) A kind of fastlink and urban road Lane detection method
CN106203401B (en) A fast detection method of lane lines
CN103530600A (en) License plate recognition method and system under complicated illumination

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191011

CF01 Termination of patent right due to non-payment of annual fee