A road boundary detection method for intelligent vehicles based on laser radar and camera fusion

Through the fusion technology of lidar and camera, combined with deep neural network and random sampling consensus algorithm, it solves the adaptability problem of traditional vision methods on uneven roads and the application difficulty of lidar in scenes without obvious height changes, and achieves high Accurate and robust road boundary detection.

CN114022500BActive Publication Date: 2024-09-13DONGFENG MOTOR GRP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111260300.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2024-09-13
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

Traditional vision-based road boundary detection methods have poor adaptability on uneven roads, while lidar-based methods are difficult to apply in scenarios where road boundaries have no obvious height changes.

Method used

A smart car road boundary detection method that integrates lidar and cameras is used to obtain the road area mask through a deep neural network. It combines the random sampling consensus algorithm and edge detection algorithm to construct a road raster map and fit the road boundary model, which is suitable for uneven situations. Roads and road scenes without significant height changes.

Benefits of technology

It achieves high-precision road boundary detection on uneven roads and scenes without obvious height changes, improving the robustness and adaptability of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114022500B
    Figure CN114022500B
Patent Text Reader

Abstract

The present invention provides a method for detecting road boundaries of intelligent vehicles by integrating laser radar and camera, including obtaining ground data through camera and laser radar, obtaining point cloud information through laser radar, and obtaining RGB image information through camera; obtaining road area and road surface point cloud, and then forming a road grid map; obtaining a road boundary point set through edge detection algorithm, and finally using RANSAC algorithm to fit the road boundary parameters of the left and right boundaries to form a road boundary model. The method of the present invention can obtain robust and high-precision road boundary information, and can solve the problem of adaptability of visual methods to uneven roads.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of autonomous driving safety, and in particular relates to a method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera. Background Art

[0002] Road boundaries are an important factor that constrains vehicle driving areas. Traditional vision-based methods often use the texture and color features of the road surface to design feature extraction operators to obtain similar areas, and use the region growing method to extract the entire road surface. Finally, the projection transformation method is used to project the detection results in the image space to the vehicle coordinate system. The boundary detection algorithm based on LiDAR is achieved through the height mutation at the road boundary. The vision-based road detection algorithm uses the flat road assumption in the projection transformation and cannot adapt to uneven road conditions. LiDAR boundary detection cannot be applied to road scenes where there is no obvious height change at the road boundary. Therefore, a method is needed to solve the adaptability of visual methods to uneven roads and solve the problem that LiDAR is difficult to apply when there is no obvious height change at the road boundary. Summary of the invention

[0003] To achieve the above object, the present invention provides a method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera, comprising:

[0004] Step 1: Obtain ground data through a camera and a lidar, where the lidar obtains point cloud information and the camera obtains RGB image information;

[0005] Step 2: Obtain the road area in the RGB image according to the deep neural network model and express it in the form of a road area mask, where the RGB image is The road area mask is M∈{0,1} H×W , where H and W are the height and width of the image, and 0 in the mask represents non-road and 1 represents road;

[0006] Step 3: Obtain road surface point cloud using point cloud information obtained by laser radar;

[0007] Step 4: Obtain the road surface model using the random sampling consensus algorithm (RANSAC) from the acquired road surface point cloud; construct an equally spaced grid area with a resolution of 0.1m through the acquired road area. The attributes of each cell are Its x, y and z are the coordinates of the cell center, and the z value is calculated from the acquired road surface model;

[0008] Step 5: Through the formula G∈{c i |i=1,...,N g}Get the road grid map, where Ng is the number of cells in the road grid map;

[0009]

[0010] Among them, R v2c and t v2c are the rotation matrix and translation vector from the vehicle coordinate system to the camera coordinate system, respectively. u and v are the horizontal and vertical coordinates of the corresponding pixel of the point in the image; dx and dy are the physical dimensions of a pixel in the X-axis and Y-axis directions of the camera; f is the focal length of the camera;

[0011] Step 6: On the obtained road grid map, obtain the candidate road boundary point P through the edge detection algorithm edge ={p e |p e =(x e ,y e )}, cluster the candidate boundary points again to get the set of left and right boundary points:

[0012] Step 7: From the set of left and right boundary points and The RANSAC algorithm is used to fit the road boundary parameters of the left and right boundaries to form a road boundary model.

