A roadside detection method, device and vehicle

Through lidar scanning and region growing algorithms, the precision and accuracy of road edge detection are improved in complex urban road scenes, solving the problem of insufficient road edge detection accuracy in the existing technology, and achieving clearer road boundary identification.

CN114170579BActive Publication Date: 2024-09-27GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010847609.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-21
Publication Date
2024-09-27
Estimated Expiration
2040-08-21

AI Technical Summary

Technical Problem

The accuracy and precision of road edge detection in the existing technology are insufficient, especially in complex urban road scenarios, which are affected by factors such as road slopes and obstacles.

Method used

LiDAR scanning is used to obtain point cloud data, and it is converted into the vehicle's own coordinate system, divided into sub-regions according to preset distances, using a region growing algorithm to determine seed points, calculating the ground reference height, extracting road surface and curb points, and using the height difference , gradient and normal vector directions are used to screen the curbs, and noise is removed through the obstacle clustering algorithm to obtain more accurate curb detection results.

Benefits of technology

It improves the precision and accuracy of road edge detection, effectively filters out road surface interference and obstacle interference, and provides clearer road boundary information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114170579B
    Figure CN114170579B
Patent Text Reader

Abstract

The present invention provides a curb detection method, device and vehicle, the method comprising obtaining first point cloud data obtained by laser radar scanning of a vehicle, and converting the first point cloud data into second point cloud data based on the vehicle's own coordinate system; dividing the region of interest where the second point cloud data is located into a sub-region at a preset first distance along the X-axis; using a region growing algorithm to obtain the seed point of each sub-region based on the second point cloud data of the sub-region, and determining the ground reference height of each sub-region based on part of the seed points or all of the seed points; extracting road surface points in the region of interest based on the ground reference height of each sub-region and a preset first height difference; obtaining a first road curb candidate point from the road surface points in the region of interest based on a preset height difference range, a preset gradient range and a normal vector direction of the road curb, and determining the road curb of the road. The present invention solves the problem of precision and accuracy of existing curb detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile technology, and in particular to a curb detection method, device and automobile. Background Art

[0002] In autonomous driving, the detection of the drivable area is an extremely important link, and the curb is the boundary of the drivable area, so the detection of the curb plays a key role in the safety and intelligence of autonomous driving. However, the real urban road scene is relatively complex. For example, road slopes, dynamic and static obstacles on both sides of the road and in the road area will affect the detection effect of the curb. Therefore, the lack of precision and accuracy of curb detection is a problem existing in existing technologies. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a curb detection method, device and vehicle, which are used to solve the problem that the existing curb detection has insufficient precision and accuracy.

[0004] The present invention provides a road edge detection method, the method comprising:

[0005] Step S11, obtaining first point cloud data obtained by laser radar scanning of the vehicle, and converting the first point cloud data into second point cloud data based on the vehicle's own coordinate system, where the X-axis direction of the vehicle's own coordinate system is directly in front of the vehicle;

[0006] Step S12, dividing the region of interest where the second point cloud data is located into sub-regions at intervals of a preset first distance along the X-axis;

[0007] Step S13, using a region growing algorithm to obtain a seed point of each sub-region based on the second point cloud data in the sub-region, and determining a ground reference height of each sub-region according to some or all of the seed points;

[0008] Step S14, extracting road surface points in the region of interest from the second point cloud data according to the ground reference height of each sub-region and a preset first height difference, wherein the road surface points in the region of interest include ground points on the road surface and the curb;

[0009] Step S15, according to the preset height difference range, preset gradient range and normal vector direction of the curb, obtain a first curb candidate point among the road surface points in the area of ​​interest, and determine the curb of the road.

[0010] Furthermore, in step S13, using a region growing algorithm to obtain a seed point of each sub-region based on the second point cloud data in the sub-region specifically includes:

[0011] In each of the sub-areas, a preset number of points with minimum height values ​​are selected from the second point cloud data to calculate their average height S H ;

[0012] In each of the sub-areas, select a point in the second point cloud data with a height less than S H +S th The point is taken as the seed point in each sub-region, and the S th To preset a second height difference;

