A laser radar point cloud target fitting algorithm

By preprocessing the lidar point cloud data and establishing the optimal bounding box function, combined with the cross-main boundary guidance algorithm, the contradiction between the speed and accuracy of the lidar point cloud target fitting algorithm is solved, and complex processing is achieved. Efficient fitting and robust detection of targets.

CN114924289BActive Publication Date: 2024-09-20YANSHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210672061.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-14
Publication Date
2024-09-20
Estimated Expiration
2042-06-14

AI Technical Summary

Technical Problem

Existing lidar point cloud target fitting algorithms are difficult to balance between speed and accuracy, especially when the target position changes and is blocked, there are problems of error and tracking loss, and cannot effectively handle the detection requirements of complex targets.

Method used

Multi-dimensional lidar point cloud data is used for preprocessing, the target is determined through rasterization, Euclidean clustering and threshold processing, the optimal surrounding border function is established, and the cross-main boundary guidance algorithm is used to handle occlusion and attitude changes, and the main boundary switching probability is determined to optimize boundary fitting.

Benefits of technology

It improves the target contour, shape attribute detection accuracy and motion parameter tracking accuracy, achieves fast and accurate fitting of lidar point cloud targets under low computing resource consumption, and enhances the robustness and adaptability of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114924289B
    Figure CN114924289B
Patent Text Reader

Abstract

The present invention discloses a laser radar point cloud target fitting algorithm, comprising the following steps: S1, pre-processing to generate target related point cloud; S2, extracting target posture type by prior shape fitting; S3, establishing optimal bounding frame function, and determining target main frame model according to prior object model; S4, adopting cross-main boundary guidance algorithm for occlusion and posture change, and establishing target prior model according to optimal bounding frame function; comparing the change trend of each boundary of the target to obtain change characteristics; determining the main boundary switching probability according to the change characteristics; re-determining the main boundary according to the main boundary switching probability, the total boundary ratio and the model threshold; determining whether to use the main boundary prediction data according to the main boundary switching probability; S5, extracting the motion and shape parameters of the target. The present invention ensures the speed of target fitting under low computing resource consumption, improves the accuracy and robustness of target fitting, and realizes the rapid fitting of laser radar point cloud targets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of environmental perception technology, and in particular to a laser radar point cloud target fitting algorithm. Background Art

[0002] As an accurate active sensor, LiDAR is often used in key tasks of environmental perception. By quickly acquiring the three-dimensional point cloud data of the target, accurate distance, depth, and reflection intensity information can be extracted. The target point cloud obtained by LiDAR is easy to process, easy to build a three-dimensional model, and easier to obtain high-precision parameters of the target. It has significant advantages over other sensors in real-time environmental perception tasks. In a road environment with intelligent driving as the goal, the technical requirements for environmental perception are higher and more diverse. The primary task of environmental perception is to confirm the information of nearby obstacles. It is necessary to distinguish the targets and obtain accurate contours, speeds, motion trajectories and other important information. At the same time, the real-time target detection platform has some restrictions on detection speed and allocable computing power. Therefore, an efficient and accurate LiDAR point cloud target fitting algorithm is needed. Target contour fitting based on bounding box is currently a commonly used target fitting algorithm. Some methods, including prior model bounding box and principal component analysis bounding box, often cannot take into account both speed and accuracy in application. When the relative position of the target changes, the change of posture and self-occlusion will cause serious errors and tracking loss. The target detection method that relies on neural networks cannot meet the detection needs of different complex targets after the demand is updated. Distinguishing between uncertain targets and uncertain environments requires a fast and extensive method to extract target features. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a laser radar point cloud target fitting algorithm, which effectively improves the detection accuracy of static parameters such as target contour and shape attributes, and the tracking accuracy of motion parameters such as target position and speed. With low computing resource consumption, the speed of target fitting is guaranteed, and the accuracy and robustness of target fitting are improved, thus realizing the rapid fitting of laser radar point cloud targets.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: a laser radar point cloud target fitting algorithm, comprising the following steps:

[0005] Step S1, pre-processing to generate target-related point cloud: the point cloud data collected by the multi-dimensional laser radar is stored in the form of a set of all point cloud coordinate data of each single frame, all point cloud coordinate data are rasterized, and Euclidean clustering is used to determine the main objects in the point cloud data. The main objects of the Euclidean clustering results are subjected to threshold processing and slope detection and identification, and unnecessary ground points, noise points, and points included in the environment are removed to obtain all points included in non-ground objects, and different targets are determined in the form of clusters;

[0006] Step S2, extracting the target posture type by prior shape fitting: comparing the prior object model with the point cloud coordinate data in terms of elevation and spatial range, determining the target object attributes, and determining all included points of the target object based on the target attributes;

[0007] Step S3, establish the optimal bounding frame function, determine the target main frame model according to the prior object model; perform convex hull fitting on all points of the target to determine the main line function; directly obtain the main boundary function for the I-type boundary; and perform secondary boundary fitting after establishing the main boundary function for the L-type boundary;

[0008] Step S4: for occlusion and posture changes, a cross-main boundary guidance algorithm is used to establish a target prior model based on the optimal bounding frame function; the change trends of each boundary of the target are compared to obtain change characteristics; the main boundary switching probability is determined based on the change characteristics; the main boundary is re-determined based on the main boundary switching probability, the total boundary ratio and the model threshold; and whether to use the main boundary prediction data is determined based on the main boundary switching probability;

[0009] Step S5: extracting the motion and shape parameters of the target.

[0010] A further improvement of the technical solution of the present invention is that the specific process of the rasterization processing in step S1 is: projecting the 3D point cloud data to the xy plane, dividing the grid blocks in 2D form, determining the features of each grid block, storing the low-resolution point cloud information in the form of grid indexes, and rasterizing function Prep for all points P(x O ,y O ) is converted to the target grid point cloud target P S (x i ,y i );

[0011] Where P is all the points in the point cloud, x O is the x-axis coordinate of the midpoint of P, y O is the y-axis coordinate of the midpoint of P, P S are all the points representing the grid blocks after rasterization, x i YesP S The x-axis coordinate of the midpoint, y i YesP S The y-coordinate of the midpoint.

[0012] The technical solution of the present invention is further improved in that: the specific process of establishing the optimal bounding frame function in step S3 is: based on the scan sorting performed by the convex hull fitting, determining the main boundary feature points and the main and secondary boundary segmentation points; the main and secondary boundary segmentation points are the features obtained from the rectangular boundary target having a right-angled triangle, and the straight line function represented by the chord of the right triangle formed by the main boundary and the secondary boundary is fitted, and the farthest point of the straight line can be determined as the main and secondary boundary segmentation points; two to-be-processed boundaries are divided into the near side boundary and the far side boundary by the main and secondary boundary segmentation points; the weights of all the points scanned and sorted in the convex hull fitting relative to the near side boundary and the far side boundary fitting straight line are calculated, and the points with the largest weights are the optimal near side boundary feature points and the optimal far side boundary feature points, and the weights of the optimal boundary feature points are determined by the following parameters F i Sure:

[0013]

[0014] Among them, F i is the optimal boundary feature point weight of the i-th point in the convex hull scanning order, D1 and D2 are the sum of the weights of all points on the near side boundary and the far side boundary, n and m are the number of convex hull points contained in the near side boundary and the far side boundary, k and r are the sequence numbers of the current near side point and the far side point, and x k ,y k are the x-axis and y-axis coordinates of the proximal point, x r ,y r are the x-axis and y-axis coordinates of the far side point, k i 、c i are the parameters generated by fitting the near-side boundary function, are the parameters generated by fitting the distal boundary function;

