4D dynamic object interactive annotation method and device based on time series data

By converting multi-frame local point clouds to the global coordinate system and combining manual annotation and automatic interpolation, using point cloud clustering and registration technology, the problem of low label accuracy of deep learning models in automated annotation is solved, and the point cloud is improved. Efficiency and accuracy of dynamic object annotation.

CN118570456BActive Publication Date: 2024-10-22MOLAR INTELLIGENCE INFORMATION TECHNOLOGY (HANGZHOU) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411062156.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-22
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

When automated labeling based on deep learning models, labeling accuracy is low and efficiency cannot be improved, making it difficult to label and track dynamic objects in point clouds, especially in the context of high-dimensional features and irregular data.

Method used

Convert multi-frame local point clouds under the same time series to the global coordinate system, combine manual annotation and automatic interpolation methods, use key frame annotation and point cloud clustering, use Rt matrix for point cloud registration, and generate 3D prediction frames, significantly Reduce manual operations and improve labeling efficiency.

Benefits of technology

It significantly reduces the labor intensity of point cloud annotation, improves the efficiency and accuracy of annotation, provides more reliable data support, and solves the problem of inaccurate prediction frames generated by deep learning models and difficulty in improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570456B_ABST
    Figure CN118570456B_ABST
Patent Text Reader

Abstract

The present application discloses a 4D dynamic object interactive annotation method and device based on time series data, including: obtaining a global point cloud under the same time series; in the global point cloud, for a certain dynamic object sequence, selecting a key frame according to the trajectory of the dynamic object sequence, and manually annotating the key 3D frame of the dynamic object in the key frame; based on the key 3D frame, interpolating the remaining frames to obtain an interpolated 3D frame; transferring the key 3D frame and the interpolated 3D frame to the local coordinate system through the corresponding posture, obtaining a potential dynamic object point set according to the size of the 3D frame, and then clustering the point set in each frame respectively to obtain the point set of the dynamic object in the sequence frame; performing point cloud registration on the interpolated point set and the two adjacent key point sets to obtain the Rt matrix; transforming the direction and position of the key 3D frame through the Rt matrix, and replacing the interpolated 3D frame at the corresponding position to obtain the 3D prediction frame. It can solve the problem of low accuracy of annotation labels and difficulty in improving efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data annotation, and in particular to a 4D dynamic object interactive annotation method and device based on time series data. Background Art

[0002] In the rapidly developing technology fields such as modern intelligent driving, robot navigation and virtual reality, accurate data annotation, especially the annotation of dynamic objects, has become particularly important. Point cloud data acquired by sensors has become an important basis for studying the motion trajectory and behavior of dynamic objects due to its rich three-dimensional spatial information. However, due to the irregularity and high-dimensional characteristics of point cloud data, the annotation and tracking of dynamic objects based on point clouds are still full of challenges.

[0003] In the past, people mainly studied relying on deep learning algorithms to complete the automatic labeling of dynamic objects in point clouds. However, due to the large differences in different point cloud data domains, in actual production it is often necessary to spend a lot of manpower and computing power to retrain the model for a new batch of data. Model training is disconnected from data production and cannot effectively participate in data production.

[0004] On the other hand, data labeling has very high requirements on label quality. The quality of prediction boxes generated by deep learning models often fails to meet the labeling requirements. Labelers often need to spend a lot of time modifying the prediction boxes, which may not actually improve efficiency or may even reduce efficiency.

[0005] The technical solution of this patent significantly reduces the number of frames that require manual operation by transferring multiple frames of local point clouds in the same time series to the global coordinate system, combining manual annotation and automatic interpolation methods, and using the interpolated 3D frame to further accurately locate the spatial position and trajectory of dynamic objects through point cloud clustering and registration technology, thereby improving the efficiency and accuracy of annotation. This method can not only significantly reduce the labor intensity of point cloud annotation, but also provide more reliable data support in practical applications. Summary of the invention

[0006] The purpose of the present invention is to provide a 4D dynamic object interactive labeling method and device based on time series data to solve the problem of low accuracy and inability to improve efficiency of automatic labeling based on deep learning models.

[0007] According to a first aspect of an embodiment of the present application, a 4D dynamic object interactive annotation method based on time series data is provided, comprising:

[0008] The local point clouds of multiple frames in the same time series are transferred to the same global coordinate system using the corresponding poses to obtain the global point cloud in the same time series;

[0009] In the global point cloud, for a certain dynamic object sequence, a key frame is selected according to the trajectory of the dynamic object sequence, and a key 3D frame of the dynamic object is manually marked in the key frame;

[0010] Based on the key 3D frame, interpolating the remaining frames to obtain an interpolated 3D frame;

[0011] The key 3D frame and the interpolation 3D frame are transferred to the local coordinate system through corresponding postures, and a potential dynamic object point set is obtained according to the size of the 3D frame;

[0012] Based on the potential dynamic object point set, clustering the point sets in each interpolation 3D frame and the key 3D frame respectively, to obtain the point sets of the dynamic objects in the 3D frames of the dynamic object sequence, the key 3D frame is the key point set, and the interpolation 3D frame is the interpolation point set;

[0013] Performing point cloud registration on the interpolation point set and the two adjacent key point sets to obtain an Rt matrix from the key point set to the interpolation point set;

[0014] The direction and position of the key 3D frame are transformed by the Rt matrix, and the interpolated 3D frame at the corresponding position is replaced to obtain the 3D prediction frame.

[0015] According to a second aspect of an embodiment of the present application, a 4D dynamic object construction and pre-labeling device based on time series data is provided, comprising:

[0016] The first coordinate conversion module is used to convert multiple frames of local point clouds in the same time series into the same global coordinate system using corresponding postures to obtain a global point cloud in the same time series;

[0017] A selection module is used to select a key frame for a certain dynamic object sequence in the global point cloud according to the trajectory of the dynamic object sequence, and manually mark the key 3D frame of the dynamic object in the key frame;

[0018] An interpolation module, configured to interpolate the remaining frames based on the key 3D frame to obtain an interpolated 3D frame;

[0019] A second coordinate conversion module is used to convert the key 3D frame and the interpolation 3D frame into a local coordinate system through corresponding postures, and obtain a potential dynamic object point set according to the size of the 3D frame;

[0020] A clustering module is used to cluster the point sets in each interpolation 3D frame and the key 3D frame based on the potential dynamic object point set, so as to obtain the point sets of the dynamic objects in the 3D frames of the dynamic object sequence, wherein the key 3D frame is the key point set and the interpolation 3D frame is the interpolation point set;

[0021] A registration module is used to perform point cloud registration on the interpolation point set and two adjacent key point sets to obtain an Rt matrix from the key point set to the interpolation point set;

[0022] The 3D frame conversion module is used to transform the direction and position of the key 3D frame through the Rt matrix, and replace the interpolated 3D frame at the corresponding position to obtain the 3D prediction frame.

[0023] According to a third aspect of an embodiment of the present application, there is provided an electronic device, including:

[0024] one or more processors;

[0025] A memory for storing one or more programs;

[0026] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in the first aspect.

[0027] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method described in the first aspect are implemented.

[0028] Compared with the prior art, the embodiments of the present invention have at least the following beneficial effects: for time-series related point cloud dynamic object data, the present application uses the corresponding poses to transfer multiple frames of local point clouds in the same time series to the same global coordinate system, and obtains the global point cloud in the same time series, which clearly shows the movement trajectory of the dynamic object. The annotator can annotate the key 3D frames based on the movement trajectory of the dynamic object, and automatically generate 3D prediction frames of other frames based on these key 3D frames, which significantly reduces the number of frames that require manual operation and solves the problem that the 3D prediction frames generated based on the deep learning model are inaccurate and difficult to improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a flowchart of a 4D dynamic object interactive labeling method based on time series data according to an exemplary embodiment.

[0030] Figure 2 It is a block diagram of a 4D dynamic object interactive annotation device based on time series data according to an exemplary embodiment.

[0031] Figure 3 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0032] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0033] Figure 1 is a flowchart of a 4D dynamic object interactive annotation method based on time series data according to an exemplary embodiment. Figure 1 , a 4D dynamic object interactive annotation method based on time series data provided by an embodiment of the present invention may include:

[0034] S1: Convert multiple frames of local point clouds in the same time series to the same global coordinate system using corresponding poses to obtain the global point cloud in the same time series;