[0013] In each of the sub-areas, candidate seed points that form a smooth plane with the seed point are selected from the second point cloud data in the neighborhood of the seed point, and the candidate seed points that form a smooth plane with the seed point are all used as new seed points, and candidate seed points that form a smooth plane with the new seed point are continuously selected from the second point cloud data in the neighborhood of the new seed point until the boundary of the area of ​​interest is reached, or the condition is reached: there are no candidate seed points that form a smooth plane with all the seed points in the neighborhood of all the seed points.

[0014] Further, the step of selecting, in each of the sub-areas, candidate seed points that form a smooth plane with the seed point in the second point cloud data in the neighborhood of the seed point, and using the candidate seed points that form a smooth plane with the seed point as new seed points specifically includes:

[0015] In each of the sub-areas, taking the second point cloud data in the neighborhood of the seed point as a seed point to be selected;

[0016] Determine whether the angle between the normal vectors of the seed point and the to-be-selected seed point is less than a preset angle threshold;

[0017] When the angle between the normal vectors of the seed point and the candidate seed point is less than a preset angle threshold, it is determined that the candidate seed point and the seed point form a smooth plane, and the candidate seed point is determined to be a new seed point.

[0018] Furthermore, in step S13, determining the ground reference height of each sub-area according to some or all of the seed points specifically includes:

[0019] According to the partial seed points or the entire seed points, the height average of the partial seed points or the height average of all seed points R is calculated. H , the R H is the ground reference height of each sub-area.

[0020] Furthermore, step S14 specifically includes:

[0021] In each of the sub-areas, points whose heights are lower than the sum of the ground reference height and a preset second height difference are extracted from the second point cloud data as road surface points in the area of ​​interest.

[0022] Furthermore, step S15 specifically includes:

[0023] Rasterizing the road surface points in the area of ​​interest, and establishing a three-dimensional grid map according to preset length, width and height;

[0024] Calculating the maximum height difference of the road surface points of each grid, and determining whether the maximum height difference of the road surface points of each grid meets the preset height difference range;

[0025] Calculate the mean height of all road surface points in each grid using the formula Calculate the gradient of each grid and determine whether the gradient of each grid meets the preset gradient range; wherein G is the gradient of each grid and I is the height average of all road surface points of each grid;

[0026] Using the formula Calculate the mean of all road surface points in each grid, where is the mean value of all road points in each grid, |V i,j,k | indicates grid V i,j,k The number of all road points in the l is the grid V i,j,k The 3D coordinates of the lth road surface point;

[0027] Using the formula Calculate the covariance of each grid, where the C i,j,k is the covariance, and T represents the transpose of the matrix;

[0028] Performing singular value decomposition on the covariance of each grid, selecting a singular vector with a minimum singular value as a normal vector of each grid, and determining whether the normal vector of each grid is perpendicular to the own vehicle;

[0029] When the grid simultaneously satisfies: the maximum height difference meets the preset height difference range, the gradient meets the preset gradient range, and the normal vector is perpendicular to the vehicle itself, the ground point in the grid is determined as the first curb candidate point, and the curb of the road is determined.

[0030] Furthermore, the step S15 further includes:

[0031] The first roadside candidate point in the grid without continuity is deleted as an isolated noise point to obtain a second roadside candidate point;

[0032] The second curb candidate point is determined as a curb of the road.

[0033] Furthermore, the step S15 further includes:

[0034] removing obstacle noise from the second roadside candidate point according to an obstacle clustering algorithm to obtain a third roadside candidate point;

[0035] The third curb candidate point is determined as a curb of the road.

[0036] The present invention provides a road edge detection device, the device comprising:

[0037] An acquisition unit, used for acquiring first point cloud data obtained by laser radar scanning of the vehicle, and converting the first point cloud data into second point cloud data based on the vehicle's own coordinate system, where the X-axis direction of the vehicle's own coordinate system is directly in front of the vehicle;

[0038] A dividing unit, used for dividing the region of interest where the second point cloud data is located into sub-regions at intervals of a preset first distance along the X-axis;

