Data processing method, device and equipment and readable storage medium

Through dynamic point cloud frame clustering and following object frame estimation based on previous and subsequent frame data in point cloud data, the problem of insufficient filtering accuracy and stability of dynamic objects in the existing technology is solved, and accurate detection of dynamic objects is achieved. Identify and filter.

CN118628534APending Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310260457.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately filter dynamic objects, especially when the grid space is large and the dynamic objects move slowly, there is an information distortion problem. The deep learning model may also lead to semantic recognition errors, leading to incorrect deletion of static objects.

Method used

By determining the dynamic point cloud frame based on the previous frame point cloud data and the subsequent frame point cloud data, and performing regional clustering, combined with the estimation of the following object frame, the accuracy and stability of dynamic object filtering can be improved.

Benefits of technology

When the object position relationship between point cloud data is distorted, dynamic objects can be accurately found, the accuracy and stability of dynamic object filtering can be improved, and static objects can be avoided by mistake.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628534A
    Figure CN118628534A
Patent Text Reader

Abstract

The invention discloses a data processing method, device and equipment and a readable storage medium, and the method comprises the steps: determining a dynamic point cloud frame in point cloud data of a target frame based on point cloud data of a front frame and point cloud data of a rear frame; performing regional clustering on the point cloud data of the target frame to obtain one or more clustering object frames; if a clustering object frame meeting an intersection condition with the dynamic point cloud frame exists in the one or more clustering object frames, determining the clustering object frame meeting the intersection condition as an undetermined object frame; acquiring a following object frame of the point cloud data of the previous frame in the point cloud data of the target frame; and if the to-be-determined object frame meeting the intersection condition with the following object frame exists in the to-be-determined object frame, determining the to-be-determined object frame meeting the intersection condition as a dynamic object frame in the point cloud data of the target frame. According to the invention, the precision and stability of dynamic object filtering can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, equipment and readable storage medium. Background Art

[0002] At present, the main method to reduce the impact of dynamic objects on point cloud maps is to filter dynamic objects by using grid maps. However, when the grid space is large and the dynamic objects move slowly, the statistical information may be distorted. Another way to filter dynamic objects is to use a model trained by deep learning to filter dynamic objects. However, the model can only provide semantic information of objects, and there may be misclassification of semantic recognition, which may lead to the wrong deletion of static objects. It can be seen that it is currently impossible to accurately filter dynamic objects. Summary of the invention

[0003] The embodiments of the present application provide a data processing method, apparatus, device and readable storage medium, which can improve the accuracy and stability of dynamic object filtering.

[0004] On the one hand, an embodiment of the present application provides a data processing method, including:

[0005] Based on the previous frame point cloud data and the next frame point cloud data, a dynamic point cloud frame in the target frame point cloud data is determined; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data;

[0006] Performing regional clustering on the target frame point cloud data to obtain one or more cluster object frames; each cluster object frame is used to represent the position of different objects in the target frame point cloud data;

[0007] If there is a clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame, the clustered object frame that meets the intersection condition is determined as the pending object frame;

[0008] Obtaining a following object frame of the previous frame point cloud data in the target frame point cloud data; the following object frame is obtained by estimating the coordinate system of the dynamic object frame in the previous frame point cloud data;

[0009] If there is a pending object frame in the pending object frame that satisfies the intersection condition with the following object frame, the pending object frame that satisfies the intersection condition is determined as the dynamic object frame in the target frame point cloud data.

[0010] Among them, it also includes:

[0011] Obtain M frames of initial point cloud data and M coordinate system poses, perform coordinate transformation on the M frames of initial point cloud data through the M coordinate system poses, and obtain M frames of coordinate system point cloud data;

[0012] Based on the sampling range of the M-frame coordinate system point cloud data, the M-frame coordinate system point cloud data is downsampled to obtain M-frame point cloud data; the M-frame point cloud data includes target frame point cloud data, previous frame point cloud data and next frame point cloud data.

[0013] Wherein, based on the sampling range of the M-frame coordinate system point cloud data, the M-frame coordinate system point cloud data is downsampled to obtain the M-frame point cloud data, including:

[0014] Based on the coordinate system center of each frame of coordinate system point cloud data in the M frames of coordinate system point cloud data, determine M sampling center ranges;

[0015] Sampling M frames of coordinate system point cloud data within M sampling center ranges to obtain M frames of downsampled point cloud data; the M frames of downsampled point cloud data belong to different sampling center ranges respectively;

[0016] Based on the M coordinate system poses, M ground normals of the M frames of downsampled point cloud data are determined, and according to the M ground normals, sampling ground ranges corresponding to the M frames of downsampled point cloud data are determined respectively;

[0017] M frames of downsampled point cloud data are sampled within M sampling ground ranges to obtain M frames of point cloud data; the M frames of point cloud data belong to different sampling ground ranges respectively.

[0018] Wherein, based on the previous frame point cloud data and the next frame point cloud data, determining the dynamic point cloud frame in the target frame point cloud data includes:

[0019] Based on the coordinate system of the target frame point cloud data, the coordinate system of the previous frame point cloud data and the next frame point cloud data are transformed to obtain the transformed previous frame point cloud data and the transformed next frame point cloud data;

[0020] Determine the background point cloud data according to the transformed front frame point cloud data and the transformed rear frame point cloud data;

[0021] Determine the foreground point cloud data according to the target frame point cloud data, the transformed previous frame point cloud data and the transformed next frame point cloud data;

[0022] Background difference processing is performed on the foreground point cloud data and the background point cloud data to obtain the dynamic point cloud frame in the target frame point cloud data.

[0023] Among them, background difference processing is performed on the foreground point cloud data and the background point cloud data to obtain the dynamic point cloud frame in the target frame point cloud data, including:

[0024] A multidimensional space tree is established for the foreground point cloud data, and a point cloud radius search is performed in the multidimensional space tree through the background point cloud data to determine N dynamic object point clouds; N is a positive integer greater than 1;

[0025] According to the point cloud distances between the N dynamic object point clouds, the N dynamic object point clouds are clustered to obtain cluster clusters, and a dynamic point cloud frame is generated according to the dynamic object point clouds located at the edge of the cluster clusters.

[0026] Wherein, based on the previous frame point cloud data and the next frame point cloud data, determining the dynamic point cloud frame in the target frame point cloud data includes:

[0027] The target frame point cloud data, the previous frame point cloud data and the next frame point cloud data are superimposed and fused to obtain a fused image, and raster point cloud data is established on the fused image;

[0028] The grid point cloud data is divided into S grids of the same size according to the grid side length, and point cloud detection is performed on the S grids respectively; S is a positive integer;

[0029] The grid containing only independent point cloud data among the S grids is determined as the target grid; the target grid includes the target dynamic point cloud; the independent point cloud data is the target frame point cloud data or the previous frame point cloud data or the next frame point cloud data;

[0030] The target dynamic point cloud in the grid point cloud data is clustered to obtain cluster clusters, and the dynamic point cloud frame in the target frame point cloud data is generated according to the target dynamic point cloud located at the edge of the cluster clusters.

[0031] Among them, the target frame point cloud data is regionally clustered to obtain one or more clustered object frames, including:

[0032] An initial growth point cloud is determined in the target frame point cloud data, and a point cloud in the vicinity of the initial growth point cloud is determined as a point cloud to be grown;

[0033] In the point cloud to be grown, the point cloud to be grown that meets similar conditions with the initial growing point cloud is marked as a grown point cloud, and a new grown point cloud is continuously traversed through the point cloud neighboring range of the grown point cloud;

[0034] When the grown point clouds corresponding to the initial growing point clouds have been traversed, the next initial growing point cloud is determined in the unmarked point clouds in the target frame point cloud data. When all the point clouds in the target frame point cloud data are marked, the grown point clouds associated with different initial growing point clouds are clustered to obtain one or more clustered object frames in the target frame point cloud data.

[0035] Among the point clouds to be grown, the point clouds to be grown that meet similar conditions with the initial growing point clouds are marked as grown point clouds, including:

[0036] The point cloud intensity difference and point cloud normal vector offset between the initial growing point cloud and the point cloud to be grown are obtained. When the point cloud intensity difference is less than the point cloud intensity threshold and the point cloud normal vector offset is less than the offset angle threshold, the point cloud to be grown is marked as a grown point cloud.

[0037] Wherein, obtaining the following object frame of the previous frame point cloud data in the target frame point cloud data includes:

[0038] Get the dynamic object frame of the previous frame point cloud data;

[0039] Determine the target direction and target speed of the target object in the dynamic object frame of the previous frame point cloud data through the previous T frames of point cloud data of the previous frame point cloud data; the previous T frames of point cloud data all contain the target object, and T is a positive integer;

[0040] Based on the target direction and target speed, the position of the dynamic object frame of the previous frame point cloud data in the target frame point cloud data is estimated, and the following object frame for the target object in the target frame point cloud data is obtained.

[0041] Among them, it also includes:

[0042] If there is no clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame, then the following object frame of the previous frame point cloud data in the target frame point cloud data is obtained; the following object frame is obtained by estimating the coordinate system based on the dynamic object frame in the previous frame point cloud data;

[0043] In the clustered object frame, the clustered object frame that meets the intersection condition with the following object frame is determined as the dynamic object frame in the target frame point cloud data.

[0044] An embodiment of the present application provides a data processing device, including:

[0045] The dynamic point cloud frame module is used to determine the dynamic point cloud frame in the target frame point cloud data based on the previous frame point cloud data and the next frame point cloud data; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data;

[0046] The clustering point cloud frame module is used to perform regional clustering on the target frame point cloud data to obtain one or more clustering object frames; each clustering object frame is used to represent the position of different objects in the target frame point cloud data;

[0047] A pending object frame module is used to determine the clustered object frame that meets the intersection condition with the dynamic point cloud frame as the pending object frame if there is a clustered object frame in one or more clustered object frames that meets the intersection condition;

[0048] The following object frame module is used to obtain the following object frame of the previous frame point cloud data in the target frame point cloud data; the following object frame is obtained by estimating the coordinate system based on the dynamic object frame in the previous frame point cloud data;

