Background point cloud filtering method, device, computer equipment and storage medium

By updating the minimum value of the two-dimensional grid height in the background lookup table in real time, the problem of insufficient background point cloud filtering accuracy caused by changes in the roadside radar scene is solved and higher recognition accuracy is achieved.

CN114066739BActive Publication Date: 2024-10-29VANJEE TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010777027.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-05
Publication Date
2024-10-29
Estimated Expiration
2040-08-05

AI Technical Summary

Technical Problem

The existing technology is difficult to adapt to changes in roadside radar scenes, resulting in insufficient background point cloud filtering accuracy.

Method used

By obtaining the background lookup table of the target scene, real-time point cloud data is used to update the minimum value of the two-dimensional grid height in the background lookup table to ensure that the latest background information is used for each filtering.

Benefits of technology

It improves the accuracy of background point cloud filtering, can adapt to background changes, and ensures the accuracy of recognition results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114066739B_ABST
    Figure CN114066739B_ABST
Patent Text Reader

Abstract

The present application relates to a background point cloud filtering method, device, computer equipment and storage medium. The method comprises: obtaining a background lookup table corresponding to a target scene, the background lookup table comprising a plurality of first point cloud height minimum values ​​corresponding to a plurality of two-dimensional grids, obtaining real-time point cloud data of the target scene, the real-time point cloud data comprising a plurality of real-time point cloud points; mapping the plurality of real-time point cloud points to the plurality of two-dimensional grids, and determining the second point cloud height minimum value of each real-time point cloud point mapped by the two-dimensional grid; for each of the two-dimensional grids, if the second point cloud height minimum value corresponding to the two-dimensional grid is less than the first point cloud height minimum value corresponding to the two-dimensional grid, then updating the first point cloud height minimum value corresponding to the two-dimensional grid according to the second point cloud height minimum value corresponding to the two-dimensional grid, and obtaining an updated background lookup table. The use of this method can improve the accuracy of filtering out background point cloud points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a background point cloud filtering method, device, computer equipment and storage medium. Background Art

[0002] In practical applications, a roadside radar can be set up beside the road. The roadside radar can collect traffic information on the road and then perform background filtering on the collected traffic information, thereby realizing the recognition of pedestrians or vehicles on the road.

[0003] In the related technology, the roadside radar can collect point cloud data on the road (that is, the traffic information mentioned above), and then use a pre-stored background lookup table to filter out the background point cloud points from the point cloud data. After filtering out the background point cloud points, the recognition results of vehicles and pedestrians on the road can be obtained based on the remaining point cloud points.

[0004] However, in actual applications, roadside radars often shake or move due to external factors. Therefore, it is difficult to ensure that the point cloud data collected by the roadside radar each time is for the same scene on the road. Changes in the scene will be accompanied by changes in the background. Currently, in the process of filtering out background point cloud points, how to adapt to the background changes mentioned above, so as to improve the accuracy of filtering out background point cloud points, has become a problem that needs to be solved urgently. Summary of the invention

[0005] Based on this, it is necessary to provide a background point cloud filtering method, device, computer equipment and storage medium that can improve the accuracy of filtering background point cloud points in response to the above technical problems.

[0006] In a first aspect, a background point cloud filtering method is provided, the method comprising:

[0007] Obtaining a background lookup table corresponding to the target scene, the background lookup table including a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, the background lookup table being used to filter out background point cloud points in the point cloud data of the target scene;

[0008] Acquire real-time point cloud data of the target scene, the real-time point cloud data including a plurality of real-time point cloud points;

[0009] Mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining a second point cloud height minimum value of each real-time point cloud point mapped to the two-dimensional grid;

[0010] For each of the two-dimensional grids, if the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid, the minimum height value of the first point cloud corresponding to the two-dimensional grid is updated according to the second minimum height value of the point cloud corresponding to the two-dimensional grid to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0011] In one embodiment, the background lookup table further includes a plurality of attribute parameters corresponding to the plurality of two-dimensional grids, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; the method further includes:

[0012] For each of the two-dimensional grids, the attribute parameters corresponding to the two-dimensional grid are determined in the background lookup table. If the attribute parameters corresponding to the two-dimensional grid indicate that the two-dimensional grid corresponds to the area of ​​interest, it is detected whether the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid.

[0013] In one embodiment, determining the second minimum point cloud height of each real-time point cloud point of the two-dimensional grid mapping includes:

[0014] For each of the two-dimensional grids, the height value of the real-time point cloud point with the lowest height among the real-time point cloud points mapped by the two-dimensional grid is used as the second point cloud minimum height value corresponding to the two-dimensional grid.

[0015] In one embodiment, before obtaining the background lookup table corresponding to the target scene, the method further includes:

[0016] Obtain an initial background lookup table, in which each two-dimensional grid corresponds to an initial value;

[0017] Acquire reference point cloud data of the target scene, the reference point cloud data comprising a plurality of reference point cloud points;

[0018] Mapping the multiple reference point cloud points to the multiple two-dimensional grids, and using the minimum point cloud height value of each reference point cloud point mapped to the two-dimensional grid as the first minimum point cloud height value corresponding to each two-dimensional grid;

[0019] The initial value is updated based on the minimum value of the first point cloud height corresponding to each of the two-dimensional grids to generate the background lookup table.

[0020] In one embodiment, after acquiring the real-time point cloud data of the target scene, the method further includes:

[0021] The background lookup table is used to filter out background point cloud points in the real-time point cloud data.