[0039] A calculation unit, configured to obtain a seed point of each sub-region based on the second point cloud data in each sub-region by using a region growing algorithm, and determine a ground reference height of each sub-region according to some or all of the seed points;

[0040] An extraction unit, configured to extract road surface points in the region of interest from the second point cloud data according to a ground reference height of each sub-region and a preset first height difference, wherein the road surface points in the region of interest include ground points on the road surface and the curb;

[0041] The determination unit is used to obtain a first curb candidate point among the road surface points in the area of ​​interest according to a preset height difference range, a preset gradient range and a normal vector direction of the curb, and determine the curb of the road.

[0042] The present invention provides a car, comprising the above-mentioned curb detection device.

[0043] The implementation of the present invention has the following beneficial effects:

[0044] Through the present invention, point cloud data is acquired through laser radar scanning and converted into the vehicle's own coordinate system. The area directly in front of the vehicle is divided into sub-areas according to a preset first distance, and seed points are selected in the sub-areas for growth. The ground reference height of each sub-area is determined according to the seed points. The ground points of the road surface and the curb are screened out and rasterized through the road surface reference height of each sub-area and the preset first height difference. The curb is preliminarily screened out through the height difference, gradient and normal vector direction between the curb and the road surface, and some road surface interference and obstacle interference are filtered out, thereby solving the problem of insufficient precision and accuracy in existing curb detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 It is a flow chart applicable to a roadside detection method provided by an embodiment of the present invention.

[0047] Figure 2 It is a front view of a car provided by an embodiment of the present invention.

[0048] Figure 3 It is a left side view of the automobile provided by the embodiment of the present invention.

[0049] Figure 4 It is a road map divided into sub-areas provided by an embodiment of the present invention.

[0050] Figure 5 It is a structural diagram of a curb detection device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In this patent, the curb is gradually selected through geometric features and interference elimination methods. The specific implementation method is further explained below in conjunction with the accompanying drawings and examples.

[0052] like Figure 1 As shown, an embodiment of the present invention provides a road edge detection method, the method comprising:

[0053] Step S11, obtaining first point cloud data obtained by laser radar scanning of the vehicle, and converting the first point cloud data into second point cloud data based on the vehicle's own coordinate system, where the X-axis direction of the vehicle's own coordinate system is directly in front of the vehicle.

[0054] Reference Figure 2 ,y s and z s are the Y-axis and Z-axis coordinates of the laser radar coordinate system, respectively. v and z v They are the Y-axis coordinate and Z-axis coordinate of the vehicle's own coordinate system respectively; Figure 3 , x s and z s are the X-axis and Z-axis coordinates of the laser radar coordinate system, respectively. v and z vThey are the X-axis coordinate and Z-axis coordinate of the vehicle's own coordinate system respectively. The coordinates of the laser radar coordinate system can be converted into the coordinates of the vehicle's own coordinate system. The X-axis direction of the vehicle's own coordinate system is directly in front of the vehicle.

[0055] It should be noted that the first point cloud data is converted into the second point cloud data for the convenience of calculation and testing.

[0056] Step S12: Divide the region of interest where the second point cloud data is located into sub-regions at intervals of a preset first distance along the X-axis.

[0057] It should be noted that, in order to improve the computational efficiency, the region of interest is selected for the second point cloud data, satisfying x∈[x min ,x max ]and y∈[y min ,y max ]and z∈[z min ,z max ] area as the region of interest, the x min , the x max are respectively the preset minimum X-axis coordinate and the preset maximum X-axis coordinate, the y min , the y max are respectively the preset Y-axis minimum coordinate and the preset Y-axis maximum coordinate, the z min 、 max are respectively the preset Z-axis minimum coordinate and the preset Z-axis maximum coordinate; because the above coordinates are obtained by the vehicle's laser radar scanning, the x min , the x max Both are in the positive direction of the X axis.

[0058] refer to Figure 4 , curbs 41 and curbs 42 are located on both sides of the road respectively, boundaries 43 and boundaries 44 are the boundaries on both sides of the region of interest where the second point cloud data is located along the X-axis, and multiple dividing lines 45 divide the vehicle's own coordinate system X-axis into a sub-region at intervals of a preset first distance.