[0049] The dynamic object frame module is used to determine the undetermined object frame that meets the intersection condition with the follow-up object frame as the dynamic object frame in the target frame point cloud data if there is an undetermined object frame in the undetermined object frame that meets the intersection condition with the follow-up object frame.

[0050] Among them, it also includes:

[0051] A preprocessing module is used to obtain M frames of initial point cloud data and M coordinate system poses, and to perform coordinate transformation on the M frames of initial point cloud data through the M coordinate system poses to obtain M frames of coordinate system point cloud data;

[0052] The preprocessing module is also used to downsample the M-frame coordinate system point cloud data based on the sampling range of the M-frame coordinate system point cloud data to obtain M-frame point cloud data; the M-frame point cloud data includes target frame point cloud data, previous frame point cloud data and subsequent frame point cloud data.

[0053] Among them, the preprocessing module includes:

[0054] The downsampling unit is used to determine M sampling center ranges based on the coordinate system center of each frame of coordinate system point cloud data in the M frames of coordinate system point cloud data; sample the M frames of coordinate system point cloud data within the M sampling center ranges to obtain M frames of downsampled point cloud data; the M frames of downsampled point cloud data belong to different sampling center ranges respectively;

[0055] A ground filtering unit is used to determine M ground normals of M frames of downsampled point cloud data based on M coordinate system postures, and determine the sampling ground ranges corresponding to the M frames of downsampled point cloud data according to the M ground normals; sample the M frames of downsampled point cloud data within the M sampling ground ranges to obtain M frames of point cloud data; the M frames of point cloud data belong to different sampling ground ranges.

[0056] Among them, the dynamic point cloud frame module includes:

[0057] A coordinate conversion unit is used to perform coordinate system conversion on the previous frame point cloud data and the next frame point cloud data based on the coordinate system of the target frame point cloud data to obtain the transformed previous frame point cloud data and the transformed next frame point cloud data;

[0058] The coordinate conversion unit is further used to determine the background point cloud data according to the transformed front frame point cloud data and the transformed rear frame point cloud data;

[0059] The coordinate conversion unit is further used to determine the foreground point cloud data according to the target frame point cloud data, the transformed previous frame point cloud data and the transformed next frame point cloud data;

[0060] The background difference unit is used to perform background difference processing on the foreground point cloud data and the background point cloud data to obtain a dynamic point cloud frame in the target frame point cloud data.

[0061] The background difference unit is specifically used to establish a multidimensional space tree for the foreground point cloud data, and to perform a point cloud radius search in the multidimensional space tree through the background point cloud data to determine N dynamic object point clouds; N is a positive integer greater than 1;

[0062] The background difference unit is specifically used to cluster N dynamic object point clouds according to the point cloud distances between the N dynamic object point clouds to obtain cluster clusters, and generate dynamic point cloud frames according to the dynamic object point clouds located at the edge of the cluster clusters.

[0063] Among them, the dynamic point cloud frame module includes:

[0064] The grid unit is used to superimpose and fuse the target frame point cloud data, the previous frame point cloud data and the next frame point cloud data to obtain a fused image, and to establish grid point cloud data on the fused image; the grid point cloud data is divided into S grids of the same size according to the grid side length, and point cloud detection is performed on the S grids respectively; S is a positive integer;

[0065] A determination unit is used to determine a grid containing only independent point cloud data among S grids as a target grid; the target grid includes a target dynamic point cloud; the independent point cloud data is target frame point cloud data or previous frame point cloud data or next frame point cloud data; clustering the target dynamic point cloud in the grid point cloud data to obtain a clustering cluster, and generating a dynamic point cloud frame in the target frame point cloud data according to the target dynamic point cloud located at the edge of the clustering cluster.

[0066] Among them, the clustering object frame module includes:

[0067] The initial growth point cloud unit is used to determine the initial growth point cloud in the target frame point cloud data, and determine the point cloud in the point cloud neighborhood of the initial growth point cloud as the point cloud to be grown;

[0068] The growth traversal unit is used to mark the point cloud to be grown that meets similar conditions with the initial growing point cloud as a grown point cloud in the point cloud to be grown, and continue to traverse the point cloud neighborhood of the grown point cloud to generate a new grown point cloud;

[0069] The growth traversal unit is also used to determine the next initial growth point cloud in the unmarked point clouds in the target frame point cloud data when the grown point clouds corresponding to the initial growth point cloud have been traversed, until all the point clouds in the target frame point cloud data are marked, and cluster the grown point clouds associated with different initial growth point clouds to obtain one or more clustered object frames in the target frame point cloud data.

[0070] Among them, the growth traversal unit is specifically used to obtain the point cloud intensity difference and point cloud normal vector offset value between the initial growing point cloud and the point cloud to be grown. When the point cloud intensity difference is less than the point cloud intensity threshold, and the point cloud normal vector offset value is less than the offset angle threshold, the point cloud to be grown is marked as a grown point cloud.

[0071] Among them, the object frame following module includes:

[0072] The previous frame object frame unit is used to obtain the dynamic object frame of the previous frame point cloud data; determine the target direction and target speed of the target object in the dynamic object frame of the previous frame point cloud data through the previous T frames of point cloud data of the previous frame point cloud data; the previous T frames of point cloud data all contain the target object, and T is a positive integer;

[0073] The following processing unit is used to estimate the position of the dynamic object frame of the previous frame point cloud data in the target frame point cloud data based on the target direction and the target speed, and obtain the following object frame for the target object in the target frame point cloud data.

[0074] The following object frame module is further used to obtain the following object frame of the previous frame point cloud data in the target frame point cloud data if there is no clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame; the following object frame is obtained by estimating the coordinate system based on the dynamic object frame in the previous frame point cloud data;

[0075] The dynamic object frame module is also used to determine, among the clustered object frames, the clustered object frames that meet the intersection condition with the following object frames as the dynamic object frames in the target frame point cloud data.

[0076] On the one hand, an embodiment of the present application provides a computer device, including: a processor, a memory, and a network interface;

[0077] The processor is connected to the memory and the network interface, wherein the network interface is used to provide a data communication function, and the memory is used to store a computer program. When the computer program is executed by the processor, the computer device executes the method provided in the embodiment of the present application.

[0078] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the method provided by the embodiment of the present application.

[0079] In one aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method provided in the embodiment of the present application.

[0080] The embodiment of the present application determines the dynamic point cloud frame in the target frame point cloud data based on the previous frame point cloud data and the subsequent frame point cloud data; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the subsequent frame point cloud data is the next frame point cloud data of the target frame point cloud data; the target frame point cloud data is regionally clustered to obtain one or more cluster object frames; each cluster object frame is used to characterize the position of different objects in the target frame point cloud data; if there is a cluster object frame in one or more cluster object frames that meets the intersection condition with the dynamic point cloud frame, the cluster object frame that meets the intersection condition is determined as the pending object frame; the following object frame of the previous frame point cloud data in the target frame point cloud data is obtained; the following object frame is obtained by estimating the coordinate system based on the dynamic object frame in the previous frame point cloud data; if there is a pending object frame in the pending object frame that meets the intersection condition with the following object frame, the pending object frame that meets the intersection condition is determined as the dynamic object frame in the target frame point cloud data. It can be seen that the present application determines the pending object frame by the clustered object frame that meets the intersection condition with the dynamic point cloud frame, and can combine the characteristics of the two to obtain a pending object frame with higher precision, and then follow the dynamic object of the target frame point cloud data through the following object frame determined by the previous frame point cloud data, and estimate the position information of the dynamic object in the target frame point cloud data, and determine the pending object frame that meets the intersection condition with the following point cloud frame as a dynamic object. Therefore, even if the positional relationship of objects between point cloud data is distorted, the dynamic object can still be accurately found in the target frame point cloud data through the dynamic object being followed, thereby improving the accuracy and stability of dynamic object filtering. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0082] Figure 1 This is a schematic diagram of a network architecture provided by an embodiment of the present application;

[0083] Figure 2 This is a schematic diagram of a data processing scenario provided by an embodiment of the present application;

[0084] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0085] Figure 4 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 ;

[0086] Figure 5 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 ;

[0087] Figure 6 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0088] Figure 7 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0090] Intelligent Traffic System (ITS), also known as Intelligent Transportation System, is an effective and comprehensive application of advanced science and technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operations research, artificial intelligence, etc.) to transportation, service control and vehicle manufacturing, strengthening the connection between vehicles, roads and users, thus forming a comprehensive transportation system that ensures safety, improves efficiency, improves the environment and saves energy. Or;

[0091] Intelligent Vehicle Infrastructure Cooperative Systems (IVICS), referred to as IVICS, is a development direction of Intelligent Transportation Systems (ITS). IVICS uses advanced wireless communications and new generation Internet technologies to implement all-round dynamic real-time information interaction between vehicles and roads, and conducts active vehicle safety control and road cooperative management based on the collection and integration of dynamic traffic information in all time and space, fully realizing the effective coordination of people, vehicles and roads, ensuring traffic safety, and improving traffic efficiency, thus forming a safe, efficient and environmentally friendly road traffic system.

[0092] The solution provided in the embodiments of the present application relates to intelligent transportation system technology and intelligent vehicle-road cooperative system technology, which is specifically illustrated by the following embodiments.

[0093] See also Figure 1 , Figure 1 This is a network architecture diagram provided by an embodiment of the present application. The network architecture diagram may include a business server 100 and a terminal device 200, and the terminal device 200 may be in communication connection with the business server 100. The above communication connection does not limit the connection mode, and may be directly or indirectly connected by wired communication mode, directly or indirectly connected by wireless communication mode, or by other modes, which are not limited by the present application.

[0094] Specifically, the terminal device 200 is equipped with a laser radar and a combined navigation system (which may include a navigation sensor). The terminal device 200 can be integrated in a collection vehicle 300 (which may also be a drone, a robot, etc.) traveling on the road to be surveyed. The laser radar in the terminal device 200 can include a flat-mounted laser radar and an oblique-mounted laser radar.

