Point cloud semantic segmentation method based on vehicle-vehicle cooperation

Through the vehicle-vehicle collaborative point cloud semantic segmentation method, the pose information of multiple vehicles is used for coordinate conversion and self-attention mechanism, which solves the problem of low single-vehicle perception accuracy, improves the perception range and accuracy, reduces the cost, and achieves Safer autonomous driving.

CN118628745AActive Publication Date: 2024-09-10BEIHANG UNIV

Patent Information

Application Number
CN202410826139.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-10
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

The existing technology based on bicycle environment sensing has low sensing accuracy and small sensing range. It is especially difficult to effectively identify obstacles at congested intersections and high-speed scenarios, which prevents autonomous vehicles from reaching L5 level safety.

Method used

Through the vehicle-vehicle collaborative point cloud semantic segmentation method, the pose information between multiple vehicles is used for coordinate conversion, and the point cloud data of different vehicles are unified into the same coordinate system. Bird's-eye view feature extraction and self-attention mechanism are used for semantic segmentation. , build a collaborative point cloud semantic segmentation model to achieve semantic category recognition between multiple vehicles.

Benefits of technology

It significantly improves the perception accuracy and range, reduces the amount of calculation and cost, does not require additional sensors, and enhances the accuracy and effect of point cloud semantic segmentation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628745A
    Figure CN118628745A
Patent Text Reader

Abstract

The invention relates to the technical field of point cloud segmentation of automatic driving, in particular to a point cloud semantic segmentation method based on vehicle-vehicle coordination, which comprises the following steps: a plurality of vehicles respectively acquire point cloud data; based on the spatial pose information, converting the point cloud data of the second vehicle to a coordinate system of the first vehicle through coordinate conversion; performing aerial view feature extraction processing on the point cloud data of the second vehicle and the point cloud data of the first vehicle after coordinate conversion to obtain aerial view features of the plurality of vehicles; constructing a collaborative point cloud semantic segmentation model, and performing encoder feature extraction, self-attention mechanism feature fusion and decoder segmentation head output on the aerial view features of the plurality of vehicles to obtain a semantic category of the point cloud data of the plurality of vehicles under the view angle of the aerial view, and taking the semantic category as a collaborative point cloud semantic segmentation result; the perception precision and the perception range of the point cloud semantic segmentation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of point cloud segmentation for autonomous driving, and in particular to a point cloud semantic segmentation method based on vehicle-to-vehicle collaboration. Background Art

[0002] At present, autonomous unmanned driving systems based on single-vehicle perception have made great progress. However, they perform poorly in some challenging scenarios, such as blind spots at congested intersections and long-distance obstacle recognition in high-speed scenarios. These factors seriously threaten the safety of unmanned driving and become the key bottleneck that prevents vehicle automation from reaching L5 level. Equipping more high-fidelity sensors alone will not only result in high costs, but also have limited improvement in perception accuracy.

[0003] Thanks to better communication infrastructure construction and the development of communication technologies such as V2X communication, vehicles can exchange messages in a reliable way to achieve collaboration between them. By sharing the perception information of vehicles in different locations, the perception range of vehicles can be greatly expanded. At the same time, the fusion of redundant information in the overlapping areas of multi-vehicle perception can help further improve the perception accuracy of the system. At the same time, considering that point cloud semantic segmentation is one of the basic tasks of autonomous driving environment perception, it can provide rich geometric shape and size information, as well as semantic information, which can be used for the subsequent construction of high-precision semantic maps and provide a basis for downstream modules such as control planning. At present, the field of vehicle-to-vehicle collaborative perception is in the exploratory stage, and most of the current collaborative perception tasks are mainly based on target detection. There is a lack of work on collaborative semantic segmentation models. Summary of the invention

[0004] In view of the above problems, the present invention provides a point cloud semantic segmentation method based on vehicle-to-vehicle collaboration, which solves the technical problems of low existence perception accuracy and small perception range based on single-vehicle environment perception in the prior art.