[0015] The distance between the optimal boundary feature point and its corresponding boundary to be processed is the effective length of the other boundary to be processed; the effective lengths of the distal boundary and the proximal boundary can be determined by the optimal proximal boundary feature point and the optimal distal boundary feature point; the boundary with the larger effective length is the main boundary, and the other boundary to be processed is the secondary boundary.

[0016] A further improvement of the technical solution of the present invention lies in that: the specific process of comparing the change trends of each boundary of the target in step S4 to obtain the change characteristics is: the reasons for the change of the target boundary box include the change of the target's posture relative to the observer or the occlusion points of other objects or the target itself, and the target boundary change trend is obtained by the change rate of the length of the main boundary and the secondary boundary of the target, and the following judgment is made: a single boundary mutation and an abnormal decrease in the total amount of the target point cloud indicate an occlusion or an accident; a change in the main and secondary boundaries at a fixed ratio indicates a possible posture change; abnormal changes in each boundary and an abnormal increase in the total amount of the target point cloud indicate a clustering error caused by being too close to other objects; the main cause of the change can be determined based on the changes in each boundary within a similar time window.

[0017] A further improvement of the technical solution of the present invention is that: the specific process of determining the main boundary switching probability according to the change characteristics in step S4 is as follows: the determination of the main boundary switching probability depends on the target change threshold established by the prior object model. For a target whose movement does not change its own appearance characteristics, the change subject obtains a prediction of the main boundary switching of the target in the next state. The prediction includes: if the change subject is a posture change, the probability of switching between the main and secondary boundaries is high; if the change subject is occlusion and abnormality, there is no need to switch the main boundary; in addition, the switching probability depends on the cumulative change and average change rate of the target boundary; the main boundary switching probability is The determined switching probability is compared with the model threshold to determine the fitting strategy;

[0018] in P is the main boundary switching probability calculation function, t is the current state, Y var is the current state change rate function, Z is the current state primary and secondary boundary change rate proportional function, σ r It is the function of accumulating changes in the current state.

[0019] A further improvement of the technical solution of the present invention is that: the specific process of redetermining the main boundary according to the main boundary switching probability, the total boundary ratio and the model threshold in step S4 is: the main boundary judgment needs to be re-performed when switching the main boundary, and the situations in which forced switching is performed according to the main boundary switching probability include: when the impact of the relative position change is the main reason for the change in boundary parameters, the shorter boundary is defined as the main boundary; when the boundary loss caused by occlusion is the main reason for the change in boundary parameters, the secondary boundary is cancelled and the model is converted from an L-type boundary to an I-type boundary, and then the optimal enclosing frame is re-established.

[0020] A further improvement of the technical solution of the present invention is that: the specific process of determining whether to adopt the main boundary prediction data based on the main boundary switching probability in step S4 is: the situations where the main boundary prediction data needs to be adopted include: if based on the main boundary switching probability, the characteristic influence brought by the target being blocked is difficult to avoid, and this influence cannot be offset by redetermining the boundary function, or the target's mutation comes from the environment, the mutation is restored in a short time or the subsequent data is invalid, and when the main boundary prediction data is adopted, the change of the main boundary is abandoned; the main boundary prediction data comes from the Kalman filter of the past state of the main boundary function. For targets with stable speed, the length in the main boundary prediction data will not mutate, and the coordinates in the main boundary prediction data are relatively smooth predicted straight lines or curves. The process of adopting the main boundary prediction data stops after the main boundary switching probability is updated and exceeds the threshold.

[0021] Due to the adoption of the above technical solution, the technical progress achieved by the present invention is:

[0022] 1. The present invention pre-processes the radar point cloud through rasterization, clustering, threshold processing and slope detection, which greatly improves the adaptability of the algorithm to the environment. By adjusting the point cloud through rasterization and noise point processing, the complexity and data volume of the point cloud are reduced, and the subsequent data processing speed is improved, thereby further optimizing the target fitting speed of the algorithm;

