Ground point cloud segmentation method and system based on adaptive concentric circle model
The lidar point cloud data is segmented and fitted through the adaptive concentric circle model, combined with height statistics and plane inspection, which solves the under-segmentation and over-segmentation problems in ground point cloud segmentation in the existing technology, and realizes the detection of complex environments in complex environments. Accurate ground point identification and segmentation improves segmentation accuracy and efficiency.
Patent Information
- Application Number
- CN202410930961.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-12
AI Technical Summary
When dealing with ground point cloud segmentation in complex environments, the existing technology is prone to under-segmentation or over-segmentation problems, and has poor adaptability to different environments, especially when facing steep slopes and irregular roads. It is difficult to accurately identify ground points and requires training of deep learning models.
The ground point cloud segmentation method based on the adaptive concentric circle model is used to preprocess and filter out invalid point clouds by obtaining the original point cloud data of lidar, divide multiple meta-regions, perform height statistics and vertical surface point filtering, and combine the plane Scale and flatness tests fit the ground area, reducing misjudgments and correcting false positives.
It improves the accuracy and efficiency of ground point cloud segmentation and is suitable for resource-constrained application scenarios. It can effectively identify and segment slopes and irregular roads, remove interference, reduce misjudgments, and improve the accuracy of ground point cloud segmentation.
Smart Images