[0022] In one embodiment, the background lookup table is used to filter out background point cloud points in the real-time point cloud data, including:

[0023] For each real-time point cloud point, the target two-dimensional grid corresponding to the real-time point cloud point is determined in the multiple two-dimensional grids, and the first point cloud minimum height value corresponding to the target two-dimensional grid is determined in the background lookup table. If the sum of the first point cloud minimum height value and the preset threshold is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point.

[0024] In one embodiment, the background lookup table further includes a plurality of attribute parameters corresponding to the plurality of two-dimensional grids, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; the method further includes:

[0025] For each of the real-time point cloud points, the attribute parameters corresponding to the target two-dimensional grid are determined in the background lookup table. If the attribute parameters corresponding to the target two-dimensional grid indicate that the target two-dimensional grid does not correspond to the region of interest, the real-time point cloud point is filtered out as a background point cloud point.

[0026] In a second aspect, a background point cloud filtering device is provided, the device comprising:

[0027] A first acquisition module is used to acquire a background lookup table corresponding to a target scene, the background lookup table comprising a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, the background lookup table being used to filter out background point cloud points in the point cloud data of the target scene;

[0028] A second acquisition module is used to acquire real-time point cloud data of the target scene, where the real-time point cloud data includes a plurality of real-time point cloud points;

[0029] A determination module, used for mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining a second point cloud height minimum value of each real-time point cloud point mapped to the two-dimensional grid;

[0030] An updating module is used to update the first minimum point cloud height corresponding to each two-dimensional grid according to the second minimum point cloud height corresponding to the two-dimensional grid if the second minimum point cloud height corresponding to the two-dimensional grid is less than the first minimum point cloud height corresponding to the two-dimensional grid, so as to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0031] In a third aspect, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0032] Obtaining a background lookup table corresponding to the target scene, the background lookup table including a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, the background lookup table being used to filter out background point cloud points in the point cloud data of the target scene;

[0033] Acquire real-time point cloud data of the target scene, the real-time point cloud data including a plurality of real-time point cloud points;

[0034] Mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining a second point cloud height minimum value of each real-time point cloud point mapped to the two-dimensional grid;

[0035] For each of the two-dimensional grids, if the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid, the minimum height value of the first point cloud corresponding to the two-dimensional grid is updated according to the second minimum height value of the point cloud corresponding to the two-dimensional grid to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0036] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0037] Obtaining a background lookup table corresponding to the target scene, the background lookup table including a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, the background lookup table being used to filter out background point cloud points in the point cloud data of the target scene;

[0038] Acquire real-time point cloud data of the target scene, the real-time point cloud data including a plurality of real-time point cloud points;

[0039] Mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining a second point cloud height minimum value of each real-time point cloud point mapped to the two-dimensional grid;

[0040] For each of the two-dimensional grids, if the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid, the minimum height value of the first point cloud corresponding to the two-dimensional grid is updated according to the second minimum height value of the point cloud corresponding to the two-dimensional grid to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0041] The above-mentioned background point cloud filtering method, device, computer equipment and storage medium obtain a background lookup table corresponding to the target scene, the background lookup table includes multiple first point cloud height minimum values ​​corresponding to multiple two-dimensional grids, and the background lookup table is used to filter out background point cloud points in the point cloud data of the target scene; then obtain real-time point cloud data of the target scene, the real-time point cloud data includes multiple real-time point cloud points; then map the multiple real-time point cloud points to the multiple two-dimensional grids, and determine the second point cloud height minimum value of each real-time point cloud point mapped by the two-dimensional grid; finally, for each of the two-dimensional grids, if the second point cloud height minimum value corresponding to the two-dimensional grid is less than the first point cloud height minimum value corresponding to the two-dimensional grid, then update the first point cloud height minimum value corresponding to the two-dimensional grid according to the second point cloud height minimum value corresponding to the two-dimensional grid to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene. Because the background point cloud filtering method provided by the present application, after using the background lookup table to filter the background point cloud points in the real-time point cloud data of the target scene, also uses the real-time point cloud points to update the minimum value of the first point cloud height of each two-dimensional grid in the background lookup table corresponding to the target scene, and the updated background lookup table continues to be used to filter the background point cloud points in the real-time point cloud data of the target scene. That is to say, in the present application, since the background lookup table can be updated using the real-time point cloud data of the target scene, even if the current background changes, the background lookup table can be immediately updated according to the changed background. Therefore, in the present application, each time the background point cloud points in the real-time point cloud data of the target scene are filtered out, the latest background lookup table is used as the basis. In this way, the entire background point cloud filtering process can adapt well to different background changes, thereby improving the accuracy of filtering out background point cloud points. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of a process of filtering a background point cloud in one embodiment;

[0043] Figure 2 A schematic diagram of a process of filtering a background point cloud in another embodiment;

[0044] Figure 3 is a structural block diagram of a background point cloud filtering device in one embodiment;

[0045] Figure 4 is a structural block diagram of a background point cloud filtering device in another embodiment;

[0046] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] In the embodiments of the present application, Figure 1 As shown, a background point cloud filtering method is provided. This embodiment uses the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be but is not limited to various roadside laser radars, roadside millimeter wave radars, personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server can be implemented with an independent server or a server cluster composed of multiple servers. In this embodiment, the method includes the following steps:

[0049] Step 101, the terminal obtains a background lookup table corresponding to the target scene, the background lookup table includes a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, and the background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0050] In this step, the terminal can obtain the background lookup table corresponding to the target scene in real time, or can obtain the background lookup table corresponding to the target scene at a fixed time. The background lookup table includes the correspondence between multiple groups of two-dimensional grids and the minimum height of the first point cloud. In the subsequent use of the background lookup table, the height value of the real-time point cloud data in the target scene and the minimum height of the first point cloud corresponding to each two-dimensional grid can be used to determine which real-time point cloud points in the real-time point cloud data of the target scene are target points and which real-time point cloud points are background points. Generally speaking, the part of the target scene close to the ground, such as the real-time point cloud points corresponding to the road and the lawn, will be considered as the background point; and the objects at a certain distance from the ground, such as the real-time point cloud points corresponding to the vehicles and pedestrians, will be considered as the target points.

[0051] Step 102: The terminal obtains real-time point cloud data of the target scene, where the real-time point cloud data includes a plurality of real-time point cloud points.

[0052] In practical applications, the terminal needs to identify the background points and target points in the target scene, so the terminal will obtain real-time point cloud data of the target scene. When the terminal is a roadside laser radar, the roadside laser radar can establish a three-dimensional model of the target scene by emitting lasers to objects in the target scene and receiving lasers reflected by objects in the target scene, thereby obtaining real-time point cloud data in the target scene.

[0053] In step 103 , the terminal maps the multiple real-time point cloud points to the multiple two-dimensional grids, and determines a second minimum point cloud height of each real-time point cloud point mapped to the two-dimensional grid.

[0054] Based on the above steps, after the terminal obtains the real-time point cloud points of the target scene, it is necessary to process the three-dimensional real-time point cloud points, so as to use the background lookup table to filter out the background points in the real-time point cloud points in the subsequent steps. Among them, two-dimensional rasterization processing is a common means of processing real-time point cloud points. The core idea of ​​two-dimensional rasterization processing is to map the three-dimensional real-time point cloud points scanned by the roadside laser radar to a two-dimensional plane, and then use the grid to process the three-dimensional real-time point cloud points mapped to the two-dimensional plane to obtain multiple two-dimensional grids. Each two-dimensional grid corresponds to a small area of ​​space and contains a part of the mapped real-time point cloud points. After the real-time point cloud points in the real-time point cloud data are processed in two-dimensional grids, it is necessary to count the minimum value of the second point cloud height of the real-time point cloud points corresponding to each two-dimensional grid. Because the height value of the real-time point cloud point can be used as a basis for judging whether the real-time point cloud point is a target point or a background point, and the minimum height value of the second point cloud of the real-time point cloud point corresponding to each two-dimensional grid can be used in the subsequent update of the background lookup table, therefore, in this step, it is necessary to count the minimum height value of the second point cloud of the real-time point cloud point mapped by each two-dimensional grid. Finally, each two-dimensional grid can be numbered according to the row and column number of the grid. Then, in this step, after determining the minimum height value of the second point cloud of the real-time point cloud point mapped by each two-dimensional grid, the number of each two-dimensional grid and the minimum height value of the second point cloud corresponding to each two-dimensional grid can be stored.

[0055] Step 104, for each of the two-dimensional grids, if the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid, the terminal updates the minimum height value of the first point cloud corresponding to the two-dimensional grid according to the second minimum height value of the point cloud corresponding to the two-dimensional grid, and obtains an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0056] After counting the second minimum point cloud height corresponding to each two-dimensional grid, the second minimum point cloud height corresponding to each two-dimensional grid will be compared with the first minimum point cloud height. If the second minimum point cloud height is less than the first minimum point cloud height, the second minimum point cloud height will replace the first minimum point cloud height. If the second minimum point cloud height is greater than the first minimum point cloud height, no replacement will be performed. After performing the above operation on each two-dimensional grid, an updated background lookup table will be obtained. After obtaining the updated background lookup table, if the terminal continues to obtain real-time point cloud data in the target scene, the updated background lookup table can be used to filter out background point cloud points in the real-time point cloud data in the target scene.

[0057] According to the above process, the terminal can filter out the background point cloud points in the real-time point cloud data A in the target scene by using the background lookup table, and then update the background lookup table by using the real-time point cloud data A of the target scene to obtain the updated background lookup table, and then continue to obtain the real-time point cloud data B of the target scene, and use the updated background lookup table to filter out the background point cloud points in the real-time point cloud data B in the target scene. This basic idea completes the real-time update of the background lookup table and the entire process of filtering out the background point cloud points in the real-time point cloud data by using the real-time updated background lookup table. The real-time point cloud data A and real-time point cloud data B recorded in the above content use A and B to distinguish the real-time point cloud data in order to illustrate that the real-time point cloud data B and the real-time point cloud data A are real-time point cloud data at different times, and the real-time point cloud data B is obtained at the next moment of the real-time point cloud data A, and is not used to limit the real-time point cloud data used in the embodiments of the present application to only real-time point cloud data A and real-time point cloud data B.