[0023] 2. The present invention has created an original I-type / L-type dynamic establishment process in the relevant technical field when extracting the optimal bounding box function. A more accurate bounding box model function of the target is determined by an algorithm based on the target's prior model. Compared with the traditional L-type fitting, the I-type fitting is introduced to fully consider the manifestation of the characteristics of the real object in the point cloud model, thereby improving the accuracy of the bounding box function. This dynamic establishment process also ensures the comprehensiveness of object modeling in different scenarios, and further improves the success rate of target fitting in unlabeled and non-semantic environment targets. With low computing resource consumption, it not only ensures the speed of target fitting, but also improves the accuracy and robustness of target fitting, thereby realizing the rapid fitting of lidar point cloud targets;

[0024] 3. The present invention has created an original cross-main boundary guidance algorithm in the relevant technical field when extracting the optimal bounding box function. This algorithm introduces the parameters of the changes in posture and disturbance into the target fitting process by establishing the main boundary switching probability, and supplements the establishment process of the optimal bounding box function through the main boundary switching probability, so that the target fitting process in the algorithm is closer to the model, thereby obtaining a better target fitting effect. The use of the cross-main boundary guidance algorithm can still have good fitting accuracy in complex road environments, making the algorithm more adaptable to high-speed dynamic targets and high-speed moving targets relative to lidar. It effectively improves the detection accuracy of static parameters such as target contour and shape attributes; and the tracking accuracy of motion parameters such as target position and speed;

[0025] 4. The present invention uses the main boundary prediction data for auxiliary fitting when extracting the optimal bounding frame function. Through the high anti-interference and noise reduction capabilities of filtering, the final effect of target fitting is improved, and the overall robustness of the algorithm is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a schematic diagram of the processing flow of the present invention;

[0027] Figure 2 It is a schematic diagram of target fitting results for a vehicle provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The present invention is further described in detail below in conjunction with embodiments:

[0029] like Figure 1As shown, 1. A laser radar point cloud target fitting algorithm, characterized in that it includes the following steps:

[0030] Step S1, preprocessing to generate target-related point cloud: the point cloud data collected by the multi-dimensional lidar is stored in the form of a set of all point cloud coordinate data of each single frame, all point cloud coordinate data are rasterized, and Euclidean clustering is used to determine the main objects in the point cloud data. The main objects of the Euclidean clustering results are thresholded and slope detected and identified, and unnecessary ground points, noise points, and points included in the environment are removed to obtain all points included in non-ground objects, and different targets are determined in the form of clusters.

[0031] The specific process of rasterization is as follows: project the 3D point cloud data onto the xy plane, divide the grid blocks into 2D form, determine the characteristics of each grid block, store the low-resolution point cloud information in the form of grid index, and use the rasterization function Prep to calculate the value of all points P(x O ,y O ) is converted to the target grid point cloud target P S (x i ,y i );

[0032] Where P is all the points in the point cloud, x O is the x-axis coordinate of the midpoint of P, y O is the y-axis coordinate of the midpoint of P, P S are all the points representing the grid blocks after rasterization, x i YesP S The x-axis coordinate of the midpoint, y i YesP S The y-coordinate of the midpoint.

[0033] Step S2, extracting the target posture type by prior shape fitting: comparing the prior object model with the point cloud coordinate data in terms of elevation and spatial range, determining the target object attributes, and determining all included points of the target object based on the target attributes;

[0034] Step S3, establish the optimal bounding frame function, determine the target main frame model based on the prior object model; perform convex hull fitting on all points of the target to determine the main line function; directly obtain the main boundary function for the I-type boundary; and perform secondary boundary fitting after establishing the main boundary function for the L-type boundary.