[0095] The collection vehicle 300 integrated with the terminal device 200 is driving normally on the road to be surveyed and mapped. The terminal device 200 can continuously collect the road to be surveyed and mapped through the laser radar, and scan to obtain the initial point cloud data including the surrounding environment objects (including guardrails, pedestrians, other vehicles, etc.), and form an initial point cloud sequence (including several frames of initial point cloud data). The terminal device 200 can collect combined navigation information (including three-dimensional posture information of the collection vehicle 300) through the combined navigation system, and the terminal device 200 can send the initial point cloud sequence and the combined navigation information to the business server 100.

[0096] Among them, the combined navigation information is the comprehensive output navigation result that integrates and optimizes the information of multiple navigation sensors. Flat-mounted laser radar and oblique-mounted laser radar refer to the installation methods of laser radar, flat-mounted is horizontally installed, and oblique-mounted is tilted. Point cloud refers to the data set of points on the surface of the surrounding environment objects, which describes the spatial position information of these points.

[0097] The service server 100 can determine the coordinate system pose corresponding to each frame of initial point cloud data according to the combined navigation information. The initial point cloud data can be preprocessed to obtain a point cloud data sequence (which can include several frames of point cloud data).

[0098] The point cloud data may include target frame point cloud data, previous frame point cloud data and next frame point cloud data. The target frame point cloud data may refer to the point cloud data currently processed by the service server, the previous frame point cloud data is the point cloud data of the previous frame of the target frame point cloud data, and the next frame point cloud data is the point cloud data of the next frame of the target frame point cloud data.

[0099] The service server 100 may determine a dynamic point cloud frame according to the point cloud position relationship (which may be the Euclidean distance of the point clouds) of the point clouds commonly included in the target frame point cloud data, the previous frame point cloud data, and the next frame point cloud data.

[0100] The service server 100 can perform regional clustering on the target frame point cloud data, divide point clouds with the same properties into point clouds of the same object, and obtain a clustered object frame of the target frame point cloud data (which may include static objects and dynamic objects). The service server 100 can also find the intersection of the above dynamic point cloud frame and the clustered object frame to obtain a pending object frame (which may include a pending dynamic object).

[0101] The service server 100 may obtain a following object frame of the previous frame point cloud data in the target frame point cloud data, where the following object frame represents the estimated position information of the dynamic object identified in the previous frame point cloud data in the target frame point cloud data.

[0102] The business server 100 can find the intersection of the above-mentioned pending object frame and the following object frame to obtain a dynamic object frame, and determine the objects covered by the dynamic object frame as dynamic objects. The business server 100 can filter and remove dynamic objects to obtain a point cloud map without dynamic objects, so as to ensure that the point cloud of dynamic objects in the point cloud map is more thoroughly removed to avoid accidental deletion of static points in the map. The point cloud map can be used to accurately locate the vehicle position on the lane, thereby improving the accuracy of vehicle positioning, and can provide functions such as automatic driving and road planning to assist in the completion of intelligent vehicle-road cooperative systems and intelligent transportation systems.

[0103] The embodiment of the present application can estimate the position information of the dynamic object in the point cloud data of the target frame through the dynamic object frame of the dynamic object in the previous frame, so as to achieve the tracking of the dynamic object, and avoid the situation where the dynamic object cannot match the position relationship between the point cloud data because the volume area is too large or the distance is too close, or the movement speed is similar to the collection vehicle 300, or the overlap between the collected point clouds is particularly small. Therefore, the present application can solve the problem that the above situation is more likely to occur in obliquely mounted laser radars due to small collection areas and small number of point clouds. The accuracy and stability of dynamic object filtering when making point cloud maps by laser radars (including flat-mounted laser radars and oblique-mounted laser radars) can be improved.

[0104] See also Figure 2 , Figure 2This is a data processing scenario diagram provided by an embodiment of the present application. In this data processing scenario diagram, the terminal device 200 can be in communication connection with the business server 100, and the terminal device 200 can be integrated in the collection vehicle 300. Take the collection vehicle 300 driving on the road to be surveyed as an example.

[0105] like Figure 2 As shown in the middle scene 110, the collection vehicle 300 integrated with the terminal device 200 is driving normally on the road to be mapped. The terminal device 200 can continuously collect the road to be mapped through the laser radar, scan and obtain the initial point cloud data including the surrounding environment objects (which may include trees B and vehicle A), and form an initial point cloud sequence. The combined navigation information is collected through the combined navigation system, and the initial point cloud sequence and the combined navigation information are sent to the business server 100.

[0106] The service server 100 can pre-process each frame of initial point cloud data in the initial point cloud sequence by combining navigation information to obtain the following: Figure 2 Point cloud data 101 , point cloud data 102 , and point cloud data 103 are shown.

[0107] Among them, the business server 100 can determine the coordinate system pose corresponding to each frame of initial point cloud data according to the combined navigation information. The coordinate system pose refers to the point cloud data establishing a coordinate system with the acquisition vehicle as the center, and the position information of the surrounding objects in the coordinate system. Through the coordinate system pose, each frame of initial point cloud data can be preprocessed to obtain a point cloud data sequence (which may include point cloud data 101, point cloud data 102 and point cloud data 103). The preprocessing process can be a process of establishing a coordinate system for each frame of initial point cloud data according to the initial point cloud data and its corresponding coordinate system pose, and downsampling and filtering the point cloud in the initial point cloud data. Point cloud data 101 can be the previous frame of point cloud data 102, and point cloud data 103 can be the next frame of point cloud data 102.

[0108] The business server 100 can determine the point cloud cluster representing vehicle A in the point cloud data 102 through the point cloud position relationship (which can be the Euclidean distance of the point clouds) between the point clouds commonly contained in the point cloud data 101, the point cloud data 102 and the point cloud data 103. The point cloud cluster can be as shown in the scene 104. The business server 100 can determine the dynamic point cloud frame A1 of vehicle A based on the point cloud at the edge of the point cloud cluster of vehicle A.

[0109] The business server 100 can perform regional clustering on the point cloud data 102, dividing point clouds with the same properties into point clouds of the same object. Several point clouds of the same object form a cluster, and based on the point clouds at the edge of the cluster, obtain the cluster object box A2 of vehicle A and the cluster object box B1 of tree B in the point cloud data 102 as shown in scene 105.

[0110] The business server 100 can also find the intersection of the above-mentioned dynamic point cloud frame and the clustered object frame, determine the clustered object frame that meets the intersection condition as the pending object frame, and determine the objects in the clustered object frame that do not meet the intersection condition as static objects as a whole. Therefore, the pending object frame A3 of vehicle A as shown in scene 106 can be obtained.

[0111] Among them, the intersection condition may mean that in the same coordinate system, there is an overlapping area between the three-dimensional areas determined by the above-mentioned dynamic point cloud frame and the clustered object frame. The overlapping area can remove a certain error. This application does not limit the specific method of error determination.

[0112] The business server 100 can obtain the dynamic object frame of the point cloud data 101, and by estimating the coordinate system of the dynamic object frame of the point cloud data 101, obtain the following object frame A4 of the point cloud data 101 in the next frame of point cloud data (i.e., point cloud data 102) as shown in scene 107, which represents the estimated following position information of vehicle A in the point cloud data 102.

[0113] The coordinate system estimation of the dynamic object may be performed by estimating the direction and speed of the target object (which may be vehicle A) in the previous consecutive frames of point cloud data.

[0114] The service server 100 can find the intersection of the above-mentioned pending object frame and the following object frame, determine the pending object frame that meets the intersection condition as the dynamic object frame of the point cloud data 102, determine the objects in the dynamic object frame as dynamic objects, and determine the objects in the pending object frame that do not meet the intersection condition as static objects. The pending object frame A3 and the following object frame A4 meet the intersection condition, and determine that the vehicle A is a dynamic object in the point cloud data 102. As shown in scene 108, the service server 100 can filter and remove the dynamic object "vehicle A" in the point cloud data 102 to obtain a point cloud map without dynamic objects.

[0115] It should be understood that the dynamic object frame of the previous frame point cloud data (point cloud data 101) can also be determined in the above manner. For the first frame point cloud data in the point cloud sequence, the business server 100 can obtain the dynamic object frame by finding the intersection of the dynamic point cloud frame and the clustered object frame of the first frame point cloud data.

[0116] The present application determines the pending object frame by using the clustered object frame that meets the intersection condition with the dynamic point cloud frame, and can combine the characteristics of the two to obtain a pending object frame with higher accuracy, and then follows the dynamic object in the target frame point cloud data through the following object frame determined by the previous frame point cloud data, estimates the position information of the dynamic object in the target frame point cloud data, and determines the pending object frame that meets the intersection condition with the following point cloud frame as a dynamic object. Therefore, when the positional relationship of objects between point cloud data is distorted, the dynamic object can still be accurately found in the target frame point cloud data through the dynamic object being followed, thereby improving the accuracy and stability of dynamic object filtering.

[0117] See also Figure 3 , Figure 3 is a flow chart of a data processing method provided in an embodiment of the present application. The data processing method can be executed by a computer device, and the computer device may include: Figure 1 The terminal device 200 or the service server 100 shown. Figure 3 As shown, the method may include:

[0118] Step S101, based on the previous frame point cloud data and the next frame point cloud data, determine the dynamic point cloud frame in the target frame point cloud data; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data;

[0119] Specifically, the computer device may determine the currently processed point cloud data as the target frame point cloud data, determine the previous frame point cloud data of the target frame point cloud data as the previous frame point cloud data, and determine the next frame point cloud data of the target frame point cloud data as the next frame point cloud data. The computer device may determine the point cloud that may be a dynamic object in the target frame point cloud data according to the point cloud position relationship (which may be the Euclidean distance of the point cloud) between the point clouds commonly contained in the target frame point cloud data, the previous frame point cloud data, and the next frame point cloud data, cluster the determined point cloud to obtain a point cloud cluster including several point clouds, and determine the dynamic point cloud frame according to the point cloud at the edge of the point cloud cluster. The point cloud data may be obtained by collecting the road to be surveyed and mapped by a laser radar carried by a collection vehicle (computer device), and scanning to obtain the position information including surrounding environment objects (which may include guardrails, pedestrians, other vehicles, etc.).

