Dynamic target point cloud elimination method and device based on point cloud map, electronic equipment and storage medium

By combining lidar, GNSS and IMU data, a scatter point boundary line index table is established and quickly retrieved using KDTree to construct quadrilateral judgment point cloud data, which solves the problem of poor removal of dynamic targets in the existing technology and realizes static and The efficient elimination of occluded dynamic targets improves the positioning accuracy and safety of autonomous vehicles.

CN118628767APending Publication Date: 2024-09-10广州祺宸科技有限公司
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410677191.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing point cloud map dynamic target elimination methods are ineffective when dealing with stationary but possibly moving targets and dynamic targets that are partially obscured by static targets or are far away, and the generalization ability of deep learning-based methods is limited by LiDAR. models, more efficient technologies are needed to improve the safety and reliability of autonomous vehicles.

Method used

By acquiring LiDAR, GNSS and IMU data, motion compensation and preprocessing are performed, a scatter point boundary line index table is established, KDTree is used to quickly retrieve point cloud data, and a quadrilateral is constructed to determine whether the points are located within the road boundary, achieving efficient elimination of dynamic targets.

Benefits of technology

It improves the accuracy of vehicle positioning and the quality of point cloud maps, and can effectively eliminate vehicles driving on the road and parked on the roadside, as well as dynamic targets that are partially obscured by static targets or are far away, improving the robustness of the autonomous driving system. and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628767A
    Figure CN118628767A
Patent Text Reader

Abstract

The invention provides a dynamic target point cloud elimination method based on a point cloud map, and the method comprises the steps: obtaining positioning data which comprises laser radar data, GNSS data and IMU data; preprocessing the GNSS data and the IMU data to obtain first pose information; performing motion compensation on the laser radar data to obtain first point cloud data and second pose information; acquiring three-dimensional road boundary line data, converting the three-dimensional road boundary line data into two-dimensional road boundary line data, and establishing a scatter boundary line sequence number index table and a left and right boundary line index table of the same road; candidate point cloud data are obtained through interval selection, wherein the candidate point cloud data comprise a plurality of data points; and traversing the candidate point cloud data, performing verification operation on the candidate point cloud data to obtain a dynamic target point cloud, and rejecting the dynamic target point cloud. According to the dynamic target point cloud elimination method provided by the invention, the dynamic target point cloud can be eliminated more efficiently, so that the safety and reliability of the autonomous vehicle are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of point cloud data, and in particular relates to a method, device, electronic device and storage medium for removing dynamic target point clouds based on point cloud maps. Background Art

[0002] In the field of autonomous vehicles, point cloud maps, as a key technology, provide vehicles with accurate three-dimensional environmental information, which is essential for vehicle positioning and navigation. Point cloud maps are usually constructed from continuous point cloud data collected by laser radar (LIDAR), which contains static environmental features such as roads, buildings, and traffic signs. However, dynamic targets in the environment, such as pedestrians and vehicles, will have a negative impact on the positioning accuracy and robustness of the vehicle. In order to improve the accuracy of positioning, these dynamic targets need to be removed from the point cloud map.

[0003] Existing technologies for dealing with this problem are mainly divided into three categories: voxel-based methods, viewpoint visibility-based methods, and deep learning-based methods. Voxel-based methods identify dynamic targets by calculating the occupancy of voxels in point cloud maps or the difference between voxels. For example, the OctoMap algorithm continuously updates the voxel occupancy and regards voxels with occupancy higher than the threshold as static, while the ERASOR algorithm distinguishes between static and dynamic targets by comparing the height difference between voxels. Viewpoint visibility-based methods, such as the Removert algorithm, eliminate dynamic targets by comparing the visibility of the point cloud map with the single-frame point cloud data at the same viewpoint. Deep learning-based methods use deep neural networks to detect and eliminate dynamic targets in single-frame point cloud data.

[0004] Although these methods have solved the problem of dynamic target removal to a certain extent, they still have some limitations. Voxel-based and viewpoint visibility-based methods mainly target moving dynamic targets, and are powerless for stationary but potentially moving targets (such as vehicles parked on the roadside). In addition, these methods do not work well when dealing with dynamic targets that are partially occluded by static targets or are far away. Although deep learning-based methods can provide higher recognition accuracy, their generalization ability is limited by the model of LiDAR and requires a large amount of labeled data for training, which may be a challenge in practical applications. Therefore, more efficient dynamic target removal technology is needed to further improve the safety and reliability of autonomous vehicles. Summary of the invention

[0005] The purpose of the present invention is to solve the above-mentioned technical problems and to provide a method, device, electronic device and storage medium for dynamic target point cloud removal based on point cloud map, which can efficiently remove dynamic targets.

[0006] In order to solve the above problems, the present invention is implemented according to the following technical solutions:

[0007] In a first aspect, the present invention provides a method for removing a dynamic target point cloud based on a point cloud map, the method comprising:

[0008] Acquire positioning data, wherein the positioning data includes lidar data, GNSS data and IMU data;

[0009] Preprocessing the GNSS data and the IMU data to obtain the first position information;

