A traversable area detection method based on 3D point cloud elevation distribution similarity

By using elevation distribution similarity in three-dimensional point cloud maps to detect passable areas, the accuracy problem in complex environments in the existing technology is solved, especially in large-scale scenes, achieving more accurate detection results and reducing Noise interference.

CN114219705BActive Publication Date: 2024-09-06DALIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111577508.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2024-09-06
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

Existing passable area detection methods have accuracy problems when dealing with complex environments, especially when there are suspended objects and slopes. In addition, large amounts of calculations and severe noise interference in large-scale scenarios lead to inaccurate detection.

Method used

A detection method based on the similarity of the three-dimensional point cloud elevation distribution is adopted. By projecting the three-dimensional laser point cloud onto the raster map and using a vector to represent the elevation distribution, the similarity of the elevation distribution of adjacent rasters is calculated to determine the passable area. Through the seed raster Area Expansion Get a map of the passable area.

Benefits of technology

It improves the detection accuracy of passable areas under large-scale grids, effectively avoids interference from suspended objects, reduces the impact of noise points, and ensures the accuracy of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114219705B
    Figure CN114219705B
Patent Text Reader

Abstract

The present invention proposes a method for detecting passable areas based on the similarity of elevation distribution of three-dimensional point clouds. The present invention rasterizes the three-dimensional point cloud data, and represents the distribution of the point cloud in the grid in elevation with a vector, wherein each element of the vector represents the number of laser points in the corresponding elevation range. Since the point clouds in two adjacent passable grids are continuous in elevation and have roughly the same distribution, the similarity between the passable grid and the adjacent grid is calculated to determine whether the adjacent grid is a passable grid. Based on this judgment condition, the seed grid is regionally expanded, and finally a passable area map is obtained. The passable area detection is performed on the three-dimensional point cloud map using the similarity of elevation distribution, especially for large-scale grids, it has a more accurate detection effect, and can effectively avoid the interference of suspended objects, thereby ensuring the accurate expansion of the grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of environmental perception, and in particular relates to a traversable area detection method based on three-dimensional point cloud elevation distribution similarity. Background Art

[0002] With the widespread application of mobile robots in various fields, the application scenarios of mobile robots are becoming more and more complex. For example, obstacles, potholes, slopes and suspended objects in three-dimensional space pose higher challenges to the safe driving of mobile robots. Mobile robots need to detect the traversable areas in the environment for path planning and path tracking of mobile robots, so as to achieve safe navigation of mobile robots. Therefore, accurate identification of traversable areas is of great significance to mobile robot navigation.

[0003] Commonly used methods for detecting traversable areas in engineering are based on raw point cloud detection and grid map detection. The traversable area detection method based on raw point cloud needs to operate on single-line point cloud in single-frame laser point cloud. This detection method is suitable for structured roads and is not universal in the wild and other road conditions.

[0004] The traversable area detection method based on the grid map converts the point cloud into grid features, and judges the traversability of the grid by comparing the features of adjacent grids, thereby detecting the traversable area of ​​the three-dimensional point cloud map. In the process of traversable area detection, the selection of grid features is crucial. Among the existing traversable area detection methods based on grids, some directly select the extreme values ​​of the elevation in the grid as grid features. This practice will cause the elevation values ​​of high-altitude suspended objects to shield the features of low-altitude objects, and will also cause the loss of environmental information corresponding to the suspended structure.

[0005] Since the scale of the grid is related to the amount of calculation required to determine the traversable area in actual engineering applications, for traversable area detection in large-scale scenarios (such as square kilometers), the amount of calculation is usually reduced by increasing the grid scale. On the other hand, robots working outdoors are usually large in size (such as square meters), and using a smaller grid will cause redundant calculations. Therefore, in practical applications, the grid scale is usually increased (for example, 1 meter * 1 meter) to reduce the amount of calculation. As the grid scale increases, the number of point clouds in the grid increases significantly, which leads to a significant increase in noise interference in the grid. Therefore, using the extreme values ​​of the elevation in the grid cannot accurately represent the grid features, which will affect the accuracy of traversable area detection;

[0006] Literature (Stelzer A, Hirschmüller H, M. Stereo-vision-based navigation of a six-legged walking robot in unknown rough terrain [J]. International Journal of Robotics Research, 2012, 31 (4): 381-402) proposed a mobile robot traversable area detection method based on the digital terrain model constructed by the binocular camera. This method detects the traversable area by calculating the roughness, height and slope angle. However, this method does not consider the existence of suspended objects in the environment. In actual outdoor scenes, there are often suspended objects such as tree crowns and street lights. Therefore, this method cannot accurately identify the traversable area in scenes with suspended objects.