[0120] The computer device can process the point cloud position relationship between the point clouds commonly contained in the target frame point cloud data, the previous frame point cloud data and the subsequent frame point cloud data through a background difference algorithm or a raster algorithm to determine the dynamic point cloud frame.

[0121] Among them, the specific process of the background difference algorithm can be: based on the coordinate system of the target frame point cloud data, the coordinate system of the front frame point cloud data and the rear frame point cloud data is transformed to obtain the transformed front frame point cloud data and the transformed rear frame point cloud data; the background point cloud data is determined according to the transformed front frame point cloud data and the transformed rear frame point cloud data; the foreground point cloud data is determined according to the target frame point cloud data, the transformed front frame point cloud data and the transformed rear frame point cloud data; the foreground point cloud data and the background point cloud data are processed by background difference to obtain the dynamic point cloud frame in the target frame point cloud data.

[0122] Specifically, the computer device can convert the point cloud coordinates contained in the previous frame point cloud data and the next frame point cloud data into the coordinate system of the target frame point cloud data. That is, through the center of the coordinate system of the target frame point cloud data, the position information of all the point clouds in the previous frame point cloud data and the next frame point cloud data is recalculated to obtain the transformed previous frame point cloud data and the transformed next frame point cloud data.

[0123] The computer device can synthesize the point clouds with the same position information in the two frames of point cloud data (the transformed front frame point cloud data and the transformed rear frame point cloud data) into one point cloud by adding the point clouds in the transformed front frame point cloud data and the transformed rear frame point cloud data (the addition of point clouds can refer to the union of two point sets) to obtain background point cloud data.

[0124] Similarly, the computer device can synthesize the point clouds with the same position information in the three frames of point cloud data (target frame point cloud data, transformed front frame point cloud data and transformed rear frame point cloud data) into one point cloud by adding the point clouds in the target frame point cloud data, the transformed front frame point cloud data and the transformed rear frame point cloud data to obtain the foreground point cloud data.

[0125] Among them, the specific process of performing background difference processing on the foreground point cloud data and the background point cloud data to obtain the dynamic point cloud frame in the target frame point cloud data can be: establishing a multidimensional space tree for the foreground point cloud data, performing point cloud radius search in the multidimensional space tree through the background point cloud data, and determining N dynamic object point clouds; N is a positive integer greater than 1; clustering the N dynamic object point clouds according to the point cloud distance between the N dynamic object point clouds to obtain cluster clusters, and generating a dynamic point cloud frame according to the dynamic object point clouds located at the edge of the cluster clusters.

[0126] Specifically, the computer device can establish a multidimensional space tree (kd-tree, k-dimensional tree) for the foreground point cloud data, and can perform a point cloud radius search (the Euclidean distance between the point clouds of the device can be pre-set) in the multidimensional space tree of the foreground point cloud data through the background point cloud data. A point cloud in the multidimensional space tree can be randomly determined as the target search point cloud, and the background point cloud data within the point cloud radius of the target search point cloud can be deleted. The deleted point cloud is the point cloud of the static object, and the retained point cloud is the point cloud that may be a dynamic object, thereby obtaining N dynamic object point clouds.

[0127] The computer device can determine the point cloud distance according to the resolution of the point cloud map (point cloud map accuracy), and the point cloud distance refers to the Euclidean distance between point clouds, or can be a preset value set by other means. The computer device can cluster N dynamic object point clouds according to the point cloud distance to obtain clusters, and generate dynamic point cloud frames according to the dynamic object point clouds at the edge of the clusters.

[0128] Optionally, the computer device can also determine the dynamic point cloud data through a raster algorithm. The specific process of the raster algorithm can be: superimposing and fusing the target frame point cloud data, the previous frame point cloud data and the subsequent frame point cloud data to obtain a fused image, and establishing raster point cloud data on the fused image; dividing the raster point cloud data into S grids of the same size according to the grid side length, and performing point cloud detection on the S grids respectively; S is a positive integer; determining the grid that only contains independent point cloud data among the S grids as the target grid; the target grid includes the target dynamic point cloud; the independent point cloud data is the target frame point cloud data or the previous frame point cloud data or the subsequent frame point cloud data; clustering the target dynamic point cloud in the raster point cloud data to obtain a cluster cluster, and generating a dynamic point cloud box in the target frame point cloud data according to the target dynamic point cloud located at the edge of the cluster cluster.

[0129] Specifically, the computer device can superimpose and fuse the target frame point cloud data, the previous frame point cloud data and the subsequent frame point cloud data, convert the point cloud coordinates contained in the previous frame point cloud data and the subsequent frame point cloud data into the coordinate system of the target frame point cloud data, and add the point clouds of the target frame point cloud data, the previous frame point cloud data and the subsequent frame point cloud data to obtain a fused image.

[0130] The computer device can establish grid point cloud data on the fused image, and divide the grid point cloud data into S grids of the same size by the grid side length (which can be 5 cm or other preset values ​​determined according to the resolution of the point cloud map finally established). Each grid can be a cube area determined by the grid side length. Point cloud data from different frames have different labels. Point cloud detection is performed on the S grids respectively, and the grid that only contains independent point cloud data (only has the label of a frame among the target frame point cloud data, the previous frame point cloud data and the next frame point cloud data) among the S grids is determined as the target grid. The point cloud in the target grid is likely to be the point cloud of a dynamic object.

[0131] The computer device can determine the point cloud distance according to the resolution of the point cloud map (point cloud map accuracy), and the point cloud distance refers to the Euclidean distance between point clouds, or can be a preset value set by other means. The computer device can cluster the point cloud in the target grid according to the point cloud distance to obtain a cluster, and generate a dynamic point cloud frame according to the target dynamic point cloud located at the edge of the cluster.

[0132] Step S102, performing regional clustering on the target frame point cloud data to obtain one or more cluster object frames; each cluster object frame is used to represent the position of different objects in the target frame point cloud data;

[0133] Specifically, the computer device can perform regional clustering on the target frame point cloud data, divide point clouds with the same properties into point clouds of the same object, and form a clustering cluster with several point clouds of the same object. According to the point cloud at the edge of the clustering cluster, a clustering object frame of the target frame point cloud data is obtained. The clustering objects in the clustering object frame may include static objects and dynamic objects.

[0134] Among them, point clouds with the same properties may refer to point clouds whose Euclidean distance, point cloud intensity and point cloud normal vector are all within a certain threshold range.

[0135] Step S103, if there is a clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame, the clustered object frame that meets the intersection condition is determined as a pending object frame;

[0136] Specifically, the computer device can find the intersection of the above-mentioned dynamic point cloud frame and the clustered object frame, determine the clustered object frame that meets the intersection condition as a pending object frame (which may include a pending dynamic object), and determine the objects in the clustered object frame that do not meet the intersection condition as static objects as a whole. The computer device can ensure the integrity of individual objects in the target frame point cloud data and the completeness of the overall object through the clustered object frame. Therefore, when the clustered object frame meets the intersection condition with the dynamic point cloud frame, it can be guaranteed that the object covered by the clustered object frame may be a dynamic object, so as to avoid the situation where the dynamic point cloud frame object is incomplete and imperfect, and ensure that the identified dynamic object is a complete object.

[0137] The intersection condition may refer to the existence of overlapping areas in the three-dimensional areas determined by the above-mentioned dynamic point cloud frame and the clustered object frame in the same coordinate system, and the ratio between the volume of the overlapping area and the volume of the entire three-dimensional area (the three-dimensional area jointly determined by the dynamic point cloud frame and the clustered object frame) is determined as the point cloud overlap rate. When the point cloud overlap rate is greater than or equal to 10%, it can be considered that the dynamic point cloud frame and the clustered object frame meet the intersection condition. The point cloud overlap rate can be determined in combination with the point cloud map resolution (point cloud map accuracy), error, etc., and the specific method for determining the point cloud overlap rate is not limited in this application.

[0138] Step S104, obtaining a following object frame of the previous frame point cloud data in the target frame point cloud data; the following object frame is obtained by estimating the coordinate system based on the dynamic object frame in the previous frame point cloud data;

[0139] Specifically, the computer device can obtain the dynamic object frame of the previous frame point cloud data, and estimate the coordinate system of the dynamic object in the dynamic object frame to obtain the following object frame of the previous frame point cloud data in the target frame point cloud data. The following object frame represents the estimated position information of the dynamic object identified in the previous frame point cloud data in the target frame point cloud data.

[0140] Among them, the coordinate system estimation of the dynamic object can be carried out by estimating the target direction and target speed of the target object in the previous consecutive frames of point cloud data, and estimating the following position information of the dynamic object frame of the previous frame point cloud data in the target frame point cloud data.

[0141] Step S105, if there is a pending object frame in the pending object frame that satisfies the intersection condition with the following object frame, the pending object frame that satisfies the intersection condition is determined as the dynamic object frame in the target frame point cloud data;

[0142] Specifically, the computer device can calculate the intersection of the above-mentioned pending object frame and the following object frame, determine the pending object frame that meets the intersection condition as the dynamic object frame of the target frame point cloud data, determine the object in the dynamic object frame as a dynamic object as a whole, and determine the object in the pending object frame that does not meet the intersection condition as a static object as a whole.

[0143] It can be understood that the embodiment of the present application can estimate the position information of the dynamic object in the point cloud data of the target frame through the dynamic object frame of the dynamic object in the previous frame, so as to achieve the tracking of the dynamic object and avoid the situation where the dynamic object cannot match the position relationship between the point cloud data because the volume area is too large or the distance is too close, or the movement speed is similar to the collection vehicle 300, or the overlap between the collected point clouds is particularly small. Therefore, the present application can solve the problem that the above situation is more likely to occur in obliquely mounted laser radars due to the small collection area and the small number of point clouds. The accuracy and stability of dynamic object filtering when making point cloud maps by laser radars (including flat-mounted laser radars and oblique-mounted laser radars) can be improved.