[0035] The specific process of establishing the optimal bounding box function is as follows: on the basis of the scan sorting performed by the convex hull fitting, the main boundary feature points and the main and secondary boundary segmentation points are determined; the main and secondary boundary segmentation points are the features obtained from the rectangular boundary target similar to a right triangle, and the straight line function represented by the chord of the right triangle formed by the main boundary and the secondary boundary is fitted, and the farthest point of the straight line can be determined as the main and secondary boundary segmentation point; two boundaries to be processed are divided into the near side boundary and the far side boundary by the main and secondary boundary segmentation points; the weights of all the points scanned and sorted in the convex hull fitting relative to the near side boundary and the far side boundary fitting lines are calculated, and the points with the largest weights are the optimal near side boundary feature points and the optimal far side boundary feature points, and the weights of the optimal boundary feature points are determined by the following parameters F i Sure:

[0036]

[0037] Among them, F i is the optimal boundary feature point weight of the i-th point in the convex hull scanning order, D1 and D2 are the sum of the weights of all points on the near side boundary and the far side boundary, n and m are the number of convex hull points contained in the near side boundary and the far side boundary, k and r are the sequence numbers of the current near side point and the far side point, and x k ,y k are the x-axis and y-axis coordinates of the proximal point, x r ,y r are the x-axis and y-axis coordinates of the far side point, k i 、c i are the parameters generated by fitting the near-side boundary function, are the parameters generated by fitting the distal boundary function;

[0038] The distance between the optimal boundary feature point and its corresponding boundary to be processed is the effective length of the other boundary to be processed; the effective lengths of the distal boundary and the proximal boundary can be determined by the optimal proximal boundary feature point and the optimal distal boundary feature point; the boundary with the larger effective length is the main boundary, and the other boundary to be processed is the secondary boundary.

[0039] Step S4, in response to occlusion and posture changes, a cross-main boundary guidance algorithm is used to establish a target prior model based on the optimal bounding box function; the change trends of each boundary of the target are compared to obtain the change characteristics; the main boundary switching probability is determined based on the change characteristics; the main boundary is re-determined based on the main boundary switching probability, the total boundary ratio and the model threshold; and whether to use the main boundary prediction data is determined based on the main boundary switching probability.

[0040] The specific process of comparing the change trends of each boundary of the target to obtain the change characteristics is as follows: the reasons for the change of the target boundary box include the change of the target's posture relative to the observer or the occlusion points of other objects or the target itself. The target boundary change trend is obtained by the change rate of the length of the main boundary and the secondary boundary of the target, and the following judgments are made: a single boundary mutation and an abnormal decrease in the total amount of the target point cloud indicate an occlusion or accident; a fixed ratio change of the main and secondary boundaries indicates a possible posture change; abnormal changes in each boundary and an abnormal increase in the total amount of the target point cloud indicate a clustering error caused by being too close to other objects; the main cause of the change can be determined based on the changes of each boundary in a similar time window.

[0041] The specific process of determining the main boundary switching probability based on the change characteristics is as follows: the determination of the main boundary switching probability depends on the target change threshold established by the prior object model. For targets whose movement does not change their own appearance characteristics, the change subject obtains a prediction of the main boundary switching of the target in the next state. The prediction includes: if the change subject is a posture change, the probability of switching between the main and secondary boundaries is high; if the change subject is occlusion and abnormality, there is no need to switch the main boundary; in addition, the switching probability depends on the cumulative change and average change rate of the target boundary; the main boundary switching probability is The determined switching probability is compared with the model threshold to determine the fitting strategy. P is the main boundary switching probability calculation function, t is the current state, Y var is the current state change rate function, Z is the current state primary and secondary boundary change rate proportional function, σ r It is the function of accumulating changes in the current state.

[0042] The specific process of redetermining the main boundary based on the main boundary switching probability, the total boundary ratio and the model threshold is as follows: when switching the main boundary, the main boundary judgment needs to be re-performed, and the situations in which forced switching is performed based on the main boundary switching probability include: when the impact of relative position change is the main reason for the change in boundary parameters, the shorter boundary is defined as the main boundary; when the boundary loss caused by occlusion is the main reason for the change in boundary parameters, the secondary boundary is cancelled and the model is converted from an L-type boundary to an I-type boundary, and then the optimal enclosing border is re-established.