[0005] The present invention provides a point cloud semantic segmentation method based on vehicle-to-vehicle collaboration, comprising the following steps:

[0006] Step S1, multiple vehicles respectively collect point cloud data; based on the posture information, the point cloud data of the second vehicle is converted into the coordinate system of the first vehicle through coordinate conversion;

[0007] The first vehicle is one of the plurality of vehicles, and the second vehicle is another vehicle among the plurality of vehicles except the first vehicle;

[0008] Step S2, performing bird's-eye view feature extraction processing on the point cloud data of the second vehicle and the point cloud data of the first vehicle after coordinate conversion to obtain bird's-eye view features of the multiple vehicles;

[0009] Step S3, construct a collaborative point cloud semantic segmentation model, perform encoder feature extraction, self-attention mechanism feature fusion and decoder segmentation head output on the bird's-eye view features of the multiple vehicles, and obtain the semantic categories of the point cloud data of the multiple vehicles from the bird's-eye view perspective as the collaborative point cloud semantic segmentation results.

[0010] Preferably, step S1 specifically includes:

[0011] Step S1-1, determining a coordinate conversion matrix from the coordinate systems of the multiple vehicles to the world coordinate system according to the position information of the multiple vehicles;

[0012] Step S1-2, obtaining a coordinate conversion matrix from the second vehicle to the coordinate system of the first vehicle based on the coordinate conversion matrix from the coordinate system of the second vehicle to the world coordinate system and the coordinate conversion matrix from the coordinate system of the first vehicle to the world coordinate system;

[0013] Step S1-3: based on the coordinate conversion matrix from the second vehicle to the coordinate system of the first vehicle, convert the coordinates of each point cloud in the point cloud data of the second vehicle to the coordinate system of the first vehicle.

[0014] Preferably, step S1-1 specifically includes:

[0015] Based on the roll angle, pitch angle, yaw angle in the vehicle posture information and the spatial coordinate values ​​in the world coordinate system, the coordinate transformation matrix R from the vehicle coordinate system to the world coordinate system is established in the following way:

[0016]

[0017] Where r, p, and h are the roll angle, pitch angle, and yaw angle of the vehicle’s position information, respectively. c ,y c , z c ) is the spatial coordinate value of the vehicle in the world coordinate system.

[0018] Preferably, step S1-2 specifically includes:

[0019] The coordinate transformation matrix M of the second vehicle to the coordinate system of the first vehicle is calculated by:

[0020] M=R c ×R e -1

[0021] Among them, R c is the coordinate transformation matrix from the coordinate system of the second vehicle to the world coordinate system, R e -1 It is the inverse matrix of the coordinate transformation matrix from the coordinate system of the first vehicle to the world coordinate system.

[0022] Preferably, step S1-3 specifically includes performing coordinate transformation in the following manner:

[0023]

[0024] Among them, M ij (1≤i≤3, 1≤j≤4) represents the elements in the matrix M, i and j are the row and column indices of the matrix M respectively, (x, y, z) represents the point cloud coordinates of the second vehicle before coordinate transformation, and (x′, y′, z′) represents the point cloud coordinates after the corresponding coordinate transformation.

[0025] Preferably, step S2 specifically includes:

[0026] (1) Perform BEV projection on the point cloud coordinates in the point cloud data according to the following formula:

[0027]

[0028] Where x′, y′ are the point cloud coordinates after coordinate conversion, (u, v) represents the pixel coordinates of the point cloud coordinates corresponding to the BEV image, W, H represent the width and height of the BEV image, mmin(·), max(·) represent the minimum value operation and the maximum value operation, respectively;

[0029] (2) The pixel coordinates of the BEV image are converted according to the height information z of the corresponding point cloud data. n The BEV images are sorted, where n is the index of the point cloud data, and pixel value normalization, edge pixel correction, and effective pixel point screening are performed on the BEV images to obtain the BEV features of each vehicle, wherein the BEV features include the three-dimensional coordinates, depth information, and reflectivity of the point cloud data.

