Map data processing method, device, electronic device and medium
The image acquisition device and inertial navigation positioning equipment are combined with point cloud equipment to collect data to generate high-definition raster maps, which solves the problems of low map production accuracy and sparse data in the existing technology, and achieves efficient and high-definition map data processing, which is suitable for Production of normal, lane-level and high-precision maps.
Patent Information
- Application Number
- CN202210217803.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-03-07
AI Technical Summary
Existing electronic map production technology has high costs, low accuracy, and poor production results. It is difficult to intuitively display road information. Data collection is especially difficult when trees and tunnels are blocking it. Moreover, the point cloud data is sparse and cannot accurately reflect the color and undulations of the road. information.
Image acquisition devices, inertial navigation positioning equipment and point cloud equipment are used to collect sensor data. High-definition raster map data is generated through point cloud modeling and mapping technology. Combined with image data processing, a high-precision ground model is constructed to solve the problem of data sparseness and occlusion. , improving the clarity and efficiency of the map.
The generated high-definition raster map data is used as a base map, which can clearly display element information such as road markings and arrows, accurately reflect road conditions, improve the accuracy and efficiency of map production, and reduce costs.
Smart Images

Figure CN114581621B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, specifically to the technical fields of intelligent transportation, image processing, etc., and more specifically to a map data processing method, device, electronic device, medium and program product. Background Art
[0002] Electronic maps are used in various fields of life and play an important role in life. When making electronic maps, the map making methods of related technologies have high costs, low precision and poor production effects, which affect the use effect of electronic maps. Summary of the invention
[0003] The present disclosure provides a map data processing method, device, electronic device, storage medium and program product.
[0004] According to one aspect of the present disclosure, a map data processing method is provided, comprising: processing sensor data for a traffic object to obtain point cloud data for the traffic object, wherein the sensor data includes image data; obtaining grid data based on the point cloud data; processing the image data based on an association relationship between the grid data and the image data to obtain processed image data; and obtaining map data for the traffic object based on the processed image data.
[0005] According to another aspect of the present disclosure, a map data processing device is provided, comprising: a first processing module, a first obtaining module, a second processing module and a second obtaining module. The first processing module is used to process sensor data for a traffic object to obtain point cloud data for the traffic object, wherein the sensor data includes image data; the first obtaining module is used to obtain grid data based on the point cloud data; the second processing module is used to process the image data based on the association relationship between the grid data and the image data to obtain processed image data; the second obtaining module is used to obtain map data for the traffic object based on the processed image data.
[0006] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor and a memory in communication with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the above-mentioned map data processing method.
[0007] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the above-mentioned map data processing method.
[0008] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program / instruction, wherein the computer program / instruction implements the steps of the above-mentioned map data processing method when executed by a processor.
[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0011] Figure 1 The system architecture of map data processing according to an embodiment of the present disclosure is schematically shown;
[0012] Figure 2 A flowchart of a map data processing method according to an embodiment of the present disclosure is schematically shown;
[0013] Figure 3 A schematic diagram of acquiring point cloud data according to an embodiment of the present disclosure is schematically shown;
[0014] Figure 4 A schematic diagram of processing point cloud data according to an embodiment of the present disclosure is schematically shown;
[0015] Figure 5 A schematic diagram schematically shows grid data according to an embodiment of the present disclosure;
[0016] Figure 6 A schematic diagram of processing image data according to an embodiment of the present disclosure is schematically shown;
[0017] Figure 7 A schematic diagram schematically shows a first positional relationship between a plurality of processed image data according to an embodiment of the present disclosure;
[0018] Figure 8 A schematic diagram schematically shows integrated image data according to an embodiment of the present disclosure;
[0019] Fig. 9 A block diagram schematically shows a map data processing device according to an embodiment of the present disclosure; and
[0020] Fig.10 The block diagram is a block diagram of an electronic device for executing map data processing for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0022] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0023] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0024] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0025] When making electronic maps, you can use trajectories, satellite images, point clouds, oblique photography data, etc. to draw road network information.
[0026] In one method, ordinary maps can be made based on tracks and images, for example, road information is obtained and drawn based on tracks and images. However, this method cannot intuitively see the road information, and it is necessary to constantly click to view the images collected by the front-view camera to restore the real situation of the road. This process is cumbersome to interact, low in efficiency, and low in accuracy.
[0027] In another way, ordinary maps can be made using tracks and satellite images as the base map for map operations, and road information can be drawn based on tracks and satellite images. This method can obtain the overall road conditions from satellite images, but is usually limited by the accuracy, effect, and resolution of satellite images. For example, civil satellite images have low resolution and accuracy, and local areas are deformed; satellite images are collected from the sky, and a large number of trees block road information, and the entire road surface of dense forests and tunnels is blocked and cannot be seen clearly; civil satellite images need to be collected using professional satellites, which are costly, updated every few years, and have low timeliness.
[0028] In another way, oblique photography can be used for map making, such as using a drone equipped with a camera to shoot the ground, and then stitching the captured images into an image map. The resolution of drone photography is slightly higher, but there are difficulties in data collection, and it cannot solve the problem of ground roads being blocked.
[0029] In another way, high-precision maps can be made using road point clouds as reference data, and 3D vector maps can be drawn with reference to 3D road point clouds. The three-dimensional operation of making maps using road point clouds requires constant dragging and changing of 3D perspectives and drawing of 3D vector data, which often results in low operating efficiency. The data of road point clouds is relatively sparse, and the color is the color converted by laser intensity, which cannot reflect the color of the real road elements. In addition, the same road section is greatly affected by lighting and materials, and the color distinction is not as intuitive as images.
[0030] In view of this, the embodiments of the present disclosure propose a map data processing method, which utilizes an image acquisition device (on-board camera), a high-precision inertial navigation positioning device, a point cloud device, etc. to collect sensor data for traffic objects, such as roads and ground. Based on the sensor data, the road ground is modeled, mapped, and other processes are performed to generate image data of a high-definition raster map similar to a satellite image. The generated image data can be widely used as a base map for the production of ordinary maps, lane-level maps, and high-precision maps. Map data can be obtained by drawing vector roads on the base map, and the elements in the map data have a high clarity. It can be seen that the embodiments of the present disclosure have the characteristics of high precision, high definition, and efficient operation.
[0031] Compared with drawing maps through trajectories and images, the map data processing method proposed in the embodiment of the present invention can generate a more intuitive raster map (base map), which can clearly display various ground markings, arrows and other element information, and accurately restore the image of the road surface by constructing a ground model with higher precision.
[0032] Compared with the method of making maps by collecting images through vehicle-mounted cameras, the map data processing method proposed in the embodiment of the present invention is not blocked by trees and tunnels, and can collect data at close range on the ground. The generated raster map (base map) is larger in scale and higher in definition than the data obtained by oblique photography.
[0033] Compared to using road point clouds as reference data to draw 3D vector maps, the map data processing method proposed in the embodiment of the present disclosure uses modeling and mapping technology to solve the sparse characteristics of point cloud data and can continuously display road surface information; in addition, compared to point cloud intensity color, the embodiment of the present disclosure also uses the image color collected by the camera to more realistically reflect the actual road conditions. Therefore, compared with point cloud three-dimensional operations, the two-dimensional top view of the embodiment of the present disclosure has the characteristics of high efficiency of two-dimensional road operations.
[0034] For making maps through oblique photography, the obliquely collected images can also be flattened to construct a bird's-eye view. Different from this, the embodiment of the present disclosure uses a method of point cloud modeling of the ground. Compared with the oblique photography method that collects data in the air, the embodiment of the present disclosure collects data on the ground, with a higher resolution and without occlusion. In addition, compared to collecting images through oblique photography and collecting images with a 360° surround camera for map making, these map making methods only use images to obtain orthographic images, and the ground expressed is a large plane, which cannot accurately describe the undulations and unevenness of the ground. The point cloud modeling of the embodiment of the present disclosure is for a small plane, and the information on potholes and undulations in the ground corresponding to the small plane can be described more accurately.
[0035] The map data processing method proposed in the embodiment of the present disclosure will be described in detail below.
[0036] Figure 1 The system architecture of map data processing according to an embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0037] like Figure 1 As shown, the system architecture 100 according to this embodiment may include data acquisition devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the data acquisition devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0038] The data acquisition devices 101 , 102 , and 103 may be various electronic devices with data acquisition functions, including but not limited to image acquisition devices, inertial positioning devices, point cloud devices, and the like.
[0039] The server 105 may be a server that provides various services, such as a background management server that provides support for websites browsed by users using the data acquisition devices 101, 102, and 103 (only as an example). The background management server may analyze the received data and process the results. The server 105 may also be a cloud server, that is, the server 105 has a cloud computing function.
[0040] It should be noted that the map data processing method provided in the embodiment of the present disclosure may be executed by the server 105. Accordingly, the map data processing device provided in the embodiment of the present disclosure may be disposed in the server 105.
[0041] In one example, the data collection devices 101, 102, 103 include sensors, and the data collection devices 101, 102, 103 can send the collected sensor data for traffic objects to the server 105 through the network 104. The server 105 can process the sensor data for traffic objects to obtain map data for traffic objects.
[0042] It should be understood that Figure 1 The number of data acquisition devices, networks and servers in the embodiment is only for illustration. Any number of data acquisition devices, networks and servers may be provided according to the implementation requirements.
[0043] Combine the following Figure 1 The system architecture of Figure 2 to Figure 8 The map data processing method according to the exemplary embodiment of the present disclosure is described below. The map data processing method according to the exemplary embodiment of the present disclosure can be, for example, Figure 1 The server shown is executed, Figure 1 The server shown is, for example, the same as or similar to the electronic device described below.
[0044] Figure 2 The flowchart of a map data processing method according to an embodiment of the present disclosure is schematically shown.
[0045] like Figure 2 As shown, the map data processing method 200 of the embodiment of the present disclosure may include, for example, operations S210 to S240.
[0046] In operation S210 , sensor data for a traffic object is processed to obtain point cloud data for the traffic object, where the sensor data includes image data.
[0047] In operation S220 , mesh data is obtained based on the point cloud data.
[0048] In operation S230, the image data is processed based on the association relationship between the grid data and the image data to obtain processed image data.
[0049] In operation S240 , map data for the traffic object is obtained based on the processed image data.
[0050] Exemplarily, the traffic objects include roads, ground, etc. The sensor data is, for example, data collected by an image acquisition device, an inertial positioning device, a point cloud device, etc.
[0051] By processing the sensor data, point cloud modeling is performed on the traffic object, thereby obtaining point cloud data for the traffic object. The point cloud data is then meshed to obtain mesh data. The mesh segmentation method includes, but is not limited to, triangle mesh segmentation, polygon mesh segmentation, and spline segmentation.
[0052] By pre-calibrating the image acquisition device, inertial positioning device, and point cloud device, the data collected by them are interrelated. For example, the relative position relationship represented by the data collected by different devices is related, or the data collected by different acquisition devices is related in the time dimension. Therefore, there is also an association relationship between the processed grid data and the image data. The image data can be processed based on the association relationship to obtain the processed image, and the map data for the traffic object can be obtained based on the processed image, so as to realize the production of map data.
[0053] According to the embodiments of the present disclosure, the sensor data is processed to obtain point cloud data, and then grid data is obtained based on the point cloud data, and the image data is processed based on the association between the grid data and the image data, thereby obtaining map data. It can be seen that through the embodiments of the present disclosure, the production cost of map data is reduced, and the accuracy and production efficiency of map data are improved.
[0054] According to another embodiment of the present disclosure, the sensor data includes, for example, image data collected by an image acquisition device, and may also include posture data collected by an inertial positioning device or initial point cloud data collected by a point cloud device. The image acquisition device, the inertial positioning device, and the point cloud device may be installed on a collection vehicle, and data collection is achieved by patrolling the collection vehicle, and the collection vehicle includes an autonomous driving vehicle.
[0055] Before the image acquisition device, inertial positioning device, and point cloud device collect data, they can be calibrated, for example, the relative position relationship of each device can be calibrated to calibrate the internal parameters of each device.
[0056] In addition, the clock synchronization of each device is completed so that each device collects data at the same time. Through device calibration and clock synchronization, any two or three of the collected posture data, point cloud data and image data are associated with each other based on time information and position information.
[0057] After the sensor data is collected, if multiple trips of data are collected, the semantic features of the road can be extracted and the same road signs can be obtained based on the semantic features to perform trajectory fusion of multiple trips of the road.
[0058] In one example, a point cloud model can be constructed based on sensor data to obtain point cloud data. Figure 3 .
[0059] Figure 3 A schematic diagram of acquiring point cloud data according to an embodiment of the present disclosure is schematically shown.
[0060] like Figure 3 As shown, point cloud data 310 for a traffic object can be constructed based on the image data collected by the image acquisition device and the posture data collected by the inertial positioning device. Alternatively, point cloud data 310 for a traffic object can be constructed based on the posture data collected by the inertial positioning device and the initial point cloud data collected by the point cloud device. The point cloud data 310 is, for example, dense point cloud data.
[0061] Next, the point cloud data 310 is subjected to noise reduction or filtering, for example, Figure 3 As an example, see the local point cloud data in Figure 4 Describes how to process point cloud data.
[0062] Figure 4 A schematic diagram of processing point cloud data according to an embodiment of the present disclosure is schematically shown.
[0063] like Figure 4 As shown, since the point cloud data usually contains point cloud data for traffic objects and point cloud data for additional objects, the point cloud data for additional objects will affect the subsequent map data production effect. Therefore, the point cloud data for additional objects in the point cloud data are removed by filtering or noise reduction to obtain point cloud data 410 for traffic objects.
[0064] Exemplarily, additional objects are objects above the ground or road surface, such as trees, buildings, obstacles, etc. In the embodiment of the present disclosure, since map data for the road surface is produced, objects above the ground such as trees, buildings, obstacles, etc. are all additional objects and need to be removed to ensure the accuracy of the map data.
[0065] Next, we get the mesh data based on the point cloud data, see Figure 5 .
[0066] Figure 5 A schematic diagram of grid data according to an embodiment of the present disclosure is schematically shown.
[0067] like Figure 5As shown, after filtering or denoising the point cloud data to obtain the point cloud data for the traffic object, grid segmentation may be performed based on the point cloud data for the traffic object to obtain grid data 510 .
[0068] For example, mesh segmentation includes but is not limited to triangle mesh segmentation, polygon mesh segmentation, and spline mesh segmentation. Figure 5 Take the method of triangular mesh segmentation as an example.
[0069] After obtaining the mesh data, you can also perform mesh reduction and hole filling processing on the mesh data. The "mesh reduction" method is used to reduce the number of triangles in the mesh. It is a mesh simplification method that reduces the number of triangles in the mesh while trying to maintain the geometric information or other properties of the mesh.
[0070] Next, process the image data based on the grid data, see Figure 6 .
[0071] Figure 6 The figure schematically shows a schematic diagram of processing image data according to an embodiment of the present disclosure.
[0072] like Figure 6 As shown, the grid data includes grid position data for multiple sub-grids, and the image data includes first image position data, and the first image position data includes position data of each pixel. Next, based on the association relationship between the grid position data of the grid data and the first image position data of the image data, the collected image data is processed to obtain processed image data 610.
[0073] For example, based on the association between the grid position data of the plurality of sub-grids and the first image position data, a plurality of sub-image data corresponding to the plurality of sub-grids one by one is determined from the image data, and the position data of the sub-image data is, for example, consistent with the grid position data of the corresponding sub-grid. Then, with reference to the grid position data of the plurality of sub-grids, the plurality of sub-image data are spliced to obtain processed image data 610.
[0074] Taking the sub-mesh as a triangular mesh as an example, each triangular mesh has three vertices, and the mesh position data includes, for example, the position data of the vertices. According to the association between the position data of the vertices and the position data of the first image, the sub-image data corresponding to each triangular mesh is found from the image data, and the size of each sub-image data is, for example, consistent with the size of the corresponding triangular mesh, and the sub-image data is mapped and filled into the triangular mesh, thereby obtaining the processed image data 610.
[0075] According to the embodiments of the present disclosure, sub-image data are spliced with reference to grid position data to obtain processed image data, so that the processed image data has higher accuracy, thereby improving the effect of map making.
[0076] Figure 6 It shows how to obtain a processed image data, and multiple processed image data can be obtained based on a similar method. Next, determine the first position relationship between the multiple processed image data, see Figure 7 .
[0077] Figure 7 A schematic diagram schematically shows a first positional relationship between a plurality of processed image data according to an embodiment of the present disclosure.
[0078] like Figure 7 As shown, the processed image data, for example, includes a plurality of processed image data, each processed image data includes second image position data, and the second image position data, for example, includes position data of four vertices of the processed image data.
[0079] Exemplarily, the second position data of each processed image data indicates a rectangular frame, for example. Figure 7 The second position data 710 of a processed image data is shown. Based on the second image position data of a plurality of processed image data, a first position relationship 700 between the plurality of processed image data is determined, and the first position relationship 700 is used to characterize the position distribution relationship of the plurality of processed image data.
[0080] In an example, if the first positional relationship 700 indicates that there is no overlapping data in the plurality of processed image data, the plurality of processed image data may be integrated based on the first positional relationship 700 to obtain integrated image data.
[0081] In another example, if the first positional relationship indicates that there are overlapping data in the plurality of processed image data, at least part of the plurality of processed image data is removed to obtain a plurality of target image data corresponding to the plurality of processed image data. Then, based on the second image position data of the plurality of target image data, the second positional relationship between the plurality of target image data is determined, and based on the second positional relationship, the plurality of target image data is integrated to obtain integrated image data. The second positional relationship is similar to the first positional relationship 700, for example.
[0082] For example, when two adjacent processed image data store duplicate data, it indicates that the two adjacent processed image data have an overlapping relationship. For example, when 50% of the area of one image data overlaps with 50% of the area of another image data, the duplicate data of one of the processed image data can be removed, and the other can be left unremoved, so that the area of one image data is 100%, and the area of the other image data is the remaining 50%. Alternatively, part of the duplicate data (30%) of one of the processed image data can be removed, and part of the duplicate data (20%) of the other can be removed. It can be understood that the embodiments of the present disclosure do not specifically limit the method of removing duplicate data, and any method can be used for processing as required.
[0083] According to an embodiment of the present disclosure, the first fixed position relationship or the second fixed position relationship is determined based on the second position data of the processed image data, and duplicate data in the processed image data is removed based on the first fixed position relationship or the second position relationship, thereby improving the accuracy of data integration.
[0084] Figure 8 A schematic diagram schematically shows integrated image data according to an embodiment of the present disclosure.
[0085] like Figure 8 As shown, after integrating multiple processed image data based on the first positional relationship, or integrating multiple target image data based on the second positional relationship, integrated image data 800 is obtained. The integrated image data 800 is, for example, a bird's-eye view, similar to a high-definition grid map of a satellite image.
[0086] For example, the integrated image data 800 can be widely used in the production of ordinary maps and high-precision maps.
[0087] For example, the integrated image data 800 may be segmented according to a preset size to obtain map data for traffic objects. The map data for traffic objects may include a small-sized tile map, which may be used as a base map for map making, and drawn on the base map to obtain a vector map.
[0088] According to the embodiments of the present disclosure, sensor data for traffic objects are collected using image acquisition devices, inertial navigation positioning equipment, point cloud equipment, etc. Then, the road surface is modeled and mapped based on the sensor data to generate image data of a high-definition raster map similar to a satellite image. The generated image data can be widely used as a base map for the production of ordinary maps, lane-level maps, and high-precision maps, thereby improving the accuracy, clarity, and efficiency of map production data.
[0089] Compared with drawing maps through trajectories and images, the map data processing method proposed in the embodiment of the present invention can generate a more intuitive raster map (base map), which can clearly display various ground markings, arrows and other element information, and accurately restore the image of the road surface by constructing a ground model with higher precision.
[0090] According to the embodiments of the present disclosure, in the process of map making, data can be collected at close range without being blocked by trees or tunnels, and the generated raster map (base map) is higher definition. In addition, the sparse point cloud data feature is solved by using modeling and mapping technology, and the road surface information can be continuously displayed, which more realistically reflects the actual road conditions.
[0091] Fig. 9 The block diagram schematically shows a map data processing device according to an embodiment of the present disclosure.
[0092] like Fig. 9 As shown, the map data processing device 900 of the embodiment of the present disclosure includes, for example, a first processing module 910 , a first obtaining module 920 , a second processing module 930 and a second obtaining module 940 .
[0093] The first processing module 910 may be used to process sensor data for a traffic object to obtain point cloud data for the traffic object, wherein the sensor data includes image data. According to an embodiment of the present disclosure, the first processing module 910 may, for example, execute the above reference Figure 2 The operation S210 described above will not be described in detail here.
[0094] The first acquisition module 920 may be used to obtain mesh data based on the point cloud data. According to an embodiment of the present disclosure, the first acquisition module 920 may, for example, execute the above reference Figure 2 The operation S220 described above will not be described in detail here.
[0095] The second processing module 930 may be used to process the image data based on the association relationship between the grid data and the image data to obtain processed image data. According to an embodiment of the present disclosure, the second processing module 930 may, for example, execute the above reference Figure 2 The operation S230 described above will not be described in detail here.
[0096] The second acquisition module 940 may be used to obtain map data for traffic objects based on the processed image data. According to the embodiment of the present disclosure, the second acquisition module 940 may, for example, execute the above reference Figure 2 The operation S240 described above will not be described in detail here.
[0097] According to an embodiment of the present disclosure, the grid data includes grid position data for a plurality of sub-grids, and the image data includes first image position data; the second processing module 930 includes: a determination sub-module and a splicing sub-module. The determination sub-module is used to determine a plurality of sub-image data corresponding to the plurality of sub-grids one by one from the image data based on the association relationship between the grid position data of the plurality of sub-grids and the first image position data; the splicing sub-module is used to splice the plurality of sub-image data with reference to the grid position data of the plurality of sub-grids to obtain processed image data.
[0098] According to an embodiment of the present disclosure, the point cloud data includes point cloud data for traffic objects and point cloud data for additional objects; the first acquisition module 920 includes: a removal submodule and a segmentation submodule. The removal submodule is used to remove the point cloud data for additional objects from the point cloud data to obtain point cloud data for traffic objects; the segmentation submodule is used to perform grid segmentation based on the point cloud data for traffic objects to obtain grid data.
[0099] According to an embodiment of the present disclosure, the processed image data includes a plurality of processed image data, each of which includes second image position data; wherein the second acquisition module 940 includes: an integration submodule and a segmentation submodule. The integration submodule is used to integrate the plurality of processed image data based on the second image position data of the plurality of processed image data to obtain integrated image data; and the segmentation submodule is used to segment the integrated image data according to a preset size to obtain map data for a traffic object.
[0100] According to an embodiment of the present disclosure, the integration submodule includes: a first determination unit and a first integration unit. The first determination unit is used to determine a first positional relationship between a plurality of processed image data based on second image position data of the plurality of processed image data; the first integration unit is used to integrate the plurality of processed image data based on the first positional relationship to obtain integrated image data in response to determining that the first positional relationship indicates that there is no overlapping data between the plurality of processed image data.
[0101] According to an embodiment of the present disclosure, the integration submodule further includes: a removal unit, a second determination unit, and a second integration unit. The removal unit is used to remove at least part of the multiple processed image data in response to determining that the first positional relationship represents the existence of overlapping data in the multiple processed image data, so as to obtain multiple target image data corresponding to the multiple processed image data one by one; the second determination unit is used to determine the second positional relationship between the multiple target image data based on the second image position data of the multiple target image data; the second integration unit is used to integrate the multiple target image data based on the second positional relationship to obtain the integrated image data.
[0102] According to an embodiment of the present disclosure, the sensor data also includes at least one of the following: posture data collected by an inertial positioning device, initial point cloud data collected by a point cloud device, wherein any two or three of the posture data, point cloud data and image data are associated with each other based on time information and position information.
[0103] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0104] In the technical solution of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.
[0105] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0106] According to an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to enable a computer to execute the map data processing method described above.
[0107] According to an embodiment of the present disclosure, a computer program product is provided, including a computer program / instruction, and when the computer program / instruction is executed by a processor, the map data processing method described above is implemented.
[0108] Fig.10 The block diagram is a block diagram of an electronic device for executing map data processing for implementing an embodiment of the present disclosure.
[0109] Fig.10 A schematic block diagram of an example electronic device 1000 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 1000 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0110] like Fig.10As shown, the device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the device 1000 can also be stored. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0111] A number of components in the device 1000 are connected to the I / O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a disk, an optical disk, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the device 1000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0112] The computing unit 1001 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1001 performs the various methods and processes described above, such as the map data processing method. For example, in some embodiments, the map data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1008. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the map data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to execute the map data processing method in any other appropriate manner (eg, by means of firmware).
[0113] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0114] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable map data processing device, so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0115] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0116] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0117] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0118] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0119] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0120] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A map data processing method, comprising: Processing sensor data for a traffic object to obtain point cloud data for the traffic object, wherein the sensor data includes image data; Based on the point cloud data, grid data is obtained; Based on the association relationship between the grid data and the image data, processing the image data to obtain processed image data; and Based on the processed image data, obtaining map data for the traffic object; The grid data includes grid position data for a plurality of subgrids, the image data includes first image position data, and the first image position data represents position data of each pixel; and the image data is processed based on the association relationship between the grid data and the image data to obtain the processed image data, comprising: Determining, from the image data, a plurality of sub-image data corresponding one-to-one to the plurality of sub-grids based on an association relationship between the grid position data of the plurality of sub-grids and the first image position data; and The plurality of sub-image data are spliced with reference to the grid position data of the plurality of sub-grids to obtain processed image data.
2. The method according to claim 1, wherein: The point cloud data includes point cloud data for the traffic object and point cloud data for the additional object; and obtaining the grid data based on the point cloud data includes: removing the point cloud data for the additional object from the point cloud data to obtain the point cloud data for the traffic object; and The grid data is obtained by performing grid segmentation based on the point cloud data of the traffic object.
3. The method according to any one of claims 1 to 2, wherein: The processed image data includes a plurality of processed image data, each of the plurality of processed image data includes second image position data, and the second image position data includes position data of vertices of the processed image data; Wherein, obtaining the map data for the traffic object based on the processed image data comprises: integrating the plurality of processed image data based on the second image position data of the plurality of processed image data to obtain integrated image data; and The integrated image data is segmented according to a preset size to obtain map data for the traffic object.
4. The method according to claim 3, wherein: The step of integrating the plurality of processed image data based on the second image position data to obtain the integrated image data comprises: determining a first positional relationship between the plurality of processed image data based on the second image position data of the plurality of processed image data; and In response to determining that the first positional relationship indicates that there is no overlapping data in the plurality of processed image data, the plurality of processed image data are integrated based on the first positional relationship to obtain the integrated image data.
5. The method according to claim 4, wherein: The step of integrating the plurality of processed image data based on the second image position data of the plurality of processed image data to obtain integrated image data further comprises: In response to determining that the first positional relationship represents that there are overlapping data in the plurality of processed image data, removing at least part of the plurality of processed image data to obtain a plurality of target image data corresponding one-to-one to the plurality of processed image data; determining a second positional relationship between the plurality of target image data based on the second image position data of the plurality of target image data; and Based on the second positional relationship, the plurality of target image data are integrated to obtain the integrated image data.
6. The method according to claim 1, wherein: The sensor data also includes at least one of the following: posture data collected by an inertial positioning device, initial point cloud data collected by a point cloud device, Wherein, any two or three of the posture data, the point cloud data and the image data are associated with each other based on time information and position information.
7. A map data processing device, comprising: A first processing module, configured to process sensor data for a traffic object to obtain point cloud data for the traffic object, wherein the sensor data includes image data; A first acquisition module, used to obtain grid data based on the point cloud data; A second processing module, configured to process the image data based on the association relationship between the grid data and the image data to obtain processed image data; and A second obtaining module, configured to obtain map data for the traffic object based on the processed image data; The grid data includes grid position data for a plurality of sub-grids, the image data includes first image position data, and the first image position data represents position data of each pixel; the second processing module includes: a determination submodule, configured to determine, from the image data, a plurality of sub-image data corresponding one-to-one to the plurality of sub-grids based on an association relationship between the grid position data of the plurality of sub-grids and the first image position data; and The splicing submodule is used to splice the multiple sub-image data with reference to the grid position data of the multiple sub-grids to obtain processed image data.
8. The device according to claim 7, wherein: The point cloud data includes point cloud data for the traffic object and point cloud data for the additional object; the first acquisition module includes: a removal submodule, configured to remove the point cloud data for the additional object from the point cloud data to obtain the point cloud data for the traffic object; and The sub-slicing module is used to perform grid segmentation based on the point cloud data of the traffic object to obtain the grid data.
9. The device according to any one of claims 7 to 8, wherein: The processed image data includes a plurality of processed image data, each of the plurality of processed image data includes second image position data, and the second image position data includes position data of vertices of the processed image data; Wherein, the second obtaining module comprises: an integration submodule, configured to integrate the plurality of processed image data based on the second image position data of the plurality of processed image data to obtain integrated image data; and The segmentation submodule is used to segment the integrated image data according to a preset size to obtain map data for the traffic object.
10. The device according to claim 9, wherein: The integration submodule comprises: A first determining unit, configured to determine a first positional relationship between the plurality of processed image data based on the second image position data of the plurality of processed image data; and A first integration unit is configured to integrate the plurality of processed image data based on the first positional relationship to obtain the integrated image data in response to determining that the first positional relationship represents that the plurality of processed image data do not have overlapping data.
11. The device according to claim 10, wherein: The integration submodule also includes: A removing unit, configured to remove at least part of the plurality of processed image data in response to determining that the first positional relationship represents that there are overlapping data in the plurality of processed image data, so as to obtain a plurality of target image data corresponding one-to-one to the plurality of processed image data; A second determining unit, configured to determine a second positional relationship between the plurality of target image data based on second image position data of the plurality of target image data; and The second integration unit is used to integrate the plurality of target image data based on the second positional relationship to obtain the integrated image data.
12. The device according to claim 7, wherein: The sensor data also includes at least one of the following: posture data collected by an inertial positioning device, initial point cloud data collected by a point cloud device, Wherein, any two or three of the posture data, the point cloud data and the image data are associated with each other based on time information and position information.
13. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.
15. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