[0010] According to the first pose information, the laser radar data is motion compensated to obtain first point cloud data and second pose information;

[0011] Acquire three-dimensional road boundary line data, and convert the three-dimensional road boundary line data into two-dimensional road boundary line data;

[0012] According to the two-dimensional road boundary line data, a scattered point boundary line sequence number index table and a left and right boundary line index table of the same road are established;

[0013] According to the first point cloud data, candidate point cloud data is obtained by interval selection, wherein the candidate point cloud data includes a plurality of data points;

[0014] The candidate point cloud data is traversed, a verification operation is performed on the candidate point cloud data, a dynamic target point cloud is obtained, and the dynamic target point cloud is eliminated.

[0015] Preferably, the GNSS data and IMU data are preprocessed to obtain the first position information with a frequency of 100 Hz;

[0016] The first position information is represented by a UTM world coordinate system.

[0017] Preferably, the lidar data is collected by a lidar; the GNSS data and IMU data are collected by a combined navigation system, wherein the combined navigation system includes a global navigation satellite system and an inertial measurement unit, the GNSS data is collected by the global navigation satellite system, and the IMU data is collected by the inertial measurement unit; the external parameters of the lidar and the combined navigation system are calibrated; a motion model during the lidar data collection period is established according to the first posture information, and the lidar data is motion compensated using the motion model to obtain first point cloud data; second posture information is calculated according to the first point cloud data; wherein the first point cloud data and the second posture information are represented by the UTM world coordinate system.

[0018] Preferably, the three-dimensional road boundary line data includes multiple three-dimensional coordinate scatter points, and the coordinates of the multiple three-dimensional coordinate scatter points are expressed in WGS84 coordinates; the three-dimensional road boundary line data is converted into the UTM world coordinate system to obtain two-dimensional road boundary line data, and the two-dimensional road boundary line data includes multiple two-dimensional coordinate scatter points; the z value of the two-dimensional coordinate scatter points in the UTM world coordinate system is set to 0; KDTree is used to save the two-dimensional coordinate scatter points of the two-dimensional road boundary line data; through the multiple two-dimensional coordinate scatter points, a scattered point boundary line serial number index table and a left and right boundary line index table of the same road are established.

[0019] Preferably, the step of performing a verification operation on the candidate point cloud data comprises: searching the KDTree for a two-dimensional coordinate scatter point closest to a data point of the candidate point cloud data, and determining that the distance between the data point and the nearest two-dimensional coordinate scatter point is less than 20 meters;

[0020] Finding the first road boundary line corresponding to the two-dimensional coordinate scattered point closest to the data point according to the scattered point boundary line sequence index table;

[0021] Searching the KDTree for two two-dimensional coordinate scattered points closest to the data point on the first road boundary line to obtain a first scattered point and a second scattered point;

[0022] According to the first road boundary line, the second road boundary line is found through the index table of left and right boundaries of the same road;

[0023] Searching the KDTree for two two-dimensional coordinate scatter points closest to the data point on the second road boundary line to obtain a third scatter point and a fourth scatter point;

[0024] Connecting the first scattered point, the second scattered point, the third scattered point and the fourth scattered point to form a quadrilateral;

[0025] When the data point is located inside the quadrilateral, the data point is a dynamic target point.

[0026] Preferably, the candidate point cloud data is traversed, and a verification operation is performed on each data point of the candidate point cloud data to obtain a plurality of dynamic target points; the dynamic target point cloud is composed of a plurality of dynamic target points; and the dynamic target point cloud is eliminated.

[0027] Preferably, searching the two-dimensional coordinate scatter points closest to the data points of the candidate point cloud data by the KDTree;

[0028] When the distance between the data point and the nearest two-dimensional coordinate scatter point is greater than 20 meters, the data point is a static target point.

[0029] In a second aspect, the present invention provides a dynamic target point cloud removal device based on a point cloud map, wherein the dynamic target point cloud removal device based on a point cloud map is configured to execute the dynamic target point cloud removal method based on a point cloud map, and the dynamic target point cloud removal device based on a point cloud map comprises:

[0030] A positioning data acquisition module, wherein the positioning data acquisition module is used to acquire positioning data, wherein the positioning data includes lidar data, GNSS data and IMU data;

[0031] A data preprocessing module, wherein the data preprocessing module is used to preprocess the GNSS data and the IMU data to obtain the first position information;

[0032] A motion compensation module, wherein the motion compensation module performs motion compensation on the laser radar data according to the first pose information to obtain first point cloud data and second pose information;

[0033] A data conversion module, wherein the data conversion module acquires three-dimensional road boundary line data and converts the three-dimensional road boundary line data into two-dimensional road boundary line data;

[0034] An index table creation module is used to create a scattered point boundary line sequence number index table and a left and right boundary line index table of the same road according to the two-dimensional road boundary line data;

[0035] A candidate point cloud data acquisition module, the candidate point cloud data acquisition module is used to obtain candidate point cloud data through interval selection according to the first point cloud data, the candidate point cloud data includes a plurality of data points;

