Road surface information and obstacle detection fusion method and system
Through the fusion of image and radar sensing information, the road information extractor and the 3D obstacle detection model are used to calculate the modified rotation and translation matrix, and the road information and obstacle detection results are fused with high precision in the BEV space, solving the problem of intelligent driving vehicles in 3D The problem of lane line detection in the world coordinate system improves the accuracy and efficiency of autonomous driving environment perception.
Patent Information
- Application Number
- CN202410881516.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-20
AI Technical Summary
It is difficult for existing intelligent driving vehicles to directly convert the lane line detection results in the image coordinate system to the 3D world coordinate system, and they cannot obtain the road environment and obstacle information in the same coordinate system, which affects the efficiency of downstream decision-making and planning tasks.
The road environment perception information is obtained through image acquisition equipment and radar, the road surface information extractor is used to obtain the road surface information in the image coordinate system from the road image, and the obstacles in the BEV space are obtained from the road environment point cloud in combination with the 3D obstacle detection model. Detection results, perform coordinate system transformation and filtering, and calculate a modified rotation and translation matrix to integrate road surface information and obstacle detection results.
It achieves the fusion of high-precision road information and obstacle detection results in the BEV space, avoids the incompatibility problem of different modal data, and improves the accuracy and efficiency of autonomous driving environment perception tasks.
Smart Images