[0007] The patent (A method for obtaining a road passable area using a multi-line laser radar, patent application number: CN201810674683.7) proposes a method for obtaining a road passable area using a multi-line laser radar. This method sorts the point cloud in each grid according to the elevation, divides the plane blocks, obtains the plane block height characteristics and intensity characteristics, solves the bottom layer surface block height mean, and divides the plane blocks into ground or obstacles according to the height mean and plane intensity, and finally obtains the road passable area. Although this method can handle the interference of suspended objects, due to the use of the height mean, this method cannot accurately identify the ground and obstacles in scenes with slopes. Summary of the invention

[0008] In view of various problems existing in the prior art, the present invention proposes a passable area detection method based on the similarity of three-dimensional point cloud elevation distribution. The present invention rasterizes the three-dimensional point cloud data, and represents the distribution of the point cloud in the grid in elevation with a vector, wherein each element of the vector represents the number of laser points in the corresponding elevation range. Since the point clouds in two adjacent passable grids are continuous in elevation and have roughly the same distribution, the similarity between the passable grid and the adjacent grid is calculated to determine whether the adjacent grid is a passable grid. Based on this judgment condition, the seed grid is regionally expanded, and finally a passable area map is obtained.

[0009] The technical solution of the present invention:

[0010] A method for detecting a passable area based on the similarity of elevation distribution of a three-dimensional point cloud, based on a three-dimensional point cloud map including the passable area, comprises the following steps:

[0011] Step 1: rasterization of the 3D point cloud map, projecting the 3D laser point cloud into the raster map;

[0012] The conversion relationship from 3D laser point cloud projection to raster map is:

[0013] X=INT(xx min ) / α

[0014] Y=INT(yy min ) / α

[0015] Where X and Y represent the horizontal and vertical coordinates of the grid where the laser point is located, respectively. x and y represent the horizontal and vertical coordinates of the laser point, respectively. min and min They represent the smallest horizontal and vertical coordinates in the three-dimensional point cloud map, α represents the set grid size, and INT represents converting the data type to integer;

[0016] Step 2, calculating the elevation distribution of the laser point cloud in each grid in step 1;

[0017] Traverse all laser points in the grid, and use the elevation value z of the lowest laser point in the grid X,Y,min As the starting point, search upward for the point cloud within the height h, and find the point cloud that meets the elevation value z∈[z X,Y,min ,z X,Y,min +h) is projected onto a vector of length n representing the grid elevation distribution. middle:

[0018]

[0019] Where X represents the horizontal coordinate of the grid, Y represents the vertical coordinate of the grid; i∈[1,n], m i Indicates the elevation value in this grid The number of laser points within the range, n is the length of the vector.

[0020] Step 3, select the seed grid;

[0021] The grid to which the known passable area is projected is marked as the initial seed grid; the initial seed grid is in a passable state; the initial seed grid is stored in the seed grid set T;

[0022] Step 4, expansion of the traversable area based on the similarity of the elevation distribution of adjacent grids;

[0023] 4.1) Calculate the similarity S between the elevation distribution of the seed grid in the seed grid set T and its adjacent grids j ;

[0024]

[0025] Among them, centerX and centerY represent the horizontal and vertical coordinates of the seed grid when the region is expanded, and nextX and nextY represent the horizontal and vertical coordinates of the adjacent grid of the seed grid. is a vector representing the elevation distribution of the seed grid, is a vector representing the elevation distribution of adjacent grids, and j is the number of adjacent grids of the seed grid.

[0026] 4.2) Neighborhood expansion;

[0027] Traverse the adjacent grids of the seed grid in the seed grid set T and determine the lowest elevation value z in the seed grid centerX,centerY,min and the lowest elevation value z in the adjacent grid nextX,nextY,min The absolute value of the difference is greater than the height threshold θ. If it is greater than θ, the adjacent grid is directly judged as impassable; if it is less than θ, the similarity S between the elevation distribution of the seed grid and its adjacent grid is judged. j The size of the similarity threshold δ; if it is less than δ, the adjacent grid is considered to be impassable, otherwise the adjacent grid is in a passable state and is added to the seed grid set T as a new seed grid, and the original seed grid is popped out of the seed grid set T;

[0028] 4.3) Update the seed grid

[0029] Traverse the seed grids in the seed grid set T and perform the operations of steps 4.1) and 4.2) again until the seed grid set T is cleared;

[0030] Step 5, obtaining a traversable area map;

[0031] According to the grid map after the area expansion in step 4, the grid map is classified according to the traffic status of the grid map to obtain the trafficable area detection result based on the elevation distribution similarity.