[0036] A dynamic target point cloud elimination module is used to traverse the candidate point cloud data, perform a verification operation on the candidate point cloud data, obtain a dynamic target point cloud and eliminate the dynamic target point cloud.

[0037] In a third aspect, the present invention provides an electronic device, the electronic device comprising:

[0038] at least one processor; and a memory communicatively coupled to the at least one processor;

[0039] In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a dynamic target point cloud removal method based on a point cloud map as described in any one of the first aspects above.

[0040] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is used to enable a processor to execute a dynamic target point cloud removal method based on a point cloud map as described in any one of the first aspects above.

[0041] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention provides a method for removing dynamic target point clouds based on point cloud maps, the method comprising: obtaining positioning data, the positioning data comprising lidar data, GNSS data and IMU data; preprocessing the GNSS data and IMU data to obtain first pose information; performing motion compensation on the lidar data according to the first pose information to obtain first point cloud data and second pose information; obtaining three-dimensional road boundary line data, and converting the three-dimensional road boundary line data into two-dimensional road boundary line data; establishing a scattered point boundary line sequence number index table and a left and right boundary line index table of the same road according to the two-dimensional road boundary line data; obtaining candidate point cloud data through interval selection according to the first point cloud data, the candidate point cloud data comprising multiple data points; traversing the candidate point cloud data, performing a verification operation on the candidate point cloud data, obtaining a dynamic target point cloud and removing the dynamic target point cloud.

[0042] According to the method for removing dynamic target point clouds of the present invention, accurate position and posture information is obtained by preprocessing GNSS and IMU data, and combined with motion compensation of LiDAR data, the influence of position and posture changes caused by vehicle movement on point cloud data can be reduced, thereby improving the accuracy of vehicle positioning. By establishing a scattered point boundary line serial number index table and a left and right boundary line index table of the same road, dynamic target point clouds can be quickly identified and removed, thereby improving the quality of point cloud maps and the reliability of vehicle navigation. Dynamic targets can be removed based on existing vector maps without the need to mark additional data; in addition, not only vehicles traveling on the road can be removed, but also vehicles parked on the roadside can be removed; and dynamic targets that are partially blocked by static targets and are far away can be effectively removed.

[0043] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings, wherein:

[0045] Figure 1 It is a flow chart of a method for removing dynamic target point cloud based on point cloud map according to an embodiment of the present invention;

[0046] Figure 2 It is a verification operation implementation step diagram of a dynamic target point cloud removal method based on a point cloud map according to an embodiment of the present invention;

[0047] Figure 3 It is a module diagram of a dynamic target point cloud removal device based on a point cloud map according to an embodiment of the present invention;

[0048] Figure 4 It is a structural schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0050] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0051] The applicant's research found that the existing point cloud map construction and dynamic target removal methods have limitations when dealing with dynamic targets. These methods often have difficulty in accurately distinguishing between static and dynamic targets, especially when dealing with stationary but potentially moving targets (such as vehicles parked on the roadside). In addition, the existing technology is not ideal when facing dynamic targets that are partially obscured by static targets or are far away. These problems not only affect the positioning accuracy of the vehicle, but also reduce the robustness and safety of the autonomous driving system. In order to solve these problems, the patent applicant conducted in-depth research on how to effectively remove dynamic targets from point cloud maps.

[0052] To this end, the present invention provides a method, device, electronic device and storage medium for dynamic target point cloud removal based on point cloud map, which can efficiently use dynamic target removal technology to further improve the safety and reliability of autonomous driving vehicles.

[0053] Figure 1 The present invention is a flowchart of a method for removing dynamic target point clouds based on point cloud maps. The method can be performed by a device for removing dynamic target point clouds based on point cloud maps. The device can be implemented in the form of hardware and / or software, and the device can be configured in an electronic device. Figure 1 As shown, the dynamic target point cloud removal method includes:

[0054] Step 101: Acquire positioning data, where the positioning data includes lidar data, GNSS data, and IMU data.

[0055] The laser radar data is collected by the laser radar; the GNSS data and the IMU data are collected by the integrated navigation system, wherein the integrated navigation system includes a global navigation satellite system and an inertial measurement unit, the GNSS data is collected by the global navigation satellite system, and the IMU data is collected by the inertial measurement unit;

[0056] LiDAR measures the distance to surrounding objects by emitting laser beams and receiving the reflected light, generating high-resolution 3D point cloud data that contains detailed information about the vehicle's surroundings, such as the location, size, and shape of obstacles.

[0057] GNSS receivers calculate the vehicle's global position by receiving signals from Earth-orbiting satellites. GNSS data provides the vehicle's absolute position in the Earth's coordinate system, which is essential for the vehicle's global positioning.

[0058] An IMU is a sensor that measures the acceleration, angular velocity, and orientation of a vehicle. IMU data provides information about the vehicle’s dynamic attitude, including the vehicle’s motion state and directional changes.

