Dynamic object segmentation method based on three-dimensional laser point cloud data flow
Through a dynamic object segmentation method based on three-dimensional laser point cloud data flow, combined with deep learning and self-attention mechanism, multi-scale features are processed and a voting mechanism is used to correct errors, which solves the problems of inconsistent segmentation results and blurred boundaries in the existing technology, and achieves Provides more efficient and safer autonomous driving environment perception.
Patent Information
- Application Number
- CN202410888628.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-27
AI Technical Summary
The existing technology has problems in dynamic object segmentation such as inconsistent segmentation results, unclear boundary problems that are not effectively handled, network structures that are too simple to handle complex scenes and diverse object shapes, and poor generalization, resulting in insufficient segmentation accuracy and security.
A dynamic object segmentation method based on three-dimensional laser point cloud data flow is adopted. Multi-frame point cloud features are extracted through deep learning methods and projected to a bird's-eye view. The self-attention mechanism and multi-layer perceptron are combined for feature aggregation and decoding. Bilinear The interpolation and auxiliary heads handle multi-scale features, employ voxel- and instance-based voting mechanisms to correct network prediction errors, and maintain historical results through long-term memory updates.
It improves the continuity and integrity of segmentation results, maintains consistency in time and space, and achieves end-to-end dynamic object segmentation. The network structure is simpler, the effect is better, the speed is faster, and it can better deal with boundary blur problems. , improving the safety of autonomous driving and the efficiency of product implementation.
Smart Images