[0032] The beneficial effect of the present invention is that the three-dimensional point cloud map is detected for passable areas using the similarity of elevation distribution, especially for large-scale grids, which has a more accurate detection effect and can effectively avoid the interference of suspended objects. When the present invention performs passable area detection, the distribution of the point cloud in the grid in elevation is represented by a vector. Since the point clouds in adjacent passable grids are continuous in elevation and have roughly the same distribution, the present invention determines whether the adjacent grid is a passable grid by calculating the vector similarity between the seed grid and the adjacent grid. The calculated similarity can eliminate the interference of noise points, thereby ensuring the accurate expansion of the grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 Flow chart of the method of the present invention.

[0034] Figure 2 It is a three-dimensional point cloud map.

[0035] Figure 3 is the trajectory point corresponding to the 3D point cloud map.

[0036] Figure 4 It is a traversable area map based on elevation similarity under large-scale grid.

[0037] Figure 5 It is a map of traversable areas based on elevation difference under comparative large-scale grid. DETAILED DESCRIPTION

[0038] The technical solution of the present invention will be further described below in conjunction with specific embodiments and drawings. The flowchart of the technical solution of the present invention is as follows: Figure 1 shown.

[0039] In the specific implementation process of the present invention, a 16-line 3D laser sensor is used to generate a 3D point cloud map. 32-line, 64-line and other 3D laser sensors are also applicable to this method.

[0040] The 16-line three-dimensional laser sensor used in the present invention has a frequency of generating three-dimensional point clouds of 10 Hz, can output 300,000 three-dimensional laser points per second, and has a measurement range of up to 100 meters.

[0041] A method for detecting traversable areas of a three-dimensional point cloud map based on elevation distribution similarity, the steps are as follows:

[0042] (1) Generation of robot 3D point cloud map and trajectory

[0043] The point cloud map is constructed using the mainstream laser SLAM algorithm LIO-SAM. LIO-SAM proposes a tightly coupled laser-inertial odometer method, which optimizes the LiDAR odometer factor, IMU pre-integration factor, GPS factor and loopback factor to obtain the robot's globally consistent posture. Finally, a three-dimensional point cloud map and trajectory point data are generated; Figure 2 Shown is a point cloud map of a scene. Figure 3 Shown Figure 2 The corresponding trajectory point data.

[0044] (2) Rasterization of 3D point cloud maps

[0045] The three-dimensional laser point cloud is projected into the grid map, and the conversion relationship from the three-dimensional laser point cloud to the grid map is:

[0046] X=INT(xx min ) / α

[0047] Y=INT(yy min ) / α

[0048] Assume that the grid size α is 1 meter, where X and Y are the horizontal and vertical coordinates of the grid where the point cloud is located, respectively. x and y represent the horizontal and vertical coordinates of the laser point cloud, respectively. min and min Respectively represent the minimum horizontal and vertical coordinates of all laser point clouds;

[0049] (3) Calculate the elevation distribution of the laser point cloud within each grid

[0050] Traverse all laser points in the grid, and use the elevation value z of the lowest laser point in the grid X,Y,min As the starting point, in this experiment, we search upward for point clouds with a height h within 2 meters. X,Y,min ,z X,Y,min +h) is projected onto a one-dimensional vector with a length n of 200 In the vector

[0051]

[0052] Where X represents the horizontal coordinate of the grid, and Y represents the vertical coordinate of the grid. i∈[1,n], m i Indicates the elevation value in this grid The number of laser points within the range, n is the length of the vector;

[0053] (4) Select the seed grid

[0054] Map the robot's trajectory points to the two-dimensional grid map according to step (2); mark the grid to which the trajectory points are projected as the initial seed grid; set the passable attribute of the seed grid to the passable state; store the initial seed grid in the seed grid set T;

[0055] (5) Expansion of traversable area based on similarity of elevation distribution of adjacent grids

[0056] Traverse the global grid map, find the seed grid in step (4), and continuously expand it to the surrounding adjacent grids based on similar elevation distribution. The main steps are as follows:

[0057] 5.1) Calculate the similarity S between the elevation distribution of the seed grid in the seed grid set T and its adjacent grids j ;

[0058]

[0059] Among them, centerX and centerY represent the horizontal and vertical coordinates of the seed grid when the region is expanded, and nextX and nextY represent the horizontal and vertical coordinates of the adjacent grid of the seed grid. is a vector representing the elevation distribution of the seed grid, is a vector representing the elevation distribution of adjacent grids, and j is the number of adjacent grids of the seed grid.

[0060] 5.2) Neighborhood Expansion