[0059] In self-driving cars, in a variety of scenarios, such as city streets, highways, rural roads, etc., the vehicle needs to know its position and posture accurately for path planning, obstacle avoidance and navigation. Combining LiDAR, GNSS and IMU data can improve the accuracy of vehicle positioning, especially when the GNSS signal is blocked or interfered, IMU data can provide auxiliary positioning information. In some environments, a single sensor may not be able to provide reliable data. For example, LiDAR performance may degrade in bad weather conditions, and GNSS may have weak signals in urban canyons. Through multi-sensor fusion, the system can cope with these challenges more robustly. IMU data can provide real-time dynamic information of the vehicle, and LiDAR data provides detailed three-dimensional information about the vehicle's surroundings, which is critical for self-driving cars to understand the surrounding environment, identify obstacles and plan paths.

[0060] Step 102: pre-process the GNSS data and the IMU data to obtain the first position information.

[0061] After preprocessing the GNSS data and IMU data, the first position information with a frequency of 100 Hz is obtained; the first position information is expressed in the UTM world coordinate system.

[0062] The data from the global navigation satellite system (GNSS) and the inertial measurement unit (IMU) are fused and processed to obtain the precise position information of the vehicle. This position information includes the vehicle's position (longitude, latitude) and attitude (such as heading, pitch angle, and roll angle). The purpose of preprocessing is to ensure the synchronization and accuracy of these data in time in order to provide a reliable navigation basis for autonomous vehicles.

[0063] More specifically, GNSS provides global position information of the vehicle, but may be affected by signal obstruction or multipath effects. IMU provides dynamic attitude information of the vehicle, but errors may accumulate over time. IE processes GNSS and IMU data. It is able to combine these two data sources to provide high-precision combined navigation information, including position, velocity and attitude information. IE software fuses these two data sources through post-processing (i.e. processing after data collection is completed) to provide high-precision position and attitude information. GNSS provides the global position of the vehicle, while IMU provides the dynamic attitude of the vehicle, such as velocity, acceleration and angular velocity.

[0064] Through data fusion, the advantages of both can be combined to improve the accuracy and robustness of pose estimation. The preprocessed data is updated at a frequency of 100Hz, which means that pose information is provided 100 times per second. Such a high frequency is necessary for autonomous vehicles to respond quickly to changes in dynamic environments.

[0065] It should be noted that the UTM (Universal Transverse Mercator) coordinate system is a plane rectangular coordinate system that is widely used in reference grids for topographic maps, satellite images, and natural resource databases, as well as other applications that require precise positioning. The UTM coordinate system is based on the transverse Mercator projection, which divides the earth's surface into 60 longitudinal projection zones, each with a longitude span of 6 degrees. These zones start from the central meridian and extend eastward and westward, and each zone has a unique number from 1 to 60 (Northern Hemisphere) and from 1 to 60 (Southern Hemisphere, but the number is negative). The UTM coordinate system provides an accurate plane coordinate system that enables autonomous vehicles to accurately locate and navigate around the world. Because the UTM coordinate system is two-dimensional, it simplifies the processing and calculation of map data, which is particularly important for real-time navigation systems.

[0066] In the present invention, by preprocessing GNSS and IMU data to obtain the pose information in the UTM coordinate system, the consistency of the lidar data and the map data can be ensured, thereby improving the accuracy of dynamic target rejection. In the case of limited GNSS signals, IMU data can provide auxiliary positioning information, and the pose information of the UTM coordinate system can improve the navigation robustness of the autonomous driving car in complex environments.

[0067] Step 103: According to the first pose information, motion compensation is performed on the laser radar data to obtain first point cloud data and second pose information.

[0068] Calibrate the external parameters of the laser radar and the integrated navigation system; establish a motion model during the laser radar data collection period according to the first pose information, use the motion model to perform motion compensation on the laser radar data to obtain the first point cloud data; calculate the second pose information according to the first point cloud data; wherein the first point cloud data and the second pose information are represented by the UTM world coordinate system.

[0069] It should be noted that LiDAR data is usually collected at a lower frequency (such as 10Hz), which means that the vehicle may have moved between two data collections. In order to ensure the accuracy of the point cloud data, high-frequency pose information is needed to compensate for these movements. This involves building a motion model that describes the position and pose changes of the vehicle between two LiDAR data collections.

[0070] Extrinsic parameters refer to the position and orientation of the LiDAR relative to the vehicle coordinate system. These extrinsic parameters are calibrated to ensure that the LiDAR data can be correctly mapped into the vehicle coordinate system. Using the first pose information (pre-processed data from GNSS and IMU), a vehicle motion model is established during the LiDAR data collection period. This model describes the motion trajectory of the vehicle during the collection of point cloud data, including speed, acceleration, and direction changes. The motion model is applied to compensate the LiDAR data and adjust the position of each point to reflect the environment when the vehicle is stationary. In this way, even if the vehicle is moving when collecting data, the point cloud data can accurately represent the static environment. Based on the first point cloud data obtained after compensation, the second pose information is calculated. This second pose information reflects the exact position and attitude of the vehicle at the moment of point cloud data collection after compensation.

[0071] In this process, motion compensation ensures the accuracy of the point cloud data, allowing the vehicle to more accurately locate its position in the environment. The compensated point cloud data provides more accurate environmental information, helping the vehicle to better understand the surrounding environment and make safer driving decisions.

