Ground plane detection method and apparatus, and vehicle-mounted terminal and storage medium

By identifying the seed point cloud, calculating the confidence priority and component number, and using the extrapolation strategy to obtain the extended range ground plane equation, the problem of low ground detection accuracy in vehicle autonomous driving is solved, and the accuracy and real-time performance of the detection results are improved. sex.

WO2024222553A1PCT designated stage expired Publication Date: 2024-10-31BEIJING CO WHEELS TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/088384
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-23
Filing Date
2024-04-17
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

It is difficult for the existing technology to accurately obtain the ground plane equation in a long range during automatic vehicle driving, resulting in low ground detection accuracy and unable to meet the needs of automatic driving.

Method used

Obtain the initial point cloud set through the sensing device, identify the seed point cloud, divide the fine plane range, calculate the confidence priority according to the local distribution characteristics of the point cloud, perform plane fitting, traverse the fine plane range, calculate the component number and similarity, use The extrapolation strategy obtains the ground plane equation over an extended range.

Benefits of technology

It improves the accuracy and real-time performance of ground detection, and improves the accuracy of foreground, background detection and obstacle detection results in autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024088384_31102024_PF_FP_ABST
    Figure CN2024088384_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are a ground plane detection method and apparatus, and a vehicle-mounted terminal, a storage medium, a computer program product and a computer program. The method comprises: acquiring an initial point cloud set corresponding to environmental information, and identifying, from the initial point cloud set, seed point clouds used for performing ground plane fitting; performing division within a preset distance range to obtain a plurality of fine plane ranges, and obtaining confidence priorities of a plurality of point cloud groups according to point cloud local distribution features of seed point clouds within each fine plane range; performing fitting on the basis of the confidence priority of each point cloud group within each fine plane range, so as to obtain a ground plane equation of the fine plane range; traversing the plurality of fine plane ranges to determine a target fine plane group, and calculating a similarity score between each candidate fine plane range in the target fine plane group and an extension range; and using a ground plane equation of a candidate fine plane range having the highest similarity score as a ground plane equation of the extension range.
Need to check novelty before this filing date? Find Prior Art

Description

Ground level detection method, device, vehicle-mounted terminal and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310442763.0 filed in China on April 23, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of vehicle radar technology, and in particular to a ground plane detection method, device, vehicle-mounted terminal, readable storage medium, computer program product, and computer program. Background Art

[0004] Autonomous driving often requires the use of various information to make decisions, including ground information, specifically the ground plane equation. Existing methods for obtaining this equation often directly generate it from ground point cloud data collected by sensors. However, due to factors such as sensor measurement accuracy and occlusion between objects, the resulting ground plane equation is inaccurate for surfaces far from the vehicle's sensors, making it difficult to meet the requirements of autonomous driving. Therefore, obtaining a highly accurate ground plane equation for surfaces at long distances has become a pressing issue.

[0005] Summary of the Invention

[0006] In order to solve the above technical problems, the embodiments of the present disclosure provide a ground plane detection method, device, vehicle-mounted terminal, storage medium, computer program product and computer program.

[0007] In a first aspect, an embodiment of the present disclosure provides a ground plane detection method, comprising:

[0008] Acquiring an initial point cloud set corresponding to environmental information using a sensing device, and identifying a seed point cloud for ground plane fitting from the initial point cloud set;

[0009] Dividing the preset distance range into a plurality of small plane ranges, and for each of the small plane ranges, obtaining the confidence priority of each point cloud group within the small plane range according to the local distribution characteristics of the seed point cloud within the small plane range;

[0010] Performing plane fitting based on the confidence priority of each point cloud group within each of the small plane ranges to obtain a ground plane equation for each of the small plane ranges;

[0011] Traversing the plurality of small plane ranges, calculating the small plane component count of a small plane group formed by any small plane range and small plane ranges within its preset range, and determining the small plane group with the highest small plane component count as the target small plane group;

[0012] Similarity scores between the plurality of candidate small plane ranges included in the target small plane group and the extended range are calculated, and a ground plane equation corresponding to the candidate small plane range with the highest similarity score is determined as the ground plane equation of the extended range.

[0013] In some embodiments, calculating the number of small plane components of a small plane group formed by any small plane range and small plane ranges within its preset range includes:

[0014] Calculating the average of the plane angle differences and the average of the plane distances between any small plane range and the small plane ranges within the preset range;

[0015] A weighted calculation is performed on the mean value of the plane angle difference and the mean value of the plane distance to obtain the number of small plane components of the small plane group consisting of any small plane range and the small plane range within its preset range.

[0016] In some embodiments, calculating similarity scores between the plurality of candidate small plane ranges included in the target small plane group and the extension ranges includes:

[0017] Calculating the vertical error and plane distance between any candidate small plane range and the extended range;

[0018] The vertical error and the plane distance are weighted to obtain a similarity score between any candidate small plane range and the extended range.

[0019] In some embodiments, for each of the small plane ranges, obtaining the confidence priority of each point cloud group within the small plane range according to the point cloud local distribution characteristics of the seed point cloud within the small plane range includes:

[0020] Calculating the confidence of the point cloud group based on the standard deviation of the angle and the area of ​​the triangle formed by the point cloud group;