[0035] Specifically, the multi-frame local point clouds in the same time series refer to the point cloud data continuously collected by the radar sensor within the same time interval, and the multi-frame point clouds are obtained after frame cutting and dedistortion operations.

[0036] The position and posture are obtained through sensors such as GPS, IMU, wheel speed meter, laser radar and camera. GPS provides location information, IMU measures posture changes, wheel speed meter estimates vehicle distance, and laser radar and camera infer displacement and posture through scanning and image processing. In order to improve positioning accuracy and robustness, Kalman filtering is used to comprehensively process information from multiple sensors, so as to accurately record the position and posture of each frame of point cloud.

[0037] For each frame pose, it consists of a rotation matrix R and a translation vector t:

[0038] R = ;

[0039]

[0040] The local point cloud is transformed by the rotation matrix R and the translation vector t to obtain the global point cloud:

[0041]

[0042] in is the coordinate point in the global coordinate system, is the coordinate point in the local coordinate system.

[0043] S2: In the global point cloud, for a certain dynamic object sequence, a key frame is selected according to the trajectory of the dynamic object sequence, and a key 3D frame of the dynamic object is manually marked in the key frame;

[0044] Specifically, dynamic objects can be divided into the following two motion modes according to their running trajectories:

[0045] Mode 1: Linear motion mode;

[0046] Specifically, if the trajectory of the dynamic object is linear, the annotator only needs to select the first frame and the last frame as key frames.

[0047] Mode 2: nonlinear motion mode;

[0048] Specifically, if the running trajectory of the dynamic object is nonlinear, in addition to selecting the first frame and the last frame as key frames, the annotator also needs to select the midpoint of the arc of the running trajectory as the key frame.

[0049] After selecting the key frame, the annotator annotates the 3D frame based on the shape of the dynamic object sequence in this frame, ensuring that the position, size and direction of the 3D frame fits the dynamic object and obtains the key 3D frame.

[0050] S3: Based on the key 3D frame, interpolate the remaining frames to obtain an interpolated 3D frame;

[0051] Specifically, the 3D box consists of three parts: position, orientation, and size;

[0052] (1) Position interpolation:

[0053] Specifically, due to the lack of data points, the entire data sequence is discontinuous, which will lead to inaccurate fitting of the target trajectory. The interpolation of the 3D box position can be divided into the following sub-steps:

[0054] A1: Use linear interpolation to compensate for missing normal frames. For trajectory T, give its Moment and The trajectory frame at time t performs trajectory linear interpolation at time t, and the interpolation frame result of trajectory T can be calculated by formula 1:

[0055]

[0056] in represents the interpolation box at time t, express The key 3D frame of the moment, express The key 3D frame of the moment, and .

[0057] In a single motion mode, linear interpolation is simple and efficient, and can quickly locate the possible position of the 3D box within the allowable error range, ensuring operational efficiency while achieving good accuracy.

[0058] A2: After obtaining the linear interpolation result, Gaussian process regression is used to model the nonlinear motion of the trajectory. The Gaussian smoothing interpolation model of trajectory T is as follows:

[0059]

[0060] in, Indicates the frame number, Indicates The position coordinate variable at the frame (i.e. ), represents all 3D boxes in the sequence, and represents Gaussian noise. Given a length of The linear interpolation trajectory of , by fitting the function To solve the problem of nonlinear motion modeling, we assume that it follows a Gaussian distribution:

[0061]

[0062] in, is the radial basis kernel function. According to the properties of the Gaussian process, a new prediction set is given , and its smoothed position It can be predicted by the following formula:

[0063]

[0064] in, is based on In addition, the hyperparameter Controls the smoothness of the trajectory, we simply set it to the same as the interpolation length The corresponding function is shown below:

[0065]

[0066] According to the experimental results, Set to 10.

[0067] By correcting the missing data problem of Gaussian process regression, Gaussian process regression can perform more accurate trajectory fitting for linear interpolation in the case of nonlinear trajectories.

[0068] Although linear interpolation is simple and efficient, the lack of motion information limits the 3D box regression to the accurate position. The Gaussian process can estimate the uncertainty of the linear interpolation result to adapt to complex data distribution.

[0069] (2) Direction interpolation:

[0070] Specifically, even if the dynamic object is doing nonlinear motion, constant speed interpolation needs to be provided. The directional interpolation of the 3D box can be divided into the following sub-steps:

[0071] B1: Quaternions that determine the orientation of two key 3D boxes;

[0072]

[0073] Where q represents a quaternion of the 3D box direction, and the subscript represents the index of the key 3D box.

[0074] B2: Do a dot product of the quaternion of the key 3D box orientation;

[0075]

[0076] B3: Use arc cosine to calculate the actual angle;

[0077]

[0078] B4: Calculate the direction interpolation result;

[0079]

[0080] Where t is an interpolation parameter between 0 and 1, indicating the interpolation position of the 3D box.

[0081] These steps can ensure that the direction changes at a constant speed. Since the direction changes of dynamic objects in the real world are smooth, the direction interpolation scheme can meet the direction changes of dynamic objects in the real world.

[0082] (3) Dimension inheritance:

[0083] Specifically, the application scenario of the present invention is mainly but not limited to the annotation of dynamic objects on roads, and the size of the dynamic objects will not change, so the size of the interpolation 3D frame is inherited from the key 3D frame.

[0084] Different interpolation schemes are applied to different attributes of the 3D box based on their characteristics, which effectively improves the accuracy of the interpolated 3D box and provides more robust data information for subsequent data processing.

[0085] S4: converting the key 3D frame and the interpolation 3D frame to a local coordinate system through corresponding postures, and obtaining a potential dynamic object point set according to the size of the 3D frame;

[0086] Specifically, the key 3D frame and the interpolated 3D frame are located in the global coordinate system, and the specific formula for converting the corresponding postures to the local coordinate system is:

[0087]

[0088] in is the inverse matrix of the rotation matrix R.

[0089] Since the interpolated 3D box may not completely contain the dynamic object point set, the size of the interpolated 3D box is doubled after conversion to local coordinates to obtain the potential dynamic object point set of the dynamic object.

[0090] In the global coordinate system, there is dynamic object information in each frame of point cloud. The trajectories of different dynamic objects will overlap in the global coordinate system, and the dynamic object point sets cannot be distinguished. Therefore, the key 3D frame and the interpolated 3D frame are transferred to the local coordinate system through the corresponding postures to eliminate the influence of different dynamic object trajectories. After converting to the local coordinate system, the size of the interpolated 3D frame is expanded to ensure that the point set of the dynamic object is as much as possible in the 3D frame.

[0091] S5: Based on the potential dynamic object point set, cluster the point sets in each interpolation 3D frame and the key 3D frame respectively to obtain the point sets of the dynamic objects in the 3D frames of the dynamic object sequence, where the key 3D frame is the key point set and the interpolation 3D frame is the interpolation point set;

[0092] Specifically, set the domain radius r and the minimum number of points minPts as the initial parameters of clustering, and perform clustering according to the following steps:

[0093] C1: Identify core points: For each point in the data set, calculate the number of its neighboring points within the range of r. If the number of neighboring points of a point is greater than or equal to minPts, then the point is marked as a core point.

[0094] C2: Expand clustering: Select an unvisited core point, create a new cluster and mark it as visited, add all points in the r-neighborhood of the core point to the cluster, and for each point in the cluster, if it is an unvisited core point, add the points in its r-neighborhood to the cluster as well, repeat this process until there are no more points to add to the current cluster.

[0095] C3: Handling boundary points and noise points: If a point is neither a core point nor in the r-neighborhood of a core point, it is marked as a noise point. If a point is in the r-neighborhood of a core point but is not a core point, it is called a boundary point and belongs to the corresponding cluster.

[0096] C4: Clustering result output: Repeat the above steps until all points are processed, and finally output multiple clusters in the potential dynamic object point set, and select the cluster with the largest number of points as the point set of the dynamic object.

[0097] After clustering, a more accurate dynamic object point set can be obtained, which can improve the accuracy of subsequent point cloud registration.

[0098] S6: Perform point cloud registration on the interpolation point set and the two adjacent key point sets to obtain the Rt matrix from the key point set to the interpolation point set

[0099] Specifically, the interpolation point set and the adjacent key point set have more similar features, so the interpolation point set and the adjacent key point set are used for point cloud registration to reduce the time complexity. The point cloud registration steps are as follows:

[0100] D1: Coarse registration: Based on the interpolated 3D box and the two adjacent key 3D boxes Calculate two Rt matrices from the key 3D box to the interpolated 3D box, where Represents the coordinates of the center point of the 3D box, Indicates the rotation angle of the 3D box, which is calculated as follows:

[0101] Will Convert to rotation matrix:

[0102] R = ;

[0103] and Combined into transformation matrix T:

[0104] T = ;

[0105] Calculate the transformation matrix from the key 3D box to the interpolated 3D box:

[0106]

[0107] in represents the inverse matrix of the transformation matrix of the key 3D box, Represents the transformation matrix of the interpolated 3D box.

[0108] D2: Precision registration:

[0109] D21: The transformation matrix obtained by coarse registration is used as the initial transformation matrix;

[0110] D22: For each source point , in the target point cloud Find the closest point , and record the corresponding normal ;

[0111] D23: Use the normal information of the nearest point to construct a linear equation to optimize the transformation matrix. First, construct the residual, which is defined as the distance between the source point and the target point in the normal direction, that is:

[0112]

[0113] Simplified to:

[0114]

[0115] in The closest point The normal vector of Represents the transpose of the normal vector.

[0116] Then construct the Jacobian matrix, set and , the transformation matrix Can be decomposed into rotation and pan , we need to estimate the small perturbation matrix , where the rotating part It can be represented by a rotation vector. Let the small perturbation be and , the approximate Jacobian matrix for:

[0117]

[0118] in yes The antisymmetric matrix of .

[0119] D3: Construct a least squares problem to minimize the residual by solving the following system of linear equations:

[0120]

[0121] in , ,

[0122] D4: Update transformation matrix T

[0123]

[0124]

[0125] in Represents a small rotation in antisymmetric matrix form.

[0126] D5: Convergence test, check whether the change of the transformation is small enough, or whether the maximum number of iterations is reached. If converged, the iteration ends, otherwise it returns to A22;

[0127] D6: Output result, final transformation matrix (Rt) is the optimal registration transformation from the original point cloud P to the target point cloud Q, that is, the Rt matrix from the key point set to the interpolation point set.

[0128] In the process of point cloud registration, the Rt matrix from the key 3D box to the interpolated 3D box is used as the rough registration result to speed up the convergence speed of point cloud registration while improving the accuracy of point cloud registration. The residual is constructed in the process of constructing the linear equation using the normal information of the nearest point. The residual is defined as the distance between the source point and the target point in the normal direction, that is, the distance between the source point and the target point in the plane. This improves the geometric understanding of the algorithm. The surface of point cloud data can usually be better approximated by a plane or a curved surface, so the surface-based distance metric is closer to the actual geometric shape of the data, which makes point cloud registration more physically meaningful when processing actual scene data, and also makes the convergence speed faster and the accuracy higher.

[0129] S7: transforming the direction and position of the 3D frame by the Rt matrix, and replacing the interpolated 3D frame at the corresponding position to obtain a 3D prediction frame;

[0130] Specifically, the transformation is as follows:

[0131]

[0132] in The result of transforming the transformation matrix of the key 3D frame by the Rt matrix, which contains the rotation matrix R and the translation vector t, converting the rotation matrix R into Euler angles , convert the translation vector t into coordinates , plus the size inherited from the key 3D box, we get the 3D prediction box.

[0133] The 3D prediction frame is obtained by transforming the key 3D frame according to the Rt matrix. The accurate Rt matrix has been obtained in the previous step, which can accurately transform the position and direction of the key 3D frame and provide an accurate 3D prediction frame for the final result.

[0134] Corresponding to the aforementioned embodiment of the 4D dynamic object interactive annotation method based on time series data, the present application also provides an embodiment of a 4D dynamic object interactive annotation device based on time series data.

[0135] Figure 2 4D dynamic object interactive annotation device based on time series data is shown in FIG. Figure 2 , the device comprises:

[0136] The first coordinate conversion module 1 is used to convert multiple frames of local point clouds in the same time series into the same global coordinate system using corresponding postures to obtain a global point cloud in the same time series;

[0137] A selection module 2 is used to select a key frame for a certain dynamic object sequence in the global point cloud according to the trajectory of the dynamic object sequence, and manually mark the key 3D frame of the dynamic object in the key frame;

[0138] An interpolation module 3 is used to interpolate the remaining frames based on the key 3D frame to obtain an interpolated 3D frame;