[0072] Step 104: Acquire three-dimensional road boundary line data, and convert the three-dimensional road boundary line data into two-dimensional road boundary line data.

[0073] The three-dimensional road boundary line data includes multiple three-dimensional coordinate scattered points, and the coordinates of the multiple three-dimensional coordinate scattered points are expressed in WGS84 coordinates; the three-dimensional road boundary line data is converted into the UTM world coordinate system to obtain two-dimensional road boundary line data, and the two-dimensional road boundary line data includes multiple two-dimensional coordinate scattered points; the z value of the two-dimensional coordinate scattered points in the UTM world coordinate system is set to 0; KDTree is used to save the two-dimensional coordinate scattered points of the two-dimensional road boundary line data.

[0074] Specifically, the present invention loads the vector map of the corresponding road section according to the collected route. The vector map contains vector information such as road boundary lines, lane lines, stop lines and zebra crossings. The present invention only uses road boundary lines. The three-dimensional road boundary line data of the present invention is the road boundary line data. In the vector map, the road boundary line data is represented by discrete points on the line, and the positions of these scattered points are represented by WGS84 coordinates. WGS84 coordinates are a global geocentric coordinate system. In order to align with the navigation system of the self-driving car, these three-dimensional coordinate scattered points need to be converted to the UTM coordinate system. The UTM coordinate system is a regional plane rectangular coordinate system that is more suitable for map representation and processing of local areas. In self-driving applications, usually only two-dimensional position information on the ground is concerned. Therefore, the z value (height) of the three-dimensional coordinate scattered point is set to 0, and it is converted into a two-dimensional coordinate scattered point. This simplifies the data structure and reduces the computational complexity. These two-dimensional coordinate scattered points constitute the two-dimensional road boundary line data.

[0075] It should be noted that KDTree is an efficient data structure for storing and retrieving spatial data. In an autonomous driving system, using KDTree to save two-dimensional road boundary data can quickly retrieve road information related to the vehicle's current location, which is crucial for real-time navigation and decision-making.

[0076] Step 105: Based on the two-dimensional road boundary line data, a scattered point boundary line sequence number index table and a left and right boundary line index table of the same road are established.

[0077] Specifically, the scattered point boundary line number index table maps each scattered point (i.e., coordinate point) on the two-dimensional road boundary line to its corresponding road boundary line number. In this way, when the system needs to query whether a certain point is within the road boundary line, the corresponding road boundary line can be quickly found by the coordinates of the scattered point.

[0078] The left and right boundary line index table of the same road records the relationship between the left and right boundary lines on the same road. In an autonomous driving system, it is usually necessary to distinguish whether the vehicle is driving on the left or right side of the road, and this index table provides the information required for this distinction.

[0079] Step 106 : According to the first point cloud data, candidate point cloud data is obtained through interval selection, where the candidate point cloud data includes a plurality of data points.

[0080] The laser radar is mounted horizontally on the vehicle, and its coordinate axes define the local space of the vehicle. The x-axis points to the front of the vehicle, the y-axis points to the left side of the vehicle, and the z-axis points vertically upward from the ground. In order to identify dynamic targets, the system selects point cloud data within a specific height interval (z_min, z_max) on the z-axis. This point cloud data is the candidate point cloud data. The candidate point cloud data consists of multiple data points. This interval usually excludes the ground because objects on the ground (such as buildings and road signs) are usually regarded as static targets. z_min is set to be slightly higher than the ground height (for example, 0.05 meters) to avoid misjudging the ground itself as a dynamic target. This ensures that the system focuses on objects that move above the ground. The point cloud data selected by this interval is the candidate point cloud data described in the present invention. The candidate point cloud data consists of multiple data points.

[0081] Step 107 , traverse the candidate point cloud data, perform verification operations on the candidate point cloud data, obtain dynamic target point clouds, and remove the dynamic target point clouds.

[0082] Specifically, the candidate point cloud data is traversed, and each data point of the candidate point cloud data is verified to obtain a plurality of dynamic target points; the dynamic target point cloud is composed of a plurality of dynamic target points;

[0083] Figure 2 This is a diagram of the steps for implementing the verification operation. The steps for performing the verification operation on the candidate point cloud data include:

[0084] 1701. Search the two-dimensional coordinate scatter point closest to the data point of the candidate point cloud data through KDTree, and determine that the distance between the data point and the nearest two-dimensional coordinate scatter point is less than 20 meters;

[0085] Specifically, the system traverses each data point in the candidate point cloud data. For each data point, KDTree is used to search for the nearest 2D coordinate scatter point, which is located on the road boundary line. If the data point is less than 20 meters away from the nearest scatter point, the subsequent steps are continued; otherwise, the point is considered to be a static point.

[0086] 1702. Find the first road boundary line corresponding to the two-dimensional coordinate scattered point closest to the data point according to the scattered point boundary line sequence index table;

[0087] Specifically, when the system needs to determine whether a data point is within a road boundary, it can quickly find the nearest scattered point to the point and the road boundary to which the scattered point belongs through this index table, which greatly improves the retrieval efficiency.