[0058] In the above-mentioned background point cloud filtering method, a background lookup table corresponding to the target scene is obtained, and the background lookup table includes multiple first point cloud height minimum values ​​corresponding to multiple two-dimensional grids. The background lookup table is used to filter out background point cloud points in the point cloud data of the target scene; then the real-time point cloud data of the target scene is obtained, and the real-time point cloud data includes multiple real-time point cloud points; then the multiple real-time point cloud points are mapped to the multiple two-dimensional grids, and the second point cloud height minimum value of each real-time point cloud point mapped by the two-dimensional grid is determined; finally, for each of the two-dimensional grids, if the second point cloud height minimum value corresponding to the two-dimensional grid is less than the first point cloud height minimum value corresponding to the two-dimensional grid, the first point cloud height minimum value corresponding to the two-dimensional grid is updated according to the second point cloud height minimum value corresponding to the two-dimensional grid, and an updated background lookup table is obtained, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene. Because the background point cloud filtering method provided by the present application, after using the background lookup table to filter the background point cloud points in the real-time point cloud data of the target scene, also uses the real-time point cloud points to update the minimum value of the first point cloud height of each two-dimensional grid in the background lookup table corresponding to the target scene, and the updated background lookup table continues to be used to filter the background point cloud points in the real-time point cloud data of the target scene. That is to say, in the present application, since the background lookup table can be updated using the real-time point cloud data of the target scene, even if the current background changes, the background lookup table can be immediately updated according to the changed background. Therefore, in the present application, each time the background point cloud points in the real-time point cloud data of the target scene are filtered out, the latest background lookup table is used as the basis. In this way, the entire background point cloud filtering process can adapt well to different background changes, thereby improving the accuracy of filtering out background point cloud points.

[0059] In an embodiment of the present application, the background lookup table further includes a plurality of attribute parameters corresponding one-to-one to the plurality of two-dimensional grids, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; the method further includes:

[0060] For each of the two-dimensional grids, the terminal determines the attribute parameters corresponding to the two-dimensional grid in the background lookup table. If the attribute parameters corresponding to the two-dimensional grid indicate that the two-dimensional grid corresponds to the area of ​​interest, it detects whether the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid.

[0061] In an embodiment of the present application, each two-dimensional grid corresponds to an attribute parameter, and the attribute parameter includes a valid state and an invalid state. The valid state indicates that the two-dimensional grid belongs to the region of interest, and the invalid state indicates that the two-dimensional grid does not belong to the region of interest. Regarding the region of interest, after acquiring the real-time point cloud data of the target scene, the three-dimensional real-time point cloud data can be mapped to a two-dimensional image, and then the region of interest is delineated in the two-dimensional image, and then the two-dimensional image with the region of interest delineated is rasterized. Among them, whether the two-dimensional grid belongs to the region of interest can be used as a basis for judging whether the attribute parameter of the two-dimensional grid is in an invalid state or a valid state.

[0062] In the embodiment of the present application, the attribute parameters of the two-dimensional grid are first determined, and only when the attribute parameters of the two-dimensional grid indicate that the two-dimensional grid belongs to the region of interest, the next step of detecting the minimum height value of the second point cloud is performed. In this way, invalid detection of areas outside the region of interest can be avoided, and only the region of interest is detected, thereby improving detection efficiency.

[0063] In an embodiment of the present application, a method for determining a minimum second point cloud height of each real-time point cloud point mapped in the two-dimensional grid in a background point cloud filtering method is provided, the method comprising:

[0064] For each of the two-dimensional grids, the terminal uses the height value of the real-time point cloud point with the lowest height among the real-time point cloud points mapped by the two-dimensional grid as the second point cloud minimum height value corresponding to the two-dimensional grid.

[0065] In the embodiment of the present application, after the real-time point cloud data of the target scene is processed into two-dimensional grids, it is necessary to count the minimum height of the real-time point cloud points corresponding to each two-dimensional grid, and then use the minimum height of the real-time point cloud points corresponding to each two-dimensional grid as the second minimum height of the point cloud. However, during mapping, if there are no corresponding real-time point cloud points in some two-dimensional grids, then no processing will be performed on the two-dimensional grid at this time, that is, when the second minimum height of the point cloud is used to update the minimum height of the first point cloud, the updated two-dimensional grid still corresponds to the minimum height of the first point cloud.

[0066] In an embodiment of the present application, the second point cloud height minimum value can be easily obtained by calculating the minimum height value of the real-time point cloud point corresponding to each two-dimensional grid, and when there is no corresponding real-time point cloud point in the two-dimensional grid, the two-dimensional grid is not updated, thereby ensuring the authenticity and reliability of the data during the implementation of the entire technical solution.

[0067] In the examples of this application, please refer to Figure 2 , another background point cloud filtering method is provided, the method comprising:

[0068] Step 201: The terminal obtains an initial background lookup table, in which each two-dimensional grid corresponds to an initial value.

[0069] When filtering out the background point cloud points of the target scene, an initial background lookup table must first be stored. The initial background lookup table is a lookup table that has not been updated by the real-time point cloud data of the target scene. All two-dimensional grids contained in the initial background lookup table correspond to initial values, and the initial value mentioned here can be 0.

[0070] Step 202: The terminal obtains reference point cloud data of the target scene, where the reference point cloud data includes a plurality of reference point cloud points.

[0071] Regarding the reference point cloud data of the target scene, when the terminal is a roadside laser radar, it is necessary to initialize the roadside laser radar when it is first set on the roadside. The roadside laser radar needs to first collect the reference point cloud data of the target scene. The reference point cloud data refers to the point cloud data collected when there is no target object in the target scene. That is to say, all point cloud points in the reference point cloud data can be considered as background point cloud points. The reference point cloud data is used to update the initial background lookup table. Based on the initial background lookup table, the subsequent background point cloud point filtering and updating of the background lookup table can be completed.

[0072] In step 203, the terminal maps the multiple reference point cloud points to the multiple two-dimensional grids, and uses the minimum point cloud height of each reference point cloud point mapped to the two-dimensional grid as the first minimum point cloud height corresponding to each two-dimensional grid.