[0021] The confidence levels of the point cloud groups included in the small plane range are sorted to determine the confidence priority of the point cloud groups within the small plane range.

[0022] In some embodiments, the step of calculating the confidence level of the point cloud group based on the standard deviation of angles and the area of ​​triangles formed by the point cloud group includes:

[0023] The confidence level of the point cloud group is obtained by performing a weighted summation on the angle standard deviation and the area.

[0024] In some embodiments, performing plane fitting based on the confidence priority of each point cloud group within the small plane range to obtain a ground plane equation corresponding to the small plane range includes:

[0025] Fitting the point cloud groups with plane equations according to the confidence priority of each point cloud group within the small plane range from high to low, and calculating the average distance from all seed point clouds within the small plane range to the fitting plane during the plane fitting process;

[0026] The fitting plane whose average distance meets the preset convergence threshold is used as the ground plane equation corresponding to the small plane range.

[0027] In some embodiments, identifying a seed point cloud for ground plane fitting from the initial point cloud includes:

[0028] identifying a ground extent from the initial point cloud using a point cloud semantic segmentation model;

[0029] The ground range is gridded, and whether the initial point cloud in the grid is a seed point cloud is determined based on whether the height difference between the highest initial point cloud and the lowest initial point cloud in the grid is less than a preset height threshold.

[0030] In a second aspect, an embodiment of the present disclosure provides a ground plane detection device, comprising:

[0031] A seed point cloud recognition module is used to obtain an initial point cloud set corresponding to environmental information using a sensing device, and to identify a seed point cloud for ground plane fitting from the initial point cloud set;

[0032] a confidence calculation module configured to divide a preset distance range into a plurality of small plane ranges and, for each of the small plane ranges, obtain a confidence priority of each point cloud group within the small plane range based on the local distribution characteristics of the seed point cloud within the small plane range;

[0033] A first plane fitting module is configured to perform plane fitting based on the confidence priority of each point cloud group within the small plane range to obtain a ground plane equation within the small plane range;

[0034] The second plane fitting module is used to traverse the multiple small plane ranges, calculate the small plane component number of the small plane group composed of any small plane range and the small plane ranges within its preset range, and determine the small plane group with the highest small plane component number as the target small plane group; calculate the similarity scores between the multiple candidate small plane ranges included in the target small plane group and the extended range respectively, and determine the ground plane equation corresponding to the candidate small plane range with the highest similarity score as the ground plane equation of the extended range.

[0035] In a third aspect, an embodiment of the present disclosure provides a vehicle-mounted terminal, including: a memory and a processor;

[0036] The memory is configured to store computer program instructions; the processor is configured to execute the computer program instructions, so that the vehicle-mounted terminal implements the ground plane detection method described in any embodiment of the first aspect above.

[0037] In a fourth aspect, an embodiment of the present disclosure provides a readable storage medium, comprising: computer program instructions; at least one processor of a vehicle-mounted terminal executes the computer program instructions, so that the vehicle-mounted terminal implements the ground plane detection method described in any embodiment of the first aspect above.

[0038] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, and a vehicle-mounted terminal runs the computer program product, so that the vehicle-mounted terminal implements the ground plane detection method described in any embodiment of the above aspect.

[0039] In a sixth aspect, an embodiment of the present disclosure provides a computer program, comprising computer program code, which, when executed on a computer, enables the computer to execute the ground plane detection method described in any one of the embodiments of the first aspect.

[0040] The embodiments of the present disclosure provide a ground plane detection method, device, vehicle-mounted terminal, storage medium, computer program product, and computer program. The method includes: using a sensing device to obtain an initial point cloud set corresponding to environmental information, and identifying a seed point cloud for ground plane fitting from the initial point cloud set; dividing a preset distance range into multiple small plane ranges, and obtaining the confidence priority of each point cloud group within the small plane range based on the point cloud local distribution characteristics of the seed point cloud within the small plane range; fitting based on the confidence priority of each point cloud group within the small plane range to obtain a ground plane equation for the small plane range; traversing multiple small plane ranges, determining a target small plane group, and calculating the similarity score corresponding to each small plane range; using the ground plane equation corresponding to the small plane range with the highest similarity score as the ground plane equation of the extended range to obtain a ground plane detection result corresponding to the extended range. By selecting an optimal set of planes from a small range of planes with existing fitting parameters, and then determining a "replicated" plane from this optimal set, an extrapolation strategy is used to use the ground plane equation corresponding to the "replicated" plane as the ground plane equation for the extended range. This approach achieves approximate ground detection results with high accuracy for distant ground areas that are difficult for sensors to detect. In autonomous driving scenarios, this method also helps improve the accuracy of foreground, background, and obstacle detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0043] FIG1 is a schematic diagram of a flow chart of a ground plane detection method provided by an embodiment of the present disclosure;

[0044] FIG2 is a structural diagram of a ground plane detection device provided by an embodiment of the present disclosure;

[0045] FIG3 is a structural diagram of a vehicle-mounted terminal provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0046] In order to make the purpose, implementation mode and advantages of the present disclosure clearer, the exemplary implementation mode of the present disclosure will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present disclosure. Obviously, the described exemplary embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments.