[0144] The present application determines the pending object frame by using the clustered object frame that meets the intersection condition with the dynamic point cloud frame, and can combine the characteristics of the two to obtain a pending object frame with higher accuracy, and then follows the dynamic object in the target frame point cloud data through the following object frame determined by the previous frame point cloud data, estimates the position information of the dynamic object in the target frame point cloud data, and determines the pending object frame that meets the intersection condition with the following point cloud frame as a dynamic object. Therefore, when the positional relationship of objects between point cloud data is distorted, the dynamic object can still be accurately found in the target frame point cloud data through the dynamic object being followed, thereby improving the accuracy and stability of dynamic object filtering.

[0145] See also Figure 4 , Figure 4 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 The data processing method may be executed by a computer device, which may include Figure 1 The terminal device 200 or the service server 100 shown. Figure 4 As shown, the method may include:

[0146] Step S201, obtaining M frames of initial point cloud data and M coordinate system poses, performing coordinate transformation on the M frames of initial point cloud data through the M coordinate system poses, and obtaining M frames of coordinate system point cloud data;

[0147] Specifically, the computer device can obtain M frames of initial point cloud data of the road to be surveyed and mapped collected by the laser radar and the combined navigation information collected by the combined navigation system (which may include the three-dimensional pose information of the acquisition vehicle integrated with the computer device). The computer device can determine the coordinate system pose corresponding to each frame of initial point cloud data according to the combined navigation information, establish a coordinate system for each frame of initial point cloud data based on the center of the coordinate system (the center of the three-dimensional pose of the acquisition vehicle), and obtain M frames of coordinate system point cloud data. The coordinate system pose refers to the position information of the surrounding environment objects in the coordinate system when the point cloud data establishes a coordinate system with the acquisition vehicle as the center.

[0148] Step S202, based on the coordinate system center of each frame of coordinate system point cloud data in M ​​frames of coordinate system point cloud data, determine M sampling center ranges; sample the M frames of coordinate system point cloud data within the M sampling center ranges to obtain M frames of downsampled point cloud data; the M frames of downsampled point cloud data belong to different sampling center ranges respectively; based on the M coordinate system postures, determine the M ground normals of the M frames of downsampled point cloud data, and determine the sampling ground ranges corresponding to the M frames of downsampled point cloud data according to the M ground normals; filter the M frames of downsampled point cloud data within the M sampling ground ranges to obtain M frames of point cloud data; the M frames of point cloud data correspond to different sampling ground ranges respectively.

[0149] Specifically, the computer device can determine the sampling center range through the center of the coordinate system (the radius of the coordinate system center can be within 25 meters). The computer device can filter the distant surrounding environment information (objects) through the sampling center range corresponding to each coordinate system point cloud data, and only retain the point cloud within the sampling center range of the coordinate system center to obtain M frames of downsampled point cloud data.

[0150] The computer device can determine the sampling ground range from each frame of downsampled point cloud data through a random sample consensus algorithm (RANSAC), filter the point clouds in the downsampled point cloud data that belong to the sampling ground range, and obtain point cloud data corresponding to M frames of downsampled point cloud data (i.e., M frames of point cloud data).

[0151] Specifically, the computer device can determine the installation height of the integrated navigation system (navigation sensor) on the collection vehicle (collection vehicle integrated with the computer device) through the coordinate system pose of each frame of downsampled point cloud data (or the integrated navigation information), so as to take points according to the installation height and determine the ground normal corresponding to each frame of downsampled point cloud data. The computer device can randomly sample according to the angle between the ground normal and the z-axis within the angle range (the angle between the ground normal and the z-axis (0, 0, 1) can be less than 10°), take out the point cloud within the angle range, calculate the distance from each point cloud within the angle range to the plane of the integrated navigation system, and select all point clouds less than the distance threshold (which can be a value pre-set according to the installation height of the integrated navigation system) as ground point clouds, and fit the sampling ground range through the ground point clouds. The computer device can filter the point clouds belonging to the sampling ground range in the downsampled point cloud data to obtain M frames of point cloud data. That is, the point cloud data is within the sampling center range, but does not belong to the sampling ground range.

[0152] Step S203, based on the previous frame point cloud data and the next frame point cloud data, determine the dynamic point cloud frame in the target frame point cloud data; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data;

[0153] For details, please refer to the above Figure 3 The specific description of step S101 in the corresponding embodiment will not be repeated here.

[0154] Step S204, determining an initial growing point cloud in the target frame point cloud data, determining a point cloud within the point cloud neighborhood of the initial growing point cloud as a point cloud to be grown; in the point cloud to be grown, marking a point cloud to be grown that meets similar conditions to the initial growing point cloud as a grown point cloud, and continuing to traverse a new grown point cloud through the point cloud neighborhood of the grown point cloud; when the grown point cloud corresponding to the initial growing point cloud has been traversed, determining the next initial growing point cloud in the point cloud that is not marked in the target frame point cloud data, until all the point clouds in the target frame point cloud data are marked, clustering the grown point clouds associated with different initial growing point clouds to obtain one or more clustered object frames in the target frame point cloud data;

[0155] Specifically, the computer device can randomly determine a point cloud in the target frame point cloud data as the initial growing point cloud, determine the point cloud within the point cloud neighborhood range of the initial growing point cloud (which can be within the range determined by the pre-set Euclidean distance between point clouds) as the point cloud to be grown, and among all the point clouds to be grown, the point clouds to be grown that meet similar conditions to the initial growing point cloud are marked as grown point clouds, and continue to traverse the new grown point clouds through the point cloud neighborhood range of the grown point clouds.

[0156] When the grown point clouds corresponding to the initial growing point clouds have been traversed, the next initial growing point cloud is determined in the unmarked point clouds in the target frame point cloud data, and new point clouds to be grown are continued to be determined according to the point cloud proximity range until all point clouds in the target frame point cloud data are marked. The grown point clouds associated with different initial growing point clouds (marked point clouds with different initial growing point clouds) are clustered to obtain one or more clustered object frames in the target frame point cloud data.

[0157] For example, the target frame point cloud data includes point cloud 1, point cloud 2, ..., point cloud 10. Among them, the grown point clouds determined by using point cloud 1 as the initial growing point cloud include point cloud 2, point cloud 3 and point cloud 4. The grown point clouds determined by using point cloud 5 as the initial growing point cloud include point cloud 6, point cloud 7, point cloud 8, point cloud 9 and point cloud 10. Then, point cloud 1 to point cloud 4 belong to the same tag, and point cloud 5 to point cloud 10 belong to another same tag. The computer device can then cluster point cloud 1 to point cloud 4 together, and cluster point cloud 5 to point cloud 10 together, thereby determining two clustered object frames of the target frame point cloud data.

[0158] Among them, the specific process of satisfying the similarity conditions between point clouds can be: obtaining the point cloud intensity difference and the point cloud normal vector offset value between the initial growing point cloud and the point cloud to be grown; when the point cloud intensity difference is less than the point cloud intensity threshold, and the point cloud normal vector offset value is less than the offset angle threshold, the point cloud to be grown is marked as a grown point cloud.

[0159] Specifically, the computer device can obtain the point cloud normal vector and point cloud strength of the initial growing point cloud (which can also be the grown point cloud) and the point cloud to be grown, calculate the point cloud strength difference (which can be the point cloud strength difference) and the point cloud normal vector offset value (which can be the degree of difference between the point cloud normal vectors) between the initial growing point cloud (which can also be the grown point cloud) and the point cloud to be grown, and the computer device can mark the point cloud whose point cloud strength difference is less than the point cloud strength threshold (preset value) and the point cloud normal vector offset value is less than the offset angle threshold (preset value) as a grown point cloud. Different initial growing point clouds are used to distinguish the grown point clouds with different marks.

[0160] Among them, the point cloud intensity refers to the reflection intensity of the sampling surface represented by the point cloud (the value can be determined by the degree of correction required by the characteristics of the target object, scanning angle, equipment, etc.), and the point cloud normal vector refers to the normal vector of the sampling surface represented by the point cloud (the value can be determined by factors such as the point cloud map resolution, the fineness of the surface used by the target object and its purpose).

[0161] Optionally, when clustering by point cloud distance (which may be a pre-set Euclidean distance between point clouds), the embodiment of the present application may also cluster by the point cloud intensity difference and the point cloud normal vector offset value being within a certain threshold range.

[0162] Step S205: if there is a clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame, the clustered object frame that meets the intersection condition is determined as a pending object frame;

[0163] For details, please refer to the above Figure 3 The specific description of step S103 in the corresponding embodiment will not be repeated here.

[0164] Step S206, obtaining a dynamic object frame of the previous frame point cloud data; determining the target direction and target speed of the target object in the dynamic object frame of the previous frame point cloud data through the previous T frames of point cloud data of the previous frame point cloud data; the previous T frames of point cloud data all contain the target object, and T is a positive integer; based on the target direction and target speed, estimating the position of the dynamic object frame of the previous frame point cloud data in the target frame point cloud data, and obtaining a follow-up object frame for the target object in the target frame point cloud data;

[0165] Specifically, the computer device can obtain the dynamic object frame of the previous frame point cloud data, and the previous T frames of point cloud data (in the point cloud sequence, the point cloud data before the previous frame point cloud data) containing the target object (the object contained in the dynamic object frame).

[0166] It can be understood that the dynamic object frame of the previous frame point cloud data can also be determined by executing steps S201 to S207. For the first frame point cloud data in the point cloud sequence, the computer device can determine the object frame to be determined that meets the intersection condition as the dynamic object frame of the first frame point cloud data by finding the intersection of the dynamic point cloud frame and the clustered object frame of the first frame point cloud data.

[0167] The computer device can calculate the moving direction and speed of the target object through the previous T frames of point cloud data, calculate the dynamic object frame of the previous frame of point cloud data, and estimate the position information of the target object represented by the dynamic object frame in the next frame of point cloud data (target frame point cloud data). k-1 , which can be expressed as formula (1):