[0030] Preferably, step S3 specifically includes:

[0031] Step S3-1, the bird's-eye view features of each vehicle are subjected to encoder feature extraction by a feature extractor to obtain intermediate features of each vehicle;

[0032] Step S3-2: Through the intermediate feature fusion network, the intermediate features of each vehicle are fused using the self-attention mechanism to obtain fused features;

[0033] Step S3-3: classify the fused features through the decoder segmentation head to obtain the semantic categories of the point cloud data of the multiple vehicles.

[0034] Preferably, step S3-1 specifically includes: the feature extractor is specifically an encoder based on residual connection, and the encoder includes three global context modules and four residual hole convolution modules connected in sequence;

[0035] The input data of the global context module passes through a 1×1 dilated convolution block, a nonlinear activation function, and two 3×3 dilated convolution blocks, and then is added to the output of the non-activation function as the output of the global context module;

[0036] The input data of the residual hole convolution module passes through a 1×1 dilated convolution block, two 3×3 dilated convolution blocks and a 2×2 dilated convolution block, and then is spliced ​​with the outputs of the two 3×3 dilated convolution blocks, and then undergoes a 1×1 convolution calculation, added to the output of the 1×1 dilated convolution block, and finally undergoes average pooling and random discarding to obtain the output of the residual hole convolution module.

[0037] Preferably, step S3-2 specifically includes: the intermediate feature fusion network includes three feature fusion modules connected in sequence; the feature fusion module takes the intermediate features output by the feature extractor as input, obtains Q, K, V matrices after operations such as shape change and transposition, and then calculates the association matrix A N×N And the output matrix O:

[0038]

[0039] O=A N×N ·V

[0040] Where N is the number of vehicles, softmax(·), dim=0 means normalization according to the rows of the matrix, d k is the dimension of the key matrix; Q, K, and V are the query matrix, key matrix, and value matrix, respectively; the output matrix O is transformed and transposed as the fusion feature output by the intermediate feature fusion network.

[0041] Preferably, step S3-3 specifically includes: the decoder includes three decoder modules connected in sequence; the input data of the decoder module is spliced ​​with the output of the residual hole convolution module in the encoder through a jump connection after pixel shuffling and random discarding, and then spliced ​​with the output of the two 3×3 dilated convolution blocks after random discarding, two 3×3 dilated convolution blocks and a 2×2 dilated convolution block as the output of the decoder module; the segmentation head performs convolution calculation with a convolution kernel size of 1×1 and random discarding on the output of the decoder module to obtain the output logit of the segmentation head, and then calculates the pixel class classification result in the following manner:

[0042] Psm=softmax(logit),dim=1

[0043] Where logit represents the output of the segmentation head, softmax(·), dim=1 means normalization according to the channel dimension, and Psm is the semantic category of the point cloud.

[0044] Compared with the prior art, the present invention has at least the following beneficial effects:

[0045] (1) By unifying the three-dimensional point cloud data from different perspectives into the same BEV perspective and using two-dimensional convolution to process the image data, the present invention significantly reduces the amount of network computation and improves processing efficiency compared to the traditional three-dimensional convolution method.

[0046] (2) The present invention uses dilated convolutions with different expansion coefficients and convolution kernels of different sizes (1×1 and 3×3) to fuse the features of large receptive fields and small receptive fields, obtain more comprehensive context information, and improve the extraction effect of semantic features. A network based on the self-attention mechanism is used to fuse the intermediate features between different vehicles, enhance the expression ability of the feature map, and improve the accuracy and effect of point cloud semantic segmentation.

[0047] (3) The present invention is aimed at autonomous driving vehicles. Most autonomous driving vehicles are equipped with the required radar and GPS equipment. Therefore, there is no need to add additional sensors. On the one hand, this reduces the processing load of the on-board processing equipment, and on the other hand, it reduces the cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings are only for the purpose of illustrating particular embodiments and are not to be construed as limiting the invention.