[0047] Based on the exemplary embodiments described in this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the claims attached to this disclosure. In addition, although the disclosure in this disclosure is introduced according to one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete embodiment separately. It should be noted that the brief description of the terms in this disclosure is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this disclosure. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.

[0048] In order to solve the problem of obtaining a high-precision ground plane equation for the ground within a relatively long range, the embodiments of the present disclosure provide a ground plane detection method, device, vehicle-mounted terminal storage medium, computer program product, and computer program. In some embodiments, the method uses a sensing device to obtain an initial point cloud set corresponding to environmental information, and identifies a seed point cloud for plane fitting from the initial point cloud set, then divides the initial point cloud into multiple small plane ranges by a preset distance range, and calculates the confidence priority of multiple point cloud groups corresponding to the small plane range using the point cloud local distribution characteristics of the seed point cloud within the small plane range. The confidence priority is used as the fitting priority, and plane fitting is performed in order of the fitting priority from high to low, thereby accelerating the convergence of the ground plane equation fitting, improving the ground detection efficiency, and enhancing the real-time performance of the ground detection. On this basis, multiple small plane ranges are traversed, and the small plane group count of the small plane group composed of any small plane range and the small plane ranges within its preset range is calculated, and the small plane group with the highest small plane group count is determined as the target small plane group; the similarity scores between the multiple candidate small plane ranges included in the target small plane group and the extended range are calculated, and the ground plane equation corresponding to the candidate small plane range with the highest similarity score is determined as the ground plane equation of the extended range. By selecting the optimal plane group from the small plane range with existing fitting parameters, and then determining the "copied" plane from the optimal plane group, an extrapolation strategy is adopted to use the ground plane equation corresponding to the "copied" plane as the ground plane equation of the extended range, and approximate ground detection results with high accuracy are obtained for the ground areas at a longer range that are difficult for the sensing equipment to detect. Especially in the autonomous driving scenario, this method is also conducive to improving the accuracy of foreground, background and obstacle detection results.

[0049] The method provided in the embodiment of the first aspect of the present disclosure can be implemented by the ground plane detection device provided in the embodiment of the second aspect of the present disclosure. The device can be implemented by any software and / or hardware. The ground plane detection device can be configured in a vehicle, which can be but is not limited to any of the following types of vehicles equipped with a radar device: smart cars, new energy vehicles, ordinary passenger cars, convertible passenger cars, high-end passenger cars, small passenger cars, convertibles, hatchback passenger cars, station wagons, multi-purpose passenger cars, short-head passenger cars, off-road passenger cars, special-purpose passenger cars, etc.

[0050] Next, the ground plane detection method provided by the embodiment of the first aspect of the present disclosure will be described in detail with reference to the accompanying drawings and application scenarios.

[0051] FIG1 is a flow chart of a ground plane detection method according to an embodiment of the present disclosure. Referring to FIG1 , the method according to this embodiment may include steps S101 to S105.

[0052] S101: Acquire an initial point cloud set corresponding to environmental information using a sensing device, and identify a seed point cloud for ground plane fitting from the initial point cloud set.

[0053] A sensing device can be used to obtain an initial point cloud set corresponding to the environmental information. The initial point cloud set includes multiple initial point clouds. The sensing device can be a visual sensor or a radar. For example, in a vehicle scenario, a visual sensor can be installed on the vehicle to capture an image of the environment. The visual sensor then processes the image and maps the two-dimensional pixels in the image into three-dimensional space to obtain an initial point cloud set corresponding to the environmental information. For another example, in a vehicle scenario, one or more lidar devices can be installed on the vehicle to detect in different directions to obtain initial point clouds in different directions. The initial point cloud can be obtained by analyzing the time between the laser radar device transmitting a detection signal and the time between the received reflected signal, or based on other characteristics of the transmitted and reflected signals, or calculated using other algorithms, which are not limited in the present embodiment. In addition, the laser radar device can detect the environment around the vehicle according to a pre-set detection method, such as continuous and periodic automatic detection, or triggering the radar device to perform periodic detection when a specified event is detected, which is not limited in the present embodiment.

[0054] Next, the seed point cloud for ground plane fitting can be identified as follows:

[0055] First, the ground range is identified from the initial point cloud set using a point cloud semantic segmentation model. Since the ground range has already been determined, the initial point cloud corresponding to the ground range can also be obtained from the initial point cloud set. The point cloud semantic segmentation model is pre-trained and the model accuracy meets the requirements. It can classify point clouds with the same or similar attributes into the same point cloud set. The embodiments of this disclosure do not limit the structure of the point cloud semantic segmentation model or the segmentation algorithm used by the model. Any existing point cloud semantic segmentation model can be used.

[0056] Since the results of the ground range identified by the point cloud semantic segmentation model may have errors, for example, in addition to identifying the real ground area, the point cloud semantic segmentation model may also identify the roof plane as the ground, the plane in the green belt as the ground, etc. These non-real ground areas will affect the accuracy of the ground plane detection results. Therefore, in order to further improve the accuracy of the ground detection results, it is necessary to further filter the initial point cloud of the non-real ground area and reduce the impact of the noise point cloud on the ground plane detection results.