[0168] S k-1 =[x,y,z,v x , v y , v z , yaw, yaw_rate] formula (1)

[0169] Among them, S k-1It can be a row matrix, where x, y, and z represent the spatial position (three-dimensional position) of the target object in the coordinate system (the coordinate system of the previous frame point cloud data is converted to the coordinate system of the target frame point cloud data), and v x 、v y 、v z Indicates the three-dimensional velocity of the target object in the coordinate system, yaw indicates the yaw angle of the target object rotating around the Y axis, and yaw_rate indicates the angular velocity of the yaw angle. x 、v y 、v z and yaw_rate are the target speed of the target object, and yaw is the target direction of the target object.

[0170] The computer device can calculate the position information of the dynamic object frame in the next frame of point cloud data (target frame point cloud data) through the target speed and target direction. The calculation can be shown as formula (2):

[0171]

[0172] Among them, formula (2) is S k =[Matrix 1]S k-1 , S k It is the following object box in the point cloud data of the target frame.

[0173] The corresponding relationship between the elements in matrix 1 can be shown as follows:

[0174] Matrix 1

[0175]

[0176]

[0177] in, △ t is the time between two frames (the previous frame point cloud data and the target frame point cloud data). When the target speed and target direction of the target object are the same as those of the acquisition vehicle, yaw 0 Can be equal to S k-1 The yaw in the.

[0178] Optional, yaw 0 It can be determined based on the target speed and target direction of the target object. The specific method for determining yaw0 in the embodiment of the present application is not limited here.

[0179] It is understandable that when the computer device collects several frames of point cloud data after the first frame of point cloud data, it can stay for a period of time to obtain enough frames of point cloud data to calculate the target speed and target direction of the target object.

[0180] Step S207, if there is a pending object frame in the pending object frame that satisfies the intersection condition with the following object frame, the pending object frame that satisfies the intersection condition is determined as the dynamic object frame in the target frame point cloud data;

[0181] Specifically, if there is a pending object frame in the pending object frame that meets the intersection condition with the following object frame, then refer to the above Figure 3 The specific description of step S103 in the corresponding embodiment will not be repeated here.

[0182] Optionally, if there is no clustered object box in one or more clustered object boxes that satisfies the intersection condition with the dynamic point cloud box, the specific process of determining the dynamic object box may be: if there is no clustered object box in one or more clustered object boxes that satisfies the intersection condition with the dynamic point cloud box, then obtaining the following object box of the previous frame point cloud data in the target frame point cloud data; the following object box is obtained by estimating the coordinate system based on the dynamic object box in the previous frame point cloud data; in the clustered object box, the clustered object box that satisfies the intersection condition with the following object box is determined as the dynamic object box in the target frame point cloud data.

[0183] Specifically, if there is no clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame, the computer device can obtain the clustered object frame of the target frame point cloud data and the dynamic object frame of the previous frame point cloud data, and determine the follower object frame of the target frame point cloud data through the dynamic object frame of the previous frame point cloud data (the determination method can refer to the above step S206). The computer device can determine the clustered object frame that meets the intersection condition between the clustered object frame and the follower object frame as the dynamic object frame in the target frame point cloud data. The object in the dynamic object frame is determined as a dynamic object as a whole, and the objects in the clustered object frame that do not meet the intersection condition are determined as static objects as a whole.

[0184] In the embodiment of the present application, the dynamic point cloud frame in the target frame point cloud data can be determined by the background difference algorithm or the grid algorithm, and the target frame point cloud data is clustered to obtain the cluster object frame, and the cluster object frame that meets the intersection condition between the dynamic point cloud frame and the cluster object frame is determined as the pending object frame, and the characteristics of the two can be combined to obtain a more accurate pending object frame, and then the dynamic object frame of the previous frame point cloud data is used to calculate the follow-up object frame, and the position information of the dynamic object in the target frame point cloud data is estimated, and the pending object frame that meets the intersection condition between the pending object frame and the follow-up object frame is determined as the dynamic object frame. In this way, the following of the dynamic object is achieved, and the situation that the previous and next frames of point cloud data cannot reflect the difference is avoided because the dynamic object area is too large or the distance is too close, or the movement speed is similar to the acquisition vehicle, the overlap between the point clouds is small, the dynamic object moves slowly, etc., can solve the problem that the above situation is more likely to occur in the oblique laser radar due to the small acquisition area and the small number of point clouds. The accuracy and stability of dynamic object filtering can be improved when making point cloud maps by laser radar (including flat-mounted laser radar and oblique laser radar).

[0185] See also Figure 5 , Figure 5 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 The data processing method may be executed by a computer device, which may include Figure 1 The terminal device 200 or the service server 100 shown. Figure 5 As shown, the computer device can preprocess the initial point cloud sequence (including initial front frame point cloud data, initial target frame point cloud data and initial rear frame point cloud data) collected by the lidar through combined navigation information (which may include data preprocessing and coordinate system conversion) to obtain a point cloud data sequence (including front frame point cloud data, target frame point cloud data and rear frame point cloud data), wherein data preprocessing means that the computer device can determine the coordinate system pose corresponding to each frame of initial point cloud data according to the combined navigation information, and the coordinate system pose refers to the point cloud data establishing a coordinate system with the collecting vehicle as the center, and the position information of surrounding objects in the coordinate system.

[0186] Among them, the coordinate system conversion means that the computer device can pre-process each frame of initial point cloud data through the coordinate system posture to obtain a point cloud data sequence, and downsample the initial point cloud data according to the sampling center range and filter it according to the sampling ground range.

[0187] The specific process of data preprocessing and coordinate system conversion can be found in the above Figure 4 The description of step S101 and step S102 in the corresponding embodiment will not be repeated here.

[0188] Taking the background difference algorithm as an example, the computer device can convert the point cloud coordinates contained in the previous frame point cloud data and the next frame point cloud data into the coordinate system of the target frame point cloud data. That is, through the center of the coordinate system of the target frame point cloud data, the position information of all the point clouds in the previous frame point cloud data and the next frame point cloud data is recalculated to obtain the transformed previous frame point cloud data and the transformed next frame point cloud data. By adding the point clouds in the transformed previous frame point cloud data and the transformed next frame point cloud data (the addition of point clouds can refer to the union of two point sets), the point clouds with the same position information in the two frames of point cloud data (the transformed previous frame point cloud data and the transformed next frame point cloud data) are combined into one point cloud to obtain the background point cloud data.

[0189] By adding the point clouds in the target frame point cloud data, the transformed previous frame point cloud data and the transformed subsequent frame point cloud data, the point clouds with the same position information in the three frames of point cloud data (target frame point cloud data, the transformed previous frame point cloud data and the transformed subsequent frame point cloud data) are synthesized into one point cloud to obtain the foreground point cloud data.

[0190] The computer device can perform background difference processing on the foreground point cloud data and the background point cloud data to determine the dynamic point cloud frame. The specific process of background difference processing can be found in the above Figure 3 The description of step S101 in the corresponding embodiment will not be repeated here.

[0191] The computer device can cluster the target frame point cloud data through the regional clustering algorithm to obtain the clustered object frame. The specific process of the regional clustering algorithm can be found in the above Figure 4 The description of step S204 in the corresponding embodiment will not be repeated here.

[0192] The computer device can fuse the dynamic point cloud frame with the clustered object frame, that is, determine the clustered object frame that meets the intersection condition with the dynamic point cloud frame as the pending object frame. The specific process of object frame fusion can be referred to above. Figure 3 The description of step S103 in the corresponding embodiment will not be repeated here.

[0193] The computer device can obtain the previous frame dynamic object frame (the dynamic object frame of the previous frame point cloud data) and estimate the following object frame of the previous frame dynamic object frame in the target frame point cloud data. The dynamic object frame of the previous frame point cloud data can be obtained by the above Figure 4 In the corresponding embodiment, steps S201 to S207 are performed to determine, and the specific process of estimating the following object frame can be referred to above. Figure 4 The description of step S206 in the corresponding embodiment will not be repeated here.

[0194] The computer device can determine the dynamic object frame of the target frame point cloud data through the following object frame, the pending object frame and the clustered object frame.

[0195] If there is a pending object frame in the pending object frame that meets the intersection condition with the following object frame, the computer device can determine the pending object frame that meets the intersection condition with the following object frame as a dynamic object frame in the target frame point cloud data. The specific process of determining the pending object frame as a dynamic object frame can be referred to above Figure 4 The description of step S207 in the corresponding embodiment will not be repeated here.

[0196] If there is no clustered object frame that meets the intersection condition with the dynamic point cloud frame in one or more clustered object frames, the computer device may determine the clustered object frame that meets the intersection condition with the follow-up object frame as a dynamic object frame in the target frame point cloud data. The specific process of determining the clustered object frame as a dynamic object frame can be referred to above. Figure 4 The description of step S207 in the corresponding embodiment will not be repeated here.

[0197] In the embodiment of the present application, the dynamic point cloud frame in the target frame point cloud data can be determined by the background difference algorithm or the grid algorithm, and the target frame point cloud data is clustered to obtain the cluster object frame, and the cluster object frame that meets the intersection condition between the dynamic point cloud frame and the cluster object frame is determined as the pending object frame, and the characteristics of the two can be combined to obtain a more accurate pending object frame, and then the dynamic object frame of the previous frame point cloud data is used to calculate the follow-up object frame, and the position information of the dynamic object in the target frame point cloud data is estimated, and the pending object frame that meets the intersection condition between the pending object frame and the follow-up object frame is determined as the dynamic object frame. In this way, the following of the dynamic object is achieved, and the situation that the previous and next frames of point cloud data cannot reflect the difference is avoided because the dynamic object area is too large or the distance is too close, or the movement speed is similar to the acquisition vehicle, the overlap between the point clouds is small, the dynamic object moves slowly, etc., can solve the problem that the above situation is more likely to occur in the oblique laser radar due to the small acquisition area and the small number of point clouds. The accuracy and stability of dynamic object filtering can be improved when making point cloud maps by laser radar (including flat-mounted laser radar and oblique laser radar).