Figure CN118675147A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent driving perception technology, and in particular to a method and system for detecting and fusing road surface information and obstacles. Background Art
[0002] For intelligent driving vehicles, obtaining information about the surrounding environment is very important for downstream planning and decision-making tasks. The autonomous driving environment perception task can be divided into two parts: road surface information extraction and obstacle detection. Among them, road surface information can be mainly summarized into two categories: lane lines and road surface markings. At present, the neural network model for lane line detection is becoming more and more mature, and has great advantages in detection speed and accuracy, especially by setting anchors to achieve lane line detection, the fastest speed can reach more than 100 frames per second. However, the output results of most lane line detection neural network models are limited to the image coordinate system and cannot be directly applied to downstream decision-making and planning tasks. The main reason is that downstream tasks expect to obtain lane lines in the 3D world. At present, some studies have explored the use of convolutional neural network methods to directly generate 3D world lane lines by detecting images. However, the detection accuracy of these methods is not satisfactory. This is because the conversion from images to the 3D world requires accurate depth prediction, and monocular depth prediction is still a difficult problem to solve. In addition, if all environmental perception information can be directly obtained in the same coordinate system, including road environment information and obstacle information. It will be more convenient for downstream planning and decision-making tasks. Summary of the invention
[0003] In order to solve the above technical problem or at least partially solve the above technical problem, the present invention provides a method and system for detecting and fusing road surface information and obstacles.
[0004] In a first aspect, the present invention provides a method for detecting and fusing road surface information and obstacles, comprising: Before fusion, the road environment perception information is obtained through image acquisition equipment and radar, and the road environment perception information includes road images and road environment point clouds; A road surface information extractor is used to obtain a road surface information detection result in an image coordinate system from a road image. The road surface information includes lane lines and road surface markings. The road surface information extractor provides a road surface information mask for instance segmented road surface information. The 3D obstacle detection model integrates road images and road environment point clouds or obtains obstacle detection results in the BEV space based on the road environment point clouds; The road environment point cloud is projected onto the corresponding original road image through coordinate system transformation to obtain the correspondence between the road environment point cloud and each pixel point in the road image. The original road environment point cloud is filtered using the road surface information mask to obtain road surface information point sets corresponding to different road surface information instances from the original road environment point cloud. The road surface information of the BEV space is obtained based on the obtained road surface information point sets. The trigger timestamps of the image acquisition device and the radar information are obtained, the difference of the trigger timestamps is calculated, the motion parameters of the vehicle are obtained from the inertial navigation system of the vehicle, and the corrected rotation and translation matrix is calculated according to the difference of the trigger timestamps and the motion parameters of the vehicle. The road surface information in the BEV space is adjusted using the corrected rotation and translation matrix, and then merged with the obstacle detection results in the BEV space.
[0005] Furthermore, the road surface information extractor uses any one of the Faster RCNN, ResNet, and YOLO series target detection algorithms to obtain road surface information detection results in an image coordinate system from the road image.
[0006] Furthermore, the 3D obstacle detection model adopts any one of LSS, BEVFusion, and Transfusion to obtain obstacle detection results in the BEV space. Furthermore, the road environment point cloud is projected onto the corresponding original road image through coordinate system transformation, including: The road environment point cloud C is transformed from the radar coordinate system to the camera coordinate system through the rotation and translation matrix; The road environment point cloud in the camera coordinate system is transformed into the pixel coordinate system, and then the road environment point cloud is projected onto the corresponding original road image through the coordinate system transformation: ; in, represents the focal length of the image acquisition device, is the distortion factor, is the horizontal coordinate of the center pixel of the road image, is the ordinate of the center pixel of the road image, is the rotation matrix from the radar coordinate system to the camera coordinate system, It is the translation matrix from the radar coordinate system to the camera coordinate system.
[0007] Furthermore, the road surface information point set is sampled at the farthest point, and a sub-road surface information point set representing each road surface information instance is sampled. The height information of the sub-road surface information point set is compressed, and the road surface information of the BEV space is obtained using a multi-point fitting spline curve method.
[0008] Furthermore, the modified road surface information of the BEV space is fused with the obstacle of the BEV space by a multi-frame fusion method, including: The modified road surface information of the BEV space is fused with the obstacles of the BEV space using a multi-frame fusion method, including: Obtain obstacles in multiple frames of BEV space and road surface information of the corrected BEV space; Take the time difference between frames, and calculate the rotation angle of each frame relative to the global coordinate system during the time difference between frames according to the vehicle motion parameters and the time difference between frames. , the translation distance along the x-axis and y-axis of the global coordinate system and , Represents the frame, and obtains the multi-frame fusion matrix: ; Multiply each frame by the multi-frame fusion matrix to obtain the position of each frame in the global coordinate system, and fuse the frame data aligned in the global coordinate system by superposition.
[0009] Furthermore, the frame data of multi-frame fusion has a value range of 3-5.
[0010] Furthermore, the vehicle motion parameters are obtained from the vehicle's inertial navigation system, and the corrected rotation and translation matrix is calculated based on the trigger timestamp difference and the vehicle motion parameters, including: The rotation angle of the image acquisition device BEV space relative to the radar BEV space during the trigger timestamp difference is calculated based on the ego-vehicle motion parameters and the trigger timestamp difference. , the translation distance along the x-axis and y-axis of the radar BEV space and , get the modified rotation and translation matrix: .
[0011] In a second aspect, the present invention provides a road surface information and obstacle detection fusion system, which implements the road surface information and obstacle detection fusion method, including: An acquisition module, wherein the acquisition module acquires road environment perception information through an image acquisition device and a radar, and the road environment perception information includes a road image and a road environment point cloud; A road surface information extraction module, wherein the road surface information extraction module obtains a road surface information detection result in an image coordinate system from a road image, wherein the road surface information includes lane lines and road surface markings, and the road surface information extractor provides a road surface information mask for instance segmented road surface information; 3D obstacle detection module, the 3D obstacle detection module uses a 3D obstacle detection model to integrate road images and road environment point clouds or obtain obstacle detection results in the BEV space based on road environment point clouds; A BEV pavement information creation module, wherein the BEV pavement information creation module projects the road environment point cloud onto the corresponding original road image through coordinate system transformation, obtains the correspondence between the road environment point cloud and each pixel point in the road image, filters the original road environment point cloud using a pavement information mask, obtains a pavement information point set corresponding to the original road environment point cloud and different pavement information instances, performs farthest point sampling on the pavement information point set, samples a sub-pavement information point set representing each pavement information instance, compresses the height information of the sub-pavement information point set, and obtains the pavement information of the BEV space using a multi-point fitting spline curve method; A correction module, wherein the correction module obtains the trigger timestamp of the image acquisition device and the radar information, calculates the difference of the trigger timestamp, calculates the correction rotation and translation matrix according to the difference of the trigger timestamp and the vehicle motion parameters, adjusts the road surface information of the BEV space by using the correction rotation and translation matrix, and then merges it with the obstacle detection result of the BEV space; A fusion module is provided, wherein the fusion module fuses the corrected road surface information of the BEV space and the detection result of the obstacle in the BEV space.
[0012] Furthermore, the road surface information and obstacle detection fusion system includes an inertial navigation system module, and the inertial navigation system module provides the vehicle motion parameters to the correction module and the fusion module.
[0013] The above technical solution provided by the embodiment of the present invention has the following advantages compared with the prior art: This application uses a road information extractor to obtain road information detection results from road images and provide road information masks; the 3D obstacle detection model integrates road images and road environment point clouds or obtains obstacle detection results in BEV space based on road environment point clouds; the road environment point cloud is projected into the corresponding road image through coordinate system transformation, and the original road environment point cloud is filtered using the road information mask to obtain road information point sets corresponding to different road information instances to obtain road information in BEV space; the corrected rotation and translation matrix is calculated based on the trigger timestamp difference between the image acquisition device and the radar information and the vehicle motion parameters, and the road information in the BEV space is corrected by the corrected rotation and translation matrix and fused with the obstacle detection results in the BEV space. The fusion framework proposed in this application clearly divides the autonomous driving environment perception tasks. First, the advantages of road images with dense color and texture information are fully utilized to detect lane lines and sign information on the road surface; secondly, the advantages of point clouds with distance and speed information are fully utilized to detect obstacles, and finally the detection results of the two are fused to avoid the incompatibility problem caused by different modalities performing the same task. During the fusion process of the present application, a corrected rotation and translation matrix is calculated based on the trigger timestamp difference between the image acquisition device and the radar information and the vehicle motion parameters. The road surface information in the BEV space is corrected by the corrected rotation and translation matrix and then fused with the obstacle detection result in the BEV space, thereby avoiding the fusion error caused by the trigger timestamp difference between the image acquisition device and the radar, and achieving higher fusion accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0015] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0016] Figure 1 A flow chart of a method for detecting and fusing road surface information and obstacles provided in an embodiment of the present invention; Figure 2 A framework diagram of a method for detecting and fusing road surface information and obstacles provided in an embodiment of the present invention; Figure 3 A schematic diagram of an example of a BEV space lane line provided by an embodiment of the present invention; Figure 4 A schematic diagram of multi-frame fusion provided by an embodiment of the present invention; Figure 5A schematic diagram of a road surface information and obstacle detection fusion system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0018] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0019] Example 1 like Figure 1 and Figure 2 As shown, the technology of the present invention realizes a method for detecting and fusing road surface information and obstacles. Aiming at the problem that the relative coordinate systems of different results have a large gap, the coordinate systems of different sensor output results are integrated with the results. The method mainly includes two parts. The first part operates on the road surface information point cloud in the image coordinate system and converts it into the BEV space with the same coordinate system as the 3D target detection. The method makes full use of the advantages of high precision of image modal road surface information detection. Based on the road surface information detection results of the image, combined with the rotation and translation matrix and point cloud data between sensors, the method uses the original point cloud projection method to filter it using the instance lane line segmentation results. Based on the ground prior knowledge of the lane line, a point cloud filtering rule based on the farthest point sampling is established to obtain the road surface information point set that can characterize the lane line, so as to vectorize the instance lane line. The second part considers the time delay when the image and point cloud are collected, and fuses the road surface information and obstacle detection results. Under the premise of integrating the road surface information and obstacle information into the coordinate system, the method considers the problem of deviation in the trigger timestamp during data collection, and combines the vehicle motion information to fuse the two types of information. The fusion result can be described in detail in the BEV space through vector information, which will be more conducive to the execution of downstream planning decisions. The specific process of this application method includes: Before fusion, road environment perception information is obtained through image acquisition equipment and radar. The road environment perception information includes road images and road environment point clouds.
[0020] The road surface information extractor obtains the road surface information detection result in the image coordinate system from the road image, and the road surface information includes lane lines and road surface markings. The road surface information extractor mainly extracts features from the road image, and obtains the road surface information contained in the road image based on the features. The road surface information extractor actually performs the instance segmentation task of the road surface information, and the road surface information extractor provides the road surface information mask of the instance segmentation road surface information. The road surface information extractor can select any one of the Faster RCNN, ResNet, and YOLO series target detection algorithms to obtain the road surface information detection result in the image coordinate system from the road image. Specifically, the image target detection algorithm refers to the method of increasing the dimension and then reducing the dimension of the input original image using operations such as convolution, pooling, and activation functions to obtain the position and category of the target to be detected in the image. The network structure of the target detection algorithm generally consists of three parts: the trunk, the neck, and the head, wherein the trunk of the target detection algorithm is mainly responsible for the extraction of the original image by increasing the dimension. The neck is responsible for fusing features of different dimensions so that a feature map has features of multiple different dimensions. The head is mainly responsible for reducing the dimension of the high-dimensional feature map to obtain the detection result.
[0021] The 3D obstacle detection model integrates road images and road environment point clouds or obtains obstacle detection results in BEV space based on road environment point clouds. The 3D obstacle detection model mainly realizes obstacle detection in BEV space based on point clouds or based on point clouds and images. The 3D obstacle detection model uses any one of LSS, BEVFusion, and Transfusion to obtain obstacle detection results in BEV space. Taking BEVFusion based on point clouds and images as an example, the BEVFusion model performs feature fusion on the image of the surround view image acquisition device and the lidar point cloud. The BEVFusion model uses the feature extraction network to extract 2D image features and BEV point cloud features respectively, and uses the LSS algorithm to convert 2D image features to 3D space and compress them to obtain BEV image features. The two are fused through the channel attention mechanism to output 3D obstacle detection results.
[0022] The invention proposes a BEV pavement information generator, which is used to generate pavement information in the BEV space. The BEV pavement information generator projects the road environment point cloud into the corresponding original road image through coordinate system transformation, and obtains the correspondence between the road environment point cloud and each pixel point in the road image. Since the 3D space where the point cloud is located has one more depth dimension than the 2D image plane, the conversion from the 3D space to the image coordinate system is relatively simple and has high accuracy. The BEV pavement information generator obtains the pavement information mask provided by the pavement information extractor, and uses the pavement information mask to filter the original road environment point cloud, and obtains a pavement information point set corresponding to different pavement information instances from the original road environment point cloud, and obtains the pavement information of the BEV space based on the obtained pavement information point set.
[0023] Among them, projecting the road environment point cloud to the corresponding original road image through coordinate system transformation includes: transforming the road environment point cloud C from the radar coordinate system to the camera coordinate system through the rotation and translation matrix; transforming the road environment point cloud in the camera coordinate system to the pixel coordinate system, thereby projecting the road environment point cloud to the corresponding original road image through coordinate system transformation. The whole process is expressed as the following matrix transformation operation: ; in, represents the focal length of the image acquisition device, is the distortion factor, is the horizontal coordinate of the center pixel of the road image, is the ordinate of the center pixel of the road image, is the rotation matrix from the radar coordinate system to the camera coordinate system, is the translation matrix from the radar coordinate system to the camera coordinate system, and C represents the road environment point cloud.
[0024] Due to the problem of excessive density of point cloud data, this application performs farthest point sampling on the obtained point set, samples sub-point sets representing each road surface information instance according to the number of points set by the rule, compresses the height information of the sub-point set, and uses the multi-point fitting spline curve method to obtain the road surface information of the BEV space.
[0025] The process of farthest point sampling includes: Set the number of sampling points k; calculate the centroid of the road surface information point set, traverse each point in the road surface information point set and calculate the distance between each point and the centroid; take the point farthest from the centroid, record it as d0, and continue to select the point farthest from d0 from the remaining points, record it as d1; calculate the distances from the remaining points to d0 and d1, take the point with the smaller distance to d0 and d1 as the distance from the remaining points to d0 and d1 as a whole, select the point with the largest distance to d0 and d1 as a whole, record it as d3, and iterate until the number of points reaches k.
[0026] like Figure 3 As shown, Figure 3 An example of obtaining lane lines in BEV space is given. The road environment point cloud of the road where the lane lines are located is projected onto the road image through coordinate system transformation. The road environment point cloud is filtered using the lane line mask of the road image. The lane line point set corresponding to different lane line instances is obtained from the original road environment point cloud. The lane line point set is sampled and multi-point spline curves are fitted to obtain the lane lines in BEV space.
[0027] The perception of obstacles helps downstream tasks make decisions to achieve the obstacle avoidance function, but the basis for the realization of the obstacle avoidance function is that the autonomous driving car needs to perceive the surrounding road information and obtain lane information and drivable area information. Therefore, it is necessary to fuse road information and obstacle detection for downstream planning and decision-making tasks. After the above process, the road information detection results in the BEV space and the obstacle detection results in the BEV space have been obtained, and the two have been synchronized in space. However, direct fusion will have the problem of poor fusion accuracy. This is mainly because in actual use, there is inevitably a trigger time deviation between the image acquisition device and the radar. Considering that the vehicle is moving dynamically, this trigger time deviation will cause the misalignment of the BEV space and affect the fusion accuracy.
[0028] In order to compensate for the above errors, the present application obtains the trigger timestamp of the information obtained by the image acquisition device and the radar, calculates the difference of the trigger timestamp, obtains the vehicle motion parameters from the inertial navigation system of the vehicle, calculates the corrected rotation and translation matrix according to the difference of the trigger timestamp and the vehicle motion parameters, and adjusts the road surface information of the BEV space using the corrected rotation and translation matrix, wherein the vehicle motion parameters are obtained from the inertial navigation system of the vehicle, and the corrected rotation and translation matrix is calculated according to the difference of the trigger timestamp and the vehicle motion parameters, including: The rotation angle of the image acquisition device BEV space relative to the radar BEV space during the trigger timestamp difference is calculated based on the vehicle motion parameters and the trigger timestamp difference. , the translation distance along the x-axis and y-axis of the radar BEV space and , get the modified rotation and translation matrix: .
[0029] After the corrected rotation and translation matrix is multiplied by the road surface information in the BEV space, the corrected road surface information in the BEV space is obtained, and the corrected road surface information in the BEV space is accurately aligned with the obstacle detection result in the BEV space.
[0030] The corrected road surface information of the BEV space is fused with the obstacle detection results of the BEV space.
[0031] The modified road surface information of the BEV space is fused with the obstacles of the BEV space using a multi-frame fusion method, and the frame data of the multi-frame fusion has a value range of 3-5. Including: Obtain obstacles in multiple frames of BEV space and road surface information of the corrected BEV space; Take the time difference between frames, and calculate the rotation angle of each frame relative to the global coordinate system during the time difference between frames according to the vehicle motion parameters and the time difference between frames. , the translation distance along the x-axis and y-axis of the global coordinate system and , Represents the frame, and obtains the multi-frame fusion matrix: ; Each frame is multiplied by the multi-frame fusion matrix to obtain the position of each frame in the global coordinate system, and the data of each frame aligned in the global coordinate system are fused by superposition. When fusion of multiple frames, the BEV space where the last frame is located is selected as the global coordinate system.
[0032] like Figure 4 As shown, Figure 4 An example of two-frame fusion is given, and the fusion result is the rightmost frame. The second frame of the first two frames is used as the global coordinate system, and the features of the first two frames are rotated and translated in BEV space to obtain the position of each frame in the global coordinate system. Finally, the two frames of data are superimposed to obtain the fusion result on the rightmost side.
[0033] Example 2 Second, as Figure 5 As shown, an embodiment of the present invention provides a road surface information and obstacle detection fusion system, which implements the road surface information and obstacle detection fusion method, including: An acquisition module, wherein the acquisition module acquires road environment perception information through an image acquisition device and a radar, and the road environment perception information includes a road image and a road environment point cloud; A road surface information extraction module, wherein the road surface information extraction module obtains a road surface information detection result in an image coordinate system from a road image, wherein the road surface information includes lane lines and road surface markings, and the road surface information extractor provides a road surface information mask for instance segmented road surface information; 3D obstacle detection module, the 3D obstacle detection module uses a 3D obstacle detection model to integrate road images and road environment point clouds or obtain obstacle detection results in the BEV space based on road environment point clouds; A BEV pavement information creation module, wherein the BEV pavement information creation module projects the road environment point cloud onto the corresponding original road image through coordinate system transformation, obtains the correspondence between the road environment point cloud and each pixel point in the road image, filters the original road environment point cloud using a pavement information mask, obtains a pavement information point set corresponding to the original road environment point cloud and different pavement information instances, performs farthest point sampling on the pavement information point set, samples a sub-pavement information point set representing each pavement information instance, compresses the height information of the sub-pavement information point set, and obtains the pavement information of the BEV space using a multi-point fitting spline curve method; A correction module, wherein the correction module obtains the trigger timestamp of the image acquisition device and the radar information, calculates the difference of the trigger timestamp, calculates the correction rotation and translation matrix according to the difference of the trigger timestamp and the vehicle motion parameters, adjusts the road surface information of the BEV space by using the correction rotation and translation matrix, and then merges it with the obstacle detection result of the BEV space; A fusion module, which fuses the corrected road surface information of the BEV space and the detection results of the obstacles in the BEV space. The corrected road surface information of the BEV space and the obstacles in the BEV space are fused by a multi-frame fusion method, and the frame data of the multi-frame fusion has a value range of 3-5. It includes: Obtain obstacles in multiple frames of BEV space and road surface information of the corrected BEV space; Take the time difference between frames, and calculate the rotation angle of each frame relative to the global coordinate system during the time difference between frames according to the vehicle motion parameters and the time difference between frames. , the translation distance along the x-axis and y-axis of the global coordinate system and , Represents the frame, and obtains the multi-frame fusion matrix: ; Multiply each frame by the multi-frame fusion matrix to obtain the position of each frame in the global coordinate system, and fuse the frame data aligned in the global coordinate system by superposition.
[0034] The inertial navigation system module provides the vehicle motion parameters to the correction module and the fusion module.
[0035] It is worth mentioning that the previous post-fusion models, whether based on deep learning methods or traditional models, all follow the premise of realizing detection tasks for different modalities, that is, comparing the image-based detection results with the point cloud-based detection results and fusing the two. However, this type of method may cause problems in which different modal data affect each other, or a certain modal data dominates the detection results, thus losing the original intention of fusion. The fusion framework proposed in this application clearly divides the autonomous driving environment perception tasks. First, the advantages of road images with dense color and texture information are fully utilized to detect lane lines and sign information on the road surface; secondly, the advantages of point clouds with distance and speed information are fully utilized to detect obstacles, and finally the detection results of the two are fused to avoid the incompatibility caused by different modalities performing the same task. In the process of fusion, the present application calculates the corrected rotation and translation matrix based on the trigger timestamp difference between the image acquisition device and the radar and the self-vehicle motion parameters. The road surface information in the BEV space is corrected by the corrected rotation and translation matrix and then fused with the obstacle detection results in the BEV space, avoiding the fusion error caused by the difference in the trigger timestamp between the image acquisition device and the radar, and the fusion accuracy is higher. The present invention is a universal framework, which is applicable to point cloud and image-based detection and recognition tasks in current autonomous driving environment perception, and can simultaneously extract road information and detect 3D obstacles while consuming less computing power.
[0036] In the embodiments provided by the present invention, it should be understood that the disclosed structures and methods can be implemented in other ways. For example, the structural embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, structures or units, which can be electrical, mechanical or other forms.
[0037] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0038] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0039] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for detecting and fusing road surface information and obstacles, characterized in that: include: Acquire road environment perception information through image acquisition equipment and radar, and the road environment perception information includes road images and road environment point clouds; A road surface information extractor is used to obtain a road surface information detection result in an image coordinate system from a road image. The road surface information includes lane lines and road surface markings. The road surface information extractor provides a road surface information mask for instance segmented road surface information. The 3D obstacle detection model integrates road images and road environment point clouds or obtains obstacle detection results in the BEV space based on the road environment point clouds; The road environment point cloud is projected onto the corresponding original road image through coordinate system transformation to obtain the correspondence between the road environment point cloud and each pixel point in the road image. The original road environment point cloud is filtered using the road surface information mask to obtain road surface information point sets corresponding to different road surface information instances from the original road environment point cloud. The road surface information of the BEV space is obtained based on the obtained road surface information point sets. The trigger timestamps of the image acquisition device and the radar information are obtained, the difference of the trigger timestamps is calculated, the motion parameters of the vehicle are obtained from the inertial navigation system of the vehicle, and the corrected rotation and translation matrix is calculated according to the difference of the trigger timestamps and the motion parameters of the vehicle. The road surface information in the BEV space is adjusted using the corrected rotation and translation matrix, and then merged with the obstacle detection results in the BEV space.
2. The method for detecting and fusing road surface information and obstacles according to claim 1, characterized in that: The road surface information extractor uses any one of the Faster RCNN, ResNet, and YOLO series target detection algorithms to obtain road surface information detection results in an image coordinate system from a road image.
3. The method for detecting and fusing road surface information and obstacles according to claim 1, characterized in that: The 3D obstacle detection model uses any one of LSS, BEVFusion, and Transfusion to obtain obstacle detection results in the BEV space.
4. The method for detecting and fusing road surface information and obstacles according to claim 1, characterized in that: Projecting the road environment point cloud to the corresponding original road image through coordinate system transformation includes: The road environment point cloud C is transformed from the radar coordinate system to the camera coordinate system through the rotation and translation matrix; The road environment point cloud in the camera coordinate system is transformed into the pixel coordinate system, and then the road environment point cloud is projected onto the corresponding original road image through the coordinate system transformation: ; in, represents the focal length of the image acquisition device, is the distortion factor, is the horizontal coordinate of the center pixel of the road image, is the ordinate of the center pixel of the road image, is the rotation matrix from the radar coordinate system to the camera coordinate system, is the translation matrix from the radar coordinate system to the camera coordinate system, and C represents the road environment point cloud.
5. The method for detecting and fusing road surface information and obstacles according to claim 1, characterized in that: The farthest point sampling is performed on the road surface information point set to sample the sub-road surface information point set representing each road surface information instance, the height information of the sub-road surface information point set is compressed, and the road surface information of the BEV space is obtained using the multi-point fitting spline curve method.
6. The method for detecting and fusing road surface information and obstacles according to claim 1, characterized in that: The modified road surface information of the BEV space is fused with the obstacles of the BEV space using a multi-frame fusion method, including: Obtain obstacles in multiple frames of BEV space and road surface information of the corrected BEV space; Take the time difference between frames, and calculate the rotation angle of each frame relative to the global coordinate system during the time difference between frames according to the vehicle motion parameters and the time difference between frames. , the translation distance along the x-axis and y-axis of the global coordinate system and , Represents the frame, and obtains the multi-frame fusion matrix: ; Multiply each frame by the multi-frame fusion matrix to obtain the position of each frame in the global coordinate system, and fuse the frame data aligned in the global coordinate system by superposition.
7. The method for detecting and fusing road surface information and obstacles according to claim 1, characterized in that: The frame data value range of multi-frame fusion is 3-5.
8. The method for detecting and fusing road surface information and obstacles according to claim 1, characterized in that: The vehicle motion parameters are obtained from the vehicle's inertial navigation system. The corrected rotation and translation matrix is calculated based on the trigger timestamp difference and the vehicle motion parameters, including: The rotation angle of the image acquisition device BEV space relative to the radar BEV space during the trigger timestamp difference is calculated based on the vehicle motion parameters and the trigger timestamp difference. , the translation distance along the x-axis and y-axis of the radar BEV space and , get the modified rotation and translation matrix: 。 9. A road surface information and obstacle detection fusion system, which implements the road surface information and obstacle detection fusion method described in any one of claims 1 to 8, characterized in that: include: An acquisition module, wherein the acquisition module acquires road environment perception information through an image acquisition device and a radar, and the road environment perception information includes a road image and a road environment point cloud; A road surface information extraction module, wherein the road surface information extraction module obtains a road surface information detection result in an image coordinate system from a road image, wherein the road surface information includes lane lines and road surface markings, and the road surface information extractor provides a road surface information mask for instance segmented road surface information; 3D obstacle detection module, the 3D obstacle detection module uses a 3D obstacle detection model to integrate road images and road environment point clouds or obtain obstacle detection results in the BEV space based on road environment point clouds; A BEV pavement information creation module, wherein the BEV pavement information creation module projects the road environment point cloud onto the corresponding original road image through coordinate system transformation, obtains the correspondence between the road environment point cloud and each pixel point in the road image, filters the original road environment point cloud using a pavement information mask, obtains a pavement information point set corresponding to the original road environment point cloud and different pavement information instances, performs farthest point sampling on the pavement information point set, samples a sub-pavement information point set representing each pavement information instance, compresses the height information of the sub-pavement information point set, and obtains the pavement information of the BEV space using a multi-point fitting spline curve method; A correction module, wherein the correction module obtains the trigger timestamp of the image acquisition device and the radar information, calculates the difference of the trigger timestamp, calculates the correction rotation and translation matrix according to the difference of the trigger timestamp and the vehicle motion parameter, adjusts the road surface information of the BEV space by using the correction rotation and translation matrix, and then merges it with the obstacle detection result of the BEV space; A fusion module is provided, wherein the fusion module fuses the corrected road surface information of the BEV space and the detection result of the obstacle in the BEV space.
10. The road surface information and obstacle detection fusion system according to claim 9, characterized in that: It includes an inertial navigation system module, which provides the vehicle motion parameters to the correction module and the fusion module.