[0057] Next, the ground range identified by the point cloud semantic segmentation model is gridded to obtain multiple grids. The grid size can be pre-set or adjusted according to user needs. Then, whether the initial point cloud in the grid can be used as a seed point cloud for plane fitting is determined based on whether the height difference between the highest initial point cloud and the lowest initial point cloud in the grid is less than a preset height threshold. If the height difference between the highest initial point cloud and the lowest initial point cloud in the grid is less than the preset height threshold, all initial point clouds in the grid are determined to be seed point clouds for plane fitting. If the height difference between the highest initial point cloud and the lowest initial point cloud in the grid is greater than or equal to the preset height threshold, all initial point clouds in the grid will not be used for plane fitting. In some embodiments, in a vehicle scenario, a three-dimensional coordinate system can be established based on the vehicle, and the initial point cloud in the initial point cloud set can be mapped to the three-dimensional coordinate system. The height of the initial point cloud is then determined based on the coordinate value of the initial point cloud on the Z axis of the three-dimensional coordinate system, and the grid to which the initial point cloud belongs is determined based on the coordinate value of the initial point cloud on the X and Y axes of the three-dimensional coordinate system.

[0058] S102 , dividing the preset distance range into multiple small plane ranges, and obtaining, for each small plane range, the confidence priority of each point cloud group within the small plane range according to the local distribution characteristics of the seed point cloud within the small plane range.

[0059] Taking a vehicle scenario as an example, the preset distance range is the area close to the vehicle (i.e., the vehicle equipped with the sensor) and where plane fitting is required. The distance between the preset distance range and the vehicle in the same direction is less than the distance between the extended range and the vehicle. Furthermore, the divided small plane range serves as the basic unit for plane fitting within the area close to the vehicle. The preset distance range can be selected from the ground range and can be determined based on the vehicle's location. For example, the range of 0 to 40 meters to the left and right of the vehicle and 0 to 80 meters in front of the vehicle can be used as the preset distance range. Subsequent operations are performed within this preset distance range. The method for selecting the preset distance range from the ground range is not limited here. The size of the small plane range can be pre-set or customized. For example, based on the vehicle's location, a three-dimensional coordinate system can be established with the vehicle's center as the origin O, the vehicle's length as the X-axis, the vehicle's width as the Y-axis, and the vehicle's height as the Z-axis. In the XOY plane, a grid of 10x10m or 8x8m is created, with each 10x10m or 8x8m area representing a small plane range.

[0060] A point cloud group, also known as a plane fitting point cloud group, is a collection of point clouds consisting of three seed point clouds used to fit the ground plane equation within a small plane. In some embodiments, a point cloud group can be generated by combining any three seed point clouds within a small plane. A seed point cloud can belong to one or more point cloud groups, and multiple point cloud groups within a small plane are not identical. In some embodiments, confidence can be calculated for all point cloud groups, or a certain number of point cloud groups can be randomly selected from all point cloud groups.

[0061] The point cloud local distribution features of the seed point cloud may include: the angular standard deviation and the triangle area of ​​the triangle formed by the three seed point clouds in the point cloud group to which it belongs. Since at least three points are required to fit a plane, the closer the three points are to a straight line, the worse the quality of the fitted plane and the lower the confidence. In this solution, the smaller the angular standard deviation of the triangle and the closer each angle in the triangle is to the preset angle value (for example, 60 degrees), the higher the confidence, or the difference between each angle in the triangle and the preset angle value is calculated, the smaller the sum of the three differences, the higher the confidence; in addition, the larger the triangle area, the higher the confidence. In some embodiments, the confidence of the point cloud group is obtained by combining the two parameters of angular standard deviation and triangle area; in other embodiments, one of them can also be used alone as the point cloud local distribution feature to calculate the confidence of the point cloud group.

[0062] After obtaining the confidence level of each point cloud group, the confidence levels of the point cloud groups within the small plane are sorted to determine the confidence priority of each point cloud group within the small plane. The higher the confidence level, the higher the priority; the lower the confidence level, the lower the priority. A point cloud group with a higher confidence level is more likely to be used in plane fitting; a point cloud group with a lower confidence level is less likely to be used in plane fitting.

[0063] S103 , performing plane fitting based on the confidence priority of each point cloud group within each of the small plane ranges to obtain a ground plane equation for each of the small plane ranges.

[0064] Plane fitting approximates the quasi-geoid within a region as a plane. The resulting plane can be expressed using a plane equation. This disclosed embodiment fits the ground plane equations within each small plane range, making the resulting ground detection results closer to the actual ground, assisting vehicle driving and improving driving safety.

[0065] In some embodiments, a plane fitting is performed using the Random Sample Consensus (RANSAC) algorithm to obtain a ground plane equation that meets the accuracy requirements. The specific process is as follows: First, a convergence threshold needs to be set manually, and the ground plane equation is fitted using the point cloud group in order of the confidence of the point cloud group from high to low, that is, a fitting plane can be obtained. When the average distance from all seed point clouds in the small plane range to the fitting plane is less than the convergence threshold, this fitting plane is the fitting plane of this small plane range, and there is no need to perform plane fitting on subsequent point cloud groups with lower confidence. By fitting each small plane range with the RANSAC algorithm, the ground plane equation of each small plane range can be obtained, that is, the ground plane detection result of the preset distance range can be obtained.