[0043] The specific process of determining whether to use the main boundary prediction data based on the main boundary switching probability is as follows: the situations where the main boundary prediction data needs to be used include: if based on the main boundary switching probability, the characteristic influence brought by the target being blocked is difficult to avoid, and this influence cannot be offset by redefining the boundary function, or the target's mutation comes from the environment, the mutation recovers in a short time or the subsequent data is invalid, and the main boundary prediction data is used, and the change of the main boundary is abandoned; the main boundary prediction data comes from the Kalman filter of the past state of the main boundary function. For targets with stable speed, the length in the main boundary prediction data will not mutate, and the coordinates in the main boundary prediction data are relatively smooth predicted straight lines or curves. The process of using the main boundary prediction data stops after the main boundary switching probability is updated and exceeds the threshold.

[0044] Step S5: extracting the motion and shape parameters of the target.

[0045] like Figure 2 As shown, the present invention is further described in detail below in conjunction with embodiments.

[0046] The vehicle perception system can be composed of components such as LiDAR, GPS and vehicle computers. The time provided by GPS is used as the clock source of the entire system to synchronize various components and provide time for LiDAR point cloud data. The obtained LiDAR point cloud data is stored in data packets with UTC as the standard.

[0047] The original point cloud data is processed, and the area of ​​interest of the point cloud data is delineated based on the radar's own height and other characteristics combined with the actual acquisition process. Unnecessary ground point clouds are cropped based on the height threshold.

[0048] Point cloud preprocessing, rasterization: Rasterize the existing point cloud data and store low-resolution point cloud information in the form of raster index. The rasterization function Prep performs a grid-based operation on all points P(x O ,y O ) is converted to the target grid point cloud target P S (x i ,y i ).

[0049] Point cloud preprocessing, clustering: Use Euclidean clustering to determine the independent point cloud of each target and add labels. At the same time, the targets that may be re-clustered by the cross-main boundary guidance algorithm are processed. S (x i ,y i ) Generate target flag s t Defined pre-processing result point cloud data

[0050] The target attributes are determined based on the prior target model and the total length range of the target point cloud at each angle.

[0051] Convex hull fitting is performed on the x, y two-dimensional coordinate axis. Convex hull fitting is performed on the vectors composed of adjacent points according to the scanning order, and all points are traversed to extract the required points to form the convex hull point set U and the scanning order angle.

[0052] Get the edge point set U for the sorted convex hull AB , based on the edge distance of each point Determine whether the target type is an I-type boundary or an L-type boundary.

[0053] Determine the main boundary straight line function l1 of the target and the maximum point of the projection distance For the L-type, the optimal boundary feature point D', the optimal boundary corner point E', and the secondary boundary function l2 of the target are determined. At the same time, the length of each boundary is determined.

[0054] The prior model of the target is determined according to the obtained optimal bounding box function, and the actual attribute of the target is determined.

[0055] Compare the change trends of the target boundary lengths and determine the change index function Y var [k] and displacement σ r [k], if the displacement is not accumulated or the change index function is abnormal, it will enter the main boundary prediction function.

[0056] Determine the main boundary switching probability based on the target change threshold established by the prior model The determined switching probability is compared with the model threshold to determine the fitting strategy.

[0057] Switching probability based on main boundary The weighted master boundary score of each boundary is determined by the ratio d of each boundary. Under the model restriction conditions, the one with the higher score is selected as the new master boundary. If the master boundary designation process is normal, the geometric state of the target is directly extracted.

[0058] If the main boundary switching probability If the score is too high, it is considered that there may be special situations such as the target being blocked, and the calculation of the boundary weighted score is abandoned. The point cloud center, center trajectory and speed, each boundary function and length, and yaw angle of the current target proximity state are input as parameters into the Kalman filter module. The geometric state of the target is extracted based on the predicted values ​​of the above parameters defined by the model characteristics.