Figure CN118470331B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ground segmentation for indoor and outdoor three-dimensional complex scenes, and in particular to a ground point cloud segmentation method and system based on an adaptive concentric circle model. Background Art
[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.
[0003] In recent years, mobile robots have been increasingly used to perform specific tasks in various complex environments. Among them, 3D SLAM (Simultaneous Localization And Mapping) has gradually become a research hotspot for solving complex indoor and outdoor environment perception problems. A robust SLAM system needs to be able to handle dynamic environments, identify and process dynamic objects, and avoid these objects from interfering with positioning and map construction. The key to identifying dynamic objects is to eliminate interference items such as ground points and reduce mismatches.
[0004] Common ground segmentation methods for laser point clouds can be divided into three categories. The first category is to filter the point cloud based on the relative height from the sensor to the actual ground, and then use the RANSAC method to estimate the ground point cloud; the second category is to introduce two-dimensional straight line fitting on the uniform polar coordinate grid representation, estimate the straight line equation on each grid, and then, in each grid, determine whether the point is a ground point by comparing the constant threshold and the estimated parameters (such as point-line distance, gradient or y-intercept); the third category is based on information such as ground plane elevation, and estimates ground points in real time through deep learning methods.
[0005] However, the inventors found that due to the complexity of real-world scenarios, the first type of method is prone to under-segmentation problems when faced with steep slopes and bumpy roads; the second type of method is prone to over-segmentation problems when faced with roadside flower beds, steps, and car hoods; although the third type of method has a better ground segmentation effect, it requires training of a deep learning model and has poor adaptability to various environments. Summary of the invention
[0006] In order to address the shortcomings of the prior art, the present invention provides a ground point cloud segmentation method and system based on an adaptive concentric circle model, which can effectively identify and segment ground conditions such as slopes and irregular roads, while eliminating interference such as roadside flower beds, steps and car hoods, thereby improving the accuracy of ground segmentation.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a ground point cloud segmentation method based on an adaptive concentric circle model.
[0009] A ground point cloud segmentation method based on an adaptive concentric circle model includes the following processes:
[0010] Obtain the original point cloud data of the laser radar and perform preprocessing, and filter out invalid point clouds from the preprocessed point cloud data;
[0011] Based on the adaptive concentric circle model, the point cloud data after invalid point cloud filtering is segmented to obtain multiple element regions;
[0012] Perform height statistics on the point cloud data of each meta-region;
[0013] According to the point cloud height statistics, vertical surface points are filtered out for each element area;
[0014] Perform ground area fitting for each element area after vertical surface points are filtered out;
[0015] The false positive correction is performed on the misjudged ground points in the ground area fitting to obtain the final ground points and non-ground points.
[0016] In a second aspect, the present invention provides a ground point cloud segmentation system based on an adaptive concentric circle model.
[0017] A ground point cloud segmentation system based on an adaptive concentric circle model, comprising:
[0018] The invalid point cloud filtering unit is configured to: obtain the original point cloud data of the laser radar and perform preprocessing, and perform invalid point cloud filtering on the preprocessed point cloud data;
[0019] The point cloud segmentation unit is configured to: segment the point cloud data after invalid point clouds are filtered out based on an adaptive concentric circle model to obtain a plurality of element regions;
[0020] The height statistics unit is configured to: perform height statistics on the point cloud data of each meta-region;
[0021] The vertical surface point filtering unit is configured to: perform vertical surface point filtering on each element region according to the point cloud height statistics result;
[0022] The ground area fitting unit is configured to: perform ground area fitting on each element area after vertical surface points are filtered out;
[0023] The false positive correction unit is configured to perform false positive correction on the ground points misjudged in the ground area fitting to obtain the final ground points and non-ground points.
[0024] Compared with the prior art, the present invention has the following beneficial effects:
[0025] 1. The present invention adopts an adaptive concentric circle model to associate the number of laser point clouds with the size of the meta-region, effectively avoiding the situation where the point clouds in some meta-regions are too sparse, thereby improving the distribution uniformity and processing efficiency of point cloud data, reducing the demand for computing resources, and is suitable for practical application scenarios with limited resources.
[0026] 2. The present invention performs height statistics on the point cloud data in the meta-area, extracts point set intervals of different heights, analyzes and processes these point set intervals, and combines vertical surface point filtering and ground area fitting technology to more accurately identify and extract ground points.
[0027] 3. The present invention introduces two indicators, plane scale test and flatness test, to correct the false positives that are misjudged as ground points in ground area fitting, and eliminate non-ground points with sudden elevation changes and small plane scale or insufficient flatness, further reducing misjudgment and improving the accuracy of ground point cloud segmentation.
[0028] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0030] Figure 1 A schematic diagram of a flow chart of a ground point cloud segmentation method based on an adaptive concentric circle model provided in Embodiment 1 of the present invention;
[0031] Figure 2 The adaptive concentric circle model diagram provided in Example 1 of the present invention;
[0032] Figure 3 A schematic diagram of the distribution of the point cloud scanned by the mechanical laser radar provided in Example 1 of the present invention;
[0033] Figure 4 A schematic diagram of a process for filtering vertical surface points provided in Embodiment 1 of the present invention;
[0034] Figure 5 A schematic diagram of the process of ground area fitting provided in Example 1 of the present invention;
[0035] Figure 6 A schematic diagram of a false positive correction process provided in Example 1 of the present invention;
[0036] Figure 7 A schematic diagram of a ground point cloud segmentation system based on an adaptive concentric circle model provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0037] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0038] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0039] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0040] Embodiment 1:
[0041] The robot SLAM system (Simultaneous Localization And Mapping) is a key technology in the field of robotics. It is used to realize the autonomous positioning and navigation of robots in unknown environments. The SLAM system allows the robot to collect environmental data through its own sensors without prior environmental information, and simultaneously complete its own positioning and environmental map construction during movement.
[0042] During the specific implementation process, the robot collects environmental information through the sensors it carries (such as depth cameras, lidar, inertial measurement units, etc.). These sensors provide the robot with data about the environmental structure, texture, distance, etc. The robot is also equipped with a control terminal, which can process and fuse the collected environmental information through SLAM algorithms. These algorithms are responsible for parsing sensor data, estimating the robot's position, and building an incremental map of the environment to achieve precise navigation control of the robot.
[0043] As described in the background technology, the prior art has the following problems, for example: when facing steep slopes and bumpy roads, it is easy to have under-segmentation problems; when facing roadside flower beds, steps and car hoods, it is easy to have over-segmentation problems; deep learning models need to be trained, and the adaptability to various environments is poor. In view of this, this implementation proposes a ground point cloud segmentation method based on an adaptive concentric circle model, which can be applied to the above-mentioned robot control terminal, and can also be applied to other controllers or exist as a control program for further processing of subsequent SLAM algorithms, such as for subsequent positioning or navigation, etc. Specifically, it includes the following processes:
[0044] S1: Obtain the installation parameter information of the laser radar and receive the point cloud data generated by it.
[0045] S2: Because in the subsequent point cloud height statistics module, it is necessary to perform statistical analysis based on the Z-axis information of the point cloud data. Therefore, in this implementation method, based on the installation parameter information of the laser radar, it is determined whether the Z-axis of the point cloud coordinate system is vertically upward. If the Z-axis is not vertically upward, the point cloud data needs to be transformed to ensure that the Z-axis is vertically upward.
[0046] S3: Filter out invalid point clouds from the point cloud data after coordinate transformation, including:
[0047] S3.1: Remove points that are too close within a radius of 1 meter (i.e., radius R) around the vehicle body; remove NaN point cloud data where the lidar cannot measure the effective distance or the reflection signal is not strong;
[0048] S3.2: Points that are more than 25 meters (i.e., the set value) horizontally away from the laser radar are directly marked as non-ground points (according to statistics of experimental data, 95% of the ground points are located less than 24.8 meters away from the laser radar).
[0049] S4: Segment the filtered point cloud data based on the adaptive concentric circle model to obtain several element regions, including:
[0050] S4.1: On the horizontal plane, draw concentric circles with a radius of 1 meter (R1) to 25 meters (R2) with the laser radar as the center, and divide the area into three small areas, namely the central sparse area, the dense area, and the edge sparse area. The radial radius formulas of the three areas are:
[0051] (1);
[0052] Among them, the inner diameter of the central sparse area is , the outer diameter is , the inner diameter of the dense region is , the outer diameter is , the inner diameter of the edge sparse area is , the outer diameter is .
[0053] S4.2: Further divide the central sparse area and dense area obtained in the first step into two annular areas. According to the principle of equidistant radius division, set the intermediate radius. As a dividing point, the first ring: inner diameter To middle radius ; Second ring: middle radius To outer diameter ;
[0054] The dense area is divided into four annular areas, and three intermediate radii are set according to the principle of equidistant radius division. , and , the formula is as follows:
[0055] (2);
[0056] Third ring: inner diameter To middle radius ; Fourth ring: middle radius To middle radius ; Fifth ring: middle radius To middle radius ; Sixth ring: middle radius To outer diameter , the sparse area at the edge is the seventh ring;
[0057] S4.3: Get a frame of point cloud data, calculate the horizontal distance from each point cloud to the laser radar, and count the number of point clouds falling into each annular area ,in, Indicates the serial number of the ring area;
[0058] S4.4: Divide the seven annular regions obtained in S4.2 into Sector-shaped areas, each sector-shaped area is the smallest area unit, called a meta-area, and the number of meta-areas in each annular area is Associated with the point cloud data distribution of the LiDAR scan, the number of point clouds falling into the annular area is calculated based on the statistics , the formula is as follows:
[0059] (3);
[0060] in, is the adjustment coefficient, , represents the adjustment coefficient of the central sparse area, ; represents the adjustment coefficient of dense area, ; represents the adjustment coefficient of the edge sparse area, .
[0061] After the above four steps, the point cloud within the horizontal distance of 1 meter to 25 meters from the laser radar can be divided into different element areas. The adaptive concentric circle model is as follows: Figure 2 shown.
[0062] S5: Perform height statistics on the point cloud data of each meta-region, specifically including:
[0063] The following operations are performed on the point cloud data in each meta-region: first, the Z-axis coordinate values of the point cloud data in the meta-region are extracted and sorted by numerical size. A greedy algorithm is used to traverse the sorted Z-axis coordinate values, a finite number of intervals in the Z-axis coordinate value set are found, and the mean value of the Z-axis data in each interval in the point cloud set is calculated.
[0064] S6: According to the point cloud height statistics, vertical surface points are filtered out for each element area, including:
[0065] Due to the scanning characteristics of the mechanical laser radar, when the laser radar's No. 0 beam scans the wall (such as Figure 3 ② in the figure) or when any beam scans to the horizontal plane (as shown in Figure 3 As shown in ③ in the figure), the point cloud is projected on the Z-axis plane in a straight line distribution. This type of point cloud concentration interval has a small variance and is called a concentrated point set interval. When other beams except No. 0 scan the wall (such as Figure 3 As shown in ① and ④ in the figure), the point cloud is projected in an arc shape on the Z-axis plane. The variance of this type of point cloud concentration interval is relatively large, which is called a discrete point set interval.
[0066] The following operations are performed on the point cloud data in each element area: in the point set interval calculated by the point cloud height statistical model, each interval is traversed from the discrete point set to the concentrated point set. The operation process for each point set interval is as follows: Figure 4 shown.
[0067] S6.1: Preselect a seed point set, select N lowest points in the P point clouds in the point set interval as seed points, and perform principal component analysis on the seed points to determine whether it is a plane; if it is a plane, take the eigenvector corresponding to the minimum eigenvalue as the normal vector of the plane ; If it is not a plane, remove the seed point from P, reselect N seed points, and repeat the above operation.
[0068] S6.2: Preliminary screening of plane verticality. Use the following conditional judgment formula to perform preliminary screening of the verticality of the plane formed by the seed point set:
[0069] (4);
[0070] in, is the unit vector in the Z-axis direction. If the condition is met, continue; otherwise, remove the seed point from P and return to the first step.
[0071] S6.3: Plane fitting and clustering, specifically, including:
[0072] First, find the midpoint of the seed point set , construct the plane equation using the point method ,in, ;
[0073] Secondly, traverse the points in the meta-region and mark all points that meet the following conditions as seed points:
[0074] (5);
[0075] in, represents the i-th point in the region, is the distance threshold set, The distance to the plane is less than the threshold The seed point.
[0076] S6.4: Determination of plane verticality, specifically including:
[0077] First, perform principal component analysis on the marked seed points and calculate the normal vector of the plane formed by the seed points ;
[0078] Secondly, the verticality of the plane formed by the seed points is judged using the following conditional judgment formula:
[0079] (6);
[0080] If the conditions are met, all seed points are marked as vertical surface points and removed from P; otherwise, the seed points are removed from P and the process returns to S6.1;
[0081] Through the above steps, vertical surface points are filtered out of the point cloud data in each element area, and accurate initial data is provided for the subsequent ground area fitting.
[0082] S7: Perform ground area fitting for each element area. The specific operation process for each point set interval is as follows: Figure 5 As shown, the following process is included:
[0083] S7.1: Preselect a seed point set. In the point set interval calculated by the point cloud height statistical model, first remove the point set interval that fits the vertical surface points, then traverse from the point set interval with the lowest Z-axis average height to the interval with higher height, and obtain the Z-axis mean of the point set interval , as the initial height of the ground point;
[0084] S7.2: Clustering process, for the point set in the meta-region Traverse and mark the points that meet the following conditions as seed points:
[0085] (7);
[0086] in, is the seed point; is the i-th point in the region; It is a function that returns the height value of a point; is the point cloud height threshold.
[0087] S7.3: Principal component analysis, perform principal component analysis on the marked seed points to obtain the normal vector of the plane formed by the seed points ;
[0088] S7.4: Plane levelness judgment: Use the following conditional judgment formula to judge the levelness of the plane formed by the seed point set:
[0089] (8);
[0090] If the condition is met, continue; otherwise, remove the point set interval and return to the first step.
[0091] S7.5: Traverse the clusters and find the point sets in the meta-region Traverse and add points that meet the following conditions to the seed point set:
[0092] (9);
[0093] in, represents the seed point set obtained in the kth iteration; is the first i points; Represents the distance from the i-th point to the surface; Indicates the plane thickness threshold;
[0094] When the number of points that meet the conditions reaches 30, return to S7.3 until no points are added in S7.4, and the extraction of ground points is completed.
[0095] S8: Correct false positives of ground points that are misjudged in ground area fitting, including:
[0096] When fitting the ground, some objects with similar geometric information to the ground, such as the upper surface of a flower bed and the hood of an engine, may be misjudged as the ground. Therefore, two indicators, plane scale test and flatness test, are set to correct the false positives that are misjudged as ground points in ground area fitting.
[0097] Plane scale inspection: Eliminate non-ground point clouds with sudden elevation changes and small plane scales, such as the engine hood;
[0098] Flatness test: Eliminate non-ground point clouds with sudden elevation changes and uneven plane dimensions, such as the upper surface of flower bed shrubs.
[0099] The following operations are performed on the point cloud data in each meta-region: Figure 6 As shown, including:
[0100] S8.1: Calculate the elevation value of the surrounding element area. The range of the surrounding element area is the two adjacent element areas on the left and right of the same annular area. Calculate the average height of the ground point cloud fitted by the two element areas in the ground area fitting module as the elevation value. If the ground is not fitted in the ground fitting module, the height of the lidar above the ground is used as the elevation value. The formula for the difference between adjacent elevation values is as follows:
[0101] (10);
[0102] S8.2: Calculate the plane scale of the ground point cloud obtained by fitting the element region in the ground region. By traversing the fitted ground point cloud, calculate the width of the plane and obtain the maximum width of the fitted plane: ;
[0103] S8.3: Calculate the flatness of the ground point cloud obtained in the ground fitting of the element region, perform principal component analysis on the fitted ground point cloud, and obtain the normal vector of the plane formed by the ground points ; Then, calculate the distance from each ground point in the meta-region to the fitting plane, the formula is as follows:
[0104] (11);
[0105] in, Indicates j ground points and calculate Variance ;
[0106] S8.4: The conditional judgment formula for plane dimension inspection is as follows:
[0107] (12);
[0108] The conditional judgment formula for flatness test is as follows:
[0109] (13);
[0110] in, is the flatness threshold;
[0111] S8.5: The ground point cloud that meets the conditions is judged as a false positive, that is, a non-ground point.
[0112] Embodiment 2:
[0113] like Figure 7 As shown, this implementation provides a ground point cloud segmentation system based on an adaptive concentric circle model, including:
[0114] The invalid point cloud filtering unit is configured to: obtain the original point cloud data of the laser radar and perform preprocessing, and perform invalid point cloud filtering on the preprocessed point cloud data;
[0115] The point cloud segmentation unit is configured to: segment the point cloud data after invalid point clouds are filtered out based on an adaptive concentric circle model to obtain a plurality of element regions;
[0116] The height statistics unit is configured to: perform height statistics on the point cloud data of each meta-region;
[0117] The vertical surface point filtering unit is configured to: perform vertical surface point filtering on each element region according to the point cloud height statistics result;
[0118] The ground area fitting unit is configured to: perform ground area fitting on each element area after vertical surface points are filtered out;
[0119] The false positive correction unit is configured to perform false positive correction on the ground points misjudged in the ground area fitting to obtain the final ground points and non-ground points.
[0120] The working method of each unit is the same as that provided in Example 1, and will not be described again here.
[0121] It is understandable that the above-mentioned units can be separately or completely combined into one or several other units, or some of the units can be further divided into multiple functionally smaller units, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the point cloud segmentation system may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
[0122] According to another embodiment of the present application, the system described in this embodiment can be constructed, and the point cloud segmentation method of the embodiment of the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the corresponding method described in Example 1 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.
Claims
1. A ground point cloud segmentation method based on an adaptive concentric circle model, characterized in that: The process includes: Obtain the original point cloud data of the laser radar and perform preprocessing, and filter out invalid point clouds from the preprocessed point cloud data; Based on the adaptive concentric circle model, the point cloud data after invalid point cloud filtering is segmented to obtain multiple element regions; Perform height statistics on the point cloud data of each meta-region; According to the point cloud height statistics, vertical surface points are filtered out for each element area; Perform ground area fitting for each element area after vertical surface points are filtered out; Perform false positive correction on the ground points misjudged in the ground area fitting to obtain the final ground points and non-ground points; The adaptive concentric circle model is as follows: on the horizontal plane, with the laser radar as the center, concentric circles are drawn within the radius range of R1 to R2, and the area is divided into three small areas, namely the central sparse area, the dense area and the edge sparse area. The inner diameter of the central sparse area is , the outer diameter is ; The inner diameter of the dense area is , the outer diameter is ; The inner diameter of the edge sparse area is , the outer diameter is ; The central sparse area is divided into two annular areas. According to the principle of equidistant radius division, the middle radius is set. As the dividing point, the first ring is the inner diameter To middle radius , the second ring is the middle radius To outer diameter ; The dense area is divided into four annular areas, and three intermediate radii are set according to the principle of equidistant radius division. , and , the third ring is the inner diameter To middle radius , the fourth ring is the middle radius To middle radius , the fifth ring is the middle radius To middle radius , the sixth ring is the middle radius To outer diameter , the sparse area at the edge is the seventh ring.
2. The ground point cloud segmentation method based on the adaptive concentric circle model according to claim 1, characterized in that: The preprocessing includes: determining whether the Z axis of the point cloud coordinate system is vertically upward, and if the Z axis is not vertically upward, performing coordinate transformation on the point cloud data so that the Z axis of the point cloud coordinate system is vertically upward; Filter out invalid point clouds, including: Remove points that are too close within a radius R around the vehicle body, remove NaN point cloud data where the lidar cannot measure the effective distance or the reflected signal is lower than the set value, and directly mark points whose horizontal distance from the lidar exceeds the set value as non-ground points.
3. The ground point cloud segmentation method based on the adaptive concentric circle model according to claim 1, characterized in that: Based on the adaptive concentric circle model, the point cloud data after invalid point cloud filtering is segmented to obtain multiple meta-regions, including: Get a frame of point cloud data, calculate the horizontal distance from each point cloud to the laser radar, and count the number of point clouds falling into each annular area ,in, Indicates the serial number of the ring area; The seven annular areas are evenly divided into Sector-shaped areas, each sector-shaped area is the smallest area unit, called a meta-area, and the number of meta-areas in each annular area is Associated with the point cloud data distribution of the LiDAR scan, the number of point clouds falling into the annular area is calculated based on the statistics .
4. The ground point cloud segmentation method based on the adaptive concentric circle model according to any one of claims 1 to 3, characterized in that: Perform height statistics on the point cloud data of each meta-region, including: For any meta-region, extract the Z-axis coordinate values of the point cloud data in the meta-region, sort the Z-axis coordinate values by numerical value, use the greedy algorithm to traverse the sorted Z-axis coordinate values, find a finite number of intervals in the Z-axis coordinate value concentration as the point cloud concentration interval, and calculate the mean value of the Z-axis data in each point cloud concentration interval; According to the point cloud height statistics, vertical surface points are filtered out for each element area, including: Due to the scanning characteristics of mechanical laser radar, when the No. 0 beam of the laser radar scans the wall or any beam scans the horizontal plane, the point cloud is projected on the Z-axis plane in a straight line distribution. This type of point cloud concentration interval is called a concentrated point set interval; when other beams except No. 0 scan the wall, the point cloud is projected on the Z-axis plane in an arc shape. This type of point cloud concentration interval is called a discrete point set interval.
5. The ground point cloud segmentation method based on the adaptive concentric circle model according to claim 4, characterized in that: In the point cloud concentration interval calculated by the point cloud height statistical model, each interval is traversed from the discrete point set interval to the concentrated point set interval, including: Select N lowest points from the P point clouds in the point cloud concentration interval as seed points, and perform principal component analysis on the seed points to determine whether it is a plane. If it is a plane, take the eigenvector corresponding to the minimum eigenvalue as the normal vector of the plane. , if it is not a plane, remove the seed point from P, reselect N seed points, and repeat the above operation; Use the following conditional judgment formula to perform a preliminary screening of the verticality of the plane formed by the seed point set: ,in, is the unit vector in the Z-axis direction. If the condition is met, proceed to the next step; otherwise, remove the seed point from P and return to the previous step: Find the midpoint of the seed point set , construct the plane equation using the point method ,in , traverse the points in the meta-region and mark all points that meet the following conditions as seed points: ,in, represents the i-th point in the region, is the distance threshold set, The distance to the plane is less than the threshold The seed point of Perform principal component analysis on the marked seed points and obtain the normal vector of the plane formed by the seed points , judge the verticality of the plane formed by the seed points, and use the following conditional judgment formula: , if the conditions are met, all seed points are marked as vertical surface points and removed from P, otherwise the seed points are removed from P and return to the first step to reselect the N lowest points as seed points.
6. The ground point cloud segmentation method based on the adaptive concentric circle model according to any one of claims 1 to 3, characterized in that: Perform ground area fitting for each element area after vertical surface points are filtered out, including: In the point cloud concentration interval calculated by the point cloud height statistical model, remove the point set interval that fits the vertical surface points, start from the point set interval with the lowest Z-axis average height to traverse to the interval with higher height, and obtain the Z-axis mean of the point cloud concentration interval , as the initial height of the ground point; Point set in the region Traverse and mark the points that meet the following conditions as seed points: ,in, is the seed point; is the i-th point in the region; It is a function that returns the height value of a point; is the point cloud height threshold; Perform principal component analysis on the marked seed points to obtain the normal vector of the plane formed by the seed points ; Use the following conditional judgment formula to judge the horizontality of the plane formed by the seed point set: If the condition is met, proceed to the next step; otherwise, remove the point set interval and return to the first step; Point set in the region Traverse and add points that meet the following conditions to the seed point set: ,in, represents the seed point set obtained in the kth iteration; Represents the distance from the i-th point to the surface; Indicates the plane thickness threshold; When the number of points that meet the conditions reaches the set number, return to the step of performing principal component analysis on the marked seed points until no points are added to the seed point set, and the extraction of ground points is completed.
7. The ground point cloud segmentation method based on the adaptive concentric circle model according to any one of claims 1 to 3, characterized in that: Correct false positives for misjudged ground points in ground area fitting, including: The range of the surrounding element area is the two adjacent element areas on the left and right under the same annular area. The average height of the ground point cloud fitted by these two element areas in the ground area fitting module is calculated as the elevation value. If the ground is not fitted in the ground fitting module, the height of the lidar above the ground is used as the elevation value. The formula for the difference between adjacent elevation values is as follows: ; By traversing the fitted ground point cloud, the width of the plane is calculated, and the maximum width of the fitted plane is obtained as ; Perform principal component analysis on the fitted ground point cloud to obtain the normal vector of the plane formed by the ground points , then calculate the distance from each ground point in the meta-region to the fitting plane, the formula is as follows: ,in, Represents the jth ground point and calculates Variance ; The judgment formula for plane dimension inspection conditions is as follows: ,in, m Represents length in meters; The judgment formula for the flatness test condition is as follows: ,in, is the flatness threshold; The ground point clouds that meet the plane scale test conditions and the flatness test conditions are judged as false positives, that is, non-ground points.
8. A ground point cloud segmentation system based on an adaptive concentric circle model, characterized in that: include: The invalid point cloud filtering unit is configured to: obtain the original point cloud data of the laser radar and perform preprocessing, and perform invalid point cloud filtering on the preprocessed point cloud data; The point cloud segmentation unit is configured to: segment the point cloud data after invalid point clouds are filtered out based on an adaptive concentric circle model to obtain a plurality of element regions; The height statistics unit is configured to: perform height statistics on the point cloud data of each meta-region; The vertical surface point filtering unit is configured to: perform vertical surface point filtering on each element region according to the point cloud height statistics result; The ground area fitting unit is configured to: perform ground area fitting on each element area after vertical surface points are filtered out; The false positive correction unit is configured to: perform false positive correction on the ground points misjudged in the ground area fitting to obtain final ground points and non-ground points; The adaptive concentric circle model is as follows: on the horizontal plane, with the laser radar as the center, concentric circles are drawn within the radius range of R1 to R2, and the area is divided into three small areas, namely the central sparse area, the dense area and the edge sparse area. The inner diameter of the central sparse area is , the outer diameter is ; The inner diameter of the dense area is , the outer diameter is ; The inner diameter of the edge sparse area is , the outer diameter is ; The central sparse area is divided into two annular areas. According to the principle of equidistant radius division, the middle radius is set. As the dividing point, the first ring is the inner diameter To middle radius , the second ring is the middle radius To outer diameter ; The dense area is divided into four annular areas, and three intermediate radii are set according to the principle of equidistant radius division. , and , the third ring is the inner diameter To middle radius , the fourth ring is the middle radius To middle radius , the fifth ring is the middle radius To middle radius , the sixth ring is the middle radius To outer diameter , the sparse area at the edge is the seventh ring.
9. The ground point cloud segmentation system based on the adaptive concentric circle model according to claim 8, characterized in that: The preprocessing includes: determining whether the Z axis of the point cloud coordinate system is vertically upward, and if the Z axis is not vertically upward, performing coordinate transformation on the point cloud data so that the Z axis of the point cloud coordinate system is vertically upward; Filter out invalid point clouds, including: Remove points that are too close within a radius R around the vehicle body, remove NaN point cloud data where the lidar cannot measure the effective distance or the reflected signal is lower than the set value, and directly mark points whose horizontal distance from the lidar exceeds the set value as non-ground points.
10. The ground point cloud segmentation system based on the adaptive concentric circle model according to claim 8, characterized in that: Based on the adaptive concentric circle model, the point cloud data after invalid point cloud filtering is segmented to obtain multiple meta-regions, including: On the horizontal plane, with the laser radar as the center, concentric circles are drawn within the radius of R1 to R2, dividing the area into three small areas, namely the central sparse area, the dense area and the edge sparse area. The inner diameter of the central sparse area is , the outer diameter is ; The inner diameter of the dense area is , the outer diameter is ; The inner diameter of the edge sparse area is , the outer diameter is ; The central sparse area is divided into two annular areas. According to the principle of equidistant radius division, the middle radius is set. As the dividing point, the first ring is the inner diameter To middle radius , the second ring is the middle radius To outer diameter ; The dense area is divided into four annular areas, and three intermediate radii are set according to the principle of equidistant radius division. , and , the third ring is the inner diameter To middle radius , the fourth ring is the middle radius To middle radius , the fifth ring is the middle radius To middle radius , the sixth ring is the middle radius To outer diameter , the sparse area at the edge is the seventh ring; Get a frame of point cloud data, calculate the horizontal distance from each point cloud to the laser radar, and count the number of point clouds falling into each annular area ,in, Indicates the serial number of the ring area; The seven annular areas are evenly divided into Sector-shaped areas, each sector-shaped area is the smallest area unit, called a meta-area, and the number of meta-areas in each annular area is Associated with the point cloud data distribution of the LiDAR scan, the number of point clouds falling into the annular area is calculated based on the statistics .
Citation Information
Patent Citations
Slope ground point cloud segmentation method and system based on multi-line laser radar
CN113920134A
Laser radar ground extraction method and device
CN115327569A