[0049] Figure 1 This is a flow chart of the point cloud semantic segmentation method based on vehicle-to-vehicle collaboration disclosed in the present invention.

[0050] Figure 2 It is a structural schematic diagram of the collaborative point cloud semantic segmentation model disclosed in the present invention.

[0051] Figure 3 It is a schematic diagram of the structure of the global context module disclosed in the present invention.

[0052] Figure 4 It is a schematic diagram of the structure of the residual hole convolution module disclosed in the present invention.

[0053] Figure 5 It is a schematic diagram of the structure of the intermediate feature fusion network disclosed in the present invention.

[0054] Figure 6 It is a schematic diagram of the structure of the decoder and the segmentation head disclosed in the present invention. DETAILED DESCRIPTION

[0055] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. In addition, the present invention can also be implemented in other ways different from those described herein, and therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.

[0056] In order to illustrate the effectiveness of the method proposed by the present invention, the above technical solution of the present invention is described in detail below through a specific embodiment. Figure 1 As shown, a point cloud semantic segmentation method based on vehicle-to-vehicle collaboration is disclosed, and the specific implementation steps are as follows:

[0057] Step S1, multiple vehicles respectively collect point cloud data; based on the spatial posture information, the point cloud data of the second vehicle is converted into the coordinate system of the first vehicle through coordinate conversion;

[0058] The first vehicle is one of the plurality of vehicles, and the second vehicle is another vehicle among the plurality of vehicles except the first vehicle;

[0059] In this step, the spatial position information of all vehicles is obtained, and the global coordinate transformation matrix from each vehicle coordinate system to the world coordinate system is calculated based on the spatial position information. A vehicle is selected as the self-vehicle, and the point cloud data of other cooperative vehicles are uniformly transformed into the vehicle coordinate system of the self-vehicle according to the coordinate transformation relationship. The specific steps include:

[0060] (1) The vehicle with the smallest vehicle number is selected as the ego vehicle, and the remaining vehicles are selected as cooperative vehicles. The cooperative vehicles include at least 2 vehicles. At the same time, in order to save communication bandwidth, the number of cooperative vehicles does not exceed 7. Each vehicle uses sensors (such as lidar, camera, radar, etc.) to capture three-dimensional information of the surrounding environment. These sensors will generate a large amount of point cloud data. The point cloud is a collection of a large number of points. Each point represents a position in space and usually contains other attribute information, such as reflection intensity or color. The collected point cloud data is converted into pcd format and the x, y, and z coordinates of each point in the vehicle coordinate system are obtained. Each vehicle obtains the current spatial posture information, including the vehicle's roll angle, pitch angle, yaw angle, and spatial coordinate values ​​in the world coordinate system.

[0061] (2) According to the position information of each vehicle at the same time, determine the coordinate transformation matrix R from each vehicle coordinate system to the world coordinate system:

[0062]

[0063] Where r, p, and h represent the roll angle, pitch angle, and yaw angle in the vehicle posture information, respectively. c ,y c , z c ) represents the spatial coordinate value of the vehicle in the world coordinate system. For the coordinate transformation matrix R, the element values ​​of the first three columns of the first three rows are the elements involved in the rotation operation, and the element values ​​of the fourth column of the first three rows are the elements involved in the translation operation.

[0064] (3) According to the above steps, after obtaining the coordinate transformation matrix from each vehicle coordinate system to the world coordinate system, the coordinate transformation matrix M from the cooperative vehicle to the self-vehicle is calculated according to the following formula:

[0065] M=R c ×R e -1