[0066] It should be understood that other plane fitting methods may be used to perform plane fitting on each small plane range, and are not limited to the RANSAC algorithm. For example, other existing plane fitting algorithms may also be used.

[0067] The method of this embodiment uses the confidence priority of the point cloud groups used for plane fitting as the fitting priority, and performs plane fitting in descending order of fitting priority. Once the convergence threshold is met, point cloud groups with lower confidence priorities do not need to be fitted. This accelerates the convergence of the ground plane equation fitting, improves ground detection efficiency, and enhances the real-time performance of ground detection. In autonomous driving scenarios, the method provided by this disclosed embodiment can help improve the performance of foreground detection, background detection, and obstacle detection algorithms.

[0068] S104 , traverse the plurality of small plane ranges, calculate the small plane component count of a small plane group formed by any small plane range and the small plane ranges within its preset range, and determine the small plane group with the highest small plane component count as the target small plane group.

[0069] S105 , calculating similarity scores between the plurality of candidate small plane ranges included in the target small plane group and the extended range, and determining the ground plane equation corresponding to the candidate small plane range with the highest similarity score as the ground plane equation of the extended range.

[0070] The extended range is the area outside the preset distance range, and the extended range is generally farther from the vehicle or sensing device. For example, with the vehicle as the center, the preset distance range includes 0 to 40 meters to the left and right of the vehicle and 0 to 80 meters directly in front of it. The extended range includes 40 to 60 meters to the left and right of the vehicle and 80 to 120 meters directly in front of it. The point cloud accuracy obtained by sensing equipment in the extended range is relatively low. To obtain the ground plane equation for the extended range, the disclosed embodiment uses a "copy" method to select the optimal ground plane equation from existing ground plane equations.

[0071] Among them, the selection of the optimal ground plane equation can be achieved in the following way: first determine the optimal plane group, that is, the target small plane group, and then select a small plane range that meets the requirements from multiple candidate small plane ranges included in the optimal plane group as the "copied" plane.

[0072] In some embodiments, the optimal plane group is determined by considering the errors in one or more dimensions corresponding to the small plane range. First, all the small plane ranges that successfully fit the ground plane equation in step S103 are traversed, and for any small plane range, the average plane angle difference and the average plane distance between the any small plane range and other small plane ranges within its preset range are calculated; then, the average plane angle difference and the average plane distance difference are weighted to obtain the number of small plane components corresponding to the small plane group composed of the any small plane range and other small plane ranges within its preset range. Among them, the size of the preset range can be set according to the requirement, and the embodiments of the present disclosure are not limited to this.

[0073] For example, assuming that there are 10 small plane ranges in step S103 that obtain the fitted ground plane equations, namely small planes 1 to 10, then traverse these 10 small plane ranges, and for each small plane range, calculate the average plane angle difference and the average plane distance between it and the fitting planes corresponding to the small plane ranges within the preset range, and then calculate the number of small plane components in a weighted manner, as follows: Small plane component number = plane angle difference average * coefficient a1 + plane distance average * coefficient a2. By traversing the 10 small plane ranges, the number of small plane components corresponding to the 10 small plane ranges can be obtained. The small plane range with the highest small plane component number and the small plane range within its preset range are selected as the optimal plane group by sorting. Among them, the sum of coefficient a1 and coefficient a2 is equal to 1, and the specific values ​​of coefficient a1 and coefficient a2 can be pre-set and are not limited here.

[0074] It should be noted that the mean of the plane angle difference or the mean of the plane distance can be used alone as a factor for evaluating the small plane group, or, based on the mean of the plane angle difference and the mean of the plane distance, errors in more dimensions can be selected as factors for evaluating the small plane group. When the number of errors is larger, the small plane group score can still be calculated in a weighted manner.

[0075] Since the optimal plane group contains multiple candidate small plane ranges, the next step is to select the small plane range to be finally used from the optimal plane group. The disclosed embodiment is implemented by considering two factors: plane distance and vertical error; wherein, plane distance refers to the center point distance between the fitting plane corresponding to the "copied" small plane range and the target plane. The plane distance is the distance in the horizontal direction. In the three-dimensional coordinate system, the plane distance can be calculated based on the coordinate value of the center point of the "copied" small plane range in the XOY plane (i.e., the horizontal plane) and the coordinate value of the center point of the target plane in the XOY plane; "vertical error" refers to the distance error in the vertical direction between the fitting plane corresponding to the "copied" small plane range and the target plane. In some cases, for the target plane, the transmitted The sensing device may detect a small number of initial point clouds. Based on these initial point clouds in the target plane and the initial point clouds in the "copied" small plane range, multiple vertical errors can be calculated. The maximum value can be used to calculate the similarity score, or a vertical error can be randomly selected to calculate the similarity score. In other cases, a preset height value can be configured to calculate the vertical error, or the initial point cloud located at the edge of one or more small plane ranges closest to the target plane can be used as the initial point cloud of the target plane for calculating the vertical error. Of course, it can also be achieved in other ways, and the embodiments of the present disclosure are not limited to this. After quantifying these two factors into plane distance and vertical error, the similarity score between the candidate small plane range and the target plane is calculated, and the similarity score = coefficient b1*plane distance + coefficient b2*vertical error. Afterwards, sort them from high to low according to the similarity score, and select the fitting plane corresponding to the small plane range with the highest similarity score as the "copied" plane, that is, the ground plane equation corresponding to the small plane range with the highest similarity score is used as the ground plane equation of the extended range. The sum of the coefficient b1 and the coefficient b2 is equal to 1. The specific values ​​of the coefficient b1 and the coefficient b2 can be preset and are not limited here.

