A data processing method and device
By identifying and removing dynamic type laser points in single-frame point cloud data during high-precision map construction, the problem of dynamic object smear in point cloud data splicing is solved, and the accuracy and quality of map construction are improved.
Patent Information
- Application Number
- CN202210950399.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-09
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-08-09
AI Technical Summary
In the process of constructing high-precision maps in the existing technology, due to the sparse laser points in single-frame point cloud data, smear of dynamic objects remain in the spliced point cloud data, affecting the accuracy of map construction.
By determining the types of laser points in single-frame point cloud data, including dynamic types, static types and undetermined types, voxels are divided, dynamic type laser points in dynamic voxels are removed, and the processed point cloud data set is obtained to construct a high-definition point cloud data set. Fine map.
It improves the recognition accuracy of laser points of dynamic objects, reduces the smear of dynamic objects in the spliced point cloud data, and improves the quality of high-precision map construction.
Smart Images

Figure CN117635850B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a data processing method and apparatus. Background Technology
[0002] Currently, with the development of autonomous driving technology, the application of high-precision maps is also expanding. In the construction of high-precision maps, because the laser points in a single frame of point cloud data are relatively sparse, multiple frames of point cloud data are typically collected first using acquisition equipment, and then these multiple frames are stitched together to obtain a point cloud dataset. Map elements are then extracted from this point cloud dataset to create a high-precision map. Summary of the Invention
[0003] This specification provides a data processing method and apparatus, which are used to at least partially solve the problems existing in the prior art.
[0004] The following technical solution is adopted in this specification:
[0005] This specification provides a data processing method, including:
[0006] The type of each laser point in several single-frame point cloud data is determined, and the point cloud dataset is determined based on each frame of point cloud data. The types include dynamic type, static type and undetermined type.
[0007] A three-dimensional bounding box is determined to surround the point cloud dataset. The three-dimensional bounding box is divided into voxels according to a preset voxel size, and the laser points contained in each voxel are determined.
[0008] For each voxel, voxels containing laser points of dynamic type are identified as dynamic voxels;
[0009] If there are no static type laser points in the dynamic voxel, then the type of the laser points of undetermined type in the dynamic voxel is determined to be dynamic type;
[0010] The laser points of dynamic type are removed from the dynamic voxels to obtain the processed point cloud dataset, and a high-precision map is constructed based on the processed point cloud dataset.
[0011] Optionally, the type of each laser point in several single-frame point cloud data is determined, specifically including:
[0012] Each frame of point cloud data is input into the target detection model for target detection. The laser points corresponding to each detected target and the type of each target are determined to determine the first type of each laser point in each frame of point cloud data.
[0013] Each single-frame point cloud data is input into the semantic segmentation model for semantic segmentation to determine the second type of each laser point in each single-frame point cloud data.
[0014] For each laser point in each frame of point cloud data, the type of the laser point is determined according to the first type and the second type of the laser point.
[0015] Optionally, the first type of each laser point in each frame of point cloud data is determined, specifically including:
[0016] The first type of all laser points other than each target detected in each single frame of point cloud data is determined as the undetermined type.
[0017] For each target detected by the target detection model, determine the first confidence level when the target detection model outputs the first prediction type corresponding to the target;
[0018] Determine whether the first confidence level is greater than a preset first confidence threshold;
[0019] If so, then the first type of each laser point corresponding to the target is determined as the first prediction type corresponding to the target;
[0020] If not, then the first type of each laser point corresponding to the target is determined as an undetermined type.
[0021] Optionally, a second type of each laser point in each single frame of point cloud data is determined, specifically including:
[0022] For each laser point output by the semantic segmentation model, determine the second confidence level when the semantic segmentation model outputs the second prediction type of the laser point;
[0023] Determine whether the second confidence level is greater than a preset second confidence threshold;
[0024] If so, then the second type of the laser point is determined as the predicted type of the laser point;
[0025] If not, then the second type of the laser point is determined to be a pending type.
[0026] Optionally, the type of the laser spot is determined based on the first type and the second type of the laser spot, specifically including:
[0027] Determine whether the laser point is one of the laser points contained in each target detected by the target detection model;
[0028] If so, then the type of the laser spot is determined to be the first type of laser spot;
[0029] If not, then the laser spot is determined to be of the second type.
[0030] Optionally, the laser points contained in each voxel obtained by segmentation are determined, specifically including:
[0031] Determine the three-dimensional coordinates of each laser point in the point cloud dataset;
[0032] Based on the three-dimensional coordinates of each laser point and the preset voxel size, the voxel into which each laser point falls is determined, so as to determine the laser points contained in each voxel obtained by division.
[0033] Optionally, a point cloud dataset is determined based on the point cloud data of each frame, specifically including:
[0034] Based on the acquisition location when the acquisition device acquires each frame of point cloud data, coordinate transformation is performed on each frame of point cloud data to convert each frame of point cloud data to the world coordinate system.
[0035] Merge the point cloud data from each individual frame to determine the point cloud dataset.
[0036] This specification provides a data processing apparatus, including:
[0037] The acquisition module is used to determine the type of each laser point in several single-frame point cloud data, and to determine the point cloud dataset based on each frame of point cloud data. The types include dynamic type, static type and undetermined type.
[0038] The voxel segmentation module is used to determine the three-dimensional bounding box surrounding the point cloud dataset. According to the preset voxel size, the three-dimensional bounding box is segmented into voxels, and the laser points contained in each voxel are determined respectively.
[0039] The voxel classification module is used to identify voxels containing laser points of dynamic type as dynamic voxels for each voxel.
[0040] The determination module is used to determine the type of the laser point of undetermined type in the dynamic voxel as dynamic if there is no static type laser point in the dynamic voxel;
[0041] The processing module is used to remove dynamic laser points from the dynamic voxels to obtain a processed point cloud dataset, and to construct a high-precision map based on the processed point cloud dataset.
[0042] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects:
[0043] The data processing method provided in this specification first determines the type of each laser point in several single-frame point cloud data sets, and then determines the point cloud dataset based on each frame of point cloud data. This dataset includes dynamic, static, and undetermined types. Next, the 3D bounding box surrounding the point cloud dataset is divided into voxels. For each voxel, voxels containing dynamic laser points are identified as dynamic voxels. The undetermined type of laser points in dynamic voxels without static laser points are identified as dynamic voxels. Finally, dynamic type laser points are removed from each dynamic voxel, resulting in a processed point cloud dataset for constructing a high-precision map. By dividing the merged point cloud dataset into voxels and determining the undetermined type of laser points in each voxel based on the laser points contained within each voxel, the accuracy of identifying laser points belonging to dynamic objects is improved. Attached Figure Description
[0044] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0045] Figure 1 This specification provides a schematic diagram of a data processing flow.
[0046] Figure 2 This is a schematic diagram of a data processing apparatus provided in this specification;
[0047] Figure 3 This is a schematic diagram of an electronic device that implements a data processing method as provided in this specification. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this application.
[0049] Currently, the type of each point in each frame of point cloud data determined by semantic segmentation is not accurate enough. This means that even after removing laser points belonging to dynamic objects from each frame of point cloud data based on the semantic segmentation results, laser points belonging to dynamic objects still remain in each frame of point cloud data. As a result, the stitched point cloud dataset will have residual trails of dynamic objects, which will affect the subsequent construction of high-precision maps.
[0050] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0051] Figure 1 This is a flowchart illustrating a data processing procedure in this specification, specifically including the following steps:
[0052] S100: Determine the type of each laser point in several single-frame point cloud data, and determine the point cloud dataset based on each frame of point cloud data. The types include dynamic type, static type and undetermined type.
[0053] Generally, when constructing a high-precision map, the server of the business platform can first acquire several single-frame point cloud data, determine the type of each laser point in the single-frame point cloud data, and then merge the single-frame point cloud data to obtain a point cloud dataset. Based on the determined type of each laser point, the laser points in the point cloud dataset that belong to dynamic objects are removed. Then, map elements can be extracted and a high-precision map can be drawn based on the processed point cloud dataset.
[0054] Based on this, in one or more embodiments of this specification, the server of the service platform can first determine the type of each laser point in several single-frame point cloud data, and determine the point cloud dataset based on each frame of point cloud data.
[0055] The point cloud data for each frame can be point cloud data collected by the acquisition device over a period of time. The acquisition device can store the collected point cloud data for each frame in a storage device, and the server of the business platform can retrieve the point cloud data for each frame from the storage device. Of course, the point cloud data for each frame can also be obtained by the server from other data platforms, and this specification does not limit this.
[0056] After acquiring the point cloud data for each single frame, the service platform's server can first perform preliminary classification of the point cloud data to determine the type of each laser point in each frame. Subsequently, based on the preliminary classification results, laser points belonging to dynamic objects can be further identified and removed. The types mentioned here include dynamic, static, and undetermined types. When a laser point is classified as dynamic, it means that the laser point belongs to a dynamic object; in other words, the laser point is formed by a laser emitted by the acquisition device striking a dynamic object. When a laser point is classified as static, it means that the laser point belongs to a static object; that is, the laser point is formed by a laser emitted by the acquisition device striking a static object. When a laser point is classified as dynamic, it means that the type of the laser point cannot be determined, or it is impossible to determine whether the laser point belongs to a dynamic or static object, or the confidence level of the determined laser point type is low; in this case, the laser point type can be classified as undetermined.
[0057] This specification does not restrict the specific method used to determine the type of each laser point in each frame of point cloud data. For example, the type of each laser point can be determined through semantic segmentation models, object detection models, etc. There are already mature technologies for this, which will not be elaborated here.
[0058] The server mentioned in this manual can be a server set up on a business platform, or a device such as a desktop computer or laptop computer capable of executing the solution described in this manual. For ease of explanation, the following description will only focus on the server as the execution subject.
[0059] After obtaining the point cloud data of each single frame as described above, in one or more embodiments of this specification, the server can perform coordinate transformation on the point cloud data of each single frame according to the acquisition position when the acquisition device acquires the point cloud data of each single frame, transform the point cloud data of each single frame to the world coordinate system, and then merge the point cloud data of each single frame to obtain a point cloud dataset.
[0060] Generally, when acquiring and storing point cloud data, the acquisition device typically performs the acquisition itself and stores the relative position information of each laser point with respect to the acquisition device, as well as the acquisition position at the time of acquisition. This acquisition position is usually the three-dimensional coordinates of the acquisition device in the world coordinate system. Therefore, when merging individual point cloud frames, it is necessary to perform coordinate transformation on the relative position information of each laser point with respect to the acquisition device based on the acquisition position when acquiring each frame of point cloud data. This transforms each laser point to the world coordinate system, obtaining the three-dimensional coordinates of each laser point in the world coordinate system, which facilitates subsequent processing.
[0061] The merging mentioned here can refer to stitching together individual point cloud data frames, that is, merging the laser points contained in each individual point cloud data frame into a single point cloud dataset. Alternatively, a preset position range can be used, with laser points falling within that preset position range from each individual point cloud data frame being used as the point cloud dataset. This manual does not impose restrictions on how the point cloud dataset is determined.
[0062] It should be noted that the obtained point cloud dataset still retains the attributes of each laser point, such as one or more of the following: 3D coordinates, RGB color, and type.
[0063] S102: Determine the three-dimensional bounding box surrounding the point cloud dataset, divide the three-dimensional bounding box into voxels according to the preset voxel size, and determine the laser points contained in each voxel.
[0064] After determining the point cloud dataset as described above, the server can divide the point cloud dataset based on the obtained point cloud dataset, and then process each part of the point cloud data obtained from the division one by one.
[0065] Specifically, the server can first determine the three-dimensional bounding box surrounding the point cloud dataset based on the three-dimensional coordinates of each laser point in the point cloud dataset, and then divide the three-dimensional bounding box into voxels according to the preset voxel size, and determine the laser points contained in each voxel.
[0066] When determining the 3D bounding box of the point cloud dataset, the server can determine the boundary laser points in each dimension of the world coordinate system based on the 3D coordinates of each laser point in the point cloud dataset, and then determine the 3D bounding box of the point cloud dataset based on the boundary laser points in each dimension.
[0067] The specific size of the voxel can be determined as needed. In one or more embodiments of this specification, the unit size of the voxel in each dimension can be determined by the following formula:
[0068] Size x =Size y <Size z
[0069] In the formula, Size x Size represents the unit size of a voxel along the x-axis. y Size represents the unit size of a voxel along the y-axis. z This represents the unit size of a voxel along the z-axis.
[0070] For example, to avoid grouping laser points belonging to dynamic and static objects into the same voxel in the horizontal direction, the base of the voxel can be set to a smaller size; that is, the unit size of the voxel in the x-axis and y-axis dimensions can be set to a smaller value based on the world coordinate system. For example, the base could be set to 5cm × 5cm. In the vertical direction, since the types of laser points are likely to be the same at a given horizontal position, the height of the voxel can be set to a larger size; that is, the unit size of the voxel in the z-axis dimension can be set to a larger value based on the world coordinate system. For example, the height could be set to 10cm. Of course, this is merely an example, and this manual does not impose any limitations on this approach.
[0071] After the 3D bounding box is divided into voxels, the server can determine the voxel to which each laser point falls based on the 3D coordinates of each laser point in the point cloud dataset and the preset voxel size.
[0072] The voxel that each laser point falls into can be calculated using the following formula:
[0073]
[0074]
[0075]
[0076] The three formulas are similar, differing only in their representation across different dimensions. Therefore, we will use the x-axis dimension as an example for explanation. x Point represents the index of a voxel along the x-axis. x Size represents the x-axis coordinate value in the three-dimensional coordinate system of the laser point. x This represents the unit size of a voxel along the x-axis. This indicates rounding down. The ratio of the x-axis coordinate value of the laser point to the unit size of the voxel in the x-axis dimension is used to determine the voxel index in the x-axis dimension where the laser point falls. The other two formulas are similar and will not be elaborated upon here.
[0077] By using the three formulas above, the sequence number of the voxel into which each laser point falls in different dimensions can be determined, thereby determining the voxel into which each laser point falls. In other words, the laser point contained in each voxel can be determined.
[0078] S104: For each voxel, identify the voxel containing the laser point of dynamic type as the dynamic voxel.
[0079] S106: If there are no static type laser points in the dynamic voxel, then the type of the laser point of undetermined type in the dynamic voxel is determined to be dynamic.
[0080] S108: Remove the dynamic type laser points from the dynamic voxels to obtain the processed point cloud dataset, and construct a high-precision map based on the processed point cloud dataset.
[0081] After determining the laser points contained in each voxel obtained by the above division, in one or more embodiments of this specification, the server may first determine the type of each voxel based on the type of laser points contained in that voxel.
[0082] As mentioned above, there are three types of laser points: dynamic, static, and undetermined. Therefore, each voxel contains seven possible combinations of laser point types: one type, any two types, or all three. Thus, the server can determine that voxels containing dynamic laser points are dynamic voxels, and the remaining voxels are static voxels.
[0083] For each dynamic voxel, the server can further determine whether there are static laser points in the dynamic voxel. If there are static laser points in the dynamic voxel, it means that the voxel is at the boundary between dynamic and static objects. Only the laser points belonging to dynamic objects in the voxel need to be removed, and the remaining laser points can be regarded as static laser points.
[0084] If there are no static laser points in the dynamic voxel, it means that the voxel is in an empty area in the acquisition space. The empty area refers to an area where there are no static objects, such as a road or the sidewalks on both sides of the road. In traffic scenes, dynamic objects usually occupy the empty area alternately. Therefore, when there are no static laser points in the dynamic voxel, it can be determined that all laser points in the voxel are of the dynamic type. That is, the type of the laser points of the undetermined type in the dynamic voxel is determined to be dynamic.
[0085] Specifically, the server can use a marker to mark dynamic voxels with laser points that do not have a static type, while leaving dynamic voxels with laser points that do have a static type unmarked. Then, the type of each laser point in each marked dynamic voxel is determined as dynamic. The specific marker used can be set as needed, and this specification does not impose any restrictions. For example, each dynamic voxel can be assigned an identifier, which can be 0 or 1; an identifier of 0 indicates no marking, and an identifier of 1 indicates marking.
[0086] For each static voxel, each laser point contained in the static voxel can be regarded as a static type laser point, and the type of each laser point in the static voxel does not need to be adjusted.
[0087] Finally, the server can remove dynamic laser points from each dynamic voxel, retaining the remaining laser points in the dynamic voxels and the laser points contained in each static voxel. This results in a processed point cloud dataset, which can then be used to construct a high-precision map.
[0088] based on Figure 1 The data processing method described first determines the type of each laser point in several single-frame point cloud data sets, and then determines the point cloud dataset based on each frame of point cloud data. This dataset includes dynamic, static, and undetermined types. Next, the 3D bounding box surrounding the point cloud dataset is divided into voxels. For each voxel, voxels containing dynamic laser points are identified as dynamic voxels. The undetermined type of laser points in dynamic voxels without static laser points are identified as dynamic voxels. Finally, dynamic type laser points are removed from each dynamic voxel, resulting in a processed point cloud dataset for constructing a high-precision map. By dividing the merged point cloud dataset into voxels and determining the undetermined type of laser points within each voxel, the accuracy of identifying laser points belonging to dynamic objects is improved.
[0089] Furthermore, in one or more embodiments of this specification, in step S100, since the semantic segmentation model generally does not consider spatial consistency when performing semantic segmentation on point cloud data to determine the type of each point, for non-continuous countable objects (e.g., pedestrians, vehicles, etc.), the semantic segmentation model usually has difficulty classifying all laser points belonging to the countable object into the same type or the same target. However, the targets identified by the target detection model are usually non-continuous countable objects. After identifying the target, the target detection model determines the laser points corresponding to the identified target by using bounding boxes to surround the target, which can usually determine the laser points belonging to countable objects more accurately.
[0090] Based on this, the business platform's server can first input each single-frame point cloud data into the target detection model for target detection, determining the laser points corresponding to each detected target and the type of each target, thus determining the first type of each laser point in each single-frame point cloud data. Then, the server can input each single-frame point cloud data into the semantic segmentation model for semantic segmentation, determining the second type of each laser point in each single-frame point cloud data. For each laser point in the single-frame point cloud data, the type of the laser point is determined based on its first and second types.
[0091] The above method can determine the laser points and their types belonging to countable objects based on the target detection model, and determine the laser points and their types belonging to continuous uncountable background objects (such as greenery, road surface, etc.) based on the semantic segmentation model, which can more accurately determine the type of each laser point in the point cloud dataset.
[0092] Furthermore, in one or more embodiments of this specification, when the server determines the first type of each laser point in each single-frame point cloud data using the target detection model, the target detection model typically outputs the bounding box of the detected target, the type corresponding to the target, and the confidence level. A high confidence level indicates that the target detection model's recognition result is relatively accurate and reliable; a low confidence level indicates that the target detection model's recognition result is poor and reliable. The server can then filter out the identified targets using a preset confidence threshold.
[0093] The server can first determine the first confidence level of each target detected by the target detection model when the model outputs the first predicted type corresponding to that target, and then determine whether the first confidence level is greater than a preset first confidence threshold. If so, the first type of each laser point corresponding to that target is determined as the first predicted type of that target; otherwise, the first type of each laser point corresponding to that target is determined as a pending type. Then, the first type of all laser points other than those detected in each single frame of point cloud data is determined as a pending type.
[0094] The first prediction type can include dynamic and static types. The first confidence threshold can be determined as needed, and this specification does not impose any restrictions on it. For example, to improve the accuracy of target recall, a higher first confidence threshold (e.g., 95%) can be set. Then, when determining the first type of each laser point in each single frame of point cloud data using the target detection model, relatively accurate dynamic and static laser points can be obtained. Subsequently, targeted processing can be performed on the laser points of the undetermined type, thus more accurately removing laser points belonging to dynamic objects. Laser points other than the target detected by the target detection model can be initially set as undetermined types, and their types can be determined later using a semantic segmentation model.
[0095] For each laser point in a single frame of point cloud data, the server determines the type of the laser point based on its first and second types. The server can determine if the first type is an undetermined type; if so, the laser point is classified as the second type; otherwise, it is classified as the first type. In other words, for non-continuous countable objects, the first type of the laser points corresponding to targets with a confidence level greater than a preset first confidence threshold, as given by the target detection model, can be used as the final result. For laser points with undetermined types in the target detection model's classification results, the server can use the classification result given by the semantic segmentation model as the final result.
[0096] Furthermore, in one or more embodiments of this specification, when the server semantic segmentation model determines the second type of each laser point in a single frame of point cloud data, the semantic segmentation model typically outputs the type and confidence level of each laser point. A high confidence level indicates that the semantic segmentation model's recognition result is relatively accurate and reliable; a low confidence level indicates that the semantic segmentation model's recognition result is poor and reliable. The server can then filter out points using a preset confidence threshold, retaining only the types of points with high confidence.
[0097] The server can first determine the second confidence level of the second prediction type of each laser point output by the semantic segmentation model, and then determine whether the second confidence level is greater than the preset second confidence level threshold. If so, the second type of the laser point is determined to be the prediction type of the laser point; otherwise, the second type of the laser point is determined to be an undetermined type.
[0098] The second prediction type can include dynamic and static types. The second confidence threshold can be determined as needed; for example, to improve the accuracy of determining the type of each laser point, a higher second confidence threshold (e.g., 98%) can be set. Then, when determining the second type of each laser point in each single-frame point cloud data using the target detection model, relatively accurate dynamic and static laser points can be obtained. Subsequently, targeted processing can be performed on the laser points of the desired type to accurately remove laser points belonging to dynamic objects. Of course, this second confidence threshold can be the same value as the first confidence threshold mentioned above; this specification does not impose any restrictions on this.
[0099] Furthermore, in one or more embodiments of this specification, when the server determines the type of each laser point in a single frame of point cloud data based on a first type and a second type of the laser point, for non-continuous countable objects, the classification result of the target detection model can be used as the final result. For continuous, uncountable background objects that the target detection model cannot select, the classification result of the semantic segmentation model can be used as the final result.
[0100] Therefore, when the target detection model does not filter out the detected targets using a confidence threshold, the server can determine whether each laser point in a single frame of point cloud data is a laser point contained in each target detected by the target detection model. If so, the laser point is determined to be of the first type; otherwise, it is determined to be of the second type.
[0101] Of course, when the target detection model filters out detected targets using a confidence threshold, the server can determine for each laser point in a single frame of point cloud data whether the laser point is included in the filtered targets. If so, the laser point is classified as its first type; otherwise, it is classified as its second type. This allows for a more accurate determination of the type of each laser point.
[0102] It should be noted that all actions involving the acquisition of signals, information, or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device.
[0103] The data processing methods provided in this manual can be applied to training reinforcement learning models that determine data relationships. These models can determine prompt templates based on knowledge graphs, avoiding the impact of contextual differences on the prediction accuracy of pre-trained language models. Subsequently, the prediction results are filtered using the knowledge graph to determine more accurate data relationships.
[0104] The above describes one or more embodiments of the data processing method provided in this specification. Based on the same idea, this specification also provides corresponding data processing devices, such as... Figure 2 As shown.
[0105] Figure 2 A schematic diagram of a data processing apparatus provided in this specification includes:
[0106] The acquisition module 200 is used to determine the type of each laser point in several single-frame point cloud data, and to determine the point cloud dataset based on each frame of point cloud data. The types include dynamic type, static type and undetermined type.
[0107] The voxel segmentation module 202 is used to determine the three-dimensional bounding box surrounding the point cloud dataset, and to segment the three-dimensional bounding box into voxels according to a preset voxel size, and to determine the laser points contained in each voxel.
[0108] Voxel classification module 204 is used to identify, for each voxel, voxels containing laser points of dynamic type as dynamic voxels;
[0109] The determination module 206 is used to determine the type of the laser point of undetermined type in the dynamic voxel as dynamic if there is no static type laser point in the dynamic voxel;
[0110] The processing module 208 is used to remove the dynamic type laser points in the dynamic voxels to obtain the processed point cloud dataset, so as to construct a high-precision map based on the processed point cloud dataset.
[0111] Optionally, the acquisition module 200 inputs each single-frame point cloud data into a target detection model for target detection, determines the laser points corresponding to each detected target and the type corresponding to each target, thereby determining the first type of each laser point in each single-frame point cloud data, inputs each single-frame point cloud data into a semantic segmentation model for semantic segmentation, determines the second type of each laser point in each single-frame point cloud data, and for each laser point in each single-frame point cloud data, determines the type of the laser point based on the first type and the second type of the laser point.
[0112] Optionally, the acquisition module 200 determines that the first type of all laser points other than each target detected in each single frame point cloud data is a type to be determined. For each target detected by the target detection model, it determines the first confidence level when the target detection model outputs the first predicted type corresponding to the target. It then determines whether the first confidence level is greater than a preset first confidence level threshold. If so, it determines that the first type of each laser point corresponding to the target is the first predicted type corresponding to the target. If not, it determines that the first type of each laser point corresponding to the target is a type to be determined.
[0113] Optionally, the acquisition module 200, for each laser point output by the semantic segmentation model, determines the second confidence level when the semantic segmentation model outputs the second prediction type of the laser point, and determines whether the second confidence level is greater than a preset second confidence level threshold. If yes, the second type of the laser point is determined to be the prediction type of the laser point; otherwise, the second type of the laser point is determined to be a pending type.
[0114] Optionally, the acquisition module 200 determines whether the laser point is a laser point contained in each target detected by the target detection model. If yes, the laser point is determined to be of the first type. If no, the laser point is determined to be of the second type.
[0115] Optionally, the voxel segmentation module 202 determines the three-dimensional coordinates of each laser point in the point cloud dataset, and determines the voxel to which each laser point falls based on the three-dimensional coordinates of each laser point and the preset voxel size, so as to determine the laser points contained in each voxel obtained by segmentation.
[0116] Optionally, the acquisition module 200 performs coordinate transformation on each single frame point cloud data according to the acquisition position when the acquisition device acquires each single frame point cloud data, transforms each single frame point cloud data to the world coordinate system, merges each single frame point cloud data, and determines the point cloud dataset.
[0117] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 1 The provided data processing methods.
[0118] This instruction manual also provides Figure 3 The diagram shows the structure of the electronic device. Figure 3 At the hardware level, the electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for the business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to achieve the above-mentioned functions. Figure 1 The provided data processing methods.
[0119] Of course, in addition to the software implementation method, this specification does not exclude other implementation methods, such as the combination of hardware and software XOR logic devices, etc. In other words, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0120] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0121] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0122] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0123] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.
[0124] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0125] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0126] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0127] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0128] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0129] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0130] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0131] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0132] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0134] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0135] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.
Claims
1. A data processing method, characterized in that: include: Determine the type of each laser point in a number of single-frame point cloud data, and determine a point cloud data set based on each frame of point cloud data, wherein the type includes a dynamic type, a static type, and a to-be-determined type, wherein determining the type of each laser point in a number of single-frame point cloud data specifically includes: inputting each single-frame point cloud data into a target detection model for target detection, determining the laser points corresponding to each target obtained by detection and the type corresponding to each target, so as to determine the first type of each laser point in each single-frame point cloud data; inputting each single-frame point cloud data into a semantic segmentation model for semantic segmentation, and determining the second type of each laser point in each single-frame point cloud data; for each laser point in each single-frame point cloud data , determining the type of the laser point according to the first type and the second type of the laser point; determining a three-dimensional bounding box surrounding the point cloud data set, performing voxel division on the three-dimensional bounding box according to a preset voxel size, and respectively determining the laser points contained in each voxel obtained by the division; for each voxel, determining the voxel containing the dynamic type laser point as the dynamic voxel; if there is no static type laser point in the dynamic voxel, determining the type of the undetermined type laser point in the dynamic voxel as the dynamic type; removing the dynamic type laser point in the dynamic voxel to obtain a processed point cloud data set, so as to construct a high-precision map according to the processed point cloud data set.
2. The method according to claim 1, characterized in that Determining the first type of each laser point in each single frame of point cloud data specifically includes: determining that the first type of all laser points other than each target detected in each single frame of point cloud data is a pending type; for each target detected by the target detection model, determining a first confidence level when the target detection model outputs a first predicted type corresponding to the target; judging whether the first confidence level is greater than a preset first confidence level threshold; if so, determining that the first type of each laser point corresponding to the target is the first predicted type corresponding to the target; if not, determining that the first type of each laser point corresponding to the target is a pending type.
3. The method according to claim 1, characterized in that Determining the second type of each laser point in each single frame of point cloud data specifically includes: for each laser point output by the semantic segmentation model, determining a second confidence level when the semantic segmentation model outputs a second predicted type of the laser point; judging whether the second confidence level is greater than a preset second confidence level threshold; if so, determining that the second type of the laser point is the predicted type of the laser point; if not, determining that the second type of the laser point is a pending type.
4. The method according to claim 2, characterized in that Determining the type of the laser point according to the first type and the second type of the laser point specifically includes: judging whether the laser point is a laser point contained in each target detected by the target detection model; if so, determining that the type of the laser point is the first type of the laser point; if not, determining that the type of the laser point is the second type of the laser point.
5. The method according to claim 1, characterized in that Determining the laser points contained in each voxel obtained by the division specifically includes: determining the three-dimensional coordinates of each laser point in the point cloud data set; determining the voxel into which each laser point falls according to the three-dimensional coordinates of each laser point and a preset voxel size, so as to determine the laser points contained in each voxel obtained by the division.
6. The method according to claim 1, characterized in that Determining a point cloud data set based on each frame of point cloud data specifically includes: performing coordinate transformation on each single frame of point cloud data according to the acquisition position when the acquisition device acquires each single frame of point cloud data, and converting each single frame of point cloud data into a world coordinate system; merging each single frame of point cloud data to determine the point cloud data set.
7. A data processing device, characterized in that: include: The acquisition module is used to determine the type of each laser point in a number of single-frame point cloud data, and to determine a point cloud data set according to each frame of point cloud data, wherein the type includes a dynamic type, a static type and a pending type, wherein determining the type of each laser point in a number of single-frame point cloud data specifically includes: inputting each single-frame point cloud data into a target detection model for target detection, determining the laser points corresponding to each target obtained by detection and the type corresponding to each target, so as to determine the first type of each laser point in each single-frame point cloud data; inputting each single-frame point cloud data into a semantic segmentation model for semantic segmentation, and determining the second type of each laser point in each single-frame point cloud data; for each laser point in each single-frame point cloud data, according to the first type of the laser point type and the second type, determining the type of the laser point; a voxel division module, used to determine a three-dimensional bounding box surrounding the point cloud data set, voxel division of the three-dimensional bounding box according to a preset voxel size, and respectively determining the laser points contained in each voxel obtained by the division; a voxel classification module, used to determine, for each voxel, a voxel containing a dynamic type of laser point as a dynamic voxel; a determination module, used to determine the type of the laser point of the to-be-determined type in the dynamic voxel as a dynamic type if there is no static type of laser point in the dynamic voxel; a processing module, used to remove the dynamic type of laser point in the dynamic voxel to obtain a processed point cloud data set, so as to construct a high-precision map according to the processed point cloud data set.
Citation Information
Patent Citations
Method and device for generating high-precision map
CN111311709A
Dynamic map construction method and system based on laser radar, and medium
CN111427979A
Map construction method and device
CN111882611A
Semantic SLAM method and device based on point clouds, electronic equipment and storage medium
CN113126115A
Cross-domain cooperative localization and mapping method and system based on three-dimensional point cloud
CN113470089A
Cited By
Map generation method and equipment
CN122017874A