[0066] Where R c represents the coordinate transformation matrix from the vehicle coordinate system of the cooperative vehicle to the world coordinate system, R e -1 The inverse matrix of the coordinate transformation matrix from the vehicle coordinate system of the vehicle to the world coordinate system is represented. According to the coordinate transformation matrix M, the coordinates of the point cloud data collected by the cooperative vehicle are transformed in the following manner:

[0067]

[0068] Among them, M i j (1≤i≤3, 1≤j≤4) represents an element in the matrix M, i and j are the row and column indices of the matrix M respectively, (x, y, z) represents the point cloud coordinates of the cooperative vehicle before coordinate transformation, and (x′, y′, z′) represents the point cloud coordinates after the corresponding coordinate transformation.

[0069] After coordinate transformation, the point cloud of the cooperative vehicle is uniformly transformed into the spatial coordinate system of the own vehicle.

[0070] Step S2, performing bird's-eye view feature extraction processing on the point cloud data of the second vehicle and the point cloud data of the first vehicle after coordinate conversion to obtain bird's-eye view features of the multiple vehicles;

[0071] (1) For the point clouds of the cooperative vehicle and the ego vehicle after coordinate transformation, the bird's-eye view (BEV) projection method is used to convert the three-dimensional point cloud into a two-dimensional pseudo image. The BEV projection of the point cloud is performed according to the following formula:

[0072]

[0073] Where x′, y′ are the point cloud coordinates after coordinate conversion, (u, v) represents the pixel coordinates of the point cloud coordinates corresponding to the BEV image, and W and H represent the width and height of the BEV image, respectively. mmin(·), max(·) represent the minimum and maximum operations.

[0074] (2) The calculated BEV image pixel coordinates are calculated according to the height information z of the corresponding point cloud data. n Sorting is performed, where n is the index of the point cloud data. The BEV image is subjected to additional processing such as normalization of pixel values, correction of edge pixels, and screening of valid pixels to remove noise and unnecessary information. Finally, the BEV features of each vehicle are obtained. The BEV features of each vehicle can be obtained by tensor Represents that the tensor S n Contains the 3D coordinates, depth information, and reflectivity of point cloud data.

[0075] Step S3, construct a collaborative point cloud semantic segmentation model, perform encoder feature extraction, self-attention mechanism feature fusion and decoder segmentation head output on the bird's-eye view features of the multiple vehicles, and obtain the semantic categories of the point cloud data of the multiple vehicles from the bird's-eye view perspective as the collaborative point cloud semantic segmentation results.

[0076] In this step, a collaborative point cloud semantic segmentation model is constructed to process the BEV features of each vehicle and predict the pixel-level point cloud classification results as the collaborative point cloud semantic segmentation results. The collaborative point cloud semantic segmentation model includes a feature extractor, an intermediate feature fusion network, a decoder, and a segmentation head. The collaborative point cloud semantic segmentation model implements prediction through the following steps:

[0077] (1) The BEV features of each vehicle are extracted by a feature extractor to obtain the intermediate features of each vehicle. The feature extractor is specifically an encoder based on residual connection, which includes three global context modules and four residual hole convolution modules connected in sequence.

[0078] The structure of the global context module is as follows Figure 3 As shown, the input data passes through a dilated convolution block with a convolution kernel size of 1×1 and a dilation coefficient of 1, a nonlinear activation function, a dilated convolution block with a convolution kernel size of 3×3 and a dilation coefficient of 1, and a dilated convolution block with a convolution kernel size of 3×3 and a dilation coefficient of 2, and is added to the output of the non-activation function as the output of the global context module. Among them, the dilated convolution block includes a dilated convolution, a non-activation function, and a batch normalization layer. In this way, it is possible to ensure that the resolution of the image is not changed while increasing the receptive field, and avoid the loss of spatial information of the feature map. The outputs of the three global context modules are then spliced. This operation can fuse the features of different receptive fields and obtain rich global context information.