[0059] The state extracted by the vehicle as the target in the embodiment includes length L, width W, center coordinates (x Q ,y Q ), yaw angle θ.

[0060] According to the target fitting algorithm proposed in the present invention, the accuracy and robustness of edge fitting are improved by establishing an optimal bounding box function and applying a cross-main boundary guidance algorithm, so that accurate target fitting results can be finally extracted, while also providing additional target posture change information.

Claims

1. A laser radar point cloud target fitting algorithm, characterized by: The steps include: Step S1, pre-processing to generate target-related point cloud: the point cloud data collected by the multi-dimensional laser radar is stored in the form of a set of all point cloud coordinate data of each single frame, all point cloud coordinate data are rasterized, and Euclidean clustering is used to determine the main objects in the point cloud data. The main objects of the Euclidean clustering results are subjected to threshold processing and slope detection and identification, and the ground points, noise points, and points included in the environment are removed to obtain the points included in all non-ground objects, and different targets are determined in the form of clusters; Step S2, extracting the target posture type by prior shape fitting: comparing the prior object model with the point cloud coordinate data in terms of elevation and spatial range, determining the target object attributes, and determining all included points of the target object based on the target attributes; Step S3, establish the optimal bounding frame function, determine the target main frame model according to the prior object model; perform convex hull fitting on all points of the target to determine the main line function; directly obtain the main boundary function for the I-type boundary; and perform secondary boundary fitting after establishing the main boundary function for the L-type boundary; Step S4: in view of occlusion and posture changes, a cross-main boundary guidance algorithm is used to establish a target prior model based on the optimal bounding frame function; the change trends of each boundary of the target are compared to obtain the change characteristics; Determine the main boundary switching probability based on the change characteristics; redetermine the main boundary based on the main boundary switching probability, the total boundary ratio and the model threshold; determine whether to use the main boundary prediction data based on the main boundary switching probability; Step S5: extracting the motion and shape parameters of the target.

2. The laser radar point cloud target fitting algorithm according to claim 1, characterized in that: The specific process of the rasterization processing in step S1 is as follows: projecting the 3D point cloud data onto the xy plane, dividing the grid blocks into 2D form, determining the features of each grid block, storing the low-resolution point cloud information in the form of grid indexes, and performing the rasterization function Prep for all points P(x O ,y O ) is converted to the target grid point cloud target P S (x i ,y i ); Among them, P is all the points in the point cloud, x O is the x-axis coordinate of the midpoint of P, y O is the y-axis coordinate of the midpoint of P, P S are all the points representing the grid blocks after rasterization, x i YesP S The x-axis coordinate of the midpoint, y i YesP S The y-coordinate of the midpoint.

3. The laser radar point cloud target fitting algorithm according to claim 1, characterized in that: The specific process of establishing the optimal bounding frame function in step S3 is as follows: based on the scan sorting performed by the convex hull fitting, the main boundary feature points and the main and secondary boundary segmentation points are determined; the main and secondary boundary segmentation points are the features obtained from the rectangular boundary target having a right-angled triangle, and the straight line function represented by the chord of the right triangle formed by the main boundary and the secondary boundary is fitted, and the farthest point of the straight line can be determined as the main and secondary boundary segmentation points; two to-be-processed boundaries are divided into the near side boundary and the far side boundary by the main and secondary boundary segmentation points; the weights of all the points scanned and sorted in the convex hull fitting relative to the near side boundary and the far side boundary fitting straight line are calculated, and the points with the largest weights are the optimal near side boundary feature points and the optimal far side boundary feature points, and the weights of the optimal boundary feature points are determined by the following parameters F i Sure: Among them, F i is the optimal boundary feature point weight of the i-th point in the convex hull scanning order, D1 and D2 are the sum of the weights of all points on the near side boundary and the far side boundary, n and m are the number of convex hull points contained in the near side boundary and the far side boundary, k and r are the sequence numbers of the current near side point and the far side point, and x k ,y k are the x-axis and y-axis coordinates of the proximal point, x r ,y r are the x-axis and y-axis coordinates of the far side point, k i 、c i are the parameters generated by fitting the near-side boundary function, are the parameters generated by fitting the distal boundary function; The distance between the optimal boundary feature point and its corresponding boundary to be processed is the effective length of the other boundary to be processed; the effective lengths of the distal boundary and the proximal boundary are determined by the optimal proximal boundary feature point and the optimal distal boundary feature point; the boundary with the larger effective length is the main boundary, and the other boundary to be processed is the secondary boundary.