[0059] Step S13: using a region growing algorithm to obtain the seed points of each sub-region based on the second point cloud data in the sub-region, and determining the ground reference height of each sub-region according to part of the seed points or all of the seed points.

[0060] Specifically, using a region growing algorithm to obtain a seed point of each sub-region based on the second point cloud data in the sub-region includes:

[0061] In each of the sub-areas, a preset number of points with minimum height values ​​are selected from the second point cloud data to calculate their average height S H ;

[0062] In each of the sub-areas, select a point in the second point cloud data with a height less than S H +S th The point is taken as the seed point in each sub-region, and the S th To preset a second height difference;

[0063] It should be noted that a better method is to calculate the average height S of the lower points in each sub-region if the number of seed points is less than the preset number. H When the preset number of points with the second smallest height is averaged to calculate, the point with the smallest height is excluded; in each of the sub-areas, a point with a height less than S is selected. H +S th The point is taken as the seed point in each sub-region, and the S th In order to preset the second height difference, the number of seed points is increased by increasing the average height of the lower points in the sub-area, and this is also to avoid interference caused by the extremely low height of individual points in some sub-areas.

[0064] In each of the sub-areas, candidate seed points that form a smooth plane with the seed point are selected from the second point cloud data in the neighborhood of the seed point, and the candidate seed points that form a smooth plane with the seed point are all used as new seed points, and candidate seed points that form a smooth plane with the new seed point are continuously selected from the second point cloud data in the neighborhood of the new seed point until the boundary of the area of ​​interest is reached, or the condition is reached: there are no candidate seed points that form a smooth plane with all the seed points in the neighborhood of all the seed points.

[0065] It should be noted that the neighborhood is relative to the seed point, and refers to the set whose distance to the seed point does not exceed a preset positive number. A new seed point is found in the neighborhood of the seed point, and then the new seed point is used to find the seed point in the neighborhood of the new seed point until the boundary of the area of ​​interest is reached or the neighborhood of all seed points does not have any points that form a smooth plane with all the seed points. The purpose is to find all the seed points in each sub-area.

[0066] Further, the step of selecting, in each of the sub-areas, candidate seed points that form a smooth plane with the seed point in the second point cloud data in the neighborhood of the seed point, and using the candidate seed points that form a smooth plane with the seed point as new seed points specifically includes:

[0067] In each of the sub-areas, taking the second point cloud data in the neighborhood of the seed point as a seed point to be selected;

[0068] Determine whether the angle between the normal vectors of the seed point and the to-be-selected seed point is less than a preset angle threshold;

[0069] When the angle between the normal vectors of the seed point and the candidate seed point is less than a preset angle threshold, it is determined that the candidate seed point and the seed point form a smooth plane, and the candidate seed point is determined to be a new seed point.

[0070] Furthermore, in step S13, determining the ground reference height of each sub-area according to some or all of the seed points specifically includes:

[0071] According to the partial seed points or the entire seed points, the height average value of the partial seed points or the height average value of all seed points R is calculated. H , the R H is the ground reference height of each sub-area.

[0072] It should be noted that the ground reference height of each sub-area is determined by averaging some or all of the seed points in each sub-area; averaging some of the seed points is based on a preset number of seed points, and the average calculation is based on some of the seed points with the lowest height.

[0073] Step S14: extracting road surface points in the region of interest from the second point cloud data according to the ground reference height of each sub-region and a preset first height difference, wherein the road surface points in the region of interest include ground points on the road surface and the curb.

[0074] Specifically, step S14 includes:

[0075] In each of the sub-areas, points whose heights are lower than the sum of the ground reference height and a preset first height difference are extracted from the second point cloud data as road surface points in the area of ​​interest.

[0076] It should be noted that step S14 calculates the ground reference height R of each sub-area. H , the second height difference is preset to R th The sum of the ground reference height and the preset first height difference is R H +R th , points in each sub-region that are lower than the sum of the ground reference height and the preset first height difference are extracted as road surface points in the region of interest, and the preset first height difference is R th The general kerb height is taken into account.