[0088] 1703. Searching by KDTree on the first road boundary line for two two-dimensional coordinate scattered points closest to the data point to obtain a first scattered point and a second scattered point;

[0089] Specifically, given a data point, KDTree will recursively search in the tree structure to find the scatter point closest to the point, that is, the first scatter point. This process will be carried out along different branches of the tree until a leaf node is reached. After finding the nearest scatter point, KDTree will continue to search to find the second closest scatter point, that is, the second scatter point. This usually involves searching at different levels of the tree to ensure that the scatter point found is the global nearest, not just the local nearest.

[0090] 1704. According to the first road boundary line, find the second road boundary line through the left and right boundary line index table of the same road;

[0091] Specifically, the left and right boundary line index table of the same road is a data structure that stores the correspondence between the left and right boundary lines on the same road, which enables the system to quickly find the boundary line on one side from the other side.

[0092] 1705. KDTree searches for two two-dimensional coordinate scatter points closest to the data point on the second road boundary line to obtain a third scatter point and a fourth scatter point;

[0093] 1706. Connect the first scattered point, the second scattered point, the third scattered point, and the fourth scattered point to form a quadrilateral;

[0094] Specifically, the first scattered point and the second scattered point are located on the first road boundary line where the data point is located, and the third scattered point and the fourth scattered point are located on the second road boundary line corresponding thereto. By connecting these four points, a quadrilateral is formed, and the boundary of the quadrilateral roughly corresponds to one side of the road. The system can more accurately determine whether the data point is located within the driving area of ​​the road, thereby distinguishing between dynamic targets and static obstacles.

[0095] 1707. When a data point is inside a quadrilateral, the data point is a dynamic target point.

[0096] Specifically, in order to make this quadrilateral sufficiently surround the data points on the road, the first scattered point on the first road boundary line, the second scattered point, the third scattered point and the fourth scattered point on the second road boundary line are expanded along different directions of the lane line. Let L1 be the first road boundary line, let the second road boundary line be L2, let the first scattered point, the second scattered point, the third scattered point and the fourth scattered point be p1, p2, p3, p4 respectively, let the endpoints p1 and p2 be updated alternately along different directions of the lane line, and require that the distance between p1 and p2 is less than 5 meters and the linearity σ between p1 and p2 is greater than 0.995. Let there be n points between p1 and p2, with coordinates Xn = [xn,yn,zn] T , the mean is:

[0097] The covariance matrix C is:

[0098] The eigenvalues ​​of the covariance matrix C are obtained from large to small as λ1, λ2, and λ3, and the linearity σ is calculated as follows:

[0099]

[0100] Use the corner method to determine whether point p is inside the quadrilateral p1p2p3p4. If it is inside the quadrilateral, point p is a dynamic point, otherwise it is a static point.

[0101] The angle method is to judge by the angle α formed by point p and the four vertices p1, p2, p3, and p4 of the quadrilateral in counterclockwise order. If α is equal to 0°, point p is outside the quadrilateral, otherwise it is inside the quadrilateral. α is the sum of the angles α1, α2, α3, and α4 between point p and p1p2, p2p3, p3p4, and p4p1. αi is positive counterclockwise, such as Figure 2 As shown, point p' is outside the quadrilateral, and the sum of the angles is 0°; point p is inside the quadrilateral, and the sum of the angles is 360°.

[0102] The present invention also provides a method for recovering misdetected point clouds. Since the leaves of some roadside trees extend above the road surface or the road surface is selected into the candidate point cloud, the dynamic target point cloud elimination method will misdetect these leaves or road surfaces as dynamic targets. In order to recover these misdetected point clouds, the present invention proposes a recovery method to recover this part of the point cloud from the dynamic target point cloud.

[0103] The principle of the false positive point cloud recovery step is to distinguish and recover those point clouds that are mistakenly identified as dynamic targets, such as leaves and road surfaces, through clustering and z-value analysis. This process helps to improve the accuracy of autonomous vehicles' perception of the environment and avoid making wrong driving decisions due to misjudgment. The false positive point cloud recovery method is as follows:

[0104] (1) Dynamic target point cloud clustering;

[0105] Specifically, the dynamic target point cloud is clustered using the Euclidean distance clustering algorithm. This algorithm divides the points into different categories based on the distance between them, and each category is represented by a point cloud of a different color. The purpose of clustering is to bring similar point clouds together for further analysis.

[0106] (2) False positive identification;

[0107] Specifically, for each clustered category, count its minimum z value (height) and maximum z value. If the minimum z value of a category is 1.5 meters above the ground, this may mean that this category contains non-ground objects such as leaves, because leaves are usually not lower than 1.5 meters from the ground. If the maximum z value of a category is less than 0.3 meters higher than the ground, this may mean that this category contains road point clouds, because the height variation of the road surface is usually small.

[0108] Based on these statistics, the system can identify which categories are misdetected leaves or road surface point clouds and restore them from the dynamic target point cloud.

[0109] The present invention also provides a point cloud stitching method, the principle of which is to merge single-frame point cloud data collected by multiple laser radars into a continuous and complete point cloud map. This process generally involves the following steps:

[0110] (1) Data preprocessing;

[0111] Specifically, before stitching, each single frame of point cloud data needs to be preprocessed, including motion compensation and noise filtering, to ensure the consistency and accuracy of the data.

[0112] (2) Application of posture information;

[0113] Specifically, the LiDAR pose information (including position and attitude) obtained in the data preprocessing stage is used to transform each single frame of point cloud data into a common reference coordinate system. This usually involves transforming the point cloud data from the LiDAR coordinate system to the vehicle coordinate system, and then to the global coordinate system (such as the UTM coordinate system).

[0114] (3) Point cloud stitching;

[0115] The converted single-frame point cloud data sets are merged to form a continuous point cloud map. In this process, data fusion of overlapping areas needs to be processed to eliminate duplicate points and ensure the continuity of the map.

[0116] Figure 3 : is a module diagram of the dynamic target point cloud removal device based on the point cloud map of the present invention. Figure 3 As shown, the module includes:

[0117] 201. A positioning data acquisition module, which is used to acquire positioning data. The positioning data includes lidar data, GNSS data, and IMU data.

[0118] 202. A data preprocessing module, which is used to preprocess the GNSS data and the IMU data to obtain the first position information.

[0119] 203. A motion compensation module, which performs motion compensation on the laser radar data according to the first pose information to obtain first point cloud data and second pose information.

[0120] 204. A data conversion module, wherein the data conversion module obtains three-dimensional road boundary line data and converts the three-dimensional road boundary line data into two-dimensional road boundary line data.

[0121] 205. Create an index table module, which is used to establish a scattered boundary line serial number index table and a left and right boundary line index table of the same road according to the two-dimensional road boundary line data.

[0122] 206. A candidate point cloud data acquisition module, which is used to obtain candidate point cloud data through interval selection according to the first point cloud data, and the candidate point cloud data includes multiple data points.

[0123] 207. A dynamic target point cloud elimination module, which is used to traverse the candidate point cloud data, perform verification operations on the candidate point cloud data, obtain the dynamic target point cloud and eliminate the dynamic target point cloud.

[0124] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0125] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0126] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0127] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as solving a method for removing dynamic target point clouds based on point cloud maps.

[0128] In some embodiments, a method for removing a dynamic target point cloud based on a point cloud map may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for removing a dynamic target point cloud based on a point cloud map described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a method for removing a dynamic target point cloud based on a point cloud map in any other appropriate manner (e.g., by means of firmware).

[0129] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0130] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0131] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0132] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0133] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0134] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0135] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements a method for removing dynamic target point clouds based on point cloud maps as provided in an embodiment of the present invention.

[0136] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0137] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0138] The working principle of the dynamic target point cloud elimination method based on point cloud map provided by the present invention is: using sensors such as laser radar, GNSS and IMU to collect vehicle positioning data, including laser radar point cloud data, GNSS global position information and IMU dynamic posture information. These data are preprocessed, including motion compensation and coordinate system conversion, to ensure the consistency and accuracy of the data. By establishing a scattered point boundary line sequence index table and a left and right boundary line index table of the same road, the system can quickly retrieve whether the point in the point cloud data is located within the road boundary line. Perform a verification operation on the candidate point cloud data, and identify the dynamic target point cloud by constructing a quadrilateral and judging whether the data point is located inside the quadrilateral. By eliminating dynamic targets, the point cloud map more accurately reflects the static environment around the vehicle, which helps to improve the positioning accuracy of the vehicle. Not only can vehicles traveling on the road be eliminated, but also vehicles parked on the roadside can be eliminated; dynamic targets that are partially blocked by static targets and are far away can be effectively eliminated.

[0139] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for removing dynamic target point cloud based on point cloud map. It is characterized in that The elimination method includes: Acquire positioning data, wherein the positioning data includes lidar data, GNSS data and IMU data; Preprocessing the GNSS data and the IMU data to obtain the first position information; According to the first pose information, the laser radar data is motion compensated to obtain first point cloud data and second pose information; Acquire three-dimensional road boundary line data, and convert the three-dimensional road boundary line data into two-dimensional road boundary line data; According to the two-dimensional road boundary line data, a scattered point boundary line sequence number index table and a left and right boundary line index table of the same road are established; According to the first point cloud data, candidate point cloud data is obtained by interval selection, wherein the candidate point cloud data includes a plurality of data points; The candidate point cloud data is traversed, a verification operation is performed on the candidate point cloud data, a dynamic target point cloud is obtained, and the dynamic target point cloud is eliminated.

2. According to the method for removing dynamic target point cloud based on point cloud map in claim 1, It is characterized in that The GNSS data and IMU data are preprocessed to obtain the first pose information, specifically including: The GNSS data and the IMU data are preprocessed to obtain the first position information with a frequency of 100 Hz; The first position information is represented by a UTM world coordinate system.