[0061] Once the seed grid is found, the adjacent grids around the seed grid can be traversed through the grid in the state. The similarity threshold δ of the elevation distribution in this experiment is 0.85, the height difference threshold θ is 0.1 meters, and the lowest elevation value z in the seed grid is determined. centerX,centerY,min and the lowest elevation value z in the adjacent grid nextX,nextY,min The absolute value of the difference is greater than the height threshold θ. If it is greater than θ, the adjacent grid is directly judged as impassable; if it is less than θ, the similarity S between the elevation distribution of the seed grid and its adjacent grid is judged. j The size of the similarity threshold δ; if it is less than δ, the adjacent grid is considered to be impassable, otherwise the adjacent grid is in a passable state and is added to the seed grid set T as a new seed grid, and the original seed grid is popped out of the seed grid set T;

[0062] 5.3) Update the seed grid

[0063] Traverse the seed grids in the seed grid set T and perform the operations of steps 5.1) and 5.2) again until the seed grid set T is cleared;

[0064] (6) Obtaining a map of accessible areas

[0065] According to the grid map after the area expansion in step (5), the grid map is classified according to the attribute values ​​of the grid map. Figure 4 is the detection result of the traversable area based on the similarity of elevation distribution, Figure 5 This is the detection result of the passable area based on elevation difference. Compared with the passable area detection method based on elevation difference, this method can still identify Figure 5 It has better detection effect in the passable areas affected by noise interference and hanging objects such as trees.

Claims

1. A method for detecting a traversable area based on the similarity of elevation distribution of a three-dimensional point cloud, based on a three-dimensional point cloud map including traversable areas, characterized in that: The steps include: Step 1: rasterization of the 3D point cloud map, projecting the 3D laser point cloud into the raster map; Step 2, calculating the elevation distribution of the laser point cloud in each grid in step 1; Step 3, select the seed grid; The grid to which the known passable area is projected is marked as the initial seed grid; the initial seed grid is in a passable state; The initial seed grid is stored in the seed grid set T; Step 4, expansion of the traversable area based on the similarity of the elevation distribution of adjacent grids; 4.1) Calculate the similarity S between the elevation distribution of the seed grid in the seed grid set T and its adjacent grids j ; 4.2) Neighborhood expansion; Traverse the adjacent grids of the seed grid in the seed grid set T and determine the lowest elevation value z in the seed grid centerX,centerY,min and the lowest elevation value z in the adjacent grid nextX,nextY,min The absolute value of the difference is greater than the height threshold θ. If it is greater than θ, the adjacent grid is directly judged as impassable; if it is less than θ, the similarity S between the elevation distribution of the seed grid and its adjacent grid is judged. j and the similarity threshold δ; if it is less than δ, the adjacent grid is considered to be impassable, otherwise the adjacent grid is in a passable state and is added to the seed grid set T as a new seed grid, and the original seed grid is popped out of the seed grid set T; 4.3) Update the seed grid Traverse the seed grids in the seed grid set T and perform the operations of steps 4.1) and 4.2) again until the seed grid set T is cleared; Step 5, obtaining a traversable area map; According to the grid map after the neighborhood expansion in step 4, the grid map is classified according to the traffic status of the grid map to obtain the trafficable area detection result based on the similarity of elevation distribution.

2. The method for detecting traversable areas based on similarity of elevation distribution of three-dimensional point clouds according to claim 1, characterized in that: Step 1: The conversion relationship from 3D laser point cloud projection to raster map is: X=INT(x-x min ) / α Y=INT(yy min ) / α Where X and Y represent the horizontal and vertical coordinates of the grid where the laser point is located, respectively. x and y represent the horizontal and vertical coordinates of the laser point, respectively. min and min They represent the minimum horizontal and vertical coordinates in the three-dimensional point cloud map respectively, α represents the set grid size, and INT represents the conversion of the data type into an integer.

3. The method for detecting traversable areas based on the similarity of elevation distribution of three-dimensional point clouds according to claim 1, characterized in that: The specific steps of step 2 are: Traverse all laser points in the grid, and use the elevation value z of the lowest laser point in the grid X,Y,min As the starting point, search upward for the point cloud within the height h, and find the point cloud that meets the elevation value z∈[z X,Y,min ,z X,Y,min +h) is projected onto a vector of length n representing the grid elevation distribution. middle: Where X represents the horizontal coordinate of the grid, Y represents the vertical coordinate of the grid; i∈[1,n], m i Indicates the elevation value in this grid The number of laser points within the range, n is the length of the vector.

4. The method for detecting traversable areas based on similarity of elevation distribution of three-dimensional point clouds according to claim 1, characterized in that: Step 4.1 Similarity S between the elevation distribution of the seed grid and its adjacent grids j The calculation method is: Among them, centerX and centerY represent the horizontal and vertical coordinates of the seed grid when the region is expanded, and nextX and nextY represent the horizontal and vertical coordinates of the adjacent grid of the seed grid. is a vector representing the elevation distribution of the seed grid, is a vector representing the elevation distribution of adjacent grids, and j is the number of adjacent grids of the seed grid.