[0079] The output of the global context module is used as the input of the residual dilated convolution module. The structure of the residual dilated convolution module is as follows: Figure 4 As shown in the figure, after the input data passes through the dilated convolution block with a convolution kernel size of 1×1, two dilated convolution blocks with a convolution kernel size of 3×3, and a dilated convolution block with a convolution kernel size of 2×2, it is spliced ​​with the outputs of the two dilated convolution blocks with a convolution kernel size of 3×3, and then undergoes a convolution calculation with a convolution kernel size of 1×1, and is added to the output of the dilated convolution block with a convolution kernel size of 1×1 to achieve residual connection, which can extract feature information from different receptive fields, improve the gradient vanishing problem in deep neural networks, and improve model performance and training efficiency; finally, after average pooling and random discarding, the output of the residual void convolution module is obtained.

[0080] (2) Through the intermediate feature fusion network, a network based on the self-attention mechanism is used to fuse the intermediate features from other cooperative vehicles on the self-vehicle. The intermediate feature fusion network uses three feature fusion modules connected in sequence. The feature fusion modules are as follows: Figure 5 As shown. The intermediate features encoded by the encoder are used as input, and the Q, K, and V matrices are obtained after operations such as shape change and transposition. The Q, K, and V matrices are respectively the query matrix, the key matrix, and the value matrix, which are used to calculate the attention weight.

[0081] According to the Q, K, V matrices, the self-attention mechanism is used to calculate the association matrix A between the feature vectors of different vehicles at the same spatial position. N× N:

[0082]

[0083] Where N is the number of vehicles, softmax(·), dim=0 means normalization according to the rows of the matrix, d k is the dimension of the key matrix, used to maintain the matrix A N×N Then, based on the association matrix, the intermediate features of all cooperative vehicles are fused to obtain the output matrix O, which is calculated as follows:

[0084] O=A N×N ·V

[0085] The output matrix O is transformed and transposed and taken from the dimension where the car is located as the output of the intermediate feature fusion network.

[0086] (3) The decoder consists of three decoder modules connected in sequence, such as Figure 6As shown in the figure, the input data of the decoder module is spliced ​​with the output of the residual hole convolution module in the encoder through skip connections after pixel shuffling and random discarding. This method can capture more semantic feature information and improve the prediction accuracy of the model. Then, after random discarding, two dilated convolution blocks with a convolution kernel size of 3×3, and a dilated convolution block with a convolution kernel size of 2×2, the output of the two dilated convolution blocks with a convolution kernel size of 3×3 is spliced ​​as the output of the decoder module.

[0087] (4) Figure 6 As shown in Figure 2, the segmentation head performs convolution calculation with a convolution kernel size of 1×1 and randomly discards the output of the decoder module to obtain the output logit of the segmentation head, and then calculates the pixel class classification result Ps in the following way m :

[0088] Psm=softmax(logit),dim=1

[0089] Where logit represents the output of the segmentation head, softmax(·), and dim=1 indicates normalization according to the channel dimension. Through the above processing, each point in the point cloud under the BEV perspective is predicted to have a semantic category.

[0090] The present invention provides the above-mentioned point cloud semantic segmentation method based on vehicle-to-vehicle collaboration, selects one of the networked autonomous driving vehicles as the self-vehicle, and the remaining vehicles as cooperative vehicles, obtains the global coordinate transformation matrix according to the posture information of each vehicle, and then obtains the mapping relationship from the cooperative vehicle to the self-vehicle coordinate system; adopts a representation method based on BEV projection to unify the three-dimensional point cloud data from different perspectives into the same BEV image perspective, so as to facilitate the subsequent network to use two-dimensional convolution to process the image data, which can effectively reduce the computational complexity of the network; uses the spliced ​​original BEV features as the input of the collaborative point cloud semantic segmentation model, uses hole convolution with different expansion coefficients to extract the semantic features of the receptive field, and uses 1×1 and 3×3 convolution kernels to fuse larger receptive fields and smaller receptive fields to obtain more comprehensive context information; the intermediate features obtained after encoding contain rich semantic features, and a network based on the self-attention mechanism is used to fuse the intermediate features of different vehicles to obtain the fused features after feature weighting; and obtains the collaborative semantic segmentation result after the decoder restores the image resolution and the convolution operation of the classification head. The present invention is aimed at autonomous driving vehicles, and most autonomous driving vehicles are equipped with the required radar and GPS equipment. Therefore, there is no need to add additional sensors, which reduces the processing load of the on-board processing equipment on the one hand, and reduces the cost on the other.