Figure CN118710909A
Abstract
Description
Technical Field
[0001] The invention relates to a dynamic object segmentation method, in particular to a dynamic object segmentation method based on three-dimensional laser point cloud data stream. Background Art
[0002] At present, with the development of society and the growth of population, human needs and expectations for travel, life, work, etc. are constantly increasing, which has prompted the research and development of intelligent equipment to improve human efficiency and safety. Intelligent equipment needs to be able to perceive the surrounding environment so that it can adapt to different scenarios and tasks. For example, robots need to be able to identify and avoid obstacles, self-driving cars need to be able to detect and track other vehicles and pedestrians, and drones need to be able to locate and navigate. Therefore, environmental perception is the foundation and premise of intelligent equipment, and it is also the core competitiveness and innovation point of intelligent equipment.
[0003] Dynamic object segmentation (MOS) is a very important task in environmental perception. The LiDAR-based MOS task addresses uncertainty perception in traffic environments by segmenting currently moving objects such as pedestrians and cyclists while distinguishing between stationary and moving vehicles.
[0004] The development of dynamic object segmentation technology has been driven by the rapid development of artificial intelligence technology, especially the breakthrough of deep learning technology, which has significantly improved the performance and efficiency of object segmentation. Many studies have focused on using learning-based methods to eliminate dynamic objects online. These methods take continuous frame point clouds as input to predict moving objects in the current frame. However, these methods usually focus on passing temporal cues in a single reasoning and consider each prediction to be independent. This may lead to inconsistent segmentation results for the same object in different frames.
[0005] The Chinese patent "CN115861957A" proposes a new dynamic object segmentation method based on sensor fusion, which combines the advantages of two sensors and overcomes the limitations brought by the nature of the sensor itself by complementing each other's advantages. However, the technical solution is too simple and does not give specific technical indicators. It simply projects the three-dimensional laser point cloud onto a two-dimensional image, lacking further refinement, which cannot guarantee the accuracy of segmentation. Secondly, the network structure of the technical solution is also too simple, and a simple network structure may not be able to handle complex scenes and diverse object shapes, so a more complex and precise network structure is required to improve accuracy. In addition, the technical solution does not take into account the common boundary fuzziness problem in point clouds, which may lead to some erroneous segmentation results. The boundary fuzziness problem is that there is blur or unclearness at the boundary of the object, which will have a negative impact on the accuracy of the segmentation algorithm. Therefore, the technical solution has the problem of insufficient security and accuracy.
[0006] The Chinese patent "CN117611626A" proposes a method for producing and detecting moving target data based on deep learning. The method described only uses images to segment moving objects, and cannot achieve accurate positioning of three-dimensional coordinates. This means that in practical applications, the position and motion trajectory of objects in space cannot be accurately determined, which limits the accuracy and reliability of the method. Secondly, the technical solution uses a dedicated data set with poor generalization. This means that the method may not perform well when dealing with complex situations in real environments. Since the dedicated data set may not cover all possible scenarios and changes, the method may not be able to adapt to the needs of moving object data production and detection in different environments. In addition, the network structure of the technical solution is too simple to handle complex real environments. There may be various interference factors in complex real environments, such as lighting changes, background interference, etc., and a more powerful and flexible network structure is required to cope with these challenges. A simple network structure may not provide sufficient complexity and expression capabilities, and thus cannot guarantee processing speed and accuracy at the same time. Therefore, this technical solution has some limitations and shortcomings.
[0007] Therefore, it is necessary to design a new dynamic object segmentation method based on three-dimensional laser point cloud data stream to overcome the above problems. Summary of the invention
[0008] The purpose of the present invention is to overcome the defects of the prior art and provide a dynamic object segmentation method based on three-dimensional laser point cloud data stream, which can improve the continuity and integrity of the segmentation results and maintain consistency in time and space; it also realizes an end-to-end dynamic object segmentation method, which has a simpler network structure, better effect, and faster speed than previous methods, and can better deal with boundary fuzzy problems, which is conducive to safe autonomous driving, so as to promote the rapid implementation of autonomous driving products and bring objective economic benefits.
[0009] The present invention is achieved in that:
[0010] The present invention provides a dynamic object segmentation method based on three-dimensional laser point cloud data stream, comprising the following steps:
[0011] Step 1: Point cloud feature extraction: feature extraction is performed on multi-frame point cloud data through deep learning methods, and point cloud features are projected onto a bird's-eye view. The bird's-eye view features are then aggregated and further extracted through a multi-layer perceptron to obtain high-level temporal and spatial semantic features of the bird's-eye view.
[0012] Step 2: Feature temporal fusion: A self-attention mechanism is used to aggregate the bird’s-eye view data features obtained in step 1 and the historical features obtained in the previous reasoning, so as to utilize the temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects.
[0013] Step 3, multi-scale decoder: Process the multi-scale features in step 2 and step 1 through bilinear interpolation and auxiliary head, and map the bird's-eye view features to point cloud features to distinguish static points from dynamic points, and additionally predict the movable object and background probabilities of the points for refinement in the subsequent voting stage;
[0014] Step 4: Dynamic correction mechanism: A voxel-based and instance-based voting mechanism is used to correct errors in network predictions, and historical results are maintained through long-term memory updates to improve reasoning quality and reduce inconsistencies.
[0015] Furthermore, in step one, the feature encoding capability of deep learning is used to encode multi-frame point cloud data; first, feature extraction is performed on multi-frame point cloud data, and then the point cloud features are mapped to the bird's-eye view. The deep learning network uses true value labels to adjust the neuron weights and bias parameters in the network in a data-driven manner, thereby upgrading the features of the point cloud from three dimensions to high dimensions; and then a multi-layer perceptron is used to aggregate and further extract the bird's-eye view features to obtain the temporal and spatial high-level semantic features of the bird's-eye view.
[0016] Furthermore, in step 2, in order to utilize temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects, a self-attention mechanism is used to aggregate the bird's-eye view data features obtained in step 1 and the historical features obtained in the previous reasoning; this attention mechanism can adaptively learn the relationship between features, enabling the network to better understand the semantic information between different time steps and effectively introduce historical features into the current inference.
[0017] Furthermore, in step three, in order to distinguish static points from dynamic points, bilinear interpolation and auxiliary heads are used to process the multi-scale features in steps two and one; first, bilinear interpolation is used to convert the sizes of multi-scale features and historical features into a uniform height and width; then, by introducing an auxiliary head, moving objects in the bird's-eye view are predicted, and auxiliary losses are used to constrain the alignment and decoding processes of features to ensure that multi-scale features are effectively decoded and utilized; and then the bird's-eye view features are mapped to point cloud features.
[0018] Furthermore, in step 4, a voxel-based and instance-based voting mechanism is used to correct errors in network predictions, and historical results are kept through long-term memory updates to improve the quality of reasoning and reduce inconsistencies;
[0019] The voxel-based voting mechanism projects the historical predictions and the current predictions into the coordinate system of the point cloud and selects the most frequently occurring label in each voxel as the motion state;
[0020] The instance-based voting mechanism uses the prediction probabilities of the decoder to cluster the foreground points in the point cloud and calculate the bounding boxes, and then extracts instance-level predictions from the current prediction and historical predictions; a long-term memory bank is used to save historical results and update the memory when outputting new refined predictions.
[0021] Furthermore, in step 1, the feature encoding capability of deep learning is used to encode multi-frame point cloud data. Encode, where is the number of historical frames; point cloud features are obtained by extracting features from multi-frame point cloud data through the point network structure ,in is the number of single-frame point clouds and channel dimensions; and the point cloud features are projected onto the bird's-eye view to obtain the bird's-eye view features , , The length and width of the bird's-eye view features are respectively, and then the bird's-eye view features are aggregated and further extracted by a multi-layer perceptron. The deep learning network can use the true value label to adjust the neuron weights and bias parameters in the network in a data-driven way, thereby upgrading the bird's-eye view features from two dimensions to high dimensions. At this stage, the local information and global information in the bird's-eye view will be integrated and participate in the high-dimensional feature calculation of each point, and finally a robust bird's-eye view feature will be obtained. .
[0022] Furthermore, in step 2, in order to utilize temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects, a self-attention mechanism is used to aggregate the bird’s-eye view data features obtained in step 1. And the historical characteristics obtained from the previous inference ;because and Not in the same coordinate system, we use the learnable offset in deformable attention to adaptively find the relationship between two features and combine them through attention weights; Input two linear layers to generate K attention weights and sampling offset ; then based on Offset of the middle reference point and coordinates , using bilinear interpolation from Get ; Finally, Make the corresponding Weighted to get updated features ; The above process can be expressed as:
[0023]
[0024]
[0025]
[0026] ;
[0027] in, and represents the linear layer and normalization function, and and are the number of heads and bilinear interpolation function of the multi-head attention mechanism, respectively, and Represents the learnable parameter matrix; then, use the feedforward neural network FFN to Processing to get the current frame , as shown in the following formula:
[0028]
[0029] ;
[0030] in, Representation layer normalization function, used to standardize feature dimensions.
[0031] Furthermore, in step 3, in order to distinguish static points from dynamic points, bilinear interpolation is first used to transform the multi-scale features and Convert the size to a uniform height and width ; For each upsampled feature, an auxiliary head is used to predict the moving object in the bird's-eye view, and the auxiliary loss is used as a constraint to ensure that features from multiple scales are well aligned and decoded; thereafter, the upsampled features are mapped to point features one by one using the bird's-eye view mapping point cloud method B2P, and they are concatenated to obtain ,in represents the channel dimension; finally, in addition to decoding point cloud features Rough motion state In addition, the point-by-point decoder additionally predicts the probability that a point belongs to a movable object and background , which can be used to refine the motion estimation results in the subsequent voting stage ; The process of the point-by-point decoder is as follows:
[0032]
[0033] in, , is a multilayer perceptron with unshared weights, and It is the feature channel connection operation.
[0034] Furthermore, in step 4, the voting mechanism consisting of voxel-based voting VBV and instance-based voting IBV can be regarded as a post-processing by using historical predictions To correct the current predicted label The error in Indicates the number of historical frames used by the voting mechanism; historical frame point cloud The motion estimation result , will be transformed through posture Projected onto In the coordinate system of ;
[0035] The above VBV process is as follows:
[0036] ,in The voting process and voxel voting results;
[0037] The process of the above IBV is as follows:
[0038] ;in The voting process and the instance voting results; at the same time, a memory bank of length M is constructed to save historical results; when the voting mechanism outputs a new refined prediction When Append to the memory bank and delete the oldest result.
[0039] The present invention has the following beneficial effects:
[0040] The dynamic object segmentation method based on three-dimensional laser point cloud data stream provided by the embodiment of the present invention can improve the continuity and integrity of the segmentation results, and maintain consistency in time and space; it also realizes an end-to-end dynamic object segmentation method, which has a simpler network structure, better effect, and faster speed than previous methods, and can better deal with boundary fuzzy problems, which is conducive to safe autonomous driving, so as to promote the rapid implementation of autonomous driving products and bring objective economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0042] Figure 1 A schematic diagram of a dynamic object segmentation method based on three-dimensional laser point cloud data stream provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] 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.
[0044] like Figure 1 The present invention provides a dynamic object segmentation method based on three-dimensional laser point cloud data stream, which consists of four steps: "point cloud feature extraction", "feature time series fusion", "multi-scale decoder" and "dynamic correction mechanism".
[0045] The technical solution adopted by the present invention comprises the following steps:
[0046] Step 1: Point cloud feature extraction: Feature extraction is performed on multi-frame point cloud data using deep learning methods, and the point cloud features are projected onto a bird's-eye view. The bird's-eye view features are then aggregated and further extracted using a multi-layer perceptron to obtain high-level temporal and spatial semantic features of the bird's-eye view.
[0047] Specifically, in the point cloud feature extraction, the powerful feature encoding capability of deep learning is used to encode multi-frame point cloud data. First, feature extraction is performed on multi-frame point cloud data, and then the point cloud features are mapped to the bird's-eye view. The deep learning network can use the true value label to adjust the neuron weights and bias parameters in the network in a data-driven manner, thereby upgrading the point cloud features from three dimensions to high dimensions. The bird's-eye view features are then aggregated and further extracted using a multi-layer perceptron to obtain high-level semantic features of the bird's-eye view. At this stage, the local information and global information in the bird's-eye view will be fused and involved in the high-dimensional feature calculation of each point, and finally a robust bird's-eye view feature will be obtained.
[0048] Step 2: Feature temporal fusion: A self-attention mechanism is used to aggregate the bird’s-eye view data features obtained in step 1 and the historical features obtained in the previous reasoning, so as to utilize the temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects.
[0049] In the feature time series fusion, in order to utilize the temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects, a self-attention mechanism is used to aggregate the bird's-eye view data features obtained in step 1 and the historical features obtained in the previous reasoning. This attention mechanism can adaptively learn the relationship between features, enabling the network to better understand the semantic information between different time steps and effectively introduce historical features into the current inference. In this way, the accuracy of segmentation can be improved, and the motion characteristics of dynamic objects can be better captured, thereby improving the overall reasoning effect.
[0050] Step 3, multi-scale decoder: Process the multi-scale features in steps 2 and 1 through bilinear interpolation and auxiliary heads, and map the bird's-eye view features to point cloud features to distinguish static points from dynamic points, and additionally predict the movable object and background probabilities of the points for refinement in the subsequent voting stage.
[0051] In the multi-scale decoder, in order to distinguish static points from dynamic points, bilinear interpolation and auxiliary heads are used to process the multi-scale features in step 2 and step 1. First, the sizes of the multi-scale features and historical features are converted to a uniform height and width using bilinear interpolation. Then, by introducing an auxiliary head, the moving objects in the bird's-eye view are predicted, and the auxiliary loss is used to constrain the alignment and decoding process of the features to ensure that the multi-scale features are effectively decoded and utilized. Next, the bird's-eye view features are mapped to point cloud features. Using the B2P operation (the method of mapping point clouds from a bird's-eye view), the upsampled features are mapped to the point cloud features one by one, and they are concatenated to form the final feature representation.
[0052] Step 4: Dynamic correction mechanism: A voxel-based and instance-based voting mechanism is used to correct errors in network predictions, and historical results are maintained through long-term memory updates to improve reasoning quality and reduce inconsistencies.
[0053] In the dynamic correction mechanism described, a voxel-based and instance-based voting mechanism is proposed to correct errors in network predictions and maintain historical results through long-term memory updates to improve reasoning quality and reduce inconsistencies. The voxel-based voting mechanism projects historical predictions and current predictions into the coordinate system of the point cloud and selects the most frequently occurring label in each voxel as the motion state. The instance-based voting mechanism uses the prediction probability of the decoder to cluster the foreground points in the point cloud and calculate the bounding box, and then extracts instance-level predictions from the current prediction and historical predictions. The long-term memory library is used to save historical results and update the memory when outputting new refined predictions. These mechanisms are able to correct errors in predictions and improve the quality of reasoning and the reliability of results.
[0054] The overall system structure of the present invention is as follows Figure 1As shown in the figure, the input of the algorithm is multi-frame point cloud data. The multi-frame point cloud data is used for feature extraction through deep learning methods, and the point cloud features are projected to the bird's-eye view. Then, the bird's-eye view features are aggregated and further extracted through a multi-layer perceptron to obtain robust and semantically informative high-level point cloud features. The self-attention mechanism is used to aggregate the above-obtained bird's-eye view data features and the historical features obtained by the last reasoning to enhance the segmentation effect and capture the motion information of dynamic objects by using the temporal correlation. Then, the multi-scale features obtained in the above steps are processed by bilinear interpolation and auxiliary heads, and the bird's-eye view features are mapped to point cloud features to achieve the distinction between static points and dynamic points, and the movable object and background probabilities of the points are additionally predicted for refinement in the subsequent voting stage. Finally, the voting mechanism based on voxels and instances is used to correct errors in network predictions, and the historical results are kept through long-term memory updates to improve the quality of reasoning and reduce inconsistencies.
[0055] The detailed explanation of each part of the algorithm is as follows:
[0056] Step 1: Point cloud feature extraction:
[0057] Using the powerful feature encoding capability of deep learning, multi-frame point cloud data Encode, where is the number of historical frames. The traditional PointNet structure is used to extract features from multi-frame point cloud data and obtain point cloud features. ,in is the number of single-frame point clouds and channel dimensions, and the point cloud features are projected onto the bird's-eye view to obtain the bird's-eye view features , , The length and width of the bird's-eye view feature are respectively. The bird's-eye view features are then aggregated and further extracted by a multi-layer perceptron. The deep learning network can use the true value label to adjust the neuron weights and bias parameters in the network in a data-driven way, thereby upgrading the bird's-eye view features from two dimensions to high dimensions. At this stage, the local information and global information in the bird's-eye view will be integrated and participate in the high-dimensional feature calculation of each point, and finally a robust bird's-eye view feature will be obtained. .
[0058] Step 2: Feature time series fusion:
[0059] In order to utilize temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects, a self-attention mechanism is used to aggregate the bird’s-eye view data features obtained in step 1. And the historical characteristics obtained from the previous inference .because and We use the learnable offset in deformable attention to adaptively find the relationship between two features that are not in the same coordinate system and combine them through attention weights. Specifically, Input two linear layers to produce Attention weights and sampling offset Then based on Offset of the middle reference point and coordinates , using bilinear interpolation from Get the features Finally, using the attention weights Features Weighted to get the updated features The above process can be expressed as:
[0060]
[0061]
[0062]
[0063]
[0064] in, and represents the linear layer and normalization function, and and are the number of heads and bilinear interpolation function of the multi-head attention mechanism, respectively, and Represents the learnable parameter matrix. Then, the feedforward neural network FFN is used to Processing to get the current frame , as shown in the following formula:
[0065]
[0066]
[0067] in, Representation layer normalization function, used to standardize feature dimensions.
[0068] Step 3: Multi-scale decoder:
[0069] In order to distinguish static points from dynamic points, previous methods usually use a decoder similar to a U-shaped structure to gradually upsample multi-scale features through convolution. However, in order to reduce the complexity and storage cost of the network, the present invention uses a decoder with fewer parameters, which first uses bilinear interpolation to upsample the multi-scale features. and Convert the size to a uniform height and width For each upsampled feature, an auxiliary head is used to predict the moving objects in the bird’s-eye view, and the auxiliary loss is used as a constraint, which ensures that features from multiple scales are well aligned and decoded. Afterwards, the upsampled features are mapped to point features one by one using B2P (a method for mapping point clouds from bird’s-eye view) and concatenated to obtain ,in Indicates the channel dimension. Finally, in addition to decoding the current frame point cloud Rough motion state In addition, the point-by-point decoder additionally predicts the probability that a point belongs to a movable object (such as a car) and the background (such as a building). , which can be used to refine the motion estimation results in the subsequent voting stage The process of the point-by-point decoder is as follows:
[0070]
[0071] in, , is a multilayer perceptron with unshared weights, and It is the feature channel connection operation.
[0072] Step 4: Dynamic correction mechanism:
[0073] Most existing methods focus on improving the quality of a single inference by modifying the network structure. However, given the uninterpretability and data dependency of neural networks, this strategy may be limited. To address these issues, this paper proposes a voting mechanism consisting of voxel-based voting (VBV) and instance-based voting (IBV), which can be regarded as a post-processing by using historical predictions to To correct the current predicted label The error in Indicates the number of historical frames used by the voting mechanism. Specifically, the historical frame point cloud The motion estimation result , will be transformed through posture Projected onto In the coordinate system of .
[0074] In voxel-based voting, the present invention divides the point cloud space of the current frame into voxels of fixed size, and fills the current frame point cloud and the historical point cloud into the voxels. If there are more static points than dynamic points in the voxel, the motion state of all points in the voxel is corrected to static points, and vice versa. The above VBV process can be simplified to the following formula:
[0075]
[0076] in The voting process and voxel voting results, while in the instance-based voting, the present invention uses the DBSCAN algorithm to cluster all foreground points and obtain the point cloud clusters of each instance, and then uses a method similar to voxel voting to regard the state with the highest frequency in each point cloud cluster as the state of the point cloud cluster, which is used to unify the states of all points on each object. The above IBV process is as follows:
[0077]
[0078] in Voting process and example voting results, the present invention constructs a length of The memory bank is used to store historical results. When the voting mechanism outputs a new refined prediction When Append to the memory bank and remove the oldest result.
[0079] In summary, the present invention proposes a dynamic object segmentation method based on a three-dimensional laser point cloud data stream, and proposes a method called a "stream" structure. This structure regards historical features as strong priors and uses these features to guide the current reasoning process. At the same time, past predictions are stored in long-term memory and used to suppress possible mispredictions. In this way, robust correlations are built in multiple reasoning processes, and temporal information is fully utilized to ensure consistent results between different frames. In order to realize the idea of "stream", we propose a moving object segmentor called StreamMOS. StreamMOS captures clues of target motion from multiple views and uses a memory mechanism to transfer historical information. Specifically, unlike previous single-view methods based on point cloud projection (such as RV and BEV), a multi-view encoder is introduced to combine the advantages of different representation methods. The advantage of this is that not only dense appearance features can be obtained from the distance view, but also the motion of the object on the BEV can be intuitively perceived. Next, the attention mechanism is used to temporally fuse the features in different coordinate systems to achieve feature alignment and propagate them in space before the current reasoning. In addition, instead of directly outputting the prediction results from the segmentation decoder, the historical prediction results are first converted into a unified coordinate system. Then a voting mechanism is proposed to optimize the predicted labels of the motion state of each point within the same voxel and instance, thereby improving the continuity and integrity of the results in time and space, respectively. This voting mechanism can improve the consistency of the results and ensure accurate segmentation results in different coordinate systems and time frames. Through these methods, historical features and temporal information can be fully utilized to build robust correlations and accurately segment moving objects in multiple views. The introduction of these methods improves the continuity and integrity of the segmentation results and maintains consistency in time and space.
[0080] In addition, the present invention realizes an end-to-end dynamic object segmentation method, and compared with the previous methods, the network structure is simpler, the effect is better, the speed is faster, and it can better deal with the boundary fuzzy problem, which is conducive to safe autonomous driving, so as to promote the rapid implementation of autonomous driving products and bring objective economic benefits.
[0081] The embodiment of the present invention provides a new stream structure that uses a repository as a bridge to transfer prior information between reasoning. By storing previous reasoning results and related prior knowledge in the repository, the complete appearance and motion characteristics of the object can be better captured. The innovation of this structure is that it allows the information of previous reasoning to be shared and utilized between reasonings at different time steps, thereby improving the expressiveness and prediction accuracy of the model. The embodiment of the present invention designs a new correction strategy. In order to correct the wrong prediction in a single reasoning, we also design a new correction strategy. We propose a voting mechanism for integrating historical prediction results at the voxel level and instance level. By comprehensively considering multiple historical predictions, the wrong predictions caused by accidental errors in a single reasoning can be reduced. This correction strategy can improve the robustness and stability of the model and improve the performance of the model in complex scenarios. Extensive experimental results demonstrate the effectiveness of the proposed module and prove that our method has competitive performance in all aspects.
[0082] The present invention also has the following effective effects:
[0083] (1) Extensive experiments on large-scale datasets show that compared with existing dynamic object segmentation methods, the segmentation method proposed in this paper achieves the best performance in predicting dynamic objects.
[0084] (2) Although this method uses the attention mechanism, its inference speed is still faster than most previous methods, reaching 96ms.
[0085] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A dynamic object segmentation method based on three-dimensional laser point cloud data stream, characterized in that: The following steps are involved: Step 1: Point cloud feature extraction: feature extraction is performed on multi-frame point cloud data through deep learning methods, and point cloud features are projected onto a bird's-eye view. The bird's-eye view features are then aggregated and further extracted through a multi-layer perceptron to obtain high-level temporal and spatial semantic features of the bird's-eye view. Step 2: Feature temporal fusion: A self-attention mechanism is used to aggregate the bird’s-eye view data features obtained in step 1 and the historical features obtained in the previous reasoning, so as to utilize the temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects. Step 3, multi-scale decoder: Process the multi-scale features in step 2 and step 1 through bilinear interpolation and auxiliary head, and map the bird's-eye view features to point cloud features to distinguish static points from dynamic points, and additionally predict the movable object and background probabilities of the points for refinement in the subsequent voting stage; Step 4: Dynamic correction mechanism: A voxel-based and instance-based voting mechanism is used to correct errors in network predictions, and historical results are maintained through long-term memory updates to improve reasoning quality and reduce inconsistencies.
2. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 1, characterized in that: In step one, the feature encoding capability of deep learning is used to encode multi-frame point cloud data. First, feature extraction is performed on multi-frame point cloud data, and then the point cloud features are mapped to the bird's-eye view. The deep learning network uses true value labels to adjust the neuron weights and bias parameters in the network in a data-driven manner, thereby upgrading the point cloud features from three dimensions to high dimensions. A multi-layer perceptron is then used to aggregate and further extract the bird's-eye view features to obtain the temporal and spatial high-level semantic features of the bird's-eye view.
3. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 1, characterized in that: In step 2, in order to utilize temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects, a self-attention mechanism is used to aggregate the bird's-eye view data features obtained in step 1 and the historical features obtained in the previous reasoning; this attention mechanism can adaptively learn the relationship between features, enabling the network to better understand the semantic information between different time steps and effectively introduce historical features into the current inference.
4. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 1, characterized in that: In step three, in order to distinguish static points from dynamic points, bilinear interpolation and auxiliary heads are used to process the multi-scale features in steps two and one. First, bilinear interpolation is used to convert the sizes of multi-scale features and historical features into a uniform height and width. Then, by introducing an auxiliary head, moving objects in the bird's-eye view are predicted, and auxiliary losses are used to constrain the alignment and decoding process of features to ensure that multi-scale features are effectively decoded and utilized. Then, the bird's-eye view features are mapped to point cloud features.
5. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 1, characterized in that: In step 4, a voxel-based and instance-based voting mechanism is used to correct errors in network predictions, and historical results are kept through long-term memory updates to improve inference quality and reduce inconsistencies; The voxel-based voting mechanism projects the historical predictions and the current predictions into the coordinate system of the point cloud and selects the most frequently occurring label in each voxel as the motion state; The instance-based voting mechanism uses the prediction probability of the decoder to cluster the foreground points in the point cloud and calculate the bounding box, and then extracts the instance-level prediction from the current prediction and historical predictions; Use long-term memory to store historical results and update the memory when outputting new refined forecasts.
6. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 1, characterized in that: In step 1, the feature encoding capability of deep learning is used to encode multi-frame point cloud data. Encode, where is the number of historical frames; point cloud features are obtained by extracting features from multi-frame point cloud data through the point network structure ,in is the number of single-frame point clouds and channel dimensions; and the point cloud features are projected onto the bird's-eye view to obtain the bird's-eye view features , , The length and width of the bird's-eye view features are respectively, and then the bird's-eye view features are aggregated and further extracted by a multi-layer perceptron. The deep learning network can use the true value label to adjust the neuron weights and bias parameters in the network in a data-driven way, thereby upgrading the bird's-eye view features from two dimensions to high dimensions. At this stage, the local information and global information in the bird's-eye view will be integrated and participate in the high-dimensional feature calculation of each point, and finally a robust bird's-eye view feature will be obtained. .
7. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 6, characterized in that: In step 2, in order to utilize temporal correlation to enhance the segmentation effect and capture the motion information of dynamic objects, a self-attention mechanism is used to aggregate the bird’s-eye view data features obtained in step 1. And the historical characteristics obtained from the previous inference ;because and Not in the same coordinate system, we use the learnable offset in deformable attention to adaptively find the relationship between two features and combine them through attention weights; Input two linear layers to generate K attention weights and sampling offset ; then based on Offset of the middle reference point and coordinates , using bilinear interpolation from Get ; Finally, Make the corresponding Weighted to get updated features ; The above process can be expressed as: ; in, and represents the linear layer and normalization function, and and are the number of heads and bilinear interpolation function of the multi-head attention mechanism, respectively, and Represents the learnable parameter matrix; then, use the feedforward neural network FFN to Processing to get the current frame , as shown in the following formula: ; in, Representation layer normalization function, used to standardize feature dimensions.
8. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 7, characterized in that: In step 3, in order to distinguish static points from dynamic points, bilinear interpolation is first used to transform the multi-scale features and Convert the size to a uniform height and width ; For each upsampled feature, an auxiliary head is adopted to predict the moving objects in the bird's-eye view, and the auxiliary loss is used as a constraint to ensure that features from multiple scales are well aligned and decoded; After that, the upsampled features are mapped to point features one by one using the bird's-eye view mapping point cloud method B2P, and they are concatenated to obtain ,in represents the channel dimension; finally, in addition to decoding point cloud features Rough motion state In addition, the point-by-point decoder additionally predicts the probability that a point belongs to a movable object and background , which can be used to refine the motion estimation results in the subsequent voting stage ; The process of the point-by-point decoder is as follows: in, , is a multilayer perceptron with unshared weights, and It is the feature channel connection operation.
9. The dynamic object segmentation method based on three-dimensional laser point cloud data stream according to claim 8, characterized in that: In step 4, the voting mechanism consisting of voxel-based voting VBV and instance-based voting IBV can be regarded as a post-processing by using historical predictions To correct the current predicted label The error in Indicates the number of historical frames used by the voting mechanism; historical frame point cloud The motion estimation result , will be transformed through posture Projected onto In the coordinate system of ; The above VBV process is as follows: ,in The voting process and voxel voting results; The process of the above IBV is as follows: ;in The voting process and the instance voting results; at the same time, a memory bank of length M is constructed to save historical results; when the voting mechanism outputs a new refined prediction When Append to the memory bank and delete the oldest result.