[0077] Step S15, according to the preset height difference range, preset gradient range and normal vector direction of the curb, obtain a first curb candidate point among the road surface points in the area of ​​interest, and determine the curb of the road.

[0078] Step S15 specifically includes:

[0079] Rasterizing the road surface points in the area of ​​interest, and establishing a three-dimensional grid map according to preset length, width and height;

[0080] It should be noted that the above steps actually create a 3D grid map for the point cloud data in the vehicle body's own coordinate system, and the size of each grid is set to V l *V w *V h , where V l 、V w 、V h Represents the length, width, and height of the grid respectively.

[0081] Calculating the maximum height difference of the road surface points of each grid, and determining whether the maximum height difference of the road surface points of each grid meets the preset height difference range;

[0082] It should be noted that the maximum height difference between the pavement points in each grid refers to the maximum height difference between two pavement points in each grid, and the pavement points include both the ground points on the road surface and the ground points on the curb. Generally, at the curb, the height difference between the ground points on the curb and the road surface is higher than the height difference between the ground points on the general road surface, and the height difference between the ground points on the curb and the road surface is less than 15cm or 20cm. This feature is used to screen the curbs.

[0083] Calculate the mean height of all road surface points in each grid using the formula Calculate the gradient of each grid and determine whether the gradient of each grid meets the preset gradient range; wherein G is the gradient of each grid and I is the height average of all road surface points of each grid;

[0084] It should be noted that the road surface points include ground points on the curb and ground points on the road surface.

[0085] Using the formula Calculate the mean of all road surface points in each grid, where is the mean value of all road surface points in each grid, |V i,j,k | indicates grid V i,j,k The number of all road points in the l is the grid V i,j,k The 3D coordinates of the lth road surface point;

[0086] Using the formula Calculate the covariance of each grid, where the C i,j,k is the covariance, and T represents the transpose of the matrix;

[0087] Performing singular value decomposition on the covariance of each grid, selecting a singular vector with a minimum singular value as a normal vector of each grid, and determining whether the normal vector of each grid is perpendicular to the own vehicle;

[0088] When the grid satisfies the following conditions at the same time: the maximum height difference meets the preset height difference range, the gradient meets the preset gradient range, and the normal vector is perpendicular to the vehicle itself, the road surface point in the grid is determined as the first roadside candidate point, and the first roadside candidate point is determined to be the roadside of the road.

[0089] It should be noted that the first curb candidate point still has noise and interference, such as discontinuous parts, raised parts on some road surfaces, and obstacles in some road surface areas, which need to be gradually eliminated to obtain a more accurate curb.

[0090] Furthermore, the step S15 further includes:

[0091] The first roadside candidate point in the grid without continuity is deleted as an isolated noise point to obtain the second roadside candidate point.

[0092] The second curb candidate point is determined as a curb of the road.

[0093] It should be noted that the above screening step is based on the continuity of the grids included in the curb.

[0094] Specifically, clustering is performed based on the distance between each grid and the surrounding adjacent grids. If the number of grids in the same cluster is less than a preset number of grids, the grids are deemed to be discontinuous and are excluded as interference information.

[0095] Furthermore, the step S15 further includes:

[0096] removing obstacle noise from the second roadside candidate point according to an obstacle clustering algorithm to obtain a third roadside candidate point;

[0097] The third curb candidate point is determined as a curb of the road.

[0098] Specifically, since the selection of the curb is easily affected by noise, such as other vehicles on the road, road signs, etc., the segmented non-ground points are clustered according to distance and then projected onto the ground, and the points located in the obstacle area are removed from the curb candidate points. In this way, the noise generated by the similarity between the local point cloud features of the obstacle and the curb features can be reduced; the third curb candidate point obtained is exactly the result required by the present invention.

[0099] like Figure 5 As shown, an embodiment of the present invention provides a road edge detection device, the device comprising:

[0100] An acquisition unit 51 is used to acquire first point cloud data obtained by laser radar scanning of the vehicle, and convert the first point cloud data into second point cloud data based on the vehicle's own coordinate system, where the X-axis direction of the vehicle's own coordinate system is directly in front of the vehicle;

