A method for recognizing a road edge based on a three-dimensional laser radar
By using an adaptive threshold geometric feature filter and an incremental azimuth angle search algorithm, the accuracy and stability issues of road edge recognition in complex urban environments by 3D LiDAR were solved, achieving higher recognition accuracy and stability.
Patent Information
- Application Number
- CN202410404068.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-06
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-04-06
AI Technical Summary
Existing rule-based 3D LiDAR road edge recognition methods are difficult to adaptively adjust parameters in complex urban environments and are easily affected by dynamic object occlusion and complex shape interference, resulting in insufficient recognition accuracy and stability.
An adaptive threshold geometric feature filter and an incremental azimuth search algorithm are used to extract candidate curb points by scanning line by eliminating interfering object points and dynamic object occlusion. The incremental azimuth search is then used to connect the candidate curb points, discarding fitting methods and improving recognition stability.
It reduces the reliance on parameter tuning, improves the accuracy and stability of curb recognition, and adapts to road edge recognition in complex urban environments.
Smart Images

Figure CN118091702B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of point cloud data processing and lidar environmental perception, and particularly to a method for road edge recognition in complex urban environments based on three-dimensional lidar. Background Technology
[0002] In autonomous driving, road edge recognition is a crucial fundamental task. Road edges determine the drivable range of a vehicle and are a basic guarantee of traffic safety. Furthermore, extracted road edges can be used to assist in localization, path planning, and semantic map generation, among other tasks. In urban environments, road edges are generally defined by curb stones. Curb stones are typically perpendicular to the road surface and extend with the road, and these characteristics can be used for road edge extraction.
[0003] Light Detection and Range (LiDAR) can directly acquire 3D information about the surrounding environment and is less affected by lighting conditions compared to cameras, making it widely used for road edge recognition. Commonly used 3D LiDAR systems employ rotating scanning, with each frame of point cloud data consisting of several scan lines. Due to these scanning characteristics, compared to vehicle-mounted laser scanners, 3D LiDAR acquires a lower point cloud density, and its spatial resolution decreases with increasing distance, posing challenges to environmental perception.
[0004] Rule-based methods are easy to implement and highly efficient, making them the mainstream approach for curb recognition using 3D LiDAR. These methods typically define three or more geometric features and use a threshold to filter candidate curb points. Then, fitting methods are used to obtain curb model parameters and eliminate non-curb points. The threshold for the geometric feature filter can be derived empirically, through machine learning using sample data, or calculated from the geometric structure of the environment. The large number of thresholds makes parameter tuning difficult, and the optimal threshold can change for different environments. Pre-determined fixed thresholds often perform poorly, making rule-based methods difficult to apply in practice. During fitting, simple parabolic models are typically used, which cannot handle curbs with complex shapes. Furthermore, in complex urban environments, there are many objects with similar geometric features to curbs, easily leading to confusion. Dynamic objects on the road surface (such as vehicles and pedestrians) can also obscure the curb, resulting in insufficient real curb points for support during fitting, making the model susceptible to interference and leading to incorrect curb models. Summary of the Invention
[0005] To address the problems existing in the prior art, this invention proposes a road edge recognition method based on an adaptive threshold geometric feature filter and incremental azimuth angle search, which overcomes the limitations of existing methods and has higher accuracy and stability.
[0006] The purpose of this invention is to provide a road edge recognition method based on three-dimensional lidar, which can improve the robustness and accuracy of road edge recognition in complex urban environments.
[0007] To achieve the above objectives, the present invention provides a road edge recognition method based on three-dimensional lidar, comprising:
[0008] Step S1: Eliminate points with similar geometric features to the curb points that are introduced by interfering objects;
[0009] Step S2: Extract candidate curb points line by line based on geometric features;
[0010] Step S3: By dividing the quadrants, candidate curb points are connected through an incremental azimuth search to obtain candidate curbs;
[0011] Step S4: Use a scoring system to select the optimal road edge in each quadrant.
[0012] Optionally, in the above-mentioned road edge recognition method based on three-dimensional LiDAR, step S1 involves removing points from obstacles (such as vehicles, buildings, etc.) before extracting the curb points.
[0013] Optionally, in the above-mentioned road edge recognition method based on three-dimensional LiDAR, step S2 involves adaptively determining the filter threshold based on the normal distribution assumption.
[0014] Optionally, in the above-mentioned road edge recognition method based on three-dimensional LiDAR, step S3 uses a non-fitting method to consider the topological relationship between road edge points.
[0015] Beneficial effects
[0016] In summary, this invention employs an adaptive threshold geometric feature filter, reducing reliance on parameter tuning. Furthermore, it utilizes incremental azimuth angle search instead of fitting methods, improving the stability of curb recognition in complex urban environments.
[0017] Existing rule-based curb recognition methods generally employ three or more geometric feature filters, introducing a large number of threshold parameters. These parameters are often pre-determined based on experience, sample datasets, or computation, making it difficult to cope with the complex and ever-changing environments in reality. This makes the recognition performance of rule-based methods highly dependent on parameter tuning, hindering practical applications. The method proposed in this invention, however, adaptively determines the thresholds of the geometric feature filters through the normal distribution assumption, reducing dependence on parameter tuning. Furthermore, it uses only two geometric feature filters, reducing the number of parameters.
[0018] Existing rule-based curb recognition methods generally employ parabolic fitting to consider the overall relationship between curb candidate points and eliminate false detections. However, simple parabolic models cannot handle roads with complex shapes, and when dynamic objects occlude the area, limiting the number of observed curb points, the fitting is easily affected by interfering points, resulting in erroneous models. The method proposed in this invention first eliminates a large number of easily confused points with similar geometric features to curb points before extracting candidate points, thus improving the accuracy of candidate points. Simultaneously, it abandons fitting-based methods and uses incremental azimuth angle search to consider the topological relationship between curb candidate points, improving the stability of curb recognition in complex urban environments. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the road edge recognition method based on three-dimensional LiDAR in an embodiment of the present invention;
[0020] Figure 2 This is a schematic diagram of the curb candidate point extraction results in an embodiment of the present invention;
[0021] Figure 3 This is a flowchart of the incremental azimuth angle search algorithm in an embodiment of the present invention;
[0022] Figure 4 This is a schematic diagram of the road edge extraction results in an embodiment of the present invention. Detailed Implementation
[0023] The specific embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. The advantages and features of the present invention will become clearer from the following description and claims. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of the present invention.
[0024] refer to Figure 1 In a preferred embodiment of the present invention, a road edge recognition method based on three-dimensional lidar includes:
[0025] Step S1: Eliminate points with similar geometric features to the curb points introduced by interfering objects.
[0026] Specifically, step S1 includes:
[0027] Step S11: Extract non-ground points.
[0028] Considering that the ground is often difficult to describe as a single plane, to accommodate potential undulations, the ground is fitted piecewise. To ensure that each piece has enough points to represent the ground, the ground is considered to be composed of four planes whose normal vectors are close to the Z-axis of the lidar. Each plane is represented as follows:
[0029] Ax+By+CZ+D=0 (1),
[0030] Assuming the radar's Y-axis points forward of the vehicle, all points with negative elevation angles in a single frame of the point cloud are divided along the Y-axis into four intervals (-∞, -10], (-10, 0], (0, 10), and [10, ∞) (in meters). RANSAC fitting is then performed on each interval to obtain four sets of planar parameters. Considering the typical height of curb stones, points that are 0.2 meters above the fitted plane are considered non-ground points.
[0031] Step S12: Remove obstacle points.
[0032] Obstacles can cause significant differences in adjacent radar ranging values. Considering that the height of curb stones is generally around 0.1 meters, if the elevation difference between adjacent points on the same scan line is greater than 0.1 meters, these two points will be regarded as obstacle points and marked as unusable.
[0033] Points near the bottom of obstacles may not meet the above conditions. Therefore, the point cloud is projected onto the XY plane and divided into grids with a resolution of 0.2 meters. For grids containing non-ground points, all points falling into them are marked as unusable.
[0034] Step S2: Extract candidate curb points line by line based on geometric features.
[0035] Specifically, step S2 includes: (e.g.) Figure 2 )
[0036] Step S21: Calculate the elevation smoothness of each point.
[0037] For a point p on line l in the radar point cloud i Its elevation smoothness is defined as follows:
[0038]
[0039] Where S is p i The set of consecutive adjacent points on the same scan line, totaling 10, with 5 on each side. p i The greater the elevation fluctuation at a location, the greater its corresponding s h The larger the absolute value, the better this characteristic can be used to distinguish between curb points and points falling within gentle areas (such as road surfaces, sidewalks, etc.). The unusable points marked in step S1 and their adjacent points have their elevation smoothness set to invalid values and are not included in subsequent calculations.
[0040] Step S22: Determine the elevation smoothness threshold and filter.
[0041] For curb points, their elevation smoothness varies with factors such as curb height and location. Therefore, the points on each line are divided into four parts according to the quadrants of the radar coordinate system, and the mean elevation smoothness of each part is calculated. and variance The thresholds were obtained respectively.
[0042]
[0043] Where k is the quadrant number, and the quadrants discussed in this paper are all based on the radar coordinate system. Considering that the curb is defined as the lower edge of the curbstone, the elevation smoothness of each part is greater than... The points are provided as candidate points to S23.
[0044] The elevation smoothness threshold is adaptively determined based on the normal distribution assumption.
[0045] Step S23: Calculate and filter the angles formed by each point and its adjacent points.
[0046] Based on the scanning sequence of the LiDAR, 10 consecutive points on each side of the candidate point are projected onto the XY plane, and straight lines are fitted using orthogonal distance regression to obtain two straight lines. For points in the same scan line, the portion falling on the ground will approximately form an arc. Since the LiDAR has high resolution in the horizontal direction, the angle formed by the two straight lines of the road surface point is usually close to 180°. Points with an angle less than 160° are selected as candidate curb points.
[0047] Step S3: By dividing the quadrants, candidate curb points are connected through an incremental azimuth search to obtain candidate curbs.
[0048] Specifically, step S3 includes: (e.g.) Figure 3 )
[0049] Step S31: Select seed point.
[0050] The candidate curb points obtained in step S2 are divided into four parts according to their quadrants and sorted from near to far according to their distance from the radar origin, and selected as seed points in sequence.
[0051] Step S32: Connect the curb points by gradually increasing the azimuth angle.
[0052] Using the seed point as the initial anchor point, search among the candidate points of the next scan line for points whose azimuth angle difference is in the interval [0°, T]. θ Points within ], T θ This is a pre-defined angle threshold. The azimuth difference between curb points on the same side of adjacent scan lines is usually small, therefore T... θ The default value is set to 10°. Let the azimuth angle of the candidate point be... The azimuth of the anchor point is The difference in azimuth between the two is calculated by the following formula:
[0053]
[0054] When the seed point is located in the first or third quadrant, the sign value is positive; when the seed point is located in the second or fourth quadrant, the sign value is negative.
[0055] Subsequently, among the points satisfying the azimuth difference constraint, the point with the smallest azimuth difference and the point with the smallest change in curb direction are searched. The local direction of the curb is determined by the vector formed by two adjacent curb points, and the initial direction is defined along the Y-axis of the vehicle. The point with the lower elevation among these two points is the successfully searched curb point. Considering that there may be obstructions on the road (such as other vehicles), resulting in 0 points satisfying the azimuth difference constraint, the current scan line is skipped, and the search continues in the next scan line. In this case, T will be... θ Adjust the value:
[0056] T θ =10°+N·dθ prev (6),
[0057] Where N is the number of scan lines that failed the current search, dθ prev This represents the azimuth difference corresponding to the last successful search. After each successful search, N is reset to 0, and the found curb point is used as the new anchor point. This process is repeated until all scan lines have been traversed. The resulting curb point sequence is then stored in order from the inside out according to the scan line it belongs to.
[0058] Step S33: Check the connection of curb points.
[0059] The curb point connection obtained in step S32, if the number of member points distributed on the continuous scan line is greater than or equal to 3, and the first two member points are located on adjacent scan lines, is provided as a candidate curb to S4. The member points of the candidate curb will not be selected as seed points in the future.
[0060] Step S4: Use a scoring system to select the optimal road edge in each quadrant.
[0061] Specifically, step S4 includes:
[0062] Step S41: Calculate the average inter-point angle of the candidate curb.
[0063] Suppose that N candidate road edges are extracted in a certain quadrant, where the i-th candidate road edge is L i ={p j}(j=1,…N i The average angle between points is:
[0064]
[0065] Where, N i For L i The number of members. Even on curves, the curb direction changes slowly, therefore A i The larger the candidate curb, the higher its probability of being the optimal curb. Meanwhile, curb candidate points mainly consist of real curb points, but also contain a small number of interfering points; therefore, N i The larger the candidate curb, the higher the probability that it is the optimal curb.
[0066] Step S42: Calculate the average elevation of the candidate curbs.
[0067] L i The average elevation is estimated by the following formula:
[0068]
[0069] The road surface is the lowest elevation part in the urban environment, and due to drainage requirements, the elevation of the central area is generally slightly higher than that of the sides. It should be noted that lidar is usually mounted on the vehicle roof, and the elevation value of the curb point is negative; therefore, its absolute value is used for calculation. Therefore, Z... i The larger the candidate curb, the higher the probability that it is the optimal curb.
[0070] Step S43: Determine the scores of the candidate curbs and select the optimal curb for each quadrant.
[0071] Candidate curb L i The score is calculated using the following formula:
[0072]
[0073] The candidate curb with the highest score in each quadrant is selected as the optimal curb, and the optimal curbs in each quadrant are combined to form the final recognition result.
[0074] Using the above method, the road edges are extracted, and the results are as follows: Figure 4 .
[0075] In summary, this invention employs an adaptive threshold geometric feature filter, reducing reliance on parameter tuning. Furthermore, it utilizes incremental azimuth angle search instead of fitting methods, improving the stability of curb recognition in complex urban environments.
[0076] Specifically, compared with the prior art, the present invention has the following advantages:
[0077] Existing rule-based curb recognition methods generally employ three or more geometric feature filters, introducing a large number of threshold parameters. These parameters are often pre-determined based on experience, sample datasets, or computation, making it difficult to cope with the complex and ever-changing environments in reality. This makes the recognition performance of rule-based methods highly dependent on parameter tuning, hindering practical applications. The method proposed in this invention, however, adaptively determines the thresholds of the geometric feature filters through the normal distribution assumption, reducing dependence on parameter tuning. Furthermore, it uses only two geometric feature filters, reducing the number of parameters.
[0078] Existing rule-based curb recognition methods generally employ parabolic fitting to consider the overall relationship between curb candidate points and eliminate false detections. However, simple parabolic models cannot handle roads with complex shapes, and when dynamic objects occlude the area, limiting the number of measured curb points, the fitting is easily affected by interfering points, resulting in erroneous models. The method proposed in this invention first eliminates a large number of easily confused points with similar geometric features to curb points before extracting candidate points, thus improving the accuracy of candidate points. Simultaneously, it abandons fitting-based methods and uses incremental azimuth angle search to consider the topological relationship between curb candidate points, improving the stability of curb recognition in complex urban environments.
[0079] The above are merely preferred embodiments of the present invention and do not constitute any limitation on the present invention. Any equivalent substitutions or modifications made by those skilled in the art to the technical solutions and content disclosed in the present invention without departing from the scope of the present invention shall be deemed to have remained within the protection scope of the present invention.
Claims
1. A road edge recognition method based on three-dimensional lidar, characterized in that, include: Step S1: Eliminate points with similar geometric features to the curb points that are introduced by interfering objects; Step S2: Extract candidate curb points line by line based on geometric features; Step S3: By dividing the quadrants, candidate curb points are connected through an incremental azimuth search to obtain candidate curbs; Step S4: Use a scoring system to select the optimal road edge in each quadrant; Step S3 includes: Step S31: Select seed point; The candidate curb points obtained in step S2 are divided into four parts according to their quadrants and sorted from near to far according to their distance from the radar origin, and selected as seed points in sequence. Step S32: Connect the curb points by gradually increasing the azimuth angle; Using the seed point as the initial anchor point, search among the candidate points of the next scan line for points whose azimuth angle difference is within the range. points within, A pre-defined angle threshold; the azimuth difference between curb points on the same side of adjacent scan lines is usually small, therefore The default value is set to 10°; the azimuth angle of the candidate point is set to... The azimuth of the anchor point is The difference in azimuth between the two is calculated by the following formula: When the seed point is located in the first or third quadrant, The value is positive; when the seed point is located in the second or fourth quadrant, The value can be negative; Subsequently, among the points satisfying the azimuth difference constraint, the point with the smallest azimuth difference and the point with the smallest change in curb direction are searched. The local direction of the curb is determined by the vector formed by two adjacent curb points, and the initial direction is defined along the Y-axis of the vehicle. The point with the lower elevation among these two points is the successfully searched curb point. If there are obstructions on the road, resulting in 0 points satisfying the azimuth difference constraint, the current scan line is skipped, and the search continues in the next scan line. In this case, [the search will proceed as follows]. Adjust the value: in, This represents the number of scan lines where the current search failed. This represents the azimuth difference corresponding to the last successful search; after each successful search, [the following will be done]. Reset to 0, and use the searched curb point as the new anchor point. Repeat the above process until all scan lines have been traversed. The resulting curb point sequence will be stored in order from the inside to the outside according to the scan line it belongs to. Step S33: Inspect the connection of curb points; If the number of member points of the curb point connection obtained by step S32 is greater than or equal to 3 and the first two member points are located on adjacent scan lines, then it is provided as a candidate curb to S4; the member points of the candidate curb will not be selected as seed points in the future.
2. The road edge recognition method based on three-dimensional lidar as described in claim 1, characterized in that, Step S1 includes: Step S11: Extract non-ground points; The ground is fitted piecewise, and is considered as being composed of four planes whose normal vectors are close to the Z-axis of the lidar. Each plane is represented as follows: Assuming the radar's Y-axis points forward of the vehicle, using all points with negative elevation angles in a single frame of the point cloud along the Y-axis... , , , The area was divided into four intervals, and RANSAC fitting was performed on each interval to obtain four sets of planar parameters. Considering the general height of the curbstone, points that are 0.2 meters above the fitted plane in each section were considered as non-ground points. Step S12: Remove obstacle points; Obstacles can cause significant differences in adjacent radar ranging values. If the elevation difference between adjacent points on the same scan line is greater than 0.1 meters, these two points are considered obstacle points and marked as unusable. The point cloud is projected onto the XY plane and divided into grids with a resolution of 0.2 meters. For grids containing non-ground points, all points falling into them are marked as unusable.
3. The road edge recognition method based on three-dimensional lidar as described in claim 1, characterized in that, Step S2 includes: Step S21: Calculate the elevation smoothness of each point; For the first in the radar point cloud A point on the line Its elevation smoothness is defined as follows: in, for The set of consecutive adjacent points on the same scan line, totaling 10, with 5 on each side; The greater the elevation fluctuation at a location, the more it corresponds to The larger the absolute value, the better. This characteristic is used to distinguish between curb points and points falling within a smooth area. The unusable points marked in step S1 and their adjacent points have their elevation smoothness set to invalid values and are not included in subsequent calculations. Step S22: Determine the elevation smoothness threshold and filter; Divide the points on each line into four parts according to the quadrants of the radar coordinate system, and calculate the mean elevation smoothness of each part. and variance The thresholds were obtained respectively. : in, The quadrant number is used to determine the elevation smoothness of each part. The points are provided as candidate points to S23; Step S23: Calculate and filter the angles formed by each point and its adjacent points; According to the scanning sequence of the lidar, 10 consecutive points on each side of the candidate point are projected onto the XY plane, and the straight lines are fitted by orthogonal distance regression to obtain two straight lines. For points in the same scanning line, the part falling on the ground will approximately form an arc. Since the lidar has a high resolution in the horizontal direction, the angle formed by the two straight lines of the road point is usually close to 180°. Points with an angle less than 160° are taken as candidate points for the curb.
4. The road edge recognition method based on three-dimensional lidar as described in claim 1, characterized in that, Step S4 includes: Step S41: Calculate the average inter-point angle of the candidate curb; Suppose that a total of [number] samples are extracted from a certain quadrant. There are 10 candidate road edges, of which the 10th is the 10th. candidate road edges The average angle between points is: in, for The number of members; even on curves, the direction of the curb changes slowly, therefore The larger the candidate curb, the higher the probability that it is the optimal curb; at the same time, curb candidate points are mainly composed of real curb points, and contain a small number of interference points, therefore... The larger the candidate curb, the higher the probability that it is the optimal curb; Step S42: Calculate the average elevation of the candidate curbs; The average elevation is estimated by the following formula: The road surface is the lowest elevation part in the urban environment, and due to drainage requirements, the elevation of the central area is generally slightly higher than that of the sides; it should be noted that lidar is usually mounted on the roof of the vehicle, and the elevation value of the curb point is negative; therefore, its absolute value is used for calculation. The larger the candidate curb, the higher the probability that it is the optimal curb; Step S43: Determine the scores of the candidate curbs and select the optimal curb in each quadrant; Candidate road edge The score is calculated using the following formula: The candidate curb with the highest score in each quadrant is selected as the optimal curb, and the optimal curbs in each quadrant are combined to form the final recognition result.
Citation Information
Patent Citations
Road edge detection method based on three-dimensional laser radar
CN109738910A