[0073] The mapping to multiple two-dimensional grids mentioned in this step is the two-dimensional rasterization processing recorded in the above content. After the two-dimensional rasterization processing, it is necessary to count the minimum point cloud height of the reference point cloud points corresponding to each two-dimensional grid, and then store the minimum point cloud height of the reference point cloud points corresponding to each two-dimensional grid. If a two-dimensional grid does not have a corresponding reference point cloud point, the initial value is stored as the minimum point cloud height corresponding to the two-dimensional grid. This ensures that each two-dimensional grid can correspond to a first minimum point cloud height.

[0074] Step 204: The terminal updates the initial value based on the minimum value of the first point cloud height corresponding to each of the two-dimensional grids to generate the background lookup table.

[0075] After counting the minimum point cloud height of the reference point cloud points corresponding to each two-dimensional grid, it is equivalent to obtaining the first minimum point cloud height corresponding to each two-dimensional grid, and then each two-dimensional grid and its corresponding first minimum point cloud height will be stored. The background lookup table has a correspondence between multiple sets of two-dimensional grids and the first minimum point cloud height. The terminal can use the background lookup table to filter out background point cloud points in the real-time point cloud data in the target scene. Among them, the area of ​​interest can also be delineated during the two-dimensional rasterization process of the reference point cloud data, so that the final background lookup table not only contains the correspondence between the two-dimensional grid and the first minimum point cloud height, but also contains the attribute parameters of each two-dimensional grid.

[0076] In an embodiment of the present application, an initial background lookup table can be quickly obtained by performing two-dimensional rasterization processing on the reference point cloud data in the target scene.

[0077] In an embodiment of the present application, a method for filtering background point cloud points in the real-time point cloud data by using the background lookup table in a background point cloud filtering method is provided, and the method comprises:

[0078] For each real-time point cloud point, the terminal determines the target two-dimensional grid corresponding to the real-time point cloud point in the multiple two-dimensional grids, and determines the first point cloud minimum height value corresponding to the target two-dimensional grid in the background lookup table. If the sum of the first point cloud minimum height value and the preset threshold is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point.

[0079] In an embodiment of the present application, after acquiring the real-time point cloud points, the terminal will map the real-time point cloud points to multiple two-dimensional grids according to the two-dimensional gridding method provided in the above content. The number and size of the two-dimensional grids are consistent with the two-dimensional grids corresponding to the background lookup table, so as to facilitate one-to-one comparison processing of the two-dimensional grids. For each real-time point cloud point, when judging whether it belongs to a target point or a background point, it is necessary to first determine the target two-dimensional grid corresponding to the real-time point cloud point, and then determine the minimum height value of the first point cloud corresponding to the target two-dimensional grid in the background lookup table. If the sum of the minimum height value of the first point cloud and the preset threshold is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point. This is equivalent to, when the height value of the real-time point cloud point is greater than a certain threshold of the minimum height value of the first point cloud corresponding to the target two-dimensional grid, it will be determined that the real-time point cloud point belongs to the target point, otherwise, it belongs to the background point.

[0080] In an embodiment of the present application, by first determining the target two-dimensional grid corresponding to the real-time point cloud point, and then comparing the difference between the height value of the real-time point cloud point and the first point cloud height value corresponding to the target two-dimensional grid, it is possible to quickly and conveniently identify whether the real-time point cloud point is a target point or a background point, thereby improving the efficiency of filtering out background point cloud points.

[0081] In an embodiment of the present application, the background lookup table further includes a plurality of attribute parameters corresponding one-to-one to the plurality of two-dimensional grids, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; the background point cloud filtering method further includes:

[0082] For each of the real-time point cloud points, the terminal determines the attribute parameters corresponding to the target two-dimensional grid in the background lookup table. If the attribute parameters corresponding to the target two-dimensional grid indicate that the target two-dimensional grid does not correspond to the area of ​​interest, the real-time point cloud point is filtered out as a background point cloud point.

[0083] In the embodiment of the present application, in addition to using the height value of the real-time point cloud point to determine whether the real-time point cloud point is a target point or a background point, the attribute parameters of the two-dimensional grid recorded in the above content can also be used to determine. Because the attribute parameters of the two-dimensional grid can characterize whether the two-dimensional grid belongs to the region of interest, therefore, when the attribute parameters of the target two-dimensional grid indicate that the target two-dimensional grid does not correspond to the region of interest, then the real-time point cloud point corresponding to the target two-dimensional grid can be directly filtered out as a background point cloud point.

[0084] Among them, the region of interest is generally an artificially delineated area. For example, the region of interest can be artificially delineated on the mapped two-dimensional image. Generally speaking, vehicles and pedestrians often appear on the road in the target scene, and vehicles and pedestrians are the targets that need to be detected. Plants and buildings outside the road in the target scene generally exist as background and do not need to be specially detected. Therefore, the road area in the two-dimensional image is usually divided into the region of interest, so it can be considered that the part outside the region of interest belongs to the background point. Therefore, in the embodiment of the present application, it can be determined whether to filter out the real-time point cloud points as background point cloud points by judging whether the attribute parameters corresponding to the target two-dimensional grid indicate the region of interest.

[0085] In an embodiment of the present application, it is possible to directly determine whether a real-time point cloud point belongs to a background point cloud point through the attribute parameters corresponding to the target two-dimensional grid, thereby improving the efficiency of filtering out background point cloud points in the present application.

