CN108460416A - A kind of structured road feasible zone extracting method based on three-dimensional laser radar - Google Patents
A kind of structured road feasible zone extracting method based on three-dimensional laser radar Download PDFInfo
- Publication number
- CN108460416A CN108460416A CN201810169285.XA CN201810169285A CN108460416A CN 108460416 A CN108460416 A CN 108460416A CN 201810169285 A CN201810169285 A CN 201810169285A CN 108460416 A CN108460416 A CN 108460416A
- Authority
- CN
- China
- Prior art keywords
- point
- laser radar
- points
- clustering
- coordinate system
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 239000000284 extract Substances 0.000 claims abstract description 13
- 238000003064 k means clustering Methods 0.000 claims abstract description 11
- 238000001514 detection method Methods 0.000 claims abstract description 9
- 238000000605 extraction Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012937 correction Methods 0.000 description 3
- 230000011218 segmentation Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013075 data extraction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Probability & Statistics with Applications (AREA)
- Optical Radar Systems And Details Thereof (AREA)
- Traffic Control Systems (AREA)
Abstract
本发明公开了一种基于三维激光雷达的结构化道路可行域提取方法,该方法包括以下步骤:1)三维激光雷达扫描周围环境,获取周围环境点云信息,并将点云信息从激光雷达的坐标系转换到本地直角坐标系下;2)提取三维激光雷达兴趣数据点;3)利用雷达探测角度聚类的方法提取激光雷达扫描单线;4)用K‑means聚类算法获取最优聚类点集;5)利用高度特征提取障碍物;6)结合DBSCAN聚类方法提取路沿;7)根据最小二乘法对可通行路面进行多项式曲线拟合。本发明能实时有效地提取路面可通行区域,精度高可靠性强,识别过程中判断误差率小,可以广泛的用于基于三维激光雷达的结构化道路可行域提取的实际场合中。
The invention discloses a method for extracting a feasible region of a structured road based on a three-dimensional laser radar. The method comprises the following steps: 1) the three-dimensional laser radar scans the surrounding environment, obtains point cloud information of the surrounding environment, and obtains the point cloud information from the laser radar Convert the coordinate system to the local Cartesian coordinate system; 2) Extract the 3D lidar data points of interest; 3) Extract the lidar scanning single line by using the method of radar detection angle clustering; 4) Use the K-means clustering algorithm to obtain the optimal cluster Point set; 5) Using height features to extract obstacles; 6) Combined with DBSCAN clustering method to extract road edges; 7) Carry out polynomial curve fitting on passable road surface according to the least square method. The invention can effectively extract the passable area of the road surface in real time, has high precision and high reliability, and has a small judgment error rate in the identification process, and can be widely used in actual occasions of extracting the feasible area of structured roads based on three-dimensional laser radar.
Description
技术领域technical field
本发明涉及无人驾驶技术,尤其涉及一种基于三维激光雷达的结构化道路可行域提取方法。The invention relates to unmanned driving technology, in particular to a method for extracting feasible regions of structured roads based on three-dimensional laser radar.
背景技术Background technique
无人驾驶车辆是利用车载传感系统来感知车辆周围环境,自行规划行车路线控制车辆成功抵达目的地的智能车。无人驾驶车辆一般装有激光雷达和摄像头作为车载传感器,用于检测道路区域和障碍区域。由于视觉传感器受环境因素影响较大,而单线激光雷达的探测范围十分有限。因此,三维激光雷达在智能驾驶中得到了广泛的应用。Unmanned vehicles are intelligent vehicles that use on-board sensing systems to perceive the surrounding environment of the vehicle, plan their own driving route and control the vehicle to reach the destination successfully. Unmanned vehicles are generally equipped with lidar and cameras as on-board sensors to detect road areas and obstacle areas. Since the visual sensor is greatly affected by environmental factors, the detection range of the single-line lidar is very limited. Therefore, 3D lidar has been widely used in intelligent driving.
目前的三维激光雷达处理算法主要是基于栅格地图的分割算法和基于图的地面检测两大类。The current 3D lidar processing algorithms are mainly divided into two categories: grid map-based segmentation algorithm and graph-based ground detection.
1.对障碍物栅格地图进行阈值分割和距离变换提高其连续性,再基于区域生长提取可通行区域。2.将栅格地图进行无向图处理,利用马尔科夫随机场对栅格分类,从中提取可通行区域。但是该方法的精度取决于栅格的大小和激光雷达的检测范围。Montemerlo提出利用三维数据环间的距离去检测某单个三维激光点是否属于地面区域;Douillard利用mesh方式构造图,并通过梯度的方式来确定地面点。相比栅格类的算法,基于图的分割算法精度更高,但容易受到噪点的干扰,算法鲁棒性差。1. Perform threshold segmentation and distance transformation on the obstacle grid map to improve its continuity, and then extract the passable area based on area growth. 2. The grid map is processed as an undirected graph, and the Markov random field is used to classify the grid, and the passable area is extracted from it. But the accuracy of this method depends on the size of the grid and the detection range of the lidar. Montemerlo proposes to use the distance between the three-dimensional data rings to detect whether a single three-dimensional laser point belongs to the ground area; Douillard uses the mesh method to construct the map, and determines the ground point through the gradient method. Compared with raster-based algorithms, graph-based segmentation algorithms have higher precision, but are susceptible to noise interference, and the algorithm has poor robustness.
发明内容Contents of the invention
本发明要解决的技术问题在于针对现有技术中的缺陷,提供一种基于三维激光雷达的结构化道路可行域提取方法。The technical problem to be solved by the present invention is to provide a method for extracting feasible regions of structured roads based on three-dimensional laser radar in view of the defects in the prior art.
本发明解决其技术问题所采用的技术方案是:一种基于三维激光雷达的结构化道路可行域提取方法,包括以下步骤:The technical solution adopted by the present invention to solve the technical problem is: a method for extracting feasible regions of structured roads based on three-dimensional laser radar, comprising the following steps:
1)通过三维激光雷达扫描周围环境,获取周围环境点云数据信息,并将点云数据从激光雷达的坐标系经过转换到本地直角坐标系下;所述三维激光雷达设置在车辆顶部中心处。1) Scanning the surrounding environment through a three-dimensional laser radar to obtain point cloud data information of the surrounding environment, and converting the point cloud data from the laser radar coordinate system to the local Cartesian coordinate system; the three-dimensional laser radar is arranged at the center of the top of the vehicle.
2)在点云数据信息中提取三维激光雷达兴趣数据点;所述兴趣数据点是指车辆前方的点云数据,即车辆前方20米,左右10米,上方30米以内的空间范围内的数据点;2) Extract the three-dimensional laser radar interest data points from the point cloud data information; the interest data points refer to the point cloud data in front of the vehicle, that is, the data within the spatial range of 20 meters in front of the vehicle, 10 meters left and right, and 30 meters above point;
3)根据兴趣数据点,利用雷达探测角度聚类的方法提取激光雷达扫描单线;3) According to the data points of interest, the lidar scanning single line is extracted by using the method of radar detection angle clustering;
4)对提取出的激光雷达扫描单线,采用K-means聚类算法获取最优聚类点集;4) Scan the single line of the extracted lidar, and use the K-means clustering algorithm to obtain the optimal clustering point set;
5)根据最优聚类点集利用高度特征提取障碍物;5) Obstacles are extracted using height features according to the optimal clustering point set;
6)根据最优聚类点集利用密度特征结合DBSCAN聚类方法提取路沿;6) According to the optimal clustering point set, use the density feature combined with the DBSCAN clustering method to extract the roadside;
7)根据最小二乘法对可通行路面进行多项式曲线拟合,最终提取得出结构化道路前方道路可行域。7) Carry out polynomial curve fitting on the passable road surface according to the least square method, and finally extract the feasible region of the road ahead of the structured road.
按上述方案,所述步骤1)中所述的步骤1中激光雷达的坐标系是以激光雷达安放位置为原点,车辆前进方向作为激光雷达坐标系中的x轴方向,车辆的左右方向作为激光雷达坐标系中的y轴方向,车辆的上下作为激光雷达坐标系中的z轴方向;所述本地直角坐标系是以车身的纵向中轴线与车头的交点为原点,车辆前进方向作为本地直角坐标系中的x轴方向,车辆的左右方向作为本地直角坐标系中的y轴方向,车辆的上下作为本地直角坐标系中的z轴方向。According to the above scheme, the coordinate system of the lidar in the step 1 described in step 1) is based on the placement position of the lidar as the origin, the forward direction of the vehicle as the x-axis direction in the lidar coordinate system, and the left and right directions of the vehicle as the laser The y-axis direction in the radar coordinate system, the up and down of the vehicle as the z-axis direction in the lidar coordinate system; the local Cartesian coordinate system is based on the intersection of the longitudinal central axis of the vehicle body and the front of the car as the origin, and the forward direction of the vehicle as the local Cartesian coordinates The x-axis direction in the system, the left and right direction of the vehicle is taken as the y-axis direction in the local Cartesian coordinate system, and the up and down of the vehicle is taken as the z-axis direction in the local Cartesian coordinate system.
按上述方案,所述步骤3)中利用雷达探测角度聚类的方法提取激光雷达扫描单线具体包括:According to the above-mentioned scheme, in the described step 3), the method of utilizing the radar detection angle clustering to extract the laser radar scanning single line specifically includes:
3.1)在三维激光雷达扫描过程中将点云信息在笛卡尔坐标系中表示出来,将这些点云信息转化到球坐标系中,利用公式可以得出点云数据中每个点与z轴的夹角;3.1) During the three-dimensional lidar scanning process, the point cloud information is expressed in the Cartesian coordinate system, and the point cloud information is transformed into the spherical coordinate system, using the formula The angle between each point in the point cloud data and the z-axis can be obtained;
3.2)在得出每个点的仰角后,将具有相同仰角的数据点进行聚类。3.2) After obtaining the elevation angle of each point, cluster the data points with the same elevation angle.
按上述方案,所述步骤4)中获取最优聚类点集的K-means聚类算法为改进K-means聚类算法,具体包括以下步骤:According to the above scheme, the K-means clustering algorithm that obtains the optimal clustering point set in the step 4) is an improved K-means clustering algorithm, specifically comprising the following steps:
4.1)对于步骤3)中提取出来的单线扫描数据集χ={x1,...,xn},利用AIC准则获取最优聚类数目,利用公式AIC(k)=2k+nln(SSR/n)获取最优聚类数目,其中,k为聚类数目,n为观察数,SSR为数据集的残差平方和,通过寻找合适的k使AIC最小;4.1) For the single-line scanning data set χ={x 1 ,...,x n } extracted in step 3), use the AIC criterion to obtain the optimal number of clusters, and use the formula AIC(k)=2k+nln(SSR /n) Obtain the optimal number of clusters, where k is the number of clusters, n is the number of observations, SSR is the residual sum of squares of the data set, and the AIC is minimized by finding an appropriate k;
4.2)从数据集中随机选取一个样本作为初始聚类中心c;4.2) Randomly select a sample from the data set as the initial clustering center c;
4.3)计算每个样本与当前已有聚类中心的之间的距离,然后计算每个样本被选为下一个聚类中心的概率,最后按照轮盘法选择下一个聚类中心,即概率大的聚类中心被选择的概率大;4.3) Calculate the distance between each sample and the current existing cluster center, then calculate the probability of each sample being selected as the next cluster center, and finally select the next cluster center according to the roulette method, that is, the probability is large The probability of the cluster center being selected is high;
4.4)重复4.2)步直到选择出共k个聚类中心C={C1,C2,...,Ck};4.4) Repeat step 4.2) until a total of k cluster centers C={C 1 , C 2 ,...,C k } are selected;
4.5)针对数据集中每个样本xi,计算每个样本与这些聚类中心的距离并将其分到距离最小的聚类中心所对应的类中;4.5) For each sample x i in the data set, calculate the distance between each sample and these cluster centers and classify it into the class corresponding to the cluster center with the smallest distance;
4.6)重新计算有变化聚类的中心;4.6) Recalculate the centers of clusters with changes;
4.7)计算标准测度函数,当满足函数收敛,则终止;如果不满足则返回步骤4.5)。4.7) Calculate the standard measure function, and terminate when the function converges; if not, return to step 4.5).
按上述方案,所述步骤5)中利用高度特征提取障碍物具体包括:According to the above scheme, in the step 5), using the height feature to extract obstacles specifically includes:
5.1)对于提取出的扫描单线利用改进K-means聚类算法获取最优聚类点集之后,将每一类点集中点的z坐标的均值和方差求解出来;5.1) After using the improved K-means clustering algorithm to obtain the optimal clustering point set for the extracted scanning single line, solve the mean value and variance of the z coordinates of the points in each type of point concentration;
5.2)设障碍物高度为30cm,当类别中z坐标的均值大于30cm且类别中点的方差在设定的阈值之内,则认为该类点集为障碍物点集;5.2) Let the height of the obstacle be 30cm, when the mean value of the z coordinates in the category is greater than 30cm and the variance of the midpoint of the category is within the set threshold, the point set of this type is considered to be an obstacle point set;
5.3)将认定为障碍物的点集从单线点集中剔除。5.3) Eliminate the point set identified as an obstacle from the single line point set.
按上述方案,所述步骤6)中结合DBSCAN聚类方法提取路沿的具体步骤如下:According to the above-mentioned scheme, in the described step 6) in conjunction with the DBSCAN clustering method, the concrete steps of extracting the roadside are as follows:
6.1)首先在提取出来的扫描单线集中任意选择点p开始,向周围查找所有密度可达的点,若p为核心点,则在其半径为Eps的领域内,所有点与p属同一簇,这些点即为候选点;6.1) Firstly, select point p arbitrarily in the extracted scanning single line set, and search for all density-reachable points around. If p is the core point, then in the field whose radius is Eps, all points and p belong to the same cluster. These points are the candidate points;
6.2)通过查找与候选点密度可达的点不断扩充簇,直至形成一个完整的簇;6.2) Continuously expand the cluster by finding points that are reachable with the candidate point density until a complete cluster is formed;
6.3)若点p不为核心点,则将点p标注成噪点;6.3) If point p is not a core point, mark point p as a noise point;
6.4)重复上述步骤,直至所有点都被聚类成簇或者标注为噪点;6.4) Repeat the above steps until all points are clustered or marked as noise points;
6.5)由于激光雷达在结构化道路中扫描到路沿地段产生的数据点的密度会大于平常地面,根据聚类后的密度用DBSCAN来提取路沿;6.5) Since the density of data points generated by laser radar scanning to the roadside section in the structured road will be greater than that of the normal ground, use DBSCAN to extract the roadside according to the density after clustering;
6.6)将提取得到的路沿的点剔除。6.6) Eliminate the extracted points along the road.
按上述方案,所述步骤7)中根据最小二乘法对可通行路面进行多项式曲线拟合具体包括:According to the above scheme, carrying out polynomial curve fitting to the passable road surface according to the method of least squares in said step 7) specifically includes:
7.1)对于扫描单线中已经剔除了障碍物和路沿的单线点集,利用最小二乘法将剩余点集进行拟合;7.1) For the single-line point set that has eliminated obstacles and roadsides in the scanning single-line, use the least square method to fit the remaining point set;
7.2)重复上述过程,得出所有单线剩余点集中的可通行区域拟合曲线。7.2) Repeat the above process to obtain the fitting curve of the passable area of all the remaining points of the single line.
本发明产生的有益效果是:The beneficial effects produced by the present invention are:
1、本发明在进行地面点的提取时,从高度方向滤除了大量的噪点,大大简化了数据的处理。1. When the present invention extracts ground points, a large number of noise points are filtered from the height direction, which greatly simplifies data processing.
2、本发明在处理三维激光雷达数据时,采用仰角来将数据分类,提取出三维激光雷达每一条单线的数据,这样的处理能够时数据处理更加简单有效。2. When processing the three-dimensional laser radar data, the present invention uses the elevation angle to classify the data and extract the data of each single line of the three-dimensional laser radar. Such processing can make data processing simpler and more effective.
3、本发明在对每一条单线点集进行聚类时,采用了改进后的K-means算法,该算法能够根据点集中点的信息自动选取最优聚类数目,同时聚类的准确性比原来的K-means算法有所提高。3. The present invention adopts the improved K-means algorithm when each single-line point set is clustered, and the algorithm can automatically select the optimum cluster number according to the information of the points in the point concentration, and the accuracy of clustering is higher than The original K-means algorithm has been improved.
4、使用本发明方法在进行实地测试时,道路提取平均每帧耗时55ms,单帧最大耗时80ms,最小耗时42ms,拥有很好的实时性。4. When using the method of the present invention to conduct a field test, the road extraction takes an average of 55ms per frame, the maximum time-consuming for a single frame is 80ms, and the minimum time-consuming is 42ms, which has good real-time performance.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1为本发明实施例的方法流程图;Fig. 1 is the method flowchart of the embodiment of the present invention;
图2为本发明实施例的修正转换后的原始点云图;Fig. 2 is the original point cloud image after the correction transformation of the embodiment of the present invention;
图3为本发明实施例的兴趣点云图;Fig. 3 is the interest point cloud figure of the embodiment of the present invention;
图4为本发明实施例的单线数据提取图;Fig. 4 is a single-line data extraction diagram of an embodiment of the present invention;
图5为本发明实施例的改进后的K-means算法得到的聚类区分图;Fig. 5 is the clustering distinction diagram that the improved K-means algorithm of the embodiment of the present invention obtains;
图6为本发明实施例的高度均值和方差筛选出来的障碍物点云图;Fig. 6 is the point cloud diagram of obstacles screened out by the height mean value and variance of the embodiment of the present invention;
图7为本发明实施例的利用DBSCAN得到的路沿提取图;Fig. 7 is the road edge extraction figure that utilizes DBSCAN to obtain in the embodiment of the present invention;
图8为本发明实施例的得到的道路可行域最小二乘法拟合图。Fig. 8 is a fitting diagram of the least squares method in the feasible region of the road obtained in the embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
如图1所示,本发明提供的一种基于三维激光雷达的结构化道路可行域提取方法,包括以下步骤:As shown in Figure 1, a method for extracting a feasible region of a structured road based on a three-dimensional laser radar provided by the present invention includes the following steps:
步骤1:三维激光雷达扫描周围环境,获取周围环境点云信息,并将点云数据从激光雷达的坐标系经过修正转化到本地直角坐标系下,如图2为系统修正转换后的原始点云图;Step 1: The 3D lidar scans the surrounding environment, obtains the point cloud information of the surrounding environment, and converts the point cloud data from the lidar coordinate system to the local Cartesian coordinate system after correction, as shown in Figure 2. The original point cloud map after system correction and conversion ;
步骤1中具体包括:Step 1 specifically includes:
激光雷达的坐标系是以激光雷达安放位置为原点,车辆前进方向作为激光雷达坐标系中的x轴方向,车辆的左右方向作为激光雷达坐标系中的y轴方向,车辆的上下作为激光雷达坐标系中的z轴方向。The coordinate system of the lidar is based on the location where the lidar is placed as the origin, the direction of the vehicle is taken as the x-axis direction in the lidar coordinate system, the left and right directions of the vehicle are taken as the y-axis direction in the lidar coordinate system, and the up and down of the vehicle are taken as the lidar coordinates The z-axis direction in the system.
本地直角坐标系是以车身的纵向中轴线与车头的交点为原点,车辆前进方向作为本地直角坐标系中的x轴方向,车辆的左右方向作为本地直角坐标系中的y轴方向,车辆的上下作为本地直角坐标系中的z轴方向。The local Cartesian coordinate system is based on the intersection of the longitudinal central axis of the vehicle body and the front of the vehicle as the origin, the forward direction of the vehicle is taken as the x-axis direction in the local Cartesian coordinate system, the left and right direction of the vehicle is taken as the y-axis direction in the local Cartesian coordinate system, and the up and down of the vehicle as the z-axis direction in the local Cartesian coordinate system.
由于安装激光雷达不能保证绝对水平,扫描倾角会产生一定的误差,故本发明标需要在坐标转换前进行修正,使得点投影角度和原始数据扫描角度达到统一,然后再将激光雷达的坐标系转换到本地直角坐标系中。Since the installation of the laser radar can not guarantee the absolute level, the scanning inclination will produce a certain error, so the standard of the present invention needs to be corrected before the coordinate conversion, so that the point projection angle and the original data scanning angle are unified, and then the coordinate system of the laser radar is converted into the local Cartesian coordinate system.
步骤2:提取三维激光雷达兴趣数据点,如图3为系统处理过后得到的兴趣点云图;Step 2: Extract the 3D lidar interest data points, as shown in Figure 3, the interest point cloud image obtained after the system processing;
步骤2中提取三维激光雷达的兴趣数据点主要考虑车辆前方的点云数据,即提取车辆前方20米,左右10米,上方30米以内的空间范围内的数据点。The point cloud data in front of the vehicle is mainly considered in the extraction of the interest data points of the 3D lidar in step 2, that is, the data points within the spatial range of 20 meters in front of the vehicle, 10 meters left and right, and 30 meters above are extracted.
步骤3:利用雷达探测角度聚类的方法提取激光雷达扫描单线,如图4为本发明得到的单线提取图;Step 3: Utilize the method for radar detection angle clustering to extract the laser radar scanning single line, as shown in Fig. 4 is the single line extraction figure that the present invention obtains;
本发明实施例采用的三维激光雷达是Velodyne16线激光雷达,雷达在垂直扫描范围内发射16根激光线,在水平方向上扫描360°获取周边环境信息,每帧采集约2万个点,对于如此多的信息采集量,本发明采用先提取扫描单线的方法;具体如下:The three-dimensional laser radar used in the embodiment of the present invention is a Velodyne 16-line laser radar. The radar emits 16 laser lines in the vertical scanning range, scans 360° in the horizontal direction to obtain surrounding environment information, and collects about 20,000 points per frame. For such The amount of information collected more, the present invention adopts the method for extracting scanning single line earlier; Specifically as follows:
3.1)三维激光雷达在扫描过程中将点云信息在笛卡尔坐标系中表示出来,我们将这些点云信息转化到球坐标系中,利用公式可以得出点云数据中每个点与z轴的夹角。3.1) The 3D lidar expresses the point cloud information in the Cartesian coordinate system during the scanning process. We transform these point cloud information into the spherical coordinate system, using the formula The angle between each point in the point cloud data and the z-axis can be obtained.
3.2)在得出每个点的仰角后,将具有相同仰角的数据点进行聚类。3.2) After obtaining the elevation angle of each point, cluster the data points with the same elevation angle.
步骤4:用改进K-means聚类算法获取最优聚类点集,如图5为本发明利用改进后的K-means算法得到的聚类区分图;Step 4: obtain optimal clustering point set with improved K-means clustering algorithm, as Fig. 5 is the clustering distinction diagram that the present invention utilizes improved K-means algorithm to obtain;
改进K-means聚类算法获取最优聚类点集具体包括:The improved K-means clustering algorithm to obtain the optimal clustering point set specifically includes:
4.1)对于数据集χ={x1,...,xn},利用AIC准则获取最优聚类数目,利用公式AIC(k)=2k+nln(SSR/n)获取最优聚类数目,其中k为聚类数目,n为观察数,SSR为数据集的残差平方和,通过寻找合适的k使AIC最小;4.1) For the data set χ={x 1 ,...,x n }, use the AIC criterion to obtain the optimal number of clusters, and use the formula AIC(k)=2k+nln(SSR/n) to obtain the optimal number of clusters , where k is the number of clusters, n is the number of observations, SSR is the residual sum of squares of the data set, and the AIC is minimized by finding a suitable k;
4.2)从数据集中随机选取一个样本作为初始聚类中心c;4.2) Randomly select a sample from the data set as the initial clustering center c;
4.3)首先计算每个样本与当前已有聚类中心的之间的距离,接着计算每个样本被选为下一个聚类中心的概率,最后按照轮盘法选择下一个聚类中心,即概率大的聚类中心被选择的概率大;4.3) First calculate the distance between each sample and the current existing cluster center, then calculate the probability of each sample being selected as the next cluster center, and finally select the next cluster center according to the roulette method, that is, the probability Large cluster centers have a high probability of being selected;
4.4)重复4.2)步直到选择出共k个聚类中心C={C1,C2,...,Ck};4.4) Repeat step 4.2) until a total of k cluster centers C={C 1 , C 2 ,...,C k } are selected;
4.5)针对数据集中每个样本xi,计算每个样本与这些聚类中心的距离并将其分到距离最小的聚类中心所对应的类中;4.5) For each sample x i in the data set, calculate the distance between each sample and these cluster centers and classify it into the class corresponding to the cluster center with the smallest distance;
4.6)重新计算有变化聚类的中心;4.6) Recalculate the centers of clusters with changes;
4.7)计算标准测度函数,当满足函数收敛,则终止;如果不满足则返回步骤4.5);4.7) Calculate the standard measurement function, when the function convergence is satisfied, then terminate; if not satisfied, then return to step 4.5);
步骤5:利用高度特征提取障碍物,如图6为本发明利用高度均值和方差筛选出来的障碍物点云图;Step 5: Use the height feature to extract obstacles, as shown in Figure 6, which is the point cloud map of obstacles screened out by the present invention using the height mean and variance;
步骤5)中利用高度特征提取障碍物具体包括:Step 5) utilize height feature extraction obstacle to specifically include:
5.1)对于提取出的扫描单线利用改进K-means聚类算法获取最优聚类点集之后,将每一类点集中点的z坐标的均值和方差求解出来;5.1) After using the improved K-means clustering algorithm to obtain the optimal clustering point set for the extracted scanning single line, solve the mean value and variance of the z coordinates of the points in each type of point concentration;
5.2)设障碍物高度为30cm,当类别中z坐标的均值大于30cm且类别中点的方差在设定的阈值之内,则认为该类点集为障碍物点集;5.2) Let the height of the obstacle be 30cm, when the mean value of the z coordinates in the category is greater than 30cm and the variance of the midpoint of the category is within the set threshold, the point set of this type is considered to be an obstacle point set;
5.3)将认定为障碍物的点集从单线点集中剔除。5.3) Eliminate the point set identified as an obstacle from the single line point set.
步骤6:结合DBSCAN聚类方法提取路沿,如图7为本发明利用DBSCAN得到的路沿提取图;Step 6: extract road edge in conjunction with DBSCAN clustering method, as Fig. 7 is the road edge extraction figure that the present invention utilizes DBSCAN to obtain;
步骤6)中结合DBSCAN聚类方法提取路沿的具体步骤如下:In step 6), the specific steps of extracting the roadside in combination with the DBSCAN clustering method are as follows:
6.1)首先在提取出来的扫描单线集中任意选择点p开始,向周围查找所有密度可达的点,若p为核心点,则在其半径为Eps的领域内,所有点与p属同一簇,这些点即为候选点;6.1) Firstly, select point p arbitrarily in the extracted scanning single line set, and search for all density-reachable points around. If p is the core point, then in the field whose radius is Eps, all points and p belong to the same cluster. These points are the candidate points;
6.2)通过查找与候选点密度可达的点不断扩充簇,直至形成一个完整的簇;6.2) Continuously expand the cluster by finding points that are reachable with the candidate point density until a complete cluster is formed;
6.3)若点p不为核心点,则将点p标注成噪点;6.3) If point p is not a core point, mark point p as a noise point;
6.4)重复上述步骤,直至所有点都被聚类成簇或者标注为噪点;6.4) Repeat the above steps until all points are clustered or marked as noise points;
6.5)由于激光雷达在结构化道路中扫描到路沿地段产生的数据点的密度会大于平常地面,根据聚类后的密度用DBSCAN来提取路沿;6.5) Since the density of data points generated by laser radar scanning to the roadside section in the structured road will be greater than that of the normal ground, use DBSCAN to extract the roadside according to the density after clustering;
6.6)将提取得到的路沿的点剔除。6.6) Eliminate the extracted points along the road.
步骤7:根据最小二乘法对可通行路面进行多项式曲线拟合,最终提取得出结构化道路前方道路可行域,如图8为本发明得到的道路可行域最小二乘法拟合图。Step 7: Carry out polynomial curve fitting on the passable road surface according to the least square method, and finally extract the feasible region of the road ahead of the structured road.
步骤7)中根据最小二乘法对可通行路面进行多项式曲线拟合具体包括:Carrying out polynomial curve fitting to the passable road surface according to the least square method in step 7) specifically includes:
7.1)对于扫描单线中已经剔除了障碍物和路沿的单线点集,利用最小二乘法将剩余点集进行拟合;7.1) For the single-line point set that has eliminated obstacles and roadsides in the scanning single-line, use the least square method to fit the remaining point set;
7.2)重复上述过程,得出所有单线剩余点集中的可通行区域拟合曲线。7.2) Repeat the above process to obtain the fitting curve of the passable area of all the remaining points of the single line.
应当理解的是,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,而所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should belong to the protection scope of the appended claims of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810169285.XA CN108460416A (en) | 2018-02-28 | 2018-02-28 | A kind of structured road feasible zone extracting method based on three-dimensional laser radar |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810169285.XA CN108460416A (en) | 2018-02-28 | 2018-02-28 | A kind of structured road feasible zone extracting method based on three-dimensional laser radar |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108460416A true CN108460416A (en) | 2018-08-28 |
Family
ID=63217634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810169285.XA Pending CN108460416A (en) | 2018-02-28 | 2018-02-28 | A kind of structured road feasible zone extracting method based on three-dimensional laser radar |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108460416A (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109543680A (en) * | 2018-11-19 | 2019-03-29 | 百度在线网络技术(北京)有限公司 | Location determining method, appliance arrangement and the medium of point of interest |
CN109613553A (en) * | 2018-12-18 | 2019-04-12 | 歌尔股份有限公司 | The method, apparatus and system of physical quantities in scene are determined based on laser radar |
CN109635700A (en) * | 2018-12-05 | 2019-04-16 | 深圳市易成自动驾驶技术有限公司 | Obstacle recognition method, equipment, system and storage medium |
CN109858460A (en) * | 2019-02-20 | 2019-06-07 | 重庆邮电大学 | A kind of method for detecting lane lines based on three-dimensional laser radar |
CN110244321A (en) * | 2019-04-22 | 2019-09-17 | 武汉理工大学 | A detection method of road passable area based on 3D lidar |
CN110390252A (en) * | 2019-05-16 | 2019-10-29 | 四川省客车制造有限责任公司 | Obstacle detection method, device and storage medium based on priori cartographic information |
CN110441788A (en) * | 2019-07-31 | 2019-11-12 | 北京理工大学 | A kind of unmanned boat environment perception method based on single line laser radar |
CN110516564A (en) * | 2019-08-06 | 2019-11-29 | 深兰科技(上海)有限公司 | Pavement detection method and apparatus |
CN110598541A (en) * | 2019-08-05 | 2019-12-20 | 香港理工大学深圳研究院 | Method and equipment for extracting road edge information |
CN111275052A (en) * | 2020-01-13 | 2020-06-12 | 南京林业大学 | Point cloud classification method based on multi-level aggregation feature extraction and fusion |
CN111325229A (en) * | 2018-12-17 | 2020-06-23 | 兰州大学 | Clustering method for object space closure based on single line data analysis of laser radar |
CN111596309A (en) * | 2020-04-16 | 2020-08-28 | 南京卓宇智能科技有限公司 | Vehicle queuing measurement method based on laser radar |
CN111985322A (en) * | 2020-07-14 | 2020-11-24 | 西安理工大学 | A Lidar-based Road Environment Element Perception Method |
CN112037328A (en) * | 2020-09-02 | 2020-12-04 | 北京嘀嘀无限科技发展有限公司 | Method, device, equipment and storage medium for generating road edges in map |
CN112294197A (en) * | 2020-11-04 | 2021-02-02 | 深圳市普森斯科技有限公司 | Sweeping control method of sweeper, electronic device and storage medium |
CN112493928A (en) * | 2020-11-26 | 2021-03-16 | 广东盈峰智能环卫科技有限公司 | Intelligent robot self-following method, device, medium and electronic equipment |
CN112543877A (en) * | 2019-04-03 | 2021-03-23 | 华为技术有限公司 | Positioning method and positioning device |
CN112543938A (en) * | 2020-09-29 | 2021-03-23 | 华为技术有限公司 | Generation method and device of grid occupation map |
CN112674646A (en) * | 2020-12-15 | 2021-04-20 | 广东盈峰智能环卫科技有限公司 | Self-adaptive welting operation method based on multi-algorithm fusion and robot |
CN112784637A (en) * | 2019-11-07 | 2021-05-11 | 北京百度网讯科技有限公司 | Ground obstacle detection method, ground obstacle detection device, electronic device, and storage medium |
WO2021128777A1 (en) * | 2019-12-23 | 2021-07-01 | Suzhou Zhijia Science & Technologies Co., Ltd. | Method, apparatus, device, and storage medium for detecting travelable region |
CN113176585A (en) * | 2021-04-14 | 2021-07-27 | 浙江工业大学 | Three-dimensional laser radar-based road surface anomaly detection method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105005771A (en) * | 2015-07-13 | 2015-10-28 | 西安理工大学 | Method for detecting full line of lane based on optical flow point locus statistics |
-
2018
- 2018-02-28 CN CN201810169285.XA patent/CN108460416A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105005771A (en) * | 2015-07-13 | 2015-10-28 | 西安理工大学 | Method for detecting full line of lane based on optical flow point locus statistics |
Non-Patent Citations (1)
Title |
---|
邹斌 王磊: "《基于激光雷达道路可通行区域的检测与提取》", 《自动化与仪表》 * |
Cited By (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109543680A (en) * | 2018-11-19 | 2019-03-29 | 百度在线网络技术(北京)有限公司 | Location determining method, appliance arrangement and the medium of point of interest |
CN109635700A (en) * | 2018-12-05 | 2019-04-16 | 深圳市易成自动驾驶技术有限公司 | Obstacle recognition method, equipment, system and storage medium |
CN109635700B (en) * | 2018-12-05 | 2023-08-08 | 深圳市易成自动驾驶技术有限公司 | Obstacle recognition method, device, system and storage medium |
CN111325229A (en) * | 2018-12-17 | 2020-06-23 | 兰州大学 | Clustering method for object space closure based on single line data analysis of laser radar |
CN111325229B (en) * | 2018-12-17 | 2022-09-30 | 兰州大学 | Clustering method for object space closure based on single line data analysis of laser radar |
CN109613553A (en) * | 2018-12-18 | 2019-04-12 | 歌尔股份有限公司 | The method, apparatus and system of physical quantities in scene are determined based on laser radar |
CN109858460A (en) * | 2019-02-20 | 2019-06-07 | 重庆邮电大学 | A kind of method for detecting lane lines based on three-dimensional laser radar |
CN109858460B (en) * | 2019-02-20 | 2022-06-10 | 重庆邮电大学 | Lane line detection method based on three-dimensional laser radar |
CN112543877B (en) * | 2019-04-03 | 2022-01-11 | 华为技术有限公司 | Positioning method and positioning device |
US12001517B2 (en) | 2019-04-03 | 2024-06-04 | Huawei Technologies Co., Ltd. | Positioning method and apparatus |
CN112543877A (en) * | 2019-04-03 | 2021-03-23 | 华为技术有限公司 | Positioning method and positioning device |
CN110244321B (en) * | 2019-04-22 | 2023-09-26 | 武汉理工大学 | A road passable area detection method based on three-dimensional lidar |
CN110244321A (en) * | 2019-04-22 | 2019-09-17 | 武汉理工大学 | A detection method of road passable area based on 3D lidar |
CN110390252A (en) * | 2019-05-16 | 2019-10-29 | 四川省客车制造有限责任公司 | Obstacle detection method, device and storage medium based on priori cartographic information |
CN110441788B (en) * | 2019-07-31 | 2021-06-04 | 北京理工大学 | An environmental perception method for unmanned boats based on single-line lidar |
CN110441788A (en) * | 2019-07-31 | 2019-11-12 | 北京理工大学 | A kind of unmanned boat environment perception method based on single line laser radar |
CN110598541A (en) * | 2019-08-05 | 2019-12-20 | 香港理工大学深圳研究院 | Method and equipment for extracting road edge information |
CN110516564A (en) * | 2019-08-06 | 2019-11-29 | 深兰科技(上海)有限公司 | Pavement detection method and apparatus |
CN112784637B (en) * | 2019-11-07 | 2024-01-12 | 北京百度网讯科技有限公司 | Ground obstacle detection method and device, electronic equipment and storage medium |
CN112784637A (en) * | 2019-11-07 | 2021-05-11 | 北京百度网讯科技有限公司 | Ground obstacle detection method, ground obstacle detection device, electronic device, and storage medium |
WO2021128777A1 (en) * | 2019-12-23 | 2021-07-01 | Suzhou Zhijia Science & Technologies Co., Ltd. | Method, apparatus, device, and storage medium for detecting travelable region |
CN111275052A (en) * | 2020-01-13 | 2020-06-12 | 南京林业大学 | Point cloud classification method based on multi-level aggregation feature extraction and fusion |
CN111596309A (en) * | 2020-04-16 | 2020-08-28 | 南京卓宇智能科技有限公司 | Vehicle queuing measurement method based on laser radar |
CN111596309B (en) * | 2020-04-16 | 2023-05-12 | 南京卓宇智能科技有限公司 | Vehicle queuing measurement method based on laser radar |
CN111985322B (en) * | 2020-07-14 | 2024-02-06 | 西安理工大学 | Road environment element sensing method based on laser radar |
CN111985322A (en) * | 2020-07-14 | 2020-11-24 | 西安理工大学 | A Lidar-based Road Environment Element Perception Method |
CN112037328A (en) * | 2020-09-02 | 2020-12-04 | 北京嘀嘀无限科技发展有限公司 | Method, device, equipment and storage medium for generating road edges in map |
CN112543938B (en) * | 2020-09-29 | 2022-02-08 | 华为技术有限公司 | Generation method and device of grid occupation map |
CN112543938A (en) * | 2020-09-29 | 2021-03-23 | 华为技术有限公司 | Generation method and device of grid occupation map |
CN112294197A (en) * | 2020-11-04 | 2021-02-02 | 深圳市普森斯科技有限公司 | Sweeping control method of sweeper, electronic device and storage medium |
CN112493928A (en) * | 2020-11-26 | 2021-03-16 | 广东盈峰智能环卫科技有限公司 | Intelligent robot self-following method, device, medium and electronic equipment |
CN112493928B (en) * | 2020-11-26 | 2021-12-17 | 广东盈峰智能环卫科技有限公司 | Intelligent robot self-following method, device, medium and electronic equipment |
CN112674646A (en) * | 2020-12-15 | 2021-04-20 | 广东盈峰智能环卫科技有限公司 | Self-adaptive welting operation method based on multi-algorithm fusion and robot |
CN113176585B (en) * | 2021-04-14 | 2024-03-22 | 浙江工业大学 | Pavement anomaly detection method based on three-dimensional laser radar |
CN113176585A (en) * | 2021-04-14 | 2021-07-27 | 浙江工业大学 | Three-dimensional laser radar-based road surface anomaly detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108460416A (en) | A kind of structured road feasible zone extracting method based on three-dimensional laser radar | |
CN109752701B (en) | Road edge detection method based on laser point cloud | |
CN109961440B (en) | A 3D LiDAR Point Cloud Target Segmentation Method Based on Depth Map | |
CN108828621A (en) | Obstacle detection and road surface partitioning algorithm based on three-dimensional laser radar | |
CN109858460B (en) | Lane line detection method based on three-dimensional laser radar | |
US10430659B2 (en) | Method and apparatus for urban road recognition based on laser point cloud, storage medium, and device | |
CN106530380B (en) | A ground point cloud segmentation method based on 3D lidar | |
CN104950313B (en) | Extract and identification of road grade method on a kind of road surface | |
CN110781827A (en) | A road edge detection system and method based on lidar and fan-shaped space segmentation | |
CN106204705B (en) | A kind of 3D point cloud dividing method based on multi-line laser radar | |
CN112184736B (en) | Multi-plane extraction method based on European clustering | |
CN105404844A (en) | Road boundary detection method based on multi-line laser radar | |
CN107356933B (en) | An unstructured road detection method based on four-line lidar | |
CN106842231A (en) | A kind of road edge identification and tracking | |
CN106199558A (en) | Barrier method for quick | |
CN110320504A (en) | A kind of unstructured road detection method based on laser radar point cloud statistics geometrical model | |
CN108647646A (en) | The optimizing detection method and device of low obstructions based on low harness radar | |
CN111325138B (en) | Road boundary real-time detection method based on point cloud local concave-convex characteristics | |
CN114821526B (en) | Obstacle 3D bounding box detection method based on 4D millimeter wave radar point cloud | |
CN113009453B (en) | Mine road edge detection and mapping method and device | |
CN112346463A (en) | Unmanned vehicle path planning method based on speed sampling | |
CN107798657A (en) | A kind of vehicle-mounted laser point cloud filtering method based on circular cylindrical coordinate | |
Maltezos et al. | Automatic extraction of building roof planes from airborne lidar data applying an extended 3d randomized hough transform | |
CN209214563U (en) | Multi-information fusion road spectrum real-time testing system | |
CN114638934B (en) | Post-processing method for dynamic barrier in 3D laser slam construction diagram |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180828 |