[0076] It should be noted that the plane distance or the vertical error can be used alone as a factor for evaluating the similarity score, or errors in more dimensions can be selected as similarity factors based on the plane distance and the vertical error. When the number of errors is larger, the similarity score can still be calculated in a weighted manner.

[0077] In addition, if the distance between any point in the extended range and the vehicle or sensing device is greater than the preset distance range, the extended range can also be divided into multiple grids. For each grid in the extended range, it is used as a target plane to calculate the similarity score between it and the candidate small plane range. For each grid, a more suitable and more accurate ground plane equation is selected for each grid to improve the accuracy of the ground plane equation of the extended range. In addition, different grid division methods can be used for different directions. For example, the size of the grid can be different. Alternatively, the extended range can be treated as a whole and a unified ground plane equation can be used. Since the extended range is usually relatively far away from the vehicle or sensing device, it is possible to divide the extended range into larger grids or not divide the grids as much as possible while meeting the requirements of the autonomous driving scenario and the accuracy of the ground plane equation, thereby reducing the amount of calculation for subsequent processing. It should be noted that when the extended range uses a unified ground plane equation as a whole (i.e., no grid division), the extended range is the target plane.

[0078] In addition, different methods can be used to calculate similarity scores for different directions. For example, in a vehicle scenario, different methods are used to calculate similarity scores for the vehicle's front and left and right sides. For the vehicle's front extension, the similarity score is calculated using the aforementioned weighted method of planar distance and vertical error. For the vehicle's side extension, the weighting coefficients corresponding to planar distance and vertical error can be adjusted, or the error in one dimension can be used to calculate the similarity score.

[0079] This embodiment selects the optimal plane group by calculating the number of small plane groups. A "replicated" plane is then determined from this optimal plane group based on plane distance and vertical error. An extrapolation strategy is used to use the ground plane equation corresponding to the "replicated" plane as the ground plane equation for the extended range. This approach provides approximate ground detection results for distant ground areas that are beyond the reach of sensing equipment. This highly accurate ground detection result improves the comprehensiveness of ground detection results. In autonomous driving scenarios, this approach improves the accuracy of foreground, background, and obstacle detection.

[0080] Based on the embodiment shown in Figure 1, the vehicle terminal can also display the ground plane detection results on the vehicle terminal's multimedia display interface to the user, allowing the user to clearly understand the current vehicle environment through the multimedia display interface. A fitting plane can be generated based on the corresponding ground plane equation for a preset distance range and extension range, and the size of the actual ground can be reduced according to a specified ratio and displayed on the multimedia display interface. A three-dimensional model corresponding to the vehicle is also displayed on the multimedia display interface. The three-dimensional model corresponding to the vehicle is obtained by reducing the actual vehicle by a specified ratio. Maintaining a consistent reduction ratio ensures that the presented environmental information is close to reality, which helps users make correct operations based on the current driving state.

[0081] FIG2 is a structural diagram of a ground plane detection device according to an embodiment of the second aspect of the present disclosure. Referring to FIG2 , the ground plane detection device 200 provided in this embodiment includes:

[0082] A seed point cloud recognition module 201 is configured to obtain an initial point cloud set corresponding to environmental information using a sensing device, and to recognize a seed point cloud for ground plane fitting from the initial point cloud set;

[0083] The confidence calculation module 202 is configured to divide the preset distance range into a plurality of small plane ranges, and obtain, for each small plane range, the confidence priority of each point cloud group within the small plane range based on the local distribution characteristics of the seed point cloud within the small plane range;

[0084] A first plane fitting module 203 is configured to obtain a ground plane equation of the small plane range by fitting based on the confidence priority of each point cloud group within the small plane range;

[0085] The second plane fitting module 204 is used to traverse the multiple small plane ranges, calculate the small plane component count of a small plane group composed of any small plane range and the small plane ranges within its preset range, and determine the small plane group with the highest small plane component count as the target small plane group; calculate the similarity scores between the multiple candidate small plane ranges included in the target small plane group and the extended range, and determine the ground plane equation corresponding to the candidate small plane range with the highest similarity score as the ground plane equation of the extended range.

[0086] In some embodiments, the second plane fitting module 204 is specifically used to calculate the average plane angle difference and the average plane distance between any small plane range and the small plane range within its preset range; and perform weighted calculation on the average plane angle difference and the average plane distance to obtain the number of small plane components of the small plane group composed of any small plane range and the small plane range within its preset range.