[0101] A dividing unit 52, configured to divide the region of interest where the second point cloud data is located into sub-regions at intervals of a preset first distance along the X-axis;

[0102] A calculation unit 53 is used to obtain a seed point of each sub-region based on the second point cloud data in each sub-region by using a region growing algorithm, and determine a ground reference height of each sub-region according to some or all of the seed points;

[0103] An extraction unit 54 is used to extract road surface points in the region of interest from the second point cloud data according to the ground reference height of each sub-region and a preset first height difference, wherein the road surface points in the region of interest include ground points on the road surface and the curb;

[0104] The determination unit 55 is used to obtain a first curb candidate point from the road surface points in the area of ​​interest according to a preset height difference range, a preset gradient range and a normal vector direction of the curb, and determine the curb of the road.

[0105] The present invention also provides a car, comprising the above-mentioned curb detection device.

[0106] The implementation of the present invention has the following beneficial effects:

[0107] Through the present invention, point cloud data is acquired through laser radar scanning and converted into the vehicle's own coordinate system, and the X-axis of the vehicle's own coordinate system is divided into sub-areas according to a preset first distance, and seed points are selected in the sub-areas for growth, and the ground reference height of each sub-area is determined according to the seed points. Through the road surface reference height of each sub-area and the preset second height difference, the ground points of the road surface and the curb are screened out and rasterized, and the curb is preliminarily screened out through the height difference, gradient and normal vector direction between the curb and the road surface, and some road surface interference and obstacle interference are filtered out, thereby solving the problem of insufficient precision and accuracy of existing curb detection.

[0108] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A road edge detection method, characterized in that: The method comprises: Step S11, obtaining first point cloud data obtained by laser radar scanning of the vehicle, and converting the first point cloud data into second point cloud data based on the vehicle's own coordinate system, where the X-axis direction of the vehicle's own coordinate system is directly in front of the vehicle; Step S12, dividing the region of interest where the second point cloud data is located into sub-regions at intervals of a preset first distance along the X-axis; Step S13, using a region growing algorithm to obtain a seed point of each sub-region based on the second point cloud data in the sub-region, and determining a ground reference height of each sub-region according to some or all of the seed points; Step S14, extracting road surface points in the region of interest from the second point cloud data according to the ground reference height of each sub-region and a preset first height difference, wherein the road surface points in the region of interest include ground points on the road surface and the curb; Step S15, obtaining a first curb candidate point from the road surface points in the region of interest according to the preset height difference range, the preset gradient range and the normal vector direction of the curb, and determining the curb of the road; The step S15 further comprises: Rasterizing the road surface points in the area of ​​interest, and establishing a three-dimensional grid map according to preset length, width and height; When the grid satisfies the following conditions at the same time: the maximum height difference of the grid meets the preset height difference range, the grid gradient meets the preset gradient range, and the grid normal vector is perpendicular to the vehicle itself, the road surface point in the grid is determined as the first curb candidate point, and the first curb candidate point is determined to be the curb of the road.

2. The method according to claim 1, characterized in that: In step S13, the step of using the region growing algorithm to obtain the seed point of each sub-region based on the second point cloud data in the sub-region specifically includes: In each of the sub-areas, a preset number of points with minimum height values ​​are selected from the second point cloud data to calculate their average height S H ; In each of the sub-areas, select a point in the second point cloud data with a height less than S H +S th The point is taken as the seed point in each sub-region, and the S th To preset a second height difference; In each of the sub-areas, candidate seed points that form a smooth plane with the seed point are selected from the second point cloud data in the neighborhood of the seed point, and the candidate seed points that form a smooth plane with the seed point are all used as new seed points, and candidate seed points that form a smooth plane with the new seed point are continuously selected from the second point cloud data in the neighborhood of the new seed point until the boundary of the area of ​​interest is reached, or the condition is reached: there are no candidate seed points that form a smooth plane with all the seed points in the neighborhood of all the seed points.