[0013] Preferably, in step 3, according to the laser radar calibration result, the laser radar point cloud information is converted into Convert to the vehicle coordinate system to get Then use the point cloud segmentation algorithm to obtain the road point cloud

[0014] As a preference, in step 4, the road surface model adopts the quadratic surface equation z=ax 2 +by 2 +cx+dy+e means, where z is the height value, x and y are the horizontal and vertical coordinates;

[0015] As a preferred embodiment, in step 4, m represents the attribute of the cell, that is, whether it belongs to the road category, and is calculated by formula P C =[x C ,y C ,z C ] T Get the coordinates of the cell in the camera coordinate system, and then get the image pixel coordinates corresponding to the cell through the formula ID = [u, v], where u and v are the horizontal and vertical coordinates of the pixel in the image respectively; the road attribute of the cell is determined by the road attribute of the corresponding image pixel, where m = 0 indicates non-road, m = 1 indicates road, and m = 255 indicates unknown category;

[0016] Preferably, in step 7, the road boundary model is represented by a cubic curve equation: y = ax 3 +bx 2 +cx+d;

[0017] As a preference, in step seven, the road boundary model obtained

[0018] M road ={(E L ,E R )|E L =(a L ,b L ,c L ,d L ),E R =(a R ,b R ,c R ,d R )}, where a L ,b L ,c L ,d L is the curve parameter of the left boundary of the road, a R ,b R ,c R ,d R is the curve parameter of the right boundary of the road.

[0019] Compared with the prior art, the present invention has the following beneficial effects:

[0020] 1. The present invention obtains robust and high-precision road boundary information through information from laser radar and cameras, which can solve the problem of adaptability of visual methods to uneven roads.

[0021] 2. The method proposed in the present invention can solve the problem that lidar boundary detection cannot be applied to road scenes where there is no obvious height change in the road boundary. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] like Figure 1As shown, an embodiment of the present invention proposes a method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera, comprising:

[0025] S1. Acquire ground data through camera and laser radar, where the laser radar acquires point cloud information and the camera acquires RGB image information;

[0026] S2. Obtain the road area in the RGB image according to the deep neural network model and express it in the form of a road area mask, where the RGB image is The road area mask is M∈{0,1} H×W , where H and W are the height and width of the image, and 0 in the mask represents non-road and 1 represents road;

[0027] S3, the point cloud information obtained by the laser radar is converted into the laser radar point cloud information according to the laser radar calibration result. Convert to the vehicle coordinate system to get Then use the point cloud segmentation algorithm to obtain the road point cloud

[0028] S4. The road surface model is obtained by using the random sampling consensus algorithm (RANSAC) through the acquired road surface point cloud. The road surface model uses the quadratic surface equation z=ax 2 +by 2 +cx+dy+e, where z is the height value, x and y are the horizontal and vertical coordinates; the obtained road area is used to construct an equally spaced grid area with a resolution of 0.1m. The attributes of each cell are Its x, y and z are the coordinates of the cell center, and the z value is calculated by the acquired road model; m represents the attribute of the cell, that is, whether it belongs to the road category, which is determined by the formula P C =[x C ,y C ,z C ] T Get the coordinates of the cell in the camera coordinate system, and then get the image pixel coordinates corresponding to the cell through the formula ID = [u, v], where u and v are the horizontal and vertical coordinates of the pixel in the image respectively; the road attribute of the cell is determined by the road attribute of the corresponding image pixel, where m = 0 indicates non-road, m = 1 indicates road, and m = 255 indicates unknown category;

[0029] S5, through the formula G∈{c i |i=1,...,N g}Get the road grid map, where N g is the number of cells in the road grid map;

[0030]

[0031] Among them, R v2c and t v2c are the rotation matrix and translation vector from the vehicle coordinate system to the camera coordinate system, respectively. u and v are the horizontal and vertical coordinates of the corresponding pixel of the point in the image; dx and dy are the physical dimensions of a pixel in the X-axis and Y-axis directions of the camera; f is the focal length of the camera;

[0032] S6. On the obtained road grid map, obtain candidate road boundary points P through edge detection algorithm edge ={p e |p e =(x e ,y e )}, cluster the candidate boundary points again to get the set of left and right boundary points:

[0033] S7, the set of left and right boundary points and The RANSAC algorithm is used to fit the road boundary parameters of the left and right boundaries to form the road boundary model M road ={(E L ,E R )|E L =(a L ,b L ,c L ,d L ),E R =(a R ,b R ,c R ,d R )}, where a L ,b L ,c L ,d L is the curve parameter of the left boundary of the road, a R ,b R ,c R ,d R is the curve parameter of the right edge of the road, and the road edge model adopts the cubic curve equation y = ax 3 +bx 2 +cx+d represents.

[0034] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

[0035] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0036] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A method for intelligent vehicle road boundary detection based on laser radar and camera fusion, include: Step 1: Obtain ground data through a camera and a lidar, where the lidar obtains point cloud information and the camera obtains RGB image information; Step 2: Obtain the road area in the RGB image according to the deep neural network model and express it in the form of a road area mask, where the RGB image is The road area mask is M∈{0,1} H×W , where H and W are the height and width of the image, and 0 in the mask represents non-road and 1 represents road; Step 3: Obtain road surface point cloud using point cloud information obtained by laser radar; Step 4: Obtain a road model using the obtained road point cloud using the random sampling consensus algorithm (RANSAC). Construct an equally spaced road grid area with a resolution of 0.1 m from the road area obtained from the road model. The attributes of each cell are: Its x, y and z are the coordinates of the cell center, and the z value is calculated from the acquired road surface model; Step 5: Through the formula G∈{c i |i=1,...,N g }Get the road grid map, where N g is the number of cells in the road grid map; Among them, R v2c and t v2c are the rotation matrix and translation vector from the vehicle coordinate system to the camera coordinate system, respectively. u and v are the horizontal and vertical coordinates of the corresponding pixel of the point in the image; dx and dy are the physical dimensions of a pixel in the X-axis and Y-axis directions of the camera; f is the focal length of the camera; Step 6: On the obtained road grid map, obtain the candidate road boundary point P through the edge detection algorithm edge ={p e |p e =(x e ,y e )}, cluster the candidate boundary points again to get the set of left and right boundary points: Step 7: From the set of left and right boundary points and The RANSAC algorithm is used to fit the road boundary parameters of the left and right boundaries to form a road boundary model.

2. The method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera as claimed in claim 1, It is characterized in that In step 3, according to the laser radar calibration result, the laser radar point cloud information Convert to the vehicle coordinate system to get Then use the point cloud segmentation algorithm to obtain the road point cloud 3. The method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera as claimed in claim 1, It is characterized in that In step 4, the road surface model adopts the quadratic surface equation z=ax 2 +by 2 +cx+dy+e, where z is the height value, and x and y are the horizontal and vertical coordinates.

4. The method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera as claimed in claim 1, It is characterized in that In step 4, m represents the attribute of the cell, that is, whether it belongs to the road category, and is determined by the formula P C =[x C ,y C ,z C ] T Get the coordinates of the cell in the camera coordinate system, and then get the image pixel coordinates corresponding to the cell through the formula ID = [u, v], where u and v are the horizontal and vertical coordinates of the pixel in the image respectively; the road attribute of the cell is determined by the road attribute of the corresponding image pixel, where m = 0 indicates non-road, m = 1 indicates road, and m = 255 indicates unknown category.

5. The method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera as claimed in claim 1, It is characterized in that In step 7, the road boundary model is represented by a cubic curve equation: y = ax 3 +bx 2 +cx+d.

6. The method for detecting road boundaries of an intelligent vehicle by integrating a laser radar and a camera as claimed in claim 1, It is characterized in that In step 7, the road boundary model M is obtained. road ={(E L ,E R )|E L =(a L ,b L ,c L ,d L ),E R =(a R ,b R ,c R ,d R )}, where a L ,b L ,c L ,d L is the curve parameter of the left boundary of the road, a R ,b R ,c R ,d R is the curve parameter of the right boundary of the road.

7. A detection device, It is characterized in that include: A camera, a laser radar, a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the detection method as described in any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored therein, It is characterized in that When the computer program is executed by a processor, the detection method according to any one of claims 1 to 6 is implemented.