[0086] It should be understood that although Figure 1 to Figure 2The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 to Figure 2 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0087] In the embodiments of the present application, Figure 3 As shown, a background point cloud filtering device 300 is provided, comprising: a first acquisition module 301, a second acquisition module 302, a determination module 303 and an update module 304, wherein:

[0088] A first acquisition module 301 is used to acquire a background lookup table corresponding to a target scene, the background lookup table including a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, and the background lookup table is used to filter out background point cloud points in the point cloud data of the target scene;

[0089] A second acquisition module 302 is used to acquire real-time point cloud data of the target scene, where the real-time point cloud data includes a plurality of real-time point cloud points;

[0090] A determination module 303 is used to map the multiple real-time point cloud points to the multiple two-dimensional grids, and determine a second point cloud height minimum value of each real-time point cloud point mapped to the two-dimensional grid;

[0091] The updating module 304 is used to update the first minimum point cloud height corresponding to each two-dimensional grid according to the second minimum point cloud height corresponding to the two-dimensional grid if the second minimum point cloud height corresponding to the two-dimensional grid is less than the first minimum point cloud height corresponding to the two-dimensional grid, so as to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0092] In the examples of this application, please refer to Figure 4 , another background point cloud filtering device 400 is provided. In addition to the modules included in the above-mentioned background point cloud filtering device 300, the background point cloud filtering device 400 optionally also includes: a detection module 305, a generation module 306 and a filtering module 307.

[0093] In an embodiment of the present application, the background lookup table also includes multiple attribute parameters corresponding one-to-one to the multiple two-dimensional grids, and each of the attribute parameters is used to indicate whether the corresponding two-dimensional grid corresponds to the area of ​​interest in the target scene; the detection module 305 is used to: for each of the two-dimensional grids, determine the attribute parameters corresponding to the two-dimensional grid in the background lookup table, if the attribute parameters corresponding to the two-dimensional grid indicate that the two-dimensional grid corresponds to the area of ​​interest, then detect whether the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid.

[0094] In an embodiment of the present application, the determination module 303 is specifically used to: for each two-dimensional grid, use the height value of the real-time point cloud point with the lowest height among the real-time point cloud points mapped by the two-dimensional grid as the minimum height value of the second point cloud corresponding to the two-dimensional grid.

[0095] In an embodiment of the present application, the generation module 306 is used to: obtain an initial background lookup table, in which each two-dimensional grid corresponds to an initial value; obtain reference point cloud data of the target scene, wherein the reference point cloud data includes multiple reference point cloud points; map the multiple reference point cloud points to the multiple two-dimensional grids, and use the minimum point cloud height value of each reference point cloud point mapped to the two-dimensional grid as the first minimum point cloud height value corresponding to each of the two-dimensional grids; update the initial value based on the first minimum point cloud height value corresponding to each of the two-dimensional grids to generate the background lookup table.

[0096] In the embodiment of the present application, the filtering module 307 is used to filter out background point cloud points in the real-time point cloud data using the background lookup table.

[0097] In an embodiment of the present application, the filtering module 307 is specifically used to: for each of the real-time point cloud points, determine the target two-dimensional grid corresponding to the real-time point cloud point in the multiple two-dimensional grids, and determine the first point cloud height minimum value corresponding to the target two-dimensional grid in the background lookup table; if the sum of the first point cloud height minimum value and a preset threshold value is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point.

[0098] In an embodiment of the present application, the background lookup table also includes multiple attribute parameters corresponding one-to-one to the multiple two-dimensional grids, and each of the attribute parameters is used to indicate whether the corresponding two-dimensional grid corresponds to the area of ​​interest in the target scene; the filtering module 307 is specifically used to: for each of the real-time point cloud points, determine the attribute parameters corresponding to the target two-dimensional grid in the background lookup table; if the attribute parameters corresponding to the target two-dimensional grid indicate that the target two-dimensional grid does not correspond to the area of ​​interest, then filter out the real-time point cloud point as a background point cloud point.

[0099] For the specific definition of the background point cloud filtering device, please refer to the definition of the background point cloud filtering method above, which will not be repeated here. Each module in the above-mentioned background point cloud filtering device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0100] In an embodiment of the present application, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a background point cloud filtering method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0101] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0102] In an embodiment of the present application, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0103] Obtaining a background lookup table corresponding to the target scene, the background lookup table including a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, the background lookup table being used to filter out background point cloud points in the point cloud data of the target scene;

[0104] Acquire real-time point cloud data of the target scene, the real-time point cloud data including a plurality of real-time point cloud points;

[0105] Mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining a second point cloud height minimum value of each real-time point cloud point mapped to the two-dimensional grid;

[0106] For each of the two-dimensional grids, if the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid, the minimum height value of the first point cloud corresponding to the two-dimensional grid is updated according to the second minimum height value of the point cloud corresponding to the two-dimensional grid to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0107] In an embodiment of the present application, the background lookup table also includes multiple attribute parameters corresponding one-to-one to the multiple two-dimensional grids, and each of the attribute parameters is used to indicate whether the corresponding two-dimensional grid corresponds to the area of ​​interest in the target scene; when the processor executes the computer program, the following steps are also implemented: for each of the two-dimensional grids, the attribute parameters corresponding to the two-dimensional grid are determined in the background lookup table; if the attribute parameters corresponding to the two-dimensional grid indicate that the two-dimensional grid corresponds to the area of ​​interest, then it is detected whether the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid.

[0108] In the embodiment of the present application, the processor further implements the following steps when executing the computer program:

[0109] For each of the two-dimensional grids, the height value of the real-time point cloud point with the lowest height among the real-time point cloud points mapped by the two-dimensional grid is used as the second point cloud minimum height value corresponding to the two-dimensional grid.