[0087] In some embodiments, the second plane fitting module 204 is specifically configured to calculate a vertical error and a plane distance between any candidate small plane range and the extended range; and weight the vertical error and the plane distance to obtain a similarity score between any candidate small plane range and the extended range.

[0088] In some embodiments, the confidence calculation module 202 is specifically used to calculate the confidence of the point cloud group based on the angular standard deviation and area of ​​the triangle formed by the point cloud group; and sort the confidence of each point cloud group contained in the small plane range to determine the confidence priority of each point cloud group within the small plane range.

[0089] In some embodiments, the confidence calculation module 202 is specifically configured to obtain the confidence of the point cloud group by performing a weighted summation on the angle standard deviation and the area.

[0090] In some embodiments, the first plane fitting module 203 is specifically used to fit the plane equation of the point cloud group in the small plane range in order from high to low confidence priority of each point cloud group within the small plane range, and calculate the average distance from all seed point clouds within the small plane range to the fitting plane during the plane fitting process; the fitting plane whose average distance meets the preset convergence threshold is used as the ground plane equation corresponding to the small plane range.

[0091] In some embodiments, the seed point cloud identification module 201 is specifically used to identify the ground range from the initial point cloud through a point cloud semantic segmentation model; grid the ground range, and determine whether the initial point cloud in the grid is a seed point cloud based on whether the height difference between the highest initial point cloud and the lowest initial point cloud in the grid is less than a preset height threshold.

[0092] In some embodiments, the ground plane detection device 200 also includes a display module (not shown in FIG2 ) for displaying the ground plane detection results, which may include displaying the ground plane equation of a preset distance range and the ground plane equation of an extended range. Specifically, for the preset distance range and the extended range, a fitting plane can be generated based on the corresponding ground plane equations, and then the size of the real ground can be reduced according to a specified ratio and displayed in the multimedia display interface. The three-dimensional model corresponding to the vehicle is displayed in the multimedia display interface. The three-dimensional model corresponding to the vehicle is obtained by reducing the specified ratio based on the real vehicle. Keeping the reduction ratio consistent can ensure that the presented environmental information is close to reality, which is conducive to the user making correct operations based on the current driving state.

[0093] The device provided in this embodiment can be used to implement the technical solution of any method embodiment of the first aspect mentioned above. Its implementation principle and technical effects are similar. Please refer to the detailed description of the aforementioned method embodiment. For the sake of brevity, it will not be repeated here.

[0094] FIG3 is a structural diagram of a vehicle-mounted terminal provided by an embodiment of the third aspect of the present disclosure. Referring to FIG3 , the vehicle-mounted terminal 300 provided by this embodiment includes: a memory 301 and a processor 302 .

[0095] Memory 301 may be an independent physical unit, connected to processor 302 via bus 303. Memory 301 and processor 302 may also be integrated and implemented via hardware. Memory 301 is used to store program instructions, which processor 302 invokes to execute the ground plane detection method provided in any of the method embodiments of the first aspect above.

[0096] In some embodiments, when part or all of the methods of the above embodiments are implemented via software, the vehicle-mounted terminal 300 may also include only a processor 302. A memory 301 for storing programs is located outside the vehicle-mounted terminal 300. The processor 302 is connected to the memory via circuits / wires for reading and executing the programs stored in the memory. The processor 302 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor 302 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0097] The memory 301 may include a volatile memory, such as a random-access memory (RAM); the memory may also include a non-volatile memory, such as a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory may also include a combination of the above types of memory.

[0098] In another aspect, an embodiment of the present disclosure provides a chip system, which is applied to a vehicle-mounted terminal including a memory and a sensor device; the chip system includes: a processor; the processor is used to execute the ground plane detection method of the above embodiment.

[0099] An embodiment of the fourth aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor of a vehicle-mounted terminal so that the vehicle-mounted terminal implements the ground plane detection method provided by any embodiment of the first aspect above when executing the computer program.

[0100] An embodiment of the fifth aspect of the present disclosure provides a computer program product, including a computer program. When the computer program product runs on a vehicle-mounted terminal, the vehicle-mounted terminal executes the ground plane detection method provided by any embodiment of the first aspect above.

[0101] An embodiment of the sixth aspect of the present disclosure provides a computer program, including computer program code. When the computer program code is run on a computer, the computer executes the ground plane detection method described in any embodiment of the first aspect.

[0102] It should be noted that the explanations of the ground plane detection method and device in the aforementioned embodiments are also applicable to the vehicle-mounted terminal, chip system, computer-readable storage medium, computer program product and computer program in the embodiments of the present disclosure, and will not be repeated here.

[0103] All embodiments of the present disclosure may be implemented individually or in combination with other embodiments, and are all considered to be within the scope of protection claimed by the present disclosure.