[0198] See also Figure 6 , Figure 6 Schematic diagram of a data processing device provided in an embodiment of the present application. Figure 6As shown, the data processing device 1 includes a pre-processing module 510, a dynamic point cloud frame module 520, a clustering object frame module 530, a pending object frame module 540, a following object frame module 550 and a dynamic object frame module 560. Among them, the pre-processing module 510 includes a downsampling unit 511 and a ground filtering unit 512. The dynamic point cloud frame module 520 includes a coordinate conversion unit 521, a background difference unit 522, a grid unit 523 and a determination unit 524. The clustering object frame 530 includes an initial growth point cloud unit 531 and a growth traversal unit 532. The following object frame module 550 includes a previous frame object frame unit 551 and a following processing unit 552.

[0199] A preprocessing module 510 is used to obtain M frames of initial point cloud data and M coordinate system poses, and perform coordinate transformation on the M frames of initial point cloud data through the M coordinate system poses to obtain M frames of coordinate system point cloud data;

[0200] The preprocessing module 510 is also used to downsample the M-frame coordinate system point cloud data based on the sampling range of the M-frame coordinate system point cloud data to obtain M-frame point cloud data; the M-frame point cloud data includes target frame point cloud data, previous frame point cloud data and next frame point cloud data.

[0201] The specific functional implementation of the preprocessing module 510 can be found in Figure 4 The description of step S201 in the corresponding embodiment will not be repeated here.

[0202] The downsampling unit 511 is used to determine M sampling center ranges based on the coordinate system center of each frame of coordinate system point cloud data in the M frames of coordinate system point cloud data; sample the M frames of coordinate system point cloud data within the M sampling center ranges to obtain M frames of downsampled point cloud data; the M frames of downsampled point cloud data belong to different sampling center ranges respectively.

[0203] The ground filtering unit 512 is used to determine M ground normals of M frames of downsampled point cloud data based on M coordinate system postures, and determine the sampling ground ranges corresponding to the M frames of downsampled point cloud data according to the M ground normals; sample the M frames of downsampled point cloud data within the M sampling ground ranges to obtain M frames of point cloud data; the M frames of point cloud data belong to different sampling ground ranges respectively.

[0204] The specific functional implementation of the downsampling unit 511 and the ground filtering unit 512 can be found in Figure 4 The description of step S202 in the corresponding embodiment will not be repeated here.

[0205] The dynamic point cloud frame module 520 is used to determine the dynamic point cloud frame in the target frame point cloud data based on the previous frame point cloud data and the next frame point cloud data; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data. The specific function implementation method of the dynamic point cloud frame module 520 can be found in Figure 3 The description of step S101 in the corresponding embodiment will not be repeated here.

[0206] A coordinate conversion unit 521 is used to perform coordinate system conversion on the previous frame point cloud data and the next frame point cloud data based on the coordinate system of the target frame point cloud data to obtain the converted previous frame point cloud data and the converted next frame point cloud data;

[0207] The coordinate conversion unit 521 is further used to determine the background point cloud data according to the transformed previous frame point cloud data and the transformed next frame point cloud data;

[0208] The coordinate conversion unit 521 is further used to determine the foreground point cloud data according to the target frame point cloud data, the transformed previous frame point cloud data and the transformed next frame point cloud data.

[0209] The specific functional implementation of the coordinate conversion unit 521 can be found in Figure 4 The description of step S203 in the corresponding embodiment will not be repeated here.

[0210] The background difference unit 522 is used to perform background difference processing on the foreground point cloud data and the background point cloud data to obtain a dynamic point cloud frame in the target frame point cloud data.

[0211] The background difference unit 522 is also used to establish a multi-dimensional space tree for the foreground point cloud data, and to perform a point cloud radius search in the multi-dimensional space tree through the background point cloud data to determine N dynamic object point clouds; N is a positive integer greater than 1;

[0212] The background difference unit 522 is further used to cluster the N dynamic object point clouds according to the point cloud distances between the N dynamic object point clouds to obtain clusters, and to generate a dynamic point cloud frame according to the dynamic object point clouds located at the edge of the clusters.

[0213] The specific functional implementation of the background difference unit 522 can be found in Figure 3 The description of step S101 in the corresponding embodiment will not be repeated here.

[0214] The grid unit 523 is used to superimpose and fuse the target frame point cloud data, the previous frame point cloud data and the next frame point cloud data to obtain a fused image, and establish grid point cloud data on the fused image; divide the grid point cloud data into S grids of the same size according to the grid side length, and perform point cloud detection on the S grids respectively; S is a positive integer.

[0215] The determination unit 524 is also used to determine the grid containing only independent point cloud data among the S grids as the target grid; the target grid includes the target dynamic point cloud; the independent point cloud data is the target frame point cloud data or the previous frame point cloud data or the next frame point cloud data; the target dynamic point cloud in the grid point cloud data is clustered to obtain a cluster cluster, and a dynamic point cloud box in the target frame point cloud data is generated according to the target dynamic point cloud located at the edge of the cluster cluster.

[0216] The specific functional implementation of the grid unit 523 and the determination unit 524 can be found in Figure 3 The description of step S101 in the corresponding embodiment will not be repeated here.

[0217] The clustering object frame module 530 is used to perform regional clustering on the target frame point cloud data to obtain one or more clustering object frames; each clustering object frame is used to represent the position of different objects in the target frame point cloud data. The specific functional implementation of the clustering object frame module 530 can be found in Figure 3 The description of step S102 in the corresponding embodiment will not be repeated here.

[0218] The initial growing point cloud unit 531 is used to determine the initial growing point cloud in the target frame point cloud data, and determine the point cloud in the point cloud neighborhood of the initial growing point cloud as the point cloud to be grown.

[0219] The growth traversal unit 532 is used to mark the to-be-grown point cloud that meets similar conditions with the initial growing point cloud as a grown point cloud, and continue to traverse the point cloud neighborhood of the grown point cloud to generate a new grown point cloud.

[0220] The growth traversal unit 532 is also used to determine the next initial growth point cloud in the unmarked point clouds in the target frame point cloud data when the grown point clouds corresponding to the initial growth point cloud have been traversed, until all the point clouds in the target frame point cloud data are marked, and then cluster the grown point clouds associated with different initial growth point clouds to obtain one or more clustered object frames in the target frame point cloud data.

[0221] The growth traversal unit 532 is specifically used to obtain the point cloud intensity difference and point cloud normal vector offset value between the initial growing point cloud and the point cloud to be grown. When the point cloud intensity difference is less than the point cloud intensity threshold, and the point cloud normal vector offset value is less than the offset angle threshold, the point cloud to be grown is marked as a grown point cloud.

[0222] The specific functional implementation of the initial growth point cloud unit 531 and the growth traversal unit 532 can be found in Figure 4 The description of step S204 in the corresponding embodiment will not be repeated here.

[0223] The pending object frame module 540 is used to determine the clustered object frame that meets the intersection condition with the dynamic point cloud frame in one or more clustered object frames as the pending object frame. The specific function implementation method of the pending object frame module 540 can be found in Figure 3 The description of step S103 in the corresponding embodiment will not be repeated here.

[0224] The following object frame module 550 is used to obtain the following object frame of the previous frame point cloud data in the target frame point cloud data; the following object frame is obtained by estimating the coordinate system based on the dynamic object frame in the previous frame point cloud data. The specific function implementation method of the following object frame module 550 can be found in Figure 4 The description of step S206 in the corresponding embodiment will not be repeated here.

[0225] The previous frame object frame unit 551 is used to obtain the dynamic object frame of the previous frame point cloud data; determine the target direction and target speed of the target object in the dynamic object frame of the previous frame point cloud data through the previous T frames of point cloud data of the previous frame point cloud data; the previous T frames of point cloud data all contain the target object, and T is a positive integer;

[0226] The following processing unit 552 is used to estimate the position of the dynamic object frame of the previous frame point cloud data in the target frame point cloud data based on the target direction and the target speed, and obtain the following object frame for the target object in the target frame point cloud data.

[0227] The specific functional implementation of the previous frame object frame unit 551 and the following processing unit 552 can be found in Figure 4 The description of step S206 in the corresponding embodiment will not be repeated here.

[0228] The dynamic object frame module 560 is used to determine the undetermined object frame that meets the intersection condition with the follow-up object frame as the dynamic object frame in the target frame point cloud data if there is an undetermined object frame in the undetermined object frame that meets the intersection condition. The specific function implementation method of the dynamic object frame module 560 can be found in Figure 4 The description of step S207 in the corresponding embodiment will not be repeated here.

[0229] The following object frame 550 is used to obtain the following object frame of the previous frame point cloud data in the target frame point cloud data if there is no clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame; the following object frame is obtained by estimating the coordinate system based on the dynamic object frame in the previous frame point cloud data;

[0230] The dynamic object frame module 560 is also used to determine the clustered object frame that meets the intersection condition with the follow-up object frame as the dynamic object frame in the target frame point cloud data. The specific function implementation of the dynamic object frame module 560 can be found in Figure 4 The description of step S207 in the corresponding embodiment will not be repeated here.

[0231] The present application determines the pending object frame by using the clustered object frame that meets the intersection condition with the dynamic point cloud frame, and can combine the characteristics of the two to obtain a pending object frame with higher accuracy, and then follows the dynamic object in the target frame point cloud data through the following object frame determined by the previous frame point cloud data, estimates the position information of the dynamic object in the target frame point cloud data, and determines the pending object frame that meets the intersection condition with the following point cloud frame as a dynamic object. Therefore, when the positional relationship of objects between point cloud data is distorted, the dynamic object can still be accurately found in the target frame point cloud data through the dynamic object being followed, thereby improving the accuracy and stability of dynamic object filtering.

[0232] See also Figure 7 , Figure 7 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 7 As shown, the computer device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the above-mentioned computer device 1000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. As Figure 7 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.