[0110] In the embodiment of the present application, the processor further implements the following steps when executing the computer program:

[0111] An initial background lookup table is obtained, in which each two-dimensional grid corresponds to an initial value; reference point cloud data of the target scene is obtained, and the reference point cloud data includes multiple reference point cloud points; the multiple reference point cloud points are mapped to the multiple two-dimensional grids, and the minimum point cloud height value of each reference point cloud point mapped to the two-dimensional grid is used as the first minimum point cloud height value corresponding to each two-dimensional grid; the initial value is updated based on the first minimum point cloud height value corresponding to each two-dimensional grid to generate the background lookup table.

[0112] In the embodiment of the present application, the processor further implements the following steps when executing the computer program:

[0113] The background lookup table is used to filter out background point cloud points in the real-time point cloud data.

[0114] In the embodiment of the present application, the processor further implements the following steps when executing the computer program:

[0115] For each real-time point cloud point, the target two-dimensional grid corresponding to the real-time point cloud point is determined in the multiple two-dimensional grids, and the first point cloud minimum height value corresponding to the target two-dimensional grid is determined in the background lookup table. If the sum of the first point cloud minimum height value and the preset threshold is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point.

[0116] In an embodiment of the present application, the background lookup table further includes a plurality of attribute parameters corresponding one-to-one to the plurality of two-dimensional grids, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; when the processor executes the computer program, the following steps are also implemented:

[0117] For each of the real-time point cloud points, the attribute parameters corresponding to the target two-dimensional grid are determined in the background lookup table. If the attribute parameters corresponding to the target two-dimensional grid indicate that the target two-dimensional grid does not correspond to the region of interest, the real-time point cloud point is filtered out as a background point cloud point.

[0118] In an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0119] Obtaining a background lookup table corresponding to the target scene, the background lookup table including a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, the background lookup table being used to filter out background point cloud points in the point cloud data of the target scene;

[0120] Acquire real-time point cloud data of the target scene, the real-time point cloud data including a plurality of real-time point cloud points;

[0121] Mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining a second point cloud height minimum value of each real-time point cloud point mapped to the two-dimensional grid;

[0122] For each of the two-dimensional grids, if the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid, the minimum height value of the first point cloud corresponding to the two-dimensional grid is updated according to the second minimum height value of the point cloud corresponding to the two-dimensional grid to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene.

[0123] In an embodiment of the present application, the background lookup table also includes multiple attribute parameters corresponding one-to-one to the multiple two-dimensional grids, and each of the attribute parameters is used to indicate whether the corresponding two-dimensional grid corresponds to the area of ​​interest in the target scene; when the computer program is executed by the processor, the following steps are also implemented: for each of the two-dimensional grids, the attribute parameters corresponding to the two-dimensional grid are determined in the background lookup table; if the attribute parameters corresponding to the two-dimensional grid indicate that the two-dimensional grid corresponds to the area of ​​interest, then it is detected whether the minimum height value of the second point cloud corresponding to the two-dimensional grid is less than the minimum height value of the first point cloud corresponding to the two-dimensional grid.

[0124] In the embodiment of the present application, when the computer program is executed by the processor, the following steps are also implemented:

[0125] For each of the two-dimensional grids, the height value of the real-time point cloud point with the lowest height among the real-time point cloud points mapped by the two-dimensional grid is used as the second point cloud minimum height value corresponding to the two-dimensional grid.

[0126] In the embodiment of the present application, when the computer program is executed by the processor, the following steps are also implemented:

[0127] An initial background lookup table is obtained, in which each two-dimensional grid corresponds to an initial value; reference point cloud data of the target scene is obtained, and the reference point cloud data includes multiple reference point cloud points; the multiple reference point cloud points are mapped to the multiple two-dimensional grids, and the minimum point cloud height value of each reference point cloud point mapped to the two-dimensional grid is used as the first minimum point cloud height value corresponding to each two-dimensional grid; the initial value is updated based on the first minimum point cloud height value corresponding to each two-dimensional grid to generate the background lookup table.

[0128] In the embodiment of the present application, when the computer program is executed by the processor, the following steps are also implemented:

[0129] The background lookup table is used to filter out background point cloud points in the real-time point cloud data.

[0130] In the embodiment of the present application, when the computer program is executed by the processor, the following steps are also implemented:

[0131] For each real-time point cloud point, the target two-dimensional grid corresponding to the real-time point cloud point is determined in the multiple two-dimensional grids, and the first point cloud minimum height value corresponding to the target two-dimensional grid is determined in the background lookup table. If the sum of the first point cloud minimum height value and the preset threshold is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point.

[0132] In an embodiment of the present application, the background lookup table further includes a plurality of attribute parameters corresponding one-to-one to the plurality of two-dimensional grids, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; when the computer program is executed by the processor, the following steps are also implemented:

[0133] For each of the real-time point cloud points, the attribute parameters corresponding to the target two-dimensional grid are determined in the background lookup table. If the attribute parameters corresponding to the target two-dimensional grid indicate that the target two-dimensional grid does not correspond to the region of interest, the real-time point cloud point is filtered out as a background point cloud point.