[0104] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0105] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A ground plane detection method, comprising: Acquire an initial point cloud set corresponding to the environmental information using a sensing device, and identify a seed point cloud for ground plane fitting from the initial point cloud set; Divide the preset distance range into a plurality of small plane ranges, and for each of the small plane ranges, obtain the confidence priority of each point cloud group within the small plane range according to the point cloud local distribution characteristics of the seed point cloud within the small plane range; Based on the confidence priority of each point cloud group within each of the small plane ranges, plane fitting is performed to obtain the ground plane equation of each of the small plane ranges; Traversing the plurality of small plane ranges, calculating the small plane group score of a small plane group formed by any small plane range and a small plane range within its preset range, and determining the small plane group with the highest small plane group score as the target small plane group; The similarity scores between the plurality of candidate small plane ranges included in the target small plane group and the extension range are calculated, and the ground plane equation corresponding to the candidate small plane range with the highest similarity score is determined as the ground plane equation of the extension range.

2. The method according to claim 1, wherein the step of calculating the number of small plane components of a small plane group formed by any small plane range and a small plane range within its preset range comprises: Calculate the average of the plane angle difference and the average of the plane distance between any small plane range and the small plane range within the preset range; The mean value of the plane angle difference and the mean value of the plane distance are weightedly calculated to obtain the number of small plane components of the small plane group composed of any small plane range and the small plane range within its preset range.

3. The method according to claim 1 or 2, wherein the calculating of similarity scores between a plurality of candidate thin plane ranges included in the target thin plane group and the extension ranges respectively comprises: Calculate the vertical error and plane distance between any candidate thin plane range and the extended range; The vertical error and the plane distance are weighted to obtain a similarity score between any candidate small plane range and the extension range.

4. The method according to any one of claims 1 to 3, wherein for each of the small plane ranges, according to the point cloud local distribution characteristics of the seed point cloud within the small plane range, obtaining the confidence priority of each point cloud group within the small plane range comprises: The confidence of the point cloud group is obtained by calculating the angle standard deviation and area of ​​the triangle formed by the point cloud group; The confidence levels of each point cloud group contained in the small plane range are sorted to determine the confidence level of each point cloud group within the small plane range. The confidence priority of the cloud group.

5. The method according to claim 4, wherein the step of calculating the confidence of the point cloud group based on the angle standard deviation and area of ​​the triangle formed by the point cloud group comprises: The confidence of the point cloud group is obtained by performing weighted summation on the angle standard deviation and the area.

6. The method according to any one of claims 1 to 5, wherein the step of performing plane fitting based on the confidence priority of each point cloud group within the small plane range to obtain a ground plane equation corresponding to the small plane range comprises: According to the confidence priority order of each point cloud group within the small plane range, the point cloud group is fitted with a plane equation, and in the plane fitting process, the average distance from all seed point clouds within the small plane range to the fitting plane is calculated; The fitting plane whose average distance satisfies a preset convergence threshold is used as the ground plane equation corresponding to the small plane range.

7. The method according to any one of claims 1 to 6, wherein the step of identifying a seed point cloud for ground plane fitting from the initial point cloud comprises: Identifying the ground range from the initial point cloud using a point cloud semantic segmentation model; The ground range is gridded, and whether the initial point cloud in the grid is a seed point cloud is determined according to whether the height difference between the highest initial point cloud and the lowest initial point cloud in the grid is less than a preset height threshold.

8. A ground plane detection device, comprising: A seed point cloud recognition module is used to obtain an initial point cloud set corresponding to environmental information using a sensor device, and to recognize a seed point cloud for ground plane fitting from the initial point cloud set; A confidence calculation module is used to divide the preset distance range into a plurality of small plane ranges, and for each of the small plane ranges, obtain the confidence priority of each point cloud group within the small plane range according to the point cloud local distribution characteristics of the seed point cloud within the small plane range; A first plane fitting module, configured to perform plane fitting based on the confidence priority of each point cloud group within the small plane range to obtain a ground plane equation within the small plane range; A second plane fitting module is used to traverse the plurality of small plane ranges, calculate the number of small plane components of a small plane group formed by any small plane range and a small plane range within its preset range, and determine the small plane group with the highest small plane component number as the target small plane group; The similarity scores between the plurality of candidate small plane ranges included in the target small plane group and the extension range are calculated, and the ground plane equation corresponding to the candidate small plane range with the highest similarity score is determined as the ground plane equation of the extension range.

9. A vehicle-mounted terminal, comprising: Memory and processor; The memory is configured to store computer program instructions; The processor is configured to run the computer program instructions so that the vehicle terminal implements claims 1 to 7. The ground plane detection method according to any one of claims 7.

10. A readable storage medium, comprising: Computer program instructions; At least one processor of the vehicle-mounted terminal runs the computer program instructions, so that the vehicle-mounted terminal implements the ground plane detection method according to any one of claims 1 to 7.

11. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the ground plane detection method according to any one of claims 1 to 7. 12 . A computer program, comprising computer program codes, which, when executed on a computer, enable the computer to execute the ground plane detection method according to claim 1 .

Citation Information

Patent Citations

  • Ground segmentation learning model training method, ground plane determination method and related device

    CN112329946A

  • Ground plane data measurement method and device, mobile equipment and readable storage medium

    CN112365575A

  • Ground point cloud segmentation method based on polar coordinate grid and plane fitting

    CN113870337A

  • Target determination method and device, equipment and medium

    CN114882198A

  • Road boundary detection method and device, computer equipment and storage medium

    CN115731527A