[0233] In such Figure 7 In the computer device 1000 shown, the network interface 1004 can provide a network communication network element; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:

[0234] Based on the previous frame point cloud data and the next frame point cloud data, a dynamic point cloud frame in the target frame point cloud data is determined; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data;

[0235] Performing regional clustering on the target frame point cloud data to obtain one or more cluster object frames; each cluster object frame is used to represent the position of different objects in the target frame point cloud data;

[0236] If there is a clustered object frame in one or more clustered object frames that meets the intersection condition with the dynamic point cloud frame, the clustered object frame that meets the intersection condition is determined as the pending object frame;

[0237] Obtaining a following object frame of the previous frame point cloud data in the target frame point cloud data; the following object frame is obtained by estimating the coordinate system of the dynamic object frame in the previous frame point cloud data;

[0238] If there is a pending object frame in the pending object frame that satisfies the intersection condition with the following object frame, the pending object frame that satisfies the intersection condition is determined as the dynamic object frame in the target frame point cloud data.

[0239] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 3 and Figure 4 The description of the data processing method in any corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated here.

[0240] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the processor executes the computer program, it can execute the above Figure 3 and Figure 4 The description of the above data processing method in any corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.

[0241] The computer-readable storage medium may be the data processing device provided in any of the aforementioned embodiments or the internal storage unit of the computer device, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the computer device. Further, the computer-readable storage medium may also include both the internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been displayed or is to be displayed.

[0242] In addition, it should be noted that: the embodiment of the present application also provides a computer program product, the computer program product includes a computer program, the computer program is stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above Figure 3 and Figure 4 Any method provided by the corresponding embodiment.

[0243] The terms "first", "second", etc. in the description, claims, and drawings of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, device, product, or equipment that includes a series of steps or units is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other step units inherent to these processes, methods, devices, products, or equipment.

[0244] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of network elements in the above description. Whether these network elements are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described network elements for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0245] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method, characterized in that: include: Based on the previous frame point cloud data and the next frame point cloud data, a dynamic point cloud frame in the target frame point cloud data is determined; the previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data; Performing regional clustering on the target frame point cloud data to obtain one or more clustered object frames; Each clustered object frame is used to represent the position of different objects in the target frame point cloud data; If there is a clustered object frame among the one or more clustered object frames that satisfies an intersection condition with the dynamic point cloud frame, the clustered object frame that satisfies the intersection condition is determined as a pending object frame; Acquire a following object frame of the previous frame point cloud data in the target frame point cloud data; The following object frame is obtained by estimating the coordinate system of the dynamic object frame in the previous frame point cloud data; If there is a pending object frame in the pending object frame that satisfies the intersection condition with the following object frame, the pending object frame that satisfies the intersection condition is determined as the dynamic object frame in the target frame point cloud data.

2. The method according to claim 1, characterized in that Also includes: Acquire M frames of initial point cloud data and M coordinate system poses, and perform coordinate transformation on the M frames of initial point cloud data using the M coordinate system poses to obtain M frames of coordinate system point cloud data; Based on the sampling range of the M-frame coordinate system point cloud data, the M-frame coordinate system point cloud data is downsampled to obtain M-frame point cloud data; the M-frame point cloud data includes target frame point cloud data, previous frame point cloud data and next frame point cloud data.

3. The method according to claim 2, characterized in that The step of downsampling the M-frame coordinate system point cloud data based on the sampling range of the M-frame coordinate system point cloud data to obtain the M-frame point cloud data includes: Determine M sampling center ranges based on the coordinate system center of each frame of coordinate system point cloud data in the M frames of coordinate system point cloud data; Sampling the M frames of coordinate system point cloud data within the M sampling center ranges to obtain M frames of downsampled point cloud data; the M frames of downsampled point cloud data belong to different sampling center ranges respectively; Based on the M coordinate system poses, determine M ground normals of the M frames of downsampled point cloud data, and determine sampling ground ranges corresponding to the M frames of downsampled point cloud data respectively according to the M ground normals; The M frames of downsampled point cloud data are filtered within M sampling ground ranges to obtain M frames of point cloud data; the M frames of point cloud data correspond to different sampling ground ranges respectively.

4. The method according to claim 1, characterized in that: The step of determining a dynamic point cloud frame in the target frame point cloud data based on the previous frame point cloud data and the next frame point cloud data includes: Based on the coordinate system of the target frame point cloud data, the coordinate system of the previous frame point cloud data and the next frame point cloud data are transformed to obtain the transformed previous frame point cloud data and the transformed next frame point cloud data; Determine background point cloud data according to the transformed front frame point cloud data and the transformed rear frame point cloud data; Determine the foreground point cloud data according to the target frame point cloud data, the transformed previous frame point cloud data and the transformed next frame point cloud data; Background difference processing is performed on the foreground point cloud data and the background point cloud data to obtain a dynamic point cloud frame in the target frame point cloud data.

5. The method according to claim 4, characterized in that The performing background difference processing on the foreground point cloud data and the background point cloud data to obtain a dynamic point cloud frame in the target frame point cloud data includes: Establishing a multidimensional space tree for the foreground point cloud data, performing a point cloud radius search in the multidimensional space tree through the background point cloud data, and determining N dynamic object point clouds; N is a positive integer greater than 1; The N dynamic object point clouds are clustered according to the point cloud distances between the N dynamic object point clouds to obtain clusters, and a dynamic point cloud frame is generated according to the dynamic object point clouds located at the edge of the clusters.

6. The method according to claim 1, characterized in that The step of determining the dynamic point cloud frame in the target frame point cloud data based on the previous frame point cloud data and the next frame point cloud data includes: The target frame point cloud data, the previous frame point cloud data and the next frame point cloud data are superimposed and fused to obtain a fused image, and grid point cloud data is established on the fused image; Divide the grid point cloud data into S grids of the same size according to the grid side length, and perform point cloud detection on the S grids respectively; S is a positive integer; The grid containing only independent point cloud data among the S grids is determined as the target grid; the target grid includes the target dynamic point cloud; the independent point cloud data is the target frame point cloud data or the previous frame point cloud data or the next frame point cloud data; The target dynamic point cloud in the grid point cloud data is clustered to obtain a cluster cluster, and a dynamic point cloud frame in the target frame point cloud data is generated according to the target dynamic point cloud located at the edge of the cluster cluster.

7. The method according to claim 1, characterized in that The performing regional clustering on the target frame point cloud data to obtain one or more clustered object frames includes: Determine an initial growing point cloud in the target frame point cloud data, and determine a point cloud in a point cloud neighborhood of the initial growing point cloud as a point cloud to be grown; In the point cloud to be grown, the point cloud to be grown that meets similar conditions to the initial growing point cloud is marked as a grown point cloud, and a new grown point cloud is continuously traversed through the point cloud neighboring range of the grown point cloud; When the grown point clouds corresponding to the initial growing point cloud have been traversed, the next initial growing point cloud is determined in the unmarked point clouds in the target frame point cloud data, until all the point clouds in the target frame point cloud data are marked, the grown point clouds associated with different initial growing point clouds are clustered to obtain one or more clustered object frames in the target frame point cloud data.

8. The method according to claim 7, characterized in that The step of marking the point cloud to be grown that meets similar conditions with the initial growing point cloud as a grown point cloud includes: The point cloud intensity difference and the point cloud normal vector offset value between the initial growing point cloud and the point cloud to be grown are obtained. When the point cloud intensity difference is less than the point cloud intensity threshold and the point cloud normal vector offset value is less than the offset angle threshold, the point cloud to be grown is marked as a grown point cloud.

9. The method according to claim 1, characterized in that: The obtaining of a following object frame of the previous frame point cloud data in the target frame point cloud data comprises: Obtain a dynamic object frame of the previous frame point cloud data; Determine the target direction and target speed of the target object in the dynamic object frame of the previous frame point cloud data by using the previous T frames of point cloud data of the previous frame point cloud data; the previous T frames of point cloud data all contain the target object, and T is a positive integer; Based on the target direction and the target speed, the position of the dynamic object frame of the previous frame point cloud data in the target frame point cloud data is estimated to obtain a following object frame for the target object in the target frame point cloud data.

10. The method according to claim 1, characterized in that Also includes: If there is no clustered object frame in the one or more clustered object frames that satisfies the intersection condition with the dynamic point cloud frame, obtaining a following object frame of the previous frame point cloud data in the target frame point cloud data; The following object frame is obtained by estimating the coordinate system of the dynamic object frame in the previous frame point cloud data; In the clustered object frame, the clustered object frame that satisfies the intersection condition with the following object frame is determined as the dynamic object frame in the target frame point cloud data.

11. A data processing device, characterized in that: include: A dynamic point cloud frame module, used to determine the dynamic point cloud frame in the target frame point cloud data based on the previous frame point cloud data and the next frame point cloud data; The previous frame point cloud data is the previous frame point cloud data of the target frame point cloud data; the next frame point cloud data is the next frame point cloud data of the target frame point cloud data; A clustering point cloud frame module is used to perform regional clustering on the target frame point cloud data to obtain one or more clustered object frames; Each clustered object frame is used to represent the position of different objects in the target frame point cloud data; A pending object frame module, configured to determine the clustered object frame satisfying the intersection condition with the dynamic point cloud frame as a pending object frame if there is a clustered object frame among the one or more clustered object frames; A following object frame module, used for obtaining a following object frame of the previous frame point cloud data in the target frame point cloud data; The following object frame is obtained by estimating the coordinate system of the dynamic object frame in the previous frame point cloud data; The dynamic object frame module is used to determine the undetermined object frame that meets the intersection condition with the following object frame as the dynamic object frame in the target frame point cloud data if there is an undetermined object frame in the undetermined object frame that meets the intersection condition with the following object frame.

12. A computer device, characterized in that: include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor is used to call the program code so that the computer device executes the method described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 10.

14. A computer program product, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium and is suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Target frame detection optimization method based on millimeter wave radar, medium and electronic equipment

    CN121522642A