[0134] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0135] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0136] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A background point cloud filtering method, characterized in that: The method comprises: Acquire a background lookup table corresponding to a target scene, the background lookup table comprising a plurality of first point cloud height minimum values ​​corresponding one-to-one to a plurality of two-dimensional grids, and the background lookup table is used to filter out background point cloud points in the point cloud data of the target scene; acquire real-time point cloud data of the target scene, the real-time point cloud data comprising a plurality of real-time point cloud points; wherein the background lookup table further comprises a plurality of attribute parameters corresponding one-to-one to the plurality of two-dimensional grids, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to an area of ​​interest in the target scene; Mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining the second point cloud minimum height value of each real-time point cloud point mapped by the two-dimensional grid; for each of the two-dimensional grids, determining the attribute parameter corresponding to the two-dimensional grid in the background lookup table, and if the attribute parameter corresponding to the two-dimensional grid indicates that the two-dimensional grid corresponds to the region of interest, detecting whether the second point cloud minimum height value corresponding to the two-dimensional grid is less than the first point cloud minimum height value corresponding to the two-dimensional grid; For each of the two-dimensional grids, if the second minimum point cloud height value corresponding to the two-dimensional grid is less than the first minimum point cloud height value corresponding to the two-dimensional grid, the first minimum point cloud height value corresponding to the two-dimensional grid is updated according to the second minimum point cloud height value corresponding to the two-dimensional grid to obtain an updated background lookup table, and the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene; After acquiring the real-time point cloud data of the target scene, the background point cloud points in the real-time point cloud data are filtered out using the background lookup table; for each of the real-time point cloud points, a target two-dimensional grid corresponding to the real-time point cloud point is determined in the multiple two-dimensional grids, and a first point cloud height minimum value corresponding to the target two-dimensional grid is determined in the background lookup table; if the sum of the first point cloud height minimum value and a preset threshold value is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point.

2. The method according to claim 1, characterized in that: The step of determining the second minimum point cloud height of each real-time point cloud point mapped in the two-dimensional grid includes: For each of the two-dimensional grids, the height value of the real-time point cloud point with the lowest height among the real-time point cloud points mapped by the two-dimensional grid is used as the second point cloud minimum height value corresponding to the two-dimensional grid.

3. The method according to claim 1, characterized in that Before obtaining the background lookup table corresponding to the target scene, the method further includes: Obtain an initial background lookup table, wherein each two-dimensional grid in the initial background lookup table corresponds to an initial value; Acquire reference point cloud data of the target scene, wherein the reference point cloud data includes a plurality of reference point cloud points; Mapping the plurality of reference point cloud points to the plurality of two-dimensional grids, and taking the minimum point cloud height value of the reference point cloud points mapped to each of the two-dimensional grids as the first minimum point cloud height value corresponding to each of the two-dimensional grids; The initial value is updated based on the minimum value of the first point cloud height corresponding to each of the two-dimensional grids to generate the background lookup table.

4. The method according to claim 1, characterized in that: The background lookup table further includes a plurality of attribute parameters corresponding to the plurality of two-dimensional grids one by one, each of the attribute parameters being used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; the method further includes: For each of the real-time point cloud points, the attribute parameters corresponding to the target two-dimensional grid are determined in the background lookup table; if the attribute parameters corresponding to the target two-dimensional grid indicate that the target two-dimensional grid does not correspond to the region of interest, the real-time point cloud point is filtered out as a background point cloud point.

5. A background point cloud filtering device, characterized in that: The device comprises: A first acquisition module is used to acquire a background lookup table corresponding to a target scene, wherein the background lookup table includes a plurality of first point cloud height minimum values ​​corresponding to a plurality of two-dimensional grids one by one, and the background lookup table is used to filter out background point cloud points in the point cloud data of the target scene; wherein the background lookup table also includes a plurality of attribute parameters corresponding to the plurality of two-dimensional grids one by one, and each of the attribute parameters is used to indicate whether the corresponding two-dimensional grid corresponds to the region of interest in the target scene; A second acquisition module is used to acquire real-time point cloud data of the target scene, wherein the real-time point cloud data includes a plurality of real-time point cloud points; A determination module, used for mapping the multiple real-time point cloud points to the multiple two-dimensional grids, and determining the second point cloud height minimum value of each real-time point cloud point mapped by the two-dimensional grid; for each of the two-dimensional grids, determining the attribute parameter corresponding to the two-dimensional grid in the background lookup table, and if the attribute parameter corresponding to the two-dimensional grid indicates that the two-dimensional grid corresponds to the region of interest, detecting whether the second point cloud height minimum value corresponding to the two-dimensional grid is less than the first point cloud height minimum value corresponding to the two-dimensional grid; An updating module is used for updating the first minimum point cloud height value corresponding to each of the two-dimensional grids according to the second minimum point cloud height value corresponding to the two-dimensional grid to obtain an updated background lookup table if the second minimum point cloud height value corresponding to the two-dimensional grid is less than the first minimum point cloud height value corresponding to the two-dimensional grid, wherein the updated background lookup table is used to filter out background point cloud points in the point cloud data of the target scene; The filtering module is used to obtain the real-time point cloud data of the target scene, and then use the background lookup table to filter out the background point cloud points in the real-time point cloud data; for each of the real-time point cloud points, determine the target two-dimensional grid corresponding to the real-time point cloud point in the multiple two-dimensional grids, and determine the first point cloud height minimum value corresponding to the target two-dimensional grid in the background lookup table. If the sum of the first point cloud height minimum value and a preset threshold is not less than the height value of the real-time point cloud point, the real-time point cloud point is filtered out as a background point cloud point.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Map updating method and device and computer readable storage medium

    CN110019609A

  • Tracking method of online target tracking system based on three-dimensional laser point cloud

    CN110349192A