3. According to the method for removing dynamic target point cloud based on point cloud map in claim 1, It is characterized in that According to the first pose information, the laser radar data is motion compensated to obtain first point cloud data and second pose information, including: The laser radar data is collected by a laser radar; The GNSS data and the IMU data are collected by an integrated navigation system, wherein the integrated navigation system includes a global navigation satellite system and an inertial measurement unit, the GNSS data are collected by the global navigation satellite system, and the IMU data are collected by the inertial measurement unit; Calibrate the external parameters of the laser radar and the integrated navigation system; Establishing a motion model during laser radar data collection according to the first posture information, and using the motion model to perform motion compensation on the laser radar data to obtain first point cloud data; Calculate the second pose information according to the first point cloud data; Wherein, the first point cloud data and the second pose information are represented by the UTM world coordinate system.

4. According to the method for removing dynamic target point cloud based on point cloud map in claim 1, It is characterized in that Acquire three-dimensional road boundary line data, convert the three-dimensional road boundary line data into two-dimensional road boundary line data, and establish a scattered point boundary line sequence number index table and a left and right boundary line index table of the same road according to the two-dimensional road boundary line data, including: The three-dimensional road boundary line data includes a plurality of three-dimensional coordinate scattered points, and the coordinates of the plurality of three-dimensional coordinate scattered points are expressed in WGS84 coordinates; Convert the three-dimensional road boundary line data into a UTM world coordinate system representation to obtain two-dimensional road boundary line data, wherein the two-dimensional road boundary line data includes a plurality of two-dimensional coordinate scattered points; The z value of the two-dimensional coordinate scatter point in the UTM world coordinate system is set to 0; Using KDTree to store the two-dimensional coordinate scattered points of the two-dimensional road boundary line data; A scattered point boundary line serial number index table and a left and right boundary line index table of the same road are established through a plurality of the two-dimensional coordinate scattered points.

5. According to the method for removing dynamic target point cloud based on point cloud map in claim 4, It is characterized in that The step of performing a verification operation on the candidate point cloud data comprises: Searching the two-dimensional coordinate scatter point closest to the data point of the candidate point cloud data by the KDTree, and determining that the distance between the data point and the nearest two-dimensional coordinate scatter point is less than 20 meters; Finding the first road boundary line corresponding to the two-dimensional coordinate scattered point closest to the data point according to the scattered point boundary line sequence index table; The KDTree searches for two two-dimensional coordinate scattered points closest to the data point on the first road boundary line to obtain a first scattered point and a second scattered point; According to the first road boundary line, the second road boundary line is found through the index table of left and right boundaries of the same road; Searching the KDTree for two two-dimensional coordinate scatter points closest to the data point on the second road boundary line to obtain a third scatter point and a fourth scatter point; Connecting the first scattered point, the second scattered point, the third scattered point and the fourth scattered point to form a quadrilateral; When the data point is located inside the quadrilateral, the data point is a dynamic target point.

6. The method for removing dynamic target point cloud based on point cloud map according to claim 1, It is characterized in that Traversing the candidate point cloud data, performing a verification operation on the candidate point cloud data, obtaining a dynamic target point cloud and removing the dynamic target point cloud, including: Traversing the candidate point cloud data, performing a verification operation on each data point of the candidate point cloud data, and obtaining a plurality of dynamic target points; The dynamic target point cloud is composed of a plurality of dynamic target points; The dynamic target point cloud is eliminated.

7. The method for removing dynamic target point cloud based on point cloud map according to claim 5, Features: Searching the KDTree for the two-dimensional coordinate scatter points closest to the data points of the candidate point cloud data; When the distance between the data point and the nearest two-dimensional coordinate scatter point is greater than 20 meters, the data point is a static target point.

8. A dynamic target point cloud removal device based on point cloud map, A positioning data acquisition module, wherein the positioning data acquisition module is used to acquire positioning data, wherein the positioning data includes lidar data, GNSS data and IMU data; A data preprocessing module, wherein the data preprocessing module is used to preprocess the GNSS data and the IMU data to obtain the first position information; A motion compensation module, wherein the motion compensation module performs motion compensation on the laser radar data according to the first pose information to obtain first point cloud data and second pose information; A data conversion module, wherein the data conversion module acquires three-dimensional road boundary line data and converts the three-dimensional road boundary line data into two-dimensional road boundary line data; An index table creation module is used to create a scattered point boundary line sequence number index table and a left and right boundary line index table of the same road according to the two-dimensional road boundary line data; A candidate point cloud data acquisition module, the candidate point cloud data acquisition module is used to obtain candidate point cloud data through interval selection according to the first point cloud data, the candidate point cloud data includes a plurality of data points; A dynamic target point cloud elimination module is used to traverse the candidate point cloud data, perform a verification operation on the candidate point cloud data, obtain a dynamic target point cloud and eliminate the dynamic target point cloud.

9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a dynamic target point cloud removal method based on a point cloud map as described in any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement a dynamic target point cloud removal method based on a point cloud map as described in any one of claims 1 to 7 when executed.

Citation Information

Cited By

  • Online path planning method and system for automatic grinding robot

    CN120755895A

  • Online path planning method and system for automatic polishing robot

    CN120755895B

  • Urban bus trajectory tracking method and system based on Beidou positioning

    CN122078425A