[0139] A second coordinate conversion module 4 is used to convert the key 3D frame and the interpolation 3D frame into a local coordinate system through corresponding postures, and obtain a potential dynamic object point set according to the size of the 3D frame;

[0140] A clustering module 5 is used to cluster the point sets in each interpolation 3D frame and the key 3D frame based on the potential dynamic object point set, so as to obtain the point sets of the dynamic objects in the 3D frames of the dynamic object sequence, wherein the key 3D frame is the key point set and the interpolation 3D frame is the interpolation point set;

[0141] A registration module 6 is used to perform point cloud registration on the interpolation point set and two adjacent key point sets to obtain an Rt matrix from the key point set to the interpolation point set;

[0142] The 3D frame conversion module 7 is used to transform the direction and position of the key 3D frame through the Rt matrix, and replace the interpolated 3D frame at the corresponding position to obtain the 3D prediction frame.

[0143] Accordingly, the present application also provides an electronic device, comprising: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned 4D dynamic object interactive annotation method based on time series data. Figure 3 As shown, a hardware structure diagram of a 4D dynamic object interactive annotation device based on time series data provided by an embodiment of the present invention is provided in any device with data processing capability, except Figure 3 In addition to the processor and memory shown, any device with data processing capability in which the apparatus in the embodiment is located may also include other hardware, generally based on the actual functions of the device with data processing capability, which will not be described in detail.

[0144] Accordingly, the present application also provides a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by the processor, the 4D dynamic object interactive annotation method based on time series data as described above is implemented. The computer-readable storage medium can be an internal storage unit of any device with data processing capabilities described in any of the foregoing embodiments, such as a hard disk or a memory. The computer-readable storage medium can also be an external storage device of a wind turbine, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), an SD card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium can also include both an internal storage unit and an external storage device of any device with data processing capabilities. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capabilities, and can also be used to temporarily store data that has been output or is to be output.

[0145] Those skilled in the art will readily appreciate other embodiments of the present application after considering the description and practicing the contents disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The description and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.

[0146] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A 4D dynamic object interactive annotation method based on time series data, characterized in that: include: The local point clouds of multiple frames in the same time series are transferred to the same global coordinate system using the corresponding poses to obtain the global point cloud in the same time series; In the global point cloud, for a certain dynamic object sequence, a key frame is selected according to the trajectory of the dynamic object sequence, and a key 3D frame of the dynamic object is manually marked in the key frame; Based on the key 3D frame, interpolating the remaining frames to obtain an interpolated 3D frame; The key 3D frame and the interpolation 3D frame are transferred to the local coordinate system through corresponding postures, and a potential dynamic object point set is obtained according to the size of the 3D frame; Based on the potential dynamic object point set, clustering the point sets in each interpolation 3D frame and the key 3D frame respectively, to obtain the point sets of the dynamic objects in the 3D frames of the dynamic object sequence, the key 3D frame is the key point set, and the interpolation 3D frame is the interpolation point set; Performing point cloud registration on the interpolation point set and the two adjacent key point sets to obtain an Rt matrix from the key point set to the interpolation point set; The direction and position of the key 3D frame are transformed by the Rt matrix, and the interpolated 3D frame at the corresponding position is replaced to obtain the 3D prediction frame; The interpolation point set and the two adjacent key point sets are point cloud registered to obtain the Rt matrix from the key point set to the interpolation point set, including: Two coarse registration results are obtained by using two adjacent key 3D boxes to calculate the Rt matrix of the interpolated 3D box respectively; The rough registration result of two adjacent key frames is used as the initial transformation matrix, and the normal information of the nearest point is used to construct the residual and Jacobian matrices; Construct the least squares problem based on the Jacobian matrix and solve it to minimize the residual; Update the transformation matrix according to the solution result, check the convergence and finally get two precise registration results; Compare the minimized residual values ​​of the two precise registration cloud results, and select the precise registration result with the smaller residual value as the Rt matrix from the key point set to the interpolation point set.

2. The 4D dynamic object interactive annotation method according to claim 1, characterized in that: Select key frames according to the trajectory of the dynamic object sequence, including: According to the trajectory of the dynamic object in the global coordinate system, the first frame, the last frame and the midpoint of the trajectory arc are selected as key frames.

3. The 4D dynamic object interactive annotation method according to claim 1, characterized in that: Based on the key 3D frame, interpolating the remaining frames to obtain an interpolated 3D frame includes: Based on the key 3D frame, spherical linear interpolation is performed on the directions of the remaining frames, Gaussian smoothing interpolation is performed on the positions, and the sizes are inherited from the key 3D frame.

4. The 4D dynamic object interactive annotation method according to claim 1, characterized in that: The key 3D frame and the interpolated 3D frame are transferred to the local coordinate system through the corresponding poses, and the potential dynamic object point set is obtained according to the size of the 3D frame, including: Multiply the key 3D frame and the interpolated 3D frame by the inverse of the pose matrix to obtain the key 3D frame and the interpolated 3D frame in the local coordinate system; The sizes of the key 3D box and the interpolated 3D box in the local coordinate system are enlarged, and the point sets therein are used as potential dynamic object point sets.

5. The 4D dynamic object interactive annotation method according to claim 1, characterized in that: Cluster the point sets in each interpolated 3D frame and the key 3D frame to obtain the point sets of dynamic objects in the 3D frame of the dynamic object sequence, including: Cluster the points in each interpolated 3D box and the key 3D box to obtain multiple clusters of point sets, and take the cluster with the largest number of points as the point set of the dynamic object in the 3D box of the dynamic object sequence.

6. The 4D dynamic object interactive annotation method according to claim 1, characterized in that: The direction and position of the key 3D frame are transformed by the Rt matrix, and the interpolated 3D frame at the corresponding position is replaced to obtain the 3D prediction frame, including: The key 3D frame is rotated accordingly using the rotation matrix R, and the key 3D frame is translated accordingly using the translation vector t to obtain a 3D prediction frame at the corresponding position, wherein the Rt matrix includes the rotation matrix R and the translation vector t.

7. A 4D dynamic object construction and pre-labeling device based on time series data, characterized in that: include: The first coordinate conversion module is used to convert multiple frames of local point clouds in the same time series into the same global coordinate system using corresponding postures to obtain a global point cloud in the same time series; A selection module is used to select a key frame for a certain dynamic object sequence in the global point cloud according to the trajectory of the dynamic object sequence, and manually mark the key 3D frame of the dynamic object in the key frame; An interpolation module, configured to interpolate the remaining frames based on the key 3D frame to obtain an interpolated 3D frame; A second coordinate conversion module is used to convert the key 3D frame and the interpolation 3D frame into a local coordinate system through corresponding postures, and obtain a potential dynamic object point set according to the size of the 3D frame; A clustering module is used to cluster the point sets in each interpolation 3D frame and the key 3D frame based on the potential dynamic object point set, so as to obtain the point sets of the dynamic objects in the 3D frames of the dynamic object sequence, wherein the key 3D frame is the key point set and the interpolation 3D frame is the interpolation point set; A registration module is used to perform point cloud registration on the interpolation point set and two adjacent key point sets to obtain an Rt matrix from the key point set to the interpolation point set; A 3D frame conversion module, used to transform the direction and position of the key 3D frame through the Rt matrix, and replace the interpolated 3D frame at the corresponding position to obtain a 3D prediction frame; The interpolation point set and the two adjacent key point sets are point cloud registered to obtain the Rt matrix from the key point set to the interpolation point set, including: Two coarse registration results are obtained by using two adjacent key 3D boxes to calculate the Rt matrix of the interpolated 3D box respectively; The rough registration result of two adjacent key frames is used as the initial transformation matrix, and the normal information of the nearest point is used to construct the residual and Jacobian matrices; Construct the least squares problem based on the Jacobian matrix and solve it to minimize the residual; Update the transformation matrix according to the solution result, check the convergence and finally get two precise registration results; Compare the minimized residual values ​​of the two precise registration cloud results, and select the precise registration result with the smaller residual value as the Rt matrix from the key point set to the interpolation point set.

8. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Laser point cloud registration method

    CN112017219A

  • Three-dimensional model reconstruction method based on curved surface segmentation and ICP registration algorithm

    CN115170625A

  • Point cloud registration method based on improved FPFH-ICP

    CN115861397A

  • Method for acquiring robot laser odometer based on dynamic target tracking

    CN116736330A

  • Data annotation method and system based on multi-domain adaptive data closed loop

    CN117390454A