3. The method according to claim 2, characterized in that: The method further comprises: selecting, in each of the sub-areas, a candidate seed point that forms a smooth plane with the seed point in the second point cloud data in the neighborhood of the seed point, and taking the candidate seed points that form a smooth plane with the seed point as new seed points. In each of the sub-areas, taking the second point cloud data in the neighborhood of the seed point as a seed point to be selected; Determine whether the angle between the normal vectors of the seed point and the to-be-selected seed point is less than a preset angle threshold; When the angle between the normal vectors of the seed point and the candidate seed point is less than a preset angle threshold, it is determined that the candidate seed point and the seed point form a smooth plane, and the candidate seed point is determined to be a new seed point.

4. The method according to claim 1, characterized in that: In step S13, the ground reference height of each sub-area is determined according to some or all of the seed points, which specifically includes: According to the partial seed points or the entire seed points, the height average value of the partial seed points or the height average value of all seed points R is calculated. H , the R H is the ground reference height of each sub-area.

5. The method according to claim 1, characterized in that: Step S14 specifically includes: In each of the sub-areas, points whose heights are lower than the sum of the ground reference height and a preset first height difference are extracted from the second point cloud data as road surface points in the area of ​​interest.

6. The method according to claim 1, characterized in that: Step S15 specifically includes: Calculating the maximum height difference of the road surface points of each grid, and determining whether the maximum height difference of the road surface points of each grid meets the preset height difference range; Calculate the mean height of all road surface points in each grid using the formula Calculate the gradient of each grid and determine whether the gradient of each grid meets the preset gradient range; wherein G is the gradient of each grid and I is the height average of all road surface points of each grid; Using the formula Calculate the mean of all road surface points in each grid, where is the mean value of all road points in each grid, |V i,j,k | indicates grid V i,j,k The number of all road points in the l is the grid V i,j,k The 3D coordinates of the lth road surface point in; Using the formula Calculate the covariance of each grid, where the C i,j,k is the covariance, and T represents the transpose of the matrix; Perform singular value decomposition on the covariance of each grid, select a singular vector with a minimum singular value as the normal vector of each grid, and determine whether the normal vector of each grid is perpendicular to the own vehicle.

7. The method according to claim 6, characterized in that The step S15 further includes: The first roadside candidate point in the grid without continuity is deleted as an isolated noise point to obtain a second roadside candidate point; The second curb candidate point is determined as a curb of the road.

8. The method according to claim 7, characterized in that: The step S15 further includes: removing obstacle noise from the second roadside candidate point according to an obstacle clustering algorithm to obtain a third roadside candidate point; The third curb candidate point is determined as a curb of the road.

9. A road edge detection device, characterized in that: The device comprises: An acquisition unit, used for acquiring first point cloud data obtained by laser radar scanning of the vehicle, and converting the first point cloud data into second point cloud data based on the vehicle's own coordinate system, where the X-axis direction of the vehicle's own coordinate system is directly in front of the vehicle; A dividing unit, used for dividing the region of interest where the second point cloud data is located into sub-regions at intervals of a preset first distance along the X-axis; A calculation unit, configured to obtain a seed point of each sub-region based on the second point cloud data in each sub-region by using a region growing algorithm, and determine a ground reference height of each sub-region according to some or all of the seed points; An extraction unit, configured to extract road surface points in the region of interest from the second point cloud data according to a ground reference height of each sub-region and a preset first height difference, wherein the road surface points in the region of interest include ground points on the road surface and the curb; A determination unit, configured to obtain a first roadside candidate point from the road surface points in the region of interest according to a preset height difference range, a preset gradient range and a normal vector direction of the roadside, and determine the roadside of the road; The determination unit is further used to rasterize the road surface points in the area of ​​interest and establish a three-dimensional grid map according to the preset length, width and height; when the grid satisfies the following conditions at the same time: the maximum height difference of the grid meets the preset height difference range, the grid gradient meets the preset gradient range and the grid normal vector is perpendicular to the vehicle itself, the road surface point in the grid is determined as the first roadside candidate point, and the first roadside candidate point is determined to be the roadside of the road.

10. An automobile, characterized in that: The vehicle comprises the curb detection device as claimed in claim 9.