4. The laser radar point cloud target fitting algorithm according to claim 1, characterized in that: The specific process of comparing the change trends of each boundary of the target in step S4 to obtain the change characteristics is as follows: the reasons for the change of the target boundary box include the change of the target's posture relative to the observer or the occlusion points of other objects or the target itself. The target boundary change trend is obtained by the change rate of the length of the main boundary and the secondary boundary of the target, and the following judgments are made: a single boundary mutation and an abnormal decrease in the total amount of the target point cloud indicate an occlusion or an accident; a change in the main and secondary boundaries at a fixed ratio indicates a possible posture change; an abnormal change in each boundary and an abnormal increase in the total amount of the target point cloud indicate a clustering error caused by being too close to other objects; the main cause of the change is determined based on the changes in each boundary within a similar time window.

5. The laser radar point cloud target fitting algorithm according to claim 4, characterized in that: The specific process of determining the main boundary switching probability according to the change characteristics in step S4 is as follows: the determination of the main boundary switching probability depends on the target change threshold established by the prior object model. For targets whose movement does not change their own appearance characteristics, the change subject obtains a prediction of the main boundary switching of the target in the next state. The prediction includes: if the change subject is a posture change, the probability of switching between the main and secondary boundaries is high; if the change subject is occlusion and abnormality, there is no need to switch the main boundary; in addition, the switching probability depends on the cumulative change and average change rate of the target boundary; the main boundary switching probability is The determined switching probability is compared with the model threshold to determine the fitting strategy; in P is the main boundary switching probability calculation function, t is the current state, Y var is the current state change rate function, Z is the current state primary and secondary boundary change rate proportional function, σ r It is the function of accumulating changes in the current state.

6. The laser radar point cloud target fitting algorithm according to claim 1, characterized in that: The specific process of redetermining the main boundary according to the main boundary switching probability, the total boundary ratio and the model threshold in step S4 is as follows: when the main boundary is switched, it is necessary to re-determine the main boundary, and the situations in which forced switching is performed according to the main boundary switching probability include: when the influence of relative position change is the main reason for the change of boundary parameters, the shorter boundary is determined as the main boundary; when the boundary loss caused by occlusion is the main reason for the change of boundary parameters, the secondary boundary is cancelled and the model is converted from an L-type boundary to an I-type boundary, and then the optimal enclosing frame is re-established.

7. The laser radar point cloud target fitting algorithm according to claim 1, characterized in that: The specific process of determining whether to use the main boundary prediction data based on the main boundary switching probability in step S4 is: the situations where the main boundary prediction data needs to be used include: if based on the main boundary switching probability, the characteristic influence brought by the target being blocked is difficult to avoid, and this influence cannot be offset by redetermining the boundary function, or the target's mutation comes from the environment, the mutation recovers in a short time or the subsequent data is invalid, when the main boundary prediction data is used, the change of the main boundary is abandoned; the main boundary prediction data comes from the Kalman filter of the past state of the main boundary function. For targets with stable speed, the length in the main boundary prediction data will not mutate, and the coordinates in the main boundary prediction data are relatively smooth predicted straight lines or curves. The process of using the main boundary prediction data stops after the main boundary switching probability is updated and exceeds the threshold.