[0091] Although the specific embodiments of the present invention depict various actions or steps in a specific order, this should be understood as requiring such actions or steps to be performed in the specific order shown or in a sequential order, or requiring all illustrated actions or steps to be performed to obtain the desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination. The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or replacements that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

[0092] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A point cloud semantic segmentation method based on vehicle-to-vehicle collaboration, It is characterized in that The steps include: Step S1, multiple vehicles respectively collect point cloud data; based on the posture information, the point cloud data of the second vehicle is converted into the coordinate system of the first vehicle through coordinate conversion; The first vehicle is one of the plurality of vehicles, and the second vehicle is another vehicle among the plurality of vehicles except the first vehicle; Step S2, extracting bird's-eye view features from the point cloud data of the second vehicle and the point cloud data of the first vehicle after coordinate transformation to obtain bird's-eye view features of the multiple vehicles; Step S3, construct a collaborative point cloud semantic segmentation model, perform encoder feature extraction, self-attention mechanism feature fusion and decoder segmentation head output on the bird's-eye view features of the multiple vehicles, and obtain the semantic categories of the point cloud data of the multiple vehicles from the bird's-eye view perspective as the collaborative point cloud semantic segmentation results.

2. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 1, It is characterized in that Step S1 specifically includes: Step S1-1, determining a coordinate transformation matrix from a coordinate system of each of the multiple vehicles to a world coordinate system according to the position and posture information of the multiple vehicles; Step S1-2, obtaining a coordinate conversion matrix from the second vehicle to the coordinate system of the first vehicle based on the coordinate conversion matrix from the coordinate system of the second vehicle to the world coordinate system and the coordinate conversion matrix from the coordinate system of the first vehicle to the world coordinate system; Step S1-3: based on the coordinate conversion matrix from the second vehicle to the coordinate system of the first vehicle, convert the coordinates of each point in the point cloud data of the second vehicle to the coordinate system of the first vehicle.

3. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 2, It is characterized in that Step S1-1 specifically includes: Based on the roll angle, pitch angle, yaw angle in the vehicle posture information and the spatial coordinate values ​​in the world coordinate system, the coordinate transformation matrix R from the vehicle coordinate system to the world coordinate system is established in the following way: Where r, p, and h are the roll angle, pitch angle, and yaw angle of the vehicle’s position information, respectively. c ,y c , z c ) is the spatial coordinate value of the vehicle in the world coordinate system.

4. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 3, It is characterized in that Step S1-2 specifically includes: The coordinate transformation matrix M of the second vehicle to the coordinate system of the first vehicle is calculated by: M=R c ×R e -1 Among them, R c is the coordinate transformation matrix from the coordinate system of the second vehicle to the world coordinate system, R e -1 It is the inverse matrix of the coordinate transformation matrix from the coordinate system of the first vehicle to the world coordinate system.

5. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 4, It is characterized in that Step S1-3 specifically includes performing coordinate transformation in the following manner: Among them, M i j (1≤i≤3, 1≤j≤4) represents an element in the matrix M, i and j are the row and column indices of the matrix M respectively, (x, y, z) represents the point cloud coordinates of the second vehicle before coordinate transformation, and (x′, y′, z′) represents the point cloud coordinates after the corresponding coordinate transformation.

6. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 5, It is characterized in that Step S2 specifically includes: (1) Perform BEV projection on the point cloud coordinates in the point cloud data according to the following formula: Where x′, y′ are the point cloud coordinates after coordinate conversion, (u, v) represents the pixel coordinates of the point cloud coordinates corresponding to the BEV image, W, H represent the width and height of the BEV image, mmin(·), max(·) represent the minimum value operation and the maximum value operation, respectively; (2) The pixel coordinates of the BEV image are converted according to the height information z of the corresponding point cloud data. n The BEV images are sorted, where n is the index of the point cloud data, and pixel value normalization, edge pixel correction, and effective pixel point screening are performed on the BEV images to obtain the BEV features of each vehicle, wherein the BEV features include the three-dimensional coordinates, depth information, and reflectivity of the point cloud data.

7. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to any one of claims 1 to 6, It is characterized in that Step S3 specifically includes: Step S3-1, the bird's-eye view features of each vehicle are subjected to encoder feature extraction by a feature extractor to obtain intermediate features of each vehicle; Step S3-2: Through the intermediate feature fusion network, the intermediate features of each vehicle are fused using the self-attention mechanism to obtain fused features; Step S3-3: classify the fused features through the decoder segmentation head to obtain the semantic categories of the point cloud data of the multiple vehicles.

8. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 7, It is characterized in that Step S3-1 specifically includes: The feature extractor is specifically an encoder based on residual connection, which includes three global context modules and four residual hole convolution modules connected sequentially; The input data of the global context module passes through a 1×1 dilated convolution block, a nonlinear activation function, and two 3×3 dilated convolution blocks, and then is added to the output of the non-activation function as the output of the global context module; The input data of the residual hole convolution module passes through a 1×1 dilated convolution block, two 3×3 dilated convolution blocks and a 2×2 dilated convolution block, and then is spliced ​​with the outputs of the two 3×3 dilated convolution blocks, and then undergoes a 1×1 convolution calculation, added to the output of the 1×1 dilated convolution block, and finally undergoes average pooling and random discarding to obtain the output of the residual hole convolution module.

9. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 8, It is characterized in that Step S3-2 specifically includes: The intermediate feature fusion network includes three feature fusion modules connected sequentially; the feature fusion module takes the intermediate features output by the feature extractor as input, obtains the Q, K, V matrices after operations such as shape change and transposition, and then calculates the association matrix A N× N and output matrix O: O=A N× N·V Where N is the number of vehicles, softmax(·), dim=0 means normalization according to the rows of the matrix, d k is the dimension of the key matrix; Q, K, and V are the query matrix, key matrix, and value matrix respectively; The output matrix O is transformed and transposed as the fusion feature output by the intermediate feature fusion network.

10. The point cloud semantic segmentation method based on vehicle-to-vehicle collaboration according to claim 9, It is characterized in that Step S3-3 specifically includes: The decoder includes three decoder modules connected in sequence; the input data of the decoder module is spliced ​​with the output of the residual hole convolution module in the encoder through a skip connection after pixel shuffling and random discarding, and then spliced ​​with the output of the two 3×3 dilated convolution blocks after random discarding, two 3×3 dilated convolution blocks and a 2×2 dilated convolution block as the output of the decoder module; The segmentation head performs convolution calculation with a kernel size of 1×1 and random discard on the output of the decoder module to obtain the output logit of the segmentation head, and then calculates the pixel class classification result in the following way: Psm=softmax(logit),dim=1 Where logit represents the output of the segmentation head, softmax(·), dim=1 means normalization according to the channel dimension, and Psm is the semantic category of the point cloud.

Citation Information

Patent Citations

  • Dynamic target point cloud rapid identification and point cloud segmentation method based on roadside sensing unit

    CN115605777A

  • Bird-eye view semantic segmentation prediction system and method fused with multi-modal sensor

    CN118172560A

  • Methods and systems for semantic segmentation of a point cloud

    US20230035475A1

Cited By

  • Collaborative 3D target detection method, apparatus and device, and storage medium

    CN122368947A