A vehicle pose determination and target labeling method, device, equipment and medium
By assigning static confidence to points in a point cloud sequence and constructing a joint energy function to iteratively update pose and bounding boxes, the problem of misjudging dynamic point clouds in vehicle pose optimization is solved, thereby improving pose accuracy and target detection accuracy and enhancing the quality of point cloud maps.
Patent Information
- Application Number
- CN202611692769.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, vehicle pose optimization methods are prone to misjudging dynamic point clouds as static environmental features in dense traffic scenarios, resulting in inaccurate pose results and affecting the quality of point cloud maps and subsequent 3D object detection and recognition.
Assign static confidence to points in the point cloud sequence, construct a joint energy function with the vehicle pose sequence and the target box sequence as independent variables, iteratively update the pose sequence and the target box sequence until the iteration termination condition is met, optimize the target box with the updated pose and correct the pose in reverse.
It improves pose accuracy and target detection accuracy, reduces misalignment during multi-frame point cloud fusion, and enhances point cloud imaging quality and the accuracy of 3D target detection.
Smart Images

Figure CN123181582A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of point cloud data annotation, and in particular to a method, apparatus, device and medium for vehicle pose determination and target annotation. Background Technology
[0002] Currently, with the rapid development of technologies such as autonomous driving and intelligent robots, the requirements for target annotation systems based on point cloud maps are becoming increasingly complex. Point cloud pose optimization is used to provide a geometric reference for target annotation, ensuring a unified coordinate system and consistency across different frames. For example, in autonomous driving scenarios, self-driving cars use LiDAR to scan their surroundings, forming a "point cloud" composed of millions of points. Because the vehicle is moving, each frame of the point cloud exists in a different coordinate system. The purpose of pose optimization is to calculate the precise position and orientation of the vehicle at each moment, enabling the point clouds from all frames to form a coherent, ghost-free 3D map.
[0003] In related technologies, target annotation systems mainly adopt a unidirectional decoupled architecture, that is, first use geometric algorithms to complete pose alignment, and then perform target annotation on the aligned point cloud. However, this method is based on the assumption that the global scene is static. In scenes with dense traffic, dynamic point clouds such as moving vehicles will be mistakenly treated as static environmental features and included in the alignment. The temporal position of dynamic point clouds is constantly changing, and after multiple frames are superimposed, large areas of ghosting and trailing shadows will appear on the point cloud map, facing the problem of vehicle positioning trajectory deviation. Moreover, the pose result will affect the detection result, but the detection result cannot correct the pose. Inaccurate pose will cause misalignment in the fusion of multi-frame point clouds, degrade the point cloud imaging quality, and thus lead to the degradation of the subsequent 3D target detection and recognition effect. Summary of the Invention
[0004] To address the aforementioned problems in related technologies, this disclosure provides a method, apparatus, device, and medium for vehicle pose determination and target annotation.
[0005] The first aspect of this disclosure provides a method for vehicle pose determination and target annotation, comprising: acquiring a point cloud sequence of an object to be annotated, and assigning static confidence to points in the point cloud sequence, wherein the static confidence indicates the degree to which the point is static; based on the static confidence, constructing a joint energy function with the vehicle pose sequence and the target box sequence as independent variables, and iteratively updating the pose sequence and the target box sequence based on the joint energy function until a pose sequence and a target box sequence satisfying the iteration termination condition are obtained, wherein the target boxes are used to annotate the target to be annotated; wherein the process of iteratively updating the pose sequence and the target box sequence includes at least the following steps: updating the pose sequence based on the joint energy function, updating the target box sequence based on the updated pose sequence, updating the static confidence based on the updated target box sequence, and updating the joint energy function based on the updated static confidence.
[0006] In some implementations, constructing a joint energy function with the vehicle pose sequence and the target box sequence as independent variables based on the static confidence level includes: obtaining the joint energy function by weighted summation based on multiple constraint terms; the multiple constraint terms include: constraint terms with the pose sequence as independent variables, constraint terms with the target box sequence as independent variables, and constraint terms with the pose sequence and the target box sequence as independent variables; at least one of the multiple constraint terms is determined based on the static confidence level of the current iteration round.
[0007] In some implementations, the constraints with the pose sequence as the independent variable include at least one of the following: geometric alignment constraints, reflecting whether static points in the point cloud sequence overlap; inertial measurement constraints, wherein the vehicle includes an inertial measurement unit (IMU) for sensing the instantaneous acceleration and steering speed of the vehicle, reflecting whether the trajectory of the target corresponding to the same bounding box conforms to the physical motion law sensed by the IMU; the constraints with the bounding box sequence as the independent variable include: physical size constraints, reflecting whether the size of the bounding box conforms to the size range of the corresponding category of the bounding box, wherein the corresponding category of the bounding box is determined based on a predefined set of target categories; the constraints with the pose sequence and the bounding box sequence as independent variables include: target tracking constraints, reflecting whether the position and orientation of the target corresponding to the same bounding box on the point cloud in the point cloud sequence change smoothly.
[0008] In some implementations, the joint energy function is determined based on the following formula: ;in, For pose sequence, For the target bounding box sequence, The value of the joint energy function. For geometric alignment constraints, For target tracking constraints, Due to physical size constraints, For inertial measurement constraints, , , To adjust the weights.
[0009] In some implementations, updating the pose sequence based on the joint energy function includes: mapping each transformation matrix in the pose sequence to a tangent space vector, and calculating the derivative information of the joint energy function with respect to the tangent space vector; updating the pose sequence based on the derivative information to obtain an updated pose sequence.
[0010] In some implementations, updating the bounding box sequence based on the updated pose sequence includes: fixing the updated pose sequence; fusing the point cloud in the point cloud sequence into a global coordinate system based on the updated pose sequence; dynamically dividing the space according to the distribution of points in the global coordinate system to obtain multiple spatial units; extracting feature data from the multiple spatial units to obtain spatial features; fusing and enhancing the spatial features based on the signal-to-noise ratio of the spatial features; and obtaining the updated bounding box sequence based on the fused and enhanced spatial features.
[0011] In some implementations, updating the static confidence level based on the updated target box sequence includes: assigning initial confidence values to the points based on the spatial relationship between the points in the point cloud sequence and the target boxes in the updated target box sequence, obtaining a first initial confidence value assigned to points within the target box space and a second initial confidence value assigned to points outside the target box space; superimposing a distance adjustment value on the first initial confidence value and the second initial confidence value to obtain the updated static confidence level; the distance adjustment value is determined based on the distance between the points in the point cloud sequence and the center of the target box, and the smaller the distance, the smaller the distance adjustment value.
[0012] A second aspect of this disclosure provides a vehicle pose determination and target annotation apparatus, comprising: an acquisition unit, configured to acquire a point cloud sequence of an object to be annotated, and assign static confidence to points in the point cloud sequence, wherein the static confidence indicates the degree to which the point is static; and a processing unit, configured to construct a joint energy function based on the static confidence, wherein the vehicle pose sequence and the target box sequence are independent variables, and iteratively update the pose sequence and the target box sequence based on the joint energy function until a pose sequence and a target box sequence satisfying the iteration termination condition are obtained, wherein the target boxes are used to annotate the target to be annotated; wherein the process of iteratively updating the pose sequence and the target box sequence includes at least the following steps: updating the pose sequence based on the joint energy function, updating the target box sequence based on the updated pose sequence, updating the static confidence based on the updated target box sequence, and updating the joint energy function based on the updated static confidence.
[0013] In some implementations, the processing unit constructs a joint energy function with the vehicle's pose sequence and the target box sequence as independent variables based on the static confidence level in the following manner: the joint energy function is obtained by weighted summation based on multiple constraint terms; the multiple constraint terms include: constraint terms with the pose sequence as independent variables, constraint terms with the target box sequence as independent variables, and constraint terms with the pose sequence and the target box sequence as independent variables; at least one of the multiple constraint terms is determined based on the static confidence level of the current iteration round.
[0014] In some implementations, the constraints with the pose sequence as the independent variable include at least one of the following: geometric alignment constraints, reflecting whether static points in the point cloud sequence overlap; inertial measurement constraints, wherein the vehicle includes an inertial measurement unit (IMU) for sensing the instantaneous acceleration and steering speed of the vehicle, reflecting whether the trajectory of the target corresponding to the same bounding box conforms to the physical motion law sensed by the IMU; the constraints with the bounding box sequence as the independent variable include: physical size constraints, reflecting whether the size of the bounding box conforms to the size range of the corresponding category of the bounding box, wherein the corresponding category of the bounding box is determined based on a predefined set of target categories; the constraints with the pose sequence and the bounding box sequence as independent variables include: target tracking constraints, reflecting whether the position and orientation of the target corresponding to the same bounding box on the point cloud in the point cloud sequence change smoothly.
[0015] In some implementations, the joint energy function is determined based on the following formula: ;in, For pose sequence, For the target bounding box sequence, The value of the joint energy function. For geometric alignment constraints, For target tracking constraints, Due to physical size constraints, For inertial measurement constraints, , , To adjust the weights.
[0016] In some implementations, the processing unit updates the pose sequence based on the joint energy function in the following manner: mapping each transformation matrix in the pose sequence to a tangent space vector, and calculating the derivative information of the joint energy function with respect to the tangent space vector; updating the pose sequence based on the derivative information to obtain the updated pose sequence.
[0017] In some implementations, the processing unit updates the bounding box sequence based on the updated pose sequence in the following manner: fixing the updated pose sequence, fusing the point cloud in the point cloud sequence into a global coordinate system according to the updated pose sequence; dynamically dividing the space according to the distribution of points in the global coordinate system to obtain multiple spatial units; extracting feature data from the multiple spatial units to obtain spatial features; fusing and enhancing the spatial features based on the signal-to-noise ratio of the spatial features; and obtaining the updated bounding box sequence based on the fused and enhanced spatial features.
[0018] In some implementations, the processing unit updates the static confidence level based on the updated target box sequence as follows: Based on the spatial relationship between points in the point cloud sequence and target boxes in the updated target box sequence, an initial confidence level is assigned to each point, resulting in a first initial confidence level assigned to points within the target box space and a second initial confidence level assigned to points outside the target box space; based on the first and second initial confidence levels, a distance adjustment value is superimposed to obtain the updated static confidence level; the distance adjustment value is determined based on the distance between points in the point cloud sequence and the center of the target box, with smaller distances resulting in smaller distance adjustment values.
[0019] A third aspect of this disclosure provides an electronic device, comprising: a memory for storing instructions; and a processor for invoking the instructions stored in the memory to execute the method described in the first aspect or any embodiment of the first aspect.
[0020] A fourth aspect of this disclosure provides a storage medium having instructions stored thereon, which, when executed by a processor, perform the method described in the first aspect or any embodiment of the first aspect.
[0021] In this embodiment, a point cloud sequence of the object to be labeled is obtained, and static confidence levels are assigned to the points in the point cloud sequence. Assigning static confidence levels to the point cloud can effectively suppress the interference of dynamic points on pose alignment. Based on the static confidence levels, a joint energy function is constructed with the vehicle's pose sequence and the target box sequence as independent variables. The pose sequence and the target box sequence are iteratively updated based on the joint energy function until a pose sequence and a target box sequence that satisfy the iteration termination condition are obtained. The updated pose can be used to optimize the target boxes, and the static confidence levels can be updated based on the updated target boxes to correct the pose in reverse, thereby improving pose accuracy and target detection accuracy.
[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0023] The above and other objects, features, and advantages of embodiments of this disclosure will become readily apparent upon reading the following detailed description with reference to the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which: Figure 1 A flowchart illustrating a vehicle pose determination and target annotation method according to some embodiments of the present disclosure is shown.
[0024] Figure 2 A flowchart illustrating the alternating correction of pose and target box according to some embodiments of the present disclosure is shown.
[0025] Figure 3This is a block diagram illustrating a vehicle pose determination and target labeling device according to some embodiments of the present disclosure.
[0026] Figure 4 This is a schematic diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0027] The principles and spirit of this disclosure will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are given merely to enable those skilled in the art to better understand and implement this disclosure, and are not intended to limit the scope of this disclosure in any way.
[0028] The embodiments described in the following examples of this disclosure are not representative of all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0029] The vehicle pose determination and target labeling method provided in some embodiments of this disclosure is applied to scenarios of detecting and labeling surrounding targets during autonomous driving.
[0030] In related technologies, a common assumption is that the entire scene is static. However, in dense traffic scenarios, dynamic point clouds, such as those from moving vehicles, are mistakenly treated as static environmental features and used in inter-frame matching. The temporal positions of these dynamic point clouds continuously change, resulting in large-area ghosting and trailing shadows in the point cloud map after multiple frames are superimposed. Simultaneously, dynamic noise continuously interferes with pose determination, ultimately causing vehicle positioning trajectory deviations. Furthermore, registration is performed solely based on the geometric shapes of point clouds such as road surfaces and walls, first optimizing the pose and then performing target detection based on the optimized point cloud. These two steps are unidirectionally connected; the pose result affects the detection result, but the detection result cannot, in turn, correct the pose. Inaccurate pose leads to misalignment during multi-frame point cloud fusion, degrading point cloud imaging quality and consequently worsening the performance of subsequent 3D target detection and recognition.
[0031] In view of this, some embodiments of this disclosure provide a vehicle pose determination and target annotation method, which assigns static confidence to each point in a point cloud sequence and alternately optimizes the target bounding box sequence and pose sequence in the same update cycle. It can optimize the target bounding box using the updated pose and correct the pose based on the updated target bounding box, thereby improving the pose accuracy and target detection accuracy.
[0032] Figure 1 This is a flowchart illustrating a vehicle pose determination and target annotation method according to some embodiments of this disclosure, such as... Figure 1 As shown, it includes the following steps.
[0033] In step S101, the point cloud sequence of the object to be labeled is obtained.
[0034] In some embodiments, a series of consecutive multi-frame point cloud sequences are obtained based on 3D LiDAR measurements of the vehicle. During operation, a lidar system continuously emits lasers into its surroundings and records the measurement results as a large number of three-dimensional points, which together form a "point cloud." Each frame of the point cloud records the spatial location of targets such as roads, buildings, vehicles, and pedestrians in the current frame.
[0035] In some embodiments, an initial pose sequence is obtained based on a navigation and positioning system. The navigation and positioning system includes the Global Navigation Satellite System (GNSS) and the Inertial Navigation System (INS). GNSS and INS can provide the approximate position and orientation of a vehicle at any given time, but the data obtained in this way is affected by signal blockage, equipment errors, and error accumulation, and therefore can only serve as an initial reference.
[0036] In step S102, static confidence is assigned to each point in the point cloud sequence.
[0037] In some embodiments, static confidence is assigned to each point in the point cloud sequence based on its microscopic features. Static confidence represents the degree to which a point in the point cloud is static. The point cloud includes stationary objects such as roads and buildings, as well as moving objects such as vehicles and pedestrians. Stationary objects are used as references for point cloud alignment, while moving objects can interfere with pose calculation. Static confidence weights are assigned to each point based on the shape features surrounding it and whether the surface orientation of that point is stable in adjacent frames.
[0038] In some embodiments, points in suspected static areas such as roads and walls are given higher weights, while points in suspected moving objects or unstable areas are given lower weights. This step does not directly delete any points, but rather reduces the impact of suspected dynamic points on subsequent pose calculations.
[0039] In some embodiments, the initial stage utilizes point cloud microscopic features to separate suspected dynamic interference based on the following formula:
[0040] in, For the first Frame number The initial static credibility weights of each point. This represents a high-probability static value. Values that indicate a high probability of dynamic values. For example, 0.9 indicates a high probability of static values, and 0.1 indicates a high probability of dynamic values. For point The local curvature is obtained by calculating the eigenvalues of the covariance matrix through local neighborhood points. This is the curvature threshold, for example, the curvature corresponding to a flat road surface. The angle between the normal vector of the current point and the corresponding point in the adjacent time frame is used to determine whether the surface orientation of the point is stable in the adjacent frame. The threshold value is the angle between the normal vectors.
[0041] In step S103, a joint energy function with the vehicle pose sequence and the target box sequence as independent variables is constructed based on static confidence.
[0042] In some embodiments, the target bounding box is a geometric box that describes the position, size, and orientation of the target object, and the initial target bounding box sequence has a length of 0.
[0043] In some embodiments, pose is represented as a three-dimensional special Euclidean group. , It describes rigid body transformations in three-dimensional space, namely translations and rotations that do not change the shape and size of an object. An element in a is usually represented as a Transformation matrix :
[0044] It contains two core parts, (Rotation) is The rotation matrix belongs to the special orthogonal group. It must satisfy And the determinant is . (Translation) The translation vector describes the displacement in space.
[0045] In some embodiments, the joint energy function is obtained by weighted summation of multiple constraint terms. These multiple constraint terms include: a constraint term with the pose sequence as the independent variable, a constraint term with the target box sequence as the independent variable, and a constraint term with both the pose sequence and the target box sequence as independent variables. At least one of the multiple constraint terms is determined based on the current static confidence level.
[0046] In some embodiments, the joint energy function uses the pose sequence and the bounding box sequence as independent variables to solve for the pose sequence and the bounding box sequence by minimizing the function value of the following joint energy function:
[0047] in, For pose sequence, For the target bounding box sequence, This represents the optimization error between the pose sequence and the bounding box sequence, and is used as the function value of the joint energy function. For geometric alignment constraints, it reflects whether static structures such as roads and walls in adjacent frames accurately overlap. For target tracking constraints, it reflects whether the position and orientation of the same target change smoothly in consecutive frames. For physical size constraints, it reflects whether the size of the target box conforms to the size range of the corresponding category. The corresponding category is determined based on a predefined set of target categories. As an inertial measurement constraint, the inertial measurement unit (IMU) can sense the instantaneous acceleration and steering speed of the vehicle. This constraint reflects whether the trajectory optimized by the point cloud conforms to the physical motion laws sensed by the IMU. , , To adjust the weights.
[0048] In step S104, the pose sequence and the target box sequence are iteratively updated based on the joint energy function until the pose sequence and the target box sequence that satisfy the iteration termination condition are obtained.
[0049] In some embodiments, the process of iteratively updating the pose sequence and the bounding box sequence includes the following steps: updating the pose sequence based on the joint energy function, updating the bounding box sequence based on the updated pose sequence, updating the static confidence based on the updated bounding box sequence, and updating the joint energy function based on the updated static confidence.
[0050] In some embodiments, the above update loop is repeated until the iteration condition is met, and the pose sequence and target box sequence at this time are output.
[0051] In some embodiments, the optimized pose sequence is output. Sequence of 3D bounding boxes corresponding to each frame of point cloud .
[0052] In this embodiment, by assigning static confidence to points in the point cloud sequence, the interference of dynamic points on pose alignment can be effectively suppressed. The pose sequence and target box sequence are iteratively updated based on the joint energy function until the pose sequence and target box sequence satisfy the iteration termination condition. The updated pose can be used to optimize the target boxes, and the static confidence can be updated based on the updated target boxes to correct the pose in reverse, thereby improving pose accuracy and target detection accuracy.
[0053] In some embodiments, the detailed definitions and parameter descriptions of the four constraints in the joint energy function are as follows.
[0054] In some embodiments, geometric alignment constraints A normal vector is introduced to enhance the constraint between the point and the surface, thus resisting longitudinal sliding error. It is determined using the following formula:
[0055] in, : No. Frame to global coordinate system Pose transformation matrix. For the first The first frame One point. For sequence length, For the first in the sequence The number of points within a frame. The nearest neighbor matching function represents the point. Projected onto target frame The nearest matching point found later . Matching points in the target frame The normal vector of the local surface. This represents the static credibility weight of this point in the current iteration.
[0056] In some embodiments, target tracking constraints The center coordinates of the target ( ) and orientation angle Treated as virtual semantic anchors, the pose is constrained in reverse and determined using the following formula:
[0057] in, , : No. Frame and the Frame to global coordinate system Pose transformation matrix. In the first Frame and the A set of valid tracking target IDs that have successfully completed data association between frames. For the goal In the The 3D bounding box center coordinates and orientation angle of the frame. This represents the linear velocity vector and angular velocity of the target in the global coordinate system, estimated from historical frames. This is the inter-frame sampling time. This is the balance coefficient between orientation angle error and translation error.
[0058] In some embodiments, physical size constraints The physical dimensions of the target bounding box are determined using the Mahalanobis distance constraint, and the following formula is used:
[0059] in, Predict the size vector for the target box (Length, width, height). The category to which this target belongs The prior average size vector of a car (e.g.). For category The prior size covariance matrix ( A diagonal matrix, where the diagonal elements are the variances of its length, width, and height. This is used to differentiate and penalize large deviations in different dimensions, and can be obtained through statistics.
[0060] In some embodiments, inertial measurement constraints The trajectory optimized from the point cloud must conform to the physical motion laws observed by the IMU (such as acceleration and angular velocity), and is determined using the following formula:
[0061] in, The predictive transformation is derived by integrating kinematic formulas using IMU measurements (acceleration, angular velocity). To be The operation of mapping the pose error matrix to a 6-dimensional Lie algebra vector. This is the covariance matrix (information matrix) of the IMU, used to weight the observation noise of the IMU. The more accurate the IMU, the greater the weight.
[0062] In this embodiment of the disclosure, by combining geometric features and semantic features, the vehicle pose and the target bounding box simultaneously satisfy geometric relationships, target motion laws and actual physical laws, thereby improving the perception capability in weak feature scenes.
[0063] The following embodiments of this disclosure describe the method of alternating optimization of pose and bounding box.
[0064] In some embodiments, vehicle pose and bounding box annotations influence each other, and the joint energy function alternately optimizes the bounding box sequence and pose sequence within the same loop.
[0065] Figure 2 This is a flowchart illustrating the alternating correction of pose and target bounding box according to some embodiments of this disclosure, such as... Figure 2 As shown, the process includes the following steps, which are repeated until the preset conditions for optimization are met.
[0066] In step S201, the pose is optimized.
[0067] In some embodiments, each transformation matrix in the initial pose sequence is mapped to a tangent space vector, and the derivative information of the joint energy function with respect to the tangent space vector is calculated. The initial pose sequence is updated based on the derivative information to obtain the updated pose sequence.
[0068] In some embodiments, the current target bounding box is temporarily fixed, and the position and orientation of the acquisition vehicle are corrected based on the static point cloud, target trajectory, and IMU data.
[0069] In some embodiments, since The pose matrix manifold space does not satisfy the additive closure property, making direct differentiation and finding the extrema impossible. This disclosure adopts an Expectation Maximization (EM)-like algorithm, obtaining a local optimum by alternately calculating the expectation and updating the parameters. Specifically, this disclosure uses an exponential mapping to transform into the Lie algebra tangent space for optimization.
[0070] In some embodiments, Lie algebras are high-order mathematical tools for handling rotations and translations. Rotations in three-dimensional space cannot be directly added or subtracted; they need to be mapped to a vector space where arithmetic operations can be performed using Lie algebras to facilitate complex mathematical optimizations. In this embodiment, complex three-dimensional rotations and translations are transformed into six easily computable, minute adjustment quantities based on Lie algebras, and then the pose is updated incrementally.
[0071] In some embodiments, the homogeneous pose matrix Mapped to an unconstrained 6-dimensional Lie algebra vector (Includes 3D rotation vectors) and 3D translation ):
[0072] In some embodiments, the joint energy function along The derivative of the Jacobian matrix is calculated, and the small pose increment is calculated using the Levenberg-Marquardt (LM) algorithm. Update pose using matrix multiplication:
[0073] in, For the updated pose, The pose before the update. For small increments of pose The transformation matrix.
[0074] In step S202, the target bounding box is optimized.
[0075] In some embodiments, the updated pose sequence is fixed, and the point cloud is fused to a global coordinate system based on the updated pose sequence. The space is dynamically divided according to the distribution of points in the global coordinate system to obtain multiple spatial units. Feature data of multiple spatial units are extracted to obtain spatial features. The spatial features are fused and enhanced based on the signal-to-noise ratio of the spatial features, and an updated target box sequence is obtained based on the fused and enhanced spatial features.
[0076] In some embodiments, the temporal frame point cloud is based on The data is fused to the global coordinate system. Input a dynamically voxelized network, such as a Dynamic Sparse Voxel Transformer with Rotated Sets (DSVT) or a Linear Group Recurrent Neural Network (LION), and regenerate 3D target candidate boxes using the improved signal-to-noise ratio from the fusion. Then, Kalman filtering and the Hungarian algorithm are run to update the tracking ID set. and its status .
[0077] In some embodiments, this step involves performing an implicit descent of the joint energy function, which essentially means re-finding the joint energy function. and The local minimum points of the two terms.
[0078] In step S203, the static confidence weight is updated.
[0079] In some embodiments, the static confidence of each point in the point cloud sequence is updated based on the target boxes in the updated target box sequence.
[0080] In some embodiments, based on newly detected high-confidence bounding boxes, it is determined which points belong to moving targets. The spatial relationship between points in the point cloud sequence and bounding boxes in the updated bounding box sequence assigns an initial confidence value to each point. Points within the bounding box space are assigned a first initial confidence value, with static weights gradually decreasing. Points outside the bounding box space are assigned a second initial confidence value, with static weights gradually increasing. In this way, the system can gradually form more clearly defined dynamic and static regions from initial geometric inference.
[0081] In some embodiments, spatially adaptive static weight updates are performed based on the following formula to eliminate interference from dynamic point pair registration:
[0082] in, , For point exist Subsequent Static credibility weights at the next iteration. , This represents the lower bound (e.g., 0.01) and upper bound (e.g., 0.99) of the weight. For the first The three-dimensional bounding box space of each target. This is the normalized spatial distance from the point to the center of the bounding box. This is the exponential decay coefficient, which controls the smoothness of weight changes.
[0083] In some embodiments, based on the lower and upper bounds of the weights, the weights are adjusted according to the distance between the points in the point cloud sequence and the center coordinates of the target box, thereby further refining the weight values of each point in the dynamic and static regions.
[0084] In some embodiments, the above three steps constitute a closed loop: the bounding box information helps correct the pose, the new pose helps re-fuse the point cloud and improve the bounding box detection results, and the new detection results further improve the dynamic and static segmentation. Through multiple rounds of alternation, the value of the joint energy function is less than a preset threshold. The pose and pre-annotation results ultimately meet the preset conditions.
[0085] In some embodiments, multi-scale post-processing and output perform temporal non-maximum suppression (NMS) to eliminate frame fragmentation and ghosting, and the final output includes And the target bounding box sequence with a unique tracking ID, and the optimized pose sequence.
[0086] In this embodiment, through bidirectional closed-loop feedback between pose and bounding box annotation state, semantic conflicts of the target (such as size abnormalities or uneven trajectory) can provide a calibration gradient in reverse. This architecture enables the system to automatically correct itself from incorrect poses. The bounding box recognition result is not merely an output, but can also correct the pose in reverse. This self-calibration capability enables the annotation system to correct initial pose errors, reducing manual intervention.
[0087] Based on the same concept, this disclosure also provides a vehicle pose determination and target labeling device 100.
[0088] It is understood that the vehicle pose determination and target annotation device 100 provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solution of this disclosure.
[0089] Figure 3 This is a block diagram of a vehicle pose determination and target marking device 100 according to some embodiments of the present disclosure. (Refer to...) Figure 3 The device includes: an acquisition unit 101, used to acquire a point cloud sequence of the object to be labeled, and assign static confidence to the points in the point cloud sequence, wherein the static confidence represents the degree to which a point is static; and a processing unit 102, used to construct a joint energy function with the vehicle pose sequence and the target box sequence as independent variables based on the static confidence, and iteratively update the pose sequence and the target box sequence based on the joint energy function until a pose sequence and a target box sequence that satisfy the iteration termination condition are obtained, wherein the target box is used to label the target to be labeled; wherein the process of iteratively updating the pose sequence and the target box sequence includes at least the following steps: updating the pose sequence based on the joint energy function, updating the target box sequence based on the updated pose sequence, updating the static confidence based on the updated target box sequence, and updating the joint energy function based on the updated static confidence.
[0090] In some implementations, the processing unit 102 constructs a joint energy function with the vehicle pose sequence and the target box sequence as independent variables based on static confidence in the following manner: the joint energy function is obtained by weighted summation based on multiple constraint terms; the multiple constraint terms include: constraint terms with pose sequence as independent variables, constraint terms with target box sequence as independent variables, and constraint terms with pose sequence and target box sequence as independent variables; at least one of the multiple constraint terms is determined based on the static confidence in the current iteration round.
[0091] In some implementations, the constraints with pose sequence as independent variables include at least one of the following: geometric alignment constraints, reflecting whether static points in the point cloud sequence overlap; inertial measurement constraints, where the vehicle includes an inertial measurement unit (IMU) for sensing the vehicle's instantaneous acceleration and steering speed, reflecting whether the trajectory of the target corresponding to the same bounding box conforms to the physical motion law sensed by the IMU; the constraints with bounding box sequence as independent variables include: physical size constraints, reflecting whether the size of the bounding box conforms to the size range of the corresponding category of the bounding box, the corresponding category of the bounding box being determined based on a predefined set of target categories; the constraints with pose sequence and bounding box sequence as independent variables include: target tracking constraints, reflecting whether the position and orientation of the target corresponding to the same bounding box on the point cloud in the point cloud sequence change smoothly.
[0092] In some implementations, the joint energy function is determined based on the following formula: ;in, For pose sequence, For the target bounding box sequence, The value of the joint energy function. For geometric alignment constraints, For target tracking constraints, Due to physical size constraints, For inertial measurement constraints, , , To adjust the weights.
[0093] In some implementations, the processing unit 102 updates the pose sequence based on the joint energy function in the following manner: mapping each transformation matrix in the pose sequence to a tangent space vector, and calculating the derivative information of the joint energy function with respect to the tangent space vector; updating the pose sequence based on the derivative information to obtain the updated pose sequence.
[0094] In some implementations, the processing unit 102 updates the target bounding box sequence based on the updated pose sequence in the following manner: fixing the updated pose sequence, fusing the point cloud in the point cloud sequence into the global coordinate system according to the updated pose sequence; dynamically dividing the space according to the distribution of points in the global coordinate system to obtain multiple spatial units; extracting feature data from multiple spatial units to obtain spatial features; fusing and enhancing the spatial features based on the signal-to-noise ratio of the spatial features; and obtaining the updated target bounding box sequence based on the fused and enhanced spatial features.
[0095] In some implementations, the processing unit 102 updates the static confidence level based on the updated target box sequence in the following manner: It assigns initial confidence values to points based on the spatial relationship between points in the point cloud sequence and target boxes in the updated target box sequence, obtaining a first initial confidence value assigned to points within the target box space and a second initial confidence value assigned to points outside the target box space; it then superimposes a distance adjustment value based on the first and second initial confidence values to obtain the updated static confidence level; the distance adjustment value is determined based on the distance between points in the point cloud sequence and the center of the target box, with smaller distances resulting in smaller distance adjustment values.
[0096] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0097] like Figure 4 The diagram shows a schematic of an electronic device 200 provided in an embodiment of this disclosure. The electronic device 200 includes a memory 201, a processor 202, and an input / output (I / O) interface 203. The memory 201 stores instructions. The processor 202 executes the vehicle pose determination and target annotation method of this disclosure by calling the instructions stored in the memory 201. The processor 202 is connected to both the memory 201 and the I / O interface 203, for example, via a bus system and / or other forms of connection mechanisms (not shown). The memory 201 can be used to store programs and data, including the program for the vehicle pose determination and target annotation method involved in this disclosure. The processor 202 executes various functional applications and data processing of the electronic device 200 by running the program stored in the memory 201.
[0098] In this embodiment of the disclosure, the processor 202 may be implemented in at least one of the following hardware forms: digital signal processor (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 202 may be one or a combination of several of the following: central processing unit (CPU) or other processing units with data processing capability and / or instruction execution capability.
[0099] The memory 201 in this embodiment may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory. The non-volatile memory may, for example, include read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD).
[0100] In this embodiment of the disclosure, the I / O interface 203 can be used to receive input instructions (such as numeric or character information, and to generate key signal inputs related to user settings and function control of the electronic device 200), and can also output various information (such as images or sounds) to the outside. In this embodiment of the disclosure, the I / O interface 203 may include one or more of the following: a physical keyboard, function keys (such as volume control keys, power buttons, etc.), a mouse, a joystick, a trackball, a microphone, a speaker, and a touch panel.
[0101] In some embodiments of this disclosure, a storage medium including instructions is also provided, such as a memory 201 including instructions, which can be executed by a processor 202 of an electronic device 200 to perform the above-described method. For example, the storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0102] It should be noted that although the terms "first," "second," etc., are used herein to describe different modules, steps, and data in the embodiments of this disclosure, these terms are only for distinguishing between different modules, steps, and data, and do not indicate a specific order or degree of importance. In fact, the terms "first," "second," etc., can be used interchangeably.
[0103] Although operations are described in a specific order in the accompanying drawings in this disclosure, it should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.
[0104] The methods and apparatus disclosed herein can be implemented using standard programming techniques, and various method steps can be implemented using rule-based logic or other logic. It should also be noted that the terms "apparatus" and "module" as used in this disclosure are intended to include implementations using one or more lines of software code and / or hardware implementations and / or devices for receiving input.
[0105] It should be understood that, unless otherwise specifically indicated, features of various embodiments of this disclosure described herein can be combined with each other. As used herein, the term "and / or" includes any one of the related listed items and any combination of two or more; "and / or" describes the association relationship between related objects, indicating that three relationships may exist, for example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Similarly, "at least one of..." includes any one of the related listed items and any combination of two or more.
[0106] Any step, operation, or procedure described herein may be performed or implemented using one or more hardware or software modules, either alone or in combination with other devices. In one embodiment, the software module is implemented using a computer program product comprising a computer-readable medium containing computer program code, which is executable by a computer processor to perform any or all of the described steps, operations, or procedures.
[0107] The foregoing description of embodiments of this disclosure has been provided for purposes of illustration and description. The foregoing description is not exhaustive and is not intended to limit this disclosure to the exact form disclosed; various modifications and variations may be made in accordance with the foregoing teachings, or may be derived from practice of this disclosure. These embodiments were chosen and described to illustrate the principles of this disclosure and its practical application, enabling those skilled in the art to utilize this disclosure in various implementations and modifications suitable for the particular purpose conceived.
Claims
1. A method for vehicle pose determination and target annotation, characterized in that, The method includes: Obtain the point cloud sequence of the object to be labeled, and assign static confidence to the points in the point cloud sequence, wherein the static confidence represents the degree to which the point is static; Based on the static confidence level, a joint energy function is constructed with the vehicle pose sequence and the target box sequence as independent variables. The pose sequence and the target box sequence are iteratively updated based on the joint energy function until the pose sequence and the target box sequence that satisfy the iteration termination condition are obtained. The target box is used to label the target to be labeled. The process of iteratively updating the pose sequence and the bounding box sequence includes at least the following steps: The pose sequence is updated based on the joint energy function, the bounding box sequence is updated based on the updated pose sequence, the static confidence level is updated based on the updated bounding box sequence, and the joint energy function is updated based on the updated static confidence level.
2. The method according to claim 1, characterized in that, The construction of a joint energy function based on the static confidence level, with the vehicle's pose sequence and the target box sequence as independent variables, includes: The joint energy function is obtained by weighted summation of multiple constraint terms; The plurality of constraint terms include at least one of the following: a constraint term with the pose sequence as the independent variable, a constraint term with the target box sequence as the independent variable, and a constraint term with both the pose sequence and the target box sequence as independent variables; At least one of the multiple constraint terms is determined based on the static credibility of the current iteration round.
3. The method according to claim 2, characterized in that, The constraint terms with the pose sequence as the independent variable include at least one of the following: geometric alignment constraint, reflecting whether static points in the point cloud sequence overlap; inertial measurement constraint, wherein the vehicle includes an inertial measurement unit, which is used to sense the instantaneous acceleration and steering speed of the vehicle, reflecting whether the target motion trajectory corresponding to the same target box conforms to the physical motion law sensed by the inertial measurement unit. The constraint terms with the target box sequence as independent variables include: physical size constraints, which reflect whether the size of the target box conforms to the size range of the target box corresponding to the category, wherein the target box corresponding to the category is determined based on a predefined set of target categories; The constraint terms with the pose sequence and the target box sequence as independent variables include: target tracking constraint, which reflects whether the position and orientation of the target corresponding to the same target box on the point cloud in the point cloud sequence change smoothly.
4. The method according to claim 2 or 3, characterized in that, The joint energy function is determined based on the following formula: ; in, For pose sequence, For the target bounding box sequence, The value of the joint energy function. For geometric alignment constraints, For target tracking constraints, Due to physical size constraints, For inertial measurement constraints, , , To adjust the weights.
5. The method according to claim 1, characterized in that, The step of updating the pose sequence based on the joint energy function includes: The transformation matrix representing the pose sequence is mapped to a tangent space vector, and the derivative of the joint energy function with respect to the tangent space vector is calculated. The pose sequence is updated based on the derivative information to obtain the updated pose sequence.
6. The method according to claim 1, characterized in that, The step of updating the target bounding box sequence based on the updated pose sequence includes: The updated pose sequence is fixed, and the point clouds in the point cloud sequence are fused into the global coordinate system based on the updated pose sequence. The space is dynamically divided based on the distribution of the point cloud in the global coordinate system to obtain multiple spatial units; Extract the feature data of the multiple spatial units to obtain spatial features; Based on the signal-to-noise ratio of the spatial features, the spatial features are fused and enhanced, and an updated target box sequence is obtained based on the fused and enhanced spatial features.
7. The method according to claim 1, characterized in that, The step of updating the static confidence based on the updated target box sequence includes: Based on the spatial relationship between the points in the point cloud sequence and the target boxes in the updated target box sequence, an initial confidence value is assigned to the points, resulting in a first initial confidence value assigned to points within the target box space and a second initial confidence value assigned to points outside the target box space. Based on the first initial confidence value and the second initial confidence value, the distance adjustment value is superimposed to obtain the updated static confidence value; The distance adjustment value is determined based on the distance between a point in the point cloud sequence and the center of the target bounding box; the smaller the distance, the smaller the distance adjustment value.
8. A vehicle pose determination and target marking device, characterized in that, The device includes: An acquisition unit is used to acquire a point cloud sequence of an object to be labeled, and to assign a static confidence level to the points in the point cloud sequence, wherein the static confidence level represents the degree to which the point is static; The processing unit is configured to construct a joint energy function with the vehicle's pose sequence and the target box sequence as independent variables based on the static confidence level, and iteratively update the pose sequence and the target box sequence based on the joint energy function until a pose sequence and a target box sequence that satisfy the iteration termination condition are obtained, wherein the target box is used to label the target to be labeled. The process of iteratively updating the pose sequence and the bounding box sequence includes at least the following steps: The pose sequence is updated based on the joint energy function, the bounding box sequence is updated based on the updated pose sequence, the static confidence level is updated based on the updated bounding box sequence, and the joint energy function is updated based on the updated static confidence level.
9. The apparatus according to claim 8, characterized in that, The processing unit constructs a joint energy function with the vehicle's pose sequence and the target box sequence as independent variables based on the static confidence level in the following manner: The joint energy function is obtained by weighted summation of multiple constraint terms; The multiple constraint terms include: constraint terms with the pose sequence as independent variables, constraint terms with the target box sequence as independent variables, and constraint terms with both the pose sequence and the target box sequence as independent variables. At least one of the multiple constraint terms is determined based on the static credibility of the current iteration round.
10. The apparatus according to claim 9, characterized in that, The constraint terms with the pose sequence as the independent variable include at least one of the following: geometric alignment constraint, reflecting whether static points in the point cloud sequence overlap; inertial measurement constraint, wherein the vehicle includes an inertial measurement unit, which is used to sense the instantaneous acceleration and steering speed of the vehicle, reflecting whether the target motion trajectory corresponding to the same target box conforms to the physical motion law sensed by the inertial measurement unit. The constraint terms with the target box sequence as independent variables include: physical size constraints, which reflect whether the size of the target box conforms to the size range of the target box corresponding to the category, wherein the target box corresponding to the category is determined based on a predefined set of target categories; The constraint terms with the pose sequence and the target box sequence as independent variables include: target tracking constraint, which reflects whether the position and orientation of the target corresponding to the same target box on the point cloud in the point cloud sequence change smoothly.
11. The apparatus according to claim 9 or 10, characterized in that, The joint energy function is determined based on the following formula: ; in, For pose sequence, For the target bounding box sequence, The value of the joint energy function. For geometric alignment constraints, For target tracking constraints, Due to physical size constraints, For inertial measurement constraints, , , To adjust the weights.
12. The apparatus according to claim 8, characterized in that, The processing unit updates the pose sequence based on the joint energy function in the following manner: Map each transformation matrix in the pose sequence to a tangent space vector, and calculate the derivative of the joint energy function with respect to the tangent space vector; The pose sequence is updated based on the derivative information to obtain the updated pose sequence.
13. The apparatus according to claim 8, characterized in that, The processing unit updates the target bounding box sequence based on the updated pose sequence in the following manner: The updated pose sequence is fixed, and the point clouds in the point cloud sequence are fused into the global coordinate system based on the updated pose sequence. The space is dynamically divided based on the distribution of points in the global coordinate system, resulting in multiple spatial units; Extract the feature data of the multiple spatial units to obtain spatial features; The spatial features are fused and enhanced based on the signal-to-noise ratio of the aforementioned spatial features; The updated target box sequence is obtained based on the fused and enhanced spatial features.
14. The apparatus according to claim 8, characterized in that, The processing unit updates the static confidence level based on the updated target box sequence in the following manner: Based on the spatial relationship between the points in the point cloud sequence and the target boxes in the updated target box sequence, an initial confidence value is assigned to the points, resulting in a first initial confidence value assigned to points within the target box space and a second initial confidence value assigned to points outside the target box space. Based on the first initial confidence value and the second initial confidence value, the distance adjustment value is superimposed to obtain the updated static confidence value; The distance adjustment value is determined based on the distance between a point in the point cloud sequence and the center of the target bounding box; the smaller the distance, the smaller the distance adjustment value.
15. An electronic device, characterized in that, The electronic device includes: Memory, used to store instructions; and A processor for invoking instructions stored in the memory to execute the method as described in any one of claims 1 to 7.
16. A storage medium storing instructions thereon, characterized in that, When the instruction is executed by the processor, the method as described in any one of claims 1 to 7 is performed.
