Point cloud image data generation method, device, equipment, medium and program product

Three-dimensional and four-dimensional point cloud data of complex traffic environments are generated through latent diffusion models and ray casting technology, which solves the problems of data sparseness and insufficient diversity in autonomous driving and improves the model training effect and safety.

CN118587369BActive Publication Date: 2024-10-11TIANJIN PORT (GROUP) COMPANY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411061325.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-11
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

In autonomous driving technology, the sparsity and insufficient diversity of point cloud data in complex traffic environments lead to decision-making errors, affect safety, and are expensive to collect and label.

Method used

The latent diffusion model is used to diffuse the road scene data to generate a three-dimensional scene, and the ray casting technology is used to simulate the acquisition equipment to generate point cloud data, and the time dimension information is integrated to generate real four-dimensional scene point cloud data.

Benefits of technology

It effectively solves the problems of data sparsity and insufficient diversity, reduces collection and labeling costs, generates point cloud data that is closer to the real scene, and improves the model training effect and safety of the autonomous driving system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587369B_ABST
    Figure CN118587369B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, equipment, medium and program product for generating point cloud image data, which relates to the field of autonomous driving. The method includes: after obtaining road scene data, inputting the road scene data into a preset potential diffusion model for processing to obtain output three-dimensional scene data; wherein the potential diffusion model is a model obtained by training based on historical road scene data and used to learn the corresponding three-dimensional scene data; constructing a three-dimensional scene based on the three-dimensional scene data; obtaining initial point cloud data corresponding to the three-dimensional scene based on the ray projection result of ray projection on the three-dimensional scene; fusing the initial point cloud data with time dimension information to obtain target point cloud data based on time series. Through the above method, the problems of sparsity and insufficient diversity of point cloud data can be effectively solved, providing strong data support for the autonomous driving system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to a method, device, equipment, medium and program product for generating point cloud image data. Background Art

[0002] With the emergence of diversified traffic needs, autonomous driving technology has gradually been more widely used. An important difficulty in the application of autonomous driving technology is the problem of safe driving in complex traffic environments.

[0003] Autonomous driving vehicles need to rely on a large amount of point cloud data for model training and scene understanding to ensure that the vehicle can make correct decisions in the driving environment. However, due to the sparsity and lack of diversity of point cloud data, it is difficult to reflect the real world, which may lead to vehicle decision-making errors in complex traffic environments, thereby affecting the safety of autonomous driving. Therefore, it is urgent to propose a technical solution that can effectively generate point cloud data in complex driving environments to solve the above problems. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device, medium and program product for generating point cloud image data to solve at least one of the above problems.

[0005] According to a first aspect of an embodiment of the present application, a method for generating point cloud image data is provided, comprising: after acquiring road scene data, inputting the road scene data into a preset latent diffusion model for processing to obtain output three-dimensional scene data; wherein the latent diffusion model is a model trained based on historical road scene data and used to learn corresponding three-dimensional scene data; constructing a three-dimensional scene based on the three-dimensional scene data; acquiring initial point cloud data corresponding to the three-dimensional scene based on a ray projection result of ray projection on the three-dimensional scene; fusing the initial point cloud data with time dimension information to obtain target point cloud data based on a time series.

[0006] Through the above technical solution, when point cloud data is sparse or needs to be generated, there is no need to use acquisition equipment (such as laser radar) for acquisition and annotation. The potential diffusion model is used to diffuse road scene data (such as traffic layout map data, sparse point cloud data, etc.), generate three-dimensional scene data and construct three-dimensional scenes, and use ray projection technology to project light on three-dimensional scenes, simulate the acquisition equipment to generate point cloud data, and integrate time dimension information to generate point cloud data corresponding to the real four-dimensional scene of the road scene that changes over time, effectively solving the problems of data sparsity and lack of diversity, while reducing the cost of acquisition and annotation, and the generated point cloud data is closer to the real scene. This is especially useful for road scenes with scarce data, which can significantly improve the model training effect and scene understanding of the autonomous driving system, provide strong data support for autonomous driving, and thus improve the safety of autonomous driving.

[0007] In one embodiment, the latent diffusion model includes a coding module, a latent space and a denoising network; the road scene data is input into the latent diffusion model for processing to obtain output three-dimensional scene data, including: conditionally encoding and extracting features of the road scene data based on the coding module to obtain feature data that meets preset conditions, and mapping the feature data to the latent space to convert it into a low-dimensional feature representation; diffusing the low-dimensional feature representation by introducing noise to obtain diffused data; and denoising the diffused data based on the denoising network and outputting it to obtain the three-dimensional scene data.

[0008] Through the above technical solution, the potential diffusion model is used to generate three-dimensional scene data, effectively integrating conditional guidance, feature extraction, data diffusion and other technologies to generate data that is more consistent with real road scenes. At the same time, the lack of data authenticity of the diffusion model and the uncontrollable, non-convergent and unstable problems caused by the training of the adversarial neural network are eliminated, and the automatic processing of data is realized.

[0009] In one embodiment, the three-dimensional scene includes a static environment and a dynamic behavior body; constructing the three-dimensional scene based on the three-dimensional scene data includes: obtaining static element data and dynamic object data in the three-dimensional scene data; constructing the static environment based on the static element data, and constructing the dynamic behavior body based on the dynamic object data.

[0010] Through the above technical solution, the constructed three-dimensional scene includes static environment and dynamic behavior objects. When the time dimension information is introduced, the static environment (point cloud) can be efficiently identified, and the motion state of the moving behavior object (point cloud) can be simulated, which effectively improves the physical credibility and diversity of the scene.

[0011] In one embodiment, the method of obtaining initial point cloud data corresponding to the three-dimensional scene based on a ray casting result of ray casting on the three-dimensional scene includes: obtaining intersection points between projection rays and objects in the three-dimensional scene based on a ray casting result of ray casting on the three-dimensional scene; obtaining intersection information of each intersection point, and obtaining initial point cloud data corresponding to the three-dimensional scene based on the intersection information.

[0012] Through the above technical solution, point cloud data is generated by utilizing the intersection information of the projected light and the three-dimensional scene, and efficient generation of point cloud can be achieved without the need for on-site collection and labeling by collection equipment.

[0013] In one embodiment, the intersection information includes the optical properties and the intersection position of the intersection; the obtaining of the intersection information includes: obtaining the optical properties of each intersection according to the normal direction of the object and the direction of the projected light, the optical properties including reflectivity; obtaining the position of each intersection according to the coordinates of the emission point of the projected light and the coordinates of each intersection.

[0014] Through the above technical solution, by obtaining the optical properties and positions of the intersection points and using the optical properties and positions of the intersection points to obtain point cloud data, the accuracy and authenticity of the initial point cloud data can be further improved.

[0015] In one embodiment, before obtaining the initial point cloud data corresponding to the three-dimensional scene based on the ray projection result of ray projection on the three-dimensional scene, it also includes: based on a preset simulation sensor model, ray projection on the three-dimensional scene to obtain the ray projection result; wherein the simulation sensor model carries parameter information of the simulation sensor, and the parameter information includes at least one of the following: scanning mode, field of view angle and position information.

[0016] Through the above technical solution, by using simulated sensors to project light on a three-dimensional scene, point cloud data that is more consistent with real sensors can be generated.

[0017] In one embodiment, the method also includes: obtaining a preset four-dimensional scene model, the four-dimensional scene model is used to predict the motion trajectory of dynamic point clouds in point cloud data that changes with time; the fusing of the initial point cloud data with the time dimension information to obtain target point cloud data based on a time series, including: inputting the initial point cloud data and the time dimension information into the four-dimensional scene model, obtaining the motion trajectory of dynamic point cloud data in the initial point cloud data that changes with time, and obtaining target point cloud data based on a time series based on the motion trajectory.

[0018] Through the above technical solution, combined with the four-dimensional scene model, the target point cloud data based on the time series is obtained, which effectively improves the generation efficiency of the point cloud sequence.

[0019] In one embodiment, before the road scene data is input into a preset potential diffusion model for processing, it also includes: obtaining original road scene data, wherein the original road scene data includes at least one of the following: traffic layout map data, remote sensing image data and sparse point cloud data; preprocessing the original road scene data to obtain the road scene data; wherein the preprocessing method includes at least one of the following: data cleaning, data labeling and format conversion.

[0020] Through the above technical solution, the original road scene data is cleaned, labeled and formatted, which can identify and filter out noise and outliers in the data, effectively improving the accuracy and reliability of the data.

[0021] In one embodiment, the method further includes: post-processing the initial point cloud to obtain post-processed initial point cloud data; fusing the initial point cloud data with the time dimension information includes: fusing the post-processed initial point cloud data with the time dimension information; and / or post-processing the target point cloud data to obtain post-processed target point cloud data; wherein the post-processing method includes filtering and / or denoising of the point cloud.

[0022] Through the above technical solution, after obtaining the corresponding point cloud data (such as initial point cloud data and target point cloud data), the accuracy of the point cloud data can be effectively improved by post-processing and optimizing the point cloud data.

[0023] In one embodiment, after obtaining the target point cloud data based on the time series, it also includes: uploading the target point cloud data to a distributed storage system for storage, so that the vehicle retrieves the corresponding target point cloud data from the distributed storage system and makes driving decisions based on the target point cloud data.

[0024] Through the above technical solution, distributed storage technology is used to efficiently store and manage the generated point cloud data, thereby improving the security and scalability of the data.

[0025] In one embodiment, the method also includes: compressing the target point cloud data; wherein the compression processing method includes at least one of the following: dictionary encoding, differential encoding, and entropy encoding of the target point cloud data; uploading the target point cloud data to a distributed storage system for storage includes: uploading the compressed target point cloud data to a distributed storage system for storage.

[0026] Through the above technical solution, the storage space occupied by data can be greatly reduced while ensuring data integrity, effectively improving storage efficiency and data transmission speed, thereby ensuring the real-time storage of point cloud data.

[0027] In a second aspect, the present application also provides a point cloud image data generating device, comprising: a model processing module, which is configured to input the road scene data into a preset latent diffusion model for processing after acquiring the road scene data, so as to obtain output three-dimensional scene data; wherein the latent diffusion model is a model for learning or enhancing three-dimensional data; a construction module, which is configured to construct a three-dimensional scene based on the three-dimensional scene data; an acquisition module, which is configured to acquire initial point cloud data corresponding to the three-dimensional scene based on a ray projection result of ray projection on the three-dimensional scene; and a fusion module, which is configured to fuse the initial point cloud data with time dimension information to obtain target point cloud data based on a time series.

[0028] In one implementation, the point cloud image data generating device may be used to execute any possible implementation of the first aspect described above.

[0029] In a third aspect, the present application also provides an electronic device, comprising: a memory and a processor; the memory comprises computer execution instructions; the processor executes the computer execution instructions so that the electronic device executes the point cloud image data generation method provided in any one of the first aspects above.

[0030] In a fourth aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium includes computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the point cloud image data generation method provided in any one of the above-mentioned first aspects.

[0031] In a fifth aspect, the present application also provides a computer program product, which includes a computer program code. When the computer program code is run on a computer, the computer executes the point cloud image data generation method provided in any one of the first aspects above. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A possible scenario diagram provided for an embodiment of the present application;

[0033] Figure 2 One of the flowcharts of the method for generating point cloud image data provided in an embodiment of the present application;

[0034] Figure 3 A second flow chart of a method for generating point cloud image data provided in an embodiment of the present application;

[0035] Figure 4 for Figure 2 Schematic diagram of the process of step S203;

[0036] Figure 5 A schematic diagram of a flow chart of another method for generating point cloud image data provided in an embodiment of the present application;

[0037] Figure 6 A schematic diagram of a flow chart of another method for generating point cloud image data provided in an embodiment of the present application;

[0038] Figure 7 A schematic diagram of a flow chart of another method for generating point cloud image data provided in an embodiment of the present application;

[0039] Figure 8 A schematic diagram of the structure of a point cloud image data generating device provided in an embodiment of the present application;

[0040] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] With the rapid development of artificial intelligence technology, autonomous driving technology has become a research hotspot in the automotive industry. Autonomous vehicles rely on a large amount of data for model training and scene understanding to ensure that they can make correct decisions in various complex driving environments. However, the actual collected autonomous driving data often has the following problems: 1) Data sparsity: Autonomous driving vehicles encounter a variety of driving scenarios during actual driving, but due to the limitations of collection equipment, high collection costs, and uneven distribution of driving scenarios, the actual collected data is very sparse in certain specific scenarios, such as extreme weather and night driving. 2) Insufficient data diversity: The widespread application of autonomous driving technology requires models to be able to handle a variety of complex driving scenarios. However, existing data sets often fail to cover a variety of possible driving situations, especially in some rare or difficult to simulate scenarios, where data diversity is particularly insufficient. 3) High collection and annotation costs: The collection and annotation of autonomous driving data usually requires professional knowledge and experience, and the annotation process is cumbersome and time-consuming, resulting in high collection and annotation costs. This problem is particularly prominent in large-scale data sets. 4) Difficulty in generating new scenarios: Since traditional methods are based on transformations of existing data, they cannot generate new driving scenarios that are different from existing data. This limits the application of data enhancement technology in dealing with rare or difficult-to-simulate driving scenarios. 5) Insufficient ability to process complex features: Autonomous driving data often contains a large number of complex features, such as road signs, traffic participant behaviors, etc. Traditional data enhancement methods often have poor results when dealing with these complex features and cannot effectively retain and enhance these features.

[0042] It can be seen that when using current data collection technology to process autonomous driving data, there are problems such as limited diversity enhancement, difficulty in generating new scenes, and insufficient ability to process complex features. Therefore, a more advanced and effective point cloud generation technology is needed to solve these problems, so as to increase the quantity and diversity of autonomous driving data and provide better data support for the development and application of autonomous driving technology.

[0043] In view of this, the embodiments of the present application provide a point cloud image data generation method, device, equipment, medium and program product, which are intended to solve the problems of insufficient data and lack of data diversity in the field of autonomous driving. By combining the point cloud generation technology of the potential diffusion model and ray casting, a large amount of high-quality point cloud data can be generated, and the diversity of the data can be enhanced, thereby improving the performance and robustness of the autonomous driving system. Specifically, after obtaining the road scene data, the road scene data is input into a preset potential diffusion model for processing to obtain output three-dimensional scene data, and a three-dimensional scene is constructed based on the three-dimensional scene data, and based on the ray casting result of ray casting on the three-dimensional scene, the initial point cloud data corresponding to the three-dimensional scene is obtained, and the initial point cloud data is fused with the time dimension information to obtain the target point cloud data based on the time series. In this process, when point cloud data is sparse or needs to be generated, there is no need to use acquisition equipment (such as lidar) for acquisition and annotation. The potential diffusion model is used to diffuse the road scene data (such as traffic layout map data, sparse point cloud data, etc.) to generate three-dimensional scene data, and the three-dimensional scene is projected by ray casting technology to simulate the acquisition equipment to generate rich point cloud data. At the same time, the time dimension information is integrated to generate point cloud data of the real four-dimensional scene corresponding to the road scene that changes with time. It can generate rich point cloud data that conforms to the real scene, solving the problems of data sparsity and insufficient diversity; at the same time, it reduces the acquisition and annotation costs, and can generate point cloud data corresponding to the road scene data, solving the problem that it is difficult to generate new scenes (in line with practical applications) based on existing data; in addition, encoding modules can be designed in the potential diffusion model to perform feature extraction to effectively retain and enhance the complex features of the road scene data (such as road signs, etc.), thereby solving the problem of insufficient complex feature processing capabilities of the model.

[0044] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below in conjunction with the drawings in the embodiments of the present application. In the drawings, the same or similar reference numerals throughout represent the same or similar parts or parts with the same or similar functions. The described embodiments are part of the embodiments of the present application, not all of the embodiments. The embodiments described below with reference to the drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0045] The technical solution provided in the embodiment of the present application can be applied to the application scenario of autonomous driving. For example, the execution subject of the point cloud image data generation method provided in the embodiment of the present application can be a vehicle, specifically, it can be a domain controller of the vehicle, or an electronic control unit, etc.; in some examples, the execution subject of the point cloud image data generation method provided in the embodiment of the present application can also be a server, such as a cloud server, a distributed server, etc. This embodiment does not specifically limit the specific execution subject of the above method, and only takes the server as an example for explanation:

[0046] Figure 1 A possible scenario diagram provided for an embodiment of the present application is as follows: Figure 1 As shown, the system includes a vehicle 110, a server 120 and a remote sensing satellite 130, and the server 120 is electrically connected to the vehicle 110 and the remote sensing satellite. Optionally, the remote sensing satellite 130 can collect road scene data (i.e., remote sensing satellite images) of the environment in which the vehicle 110 is located, and send it to the server 120. After receiving the road scene data, the server 120 uses a preset potential diffusion model to perform data diffusion to obtain the output three-dimensional scene data corresponding to the road scene data, and constructs a three-dimensional scene based on the three-dimensional scene data. By performing ray projection on the three-dimensional scene, the initial point cloud data corresponding to the three-dimensional scene is obtained, and the initial point cloud data is fused with the time dimension information to obtain the target point cloud data based on the time series, that is, to generate four-dimensional data corresponding to the real scene. By sending the target point cloud data to the vehicle 110, the vehicle 110 efficiently identifies the surrounding driving environment based on the target point cloud data and makes a more accurate decision. Optionally, server 120 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0047] Optionally, the number of the above-mentioned vehicles 110 or servers 120 can be more or less, and the embodiments of the present application are not limited to this. In some embodiments, the above-mentioned vehicles 110 and servers 120 can also serve as nodes in the blockchain system to synchronize the generated point cloud data to other nodes of the blockchain to achieve wide application of point cloud data.

[0048] The above is a brief description of the scenario diagram of this application. Figure 1 The server 120 in the example is taken as an example to explain in detail the method for generating point cloud image data provided in the embodiment of the present application.

[0049] Please refer to Figure 2 , Figure 2 A schematic flow chart of a method for generating point cloud image data provided in an embodiment of the present application includes steps S201-S204:

[0050] Step S201: After acquiring the road scene data, the road scene data is input into a preset latent diffusion model for processing to obtain output three-dimensional scene data; wherein the latent diffusion model is a model trained based on historical road scene data and used to learn the corresponding three-dimensional scene data.

[0051] In this embodiment, the road scene data may be traffic layout map data, remote sensing image data or sparse point cloud data. Among them, the traffic layout map data and remote sensing image data are usually two-dimensional data (lacking height information), and the sparse point cloud data may be point cloud data collected by vehicle sensors. In a complex road environment, the point cloud data is relatively sparse and lacks data diversity. By inputting the road scene data into a potential diffusion model for processing, the road scene data is enhanced using the potential diffusion model, such as learning the height information of the road scene data to obtain three-dimensional scene data corresponding to the road scene data. Optionally, this embodiment is illustrated by taking a traffic layout map as an example, and the traffic layout map can be obtained in combination with the vehicle positioning data, such as obtaining a traffic layout map within the positioning range based on the vehicle positioning data.

[0052] Latent Diffusion Models (LDMs) are a diffusion model based on latent variables, combining deep learning and diffusion models, which can generate realistic data samples by gradually diffusing latent variables. Optionally, the latent diffusion model can use an initial noise distribution and a step-by-step iterative diffusion process to generate data. This process includes a forward diffusion process, i.e., adding noise to the data, and a backward diffusion process, i.e., removing noise from the data. In this embodiment, the core of the latent diffusion model is a deep neural network, which generates new data samples by simulating the diffusion and denoising process of data. During the training process, a large amount of historical road scene data can be used to train the corresponding three-dimensional scene data, so that the model has good robustness. In actual application, it can diffuse three-dimensional scene data that is more in line with the real scene.

[0053] In this embodiment, the potential diffusion model may include an encoding module, a latent space, a diffusion module, and a denoising network. Optionally, the encoding module may include a conditional encoder and a main encoder (in some embodiments, only the main encoder may be designed), wherein the conditional encoder may be used to process additional conditional information, such as a traffic layout map, and encode it into conditional features to solve the problem of easy feature loss in related technologies, and the main encoder may be composed of a series of convolutional layers for extracting input features and mapping the features to a low-dimensional representation of the latent space; the latent space, in this embodiment, is an abstract representation that encodes key information of the input data; the diffusion module, in the latent space, simulates the diffusion process of data by gradually adding noise; the denoising network (also called a denoiser) may adopt a joint network U-Net architecture to recover clean data samples from noisy data.

[0054] It can be understood that in addition to the above modules, the potential diffusion model can also include other modules, such as an input layer and an output layer, wherein the input layer serves as the starting point of the network and receives road scene data (such as a traffic layout map) as a conditional input, and the output layer is used to convert the output of the denoising network into a three-dimensional scene representation and output it.

[0055] Next, the processing process of the above-mentioned latent diffusion model is introduced in detail. In the above steps, the road scene data is input into the latent diffusion model for processing to obtain output three-dimensional scene data, which can be achieved in the following manner: conditionally encode and extract features of the road scene data based on the encoding module to obtain feature data that meets preset conditions, and map the feature data to the latent space to convert it into a low-dimensional feature representation; diffuse the low-dimensional feature representation by introducing noise to obtain diffuse data; denoise the diffuse data based on the denoising network and output it to obtain the three-dimensional scene data.

[0056] In this embodiment, the input traffic layout map can first be preprocessed, including normalization and scaling, to adapt to the input requirements of the model. The conditional encoder receives the preprocessed input and converts it into a latent representation that captures the key features of the input data, such as road networks, traffic signs, and pedestrian locations. The conditional encoder can use a convolutional neural network to extract semantic information from the input layout map and encode it into a compact vector representation, and then use the main encoder to extract input features and map the features of the input data to a low-dimensional representation of a latent space; the latent space, as a low-dimensional, continuous representation, encodes the key features of the input data. In this space, the diffusion and denoising process of the data can be effectively simulated, and the richness of the latent space is used to capture the complexity of the data, while facilitating the learning and generation of the data. In the diffusion process, the diffusion process is simulated by introducing noise to the low-dimensional feature representation. This process can be regarded as a stochastic differential equation, in which the data gradually transforms from its original state to a Gaussian distribution. The introduction of noise can be carried out through a predetermined schedule, and each time step corresponds to a specific stage of the noise level. In practical applications, the model can define a series of noise levels, each level corresponds to a state of the data in the diffusion process, from noise-free original data to completely random noise data, each state is a snapshot of the diffusion process; the denoising network is a key part of the potential diffusion model, performing the denoising process (Denoising Process), responsible for recovering the original data from the noisy data, and the denoising network can adopt the structure of Generative Adversarial Network (GAN) or Variational Autoencoder (VAE) to reverse the process of noise introduction by learning the potential distribution of the data, thereby recovering a clear data sample. In addition, in the denoising process, the conditional vector can be used to guide the generation process of the denoising network. In this way, the generated data not only follows the potential distribution of the data, but also meets the specific requirements of the input conditions. In addition, for the training of the denoising network, the training method can be that the training goal of the denoising network is to minimize the reconstruction loss, that is, the difference between the generated data and the original data, which can be achieved through adversarial training, in which the network learns how to generate more and more realistic data. During the training process, the parameters of the denoising network are optimized so that samples similar to real data can be generated given the potential representation. Model Output: After the denoising process, the model outputs denoised data, which are statistically similar to real data and can be used to build 3D scenes. The geometry of the 3D scene is used to generate point clouds in subsequent steps.

[0057] It can be understood that the conditional encoder and the main encoder work together, using the conditional encoder to provide additional conditional information (conditional information corresponding to the traffic layout map) to help the main encoder better learn and represent the characteristics of the input data, thereby improving the performance and effect of the entire neural network when processing conditional input data. In this way, the model can better utilize the conditional information and the characteristics of the input data, thereby completing the denoising and reconstruction tasks more effectively.

[0058] It can be understood that the feature data that meets the preset conditions in this embodiment is the feature data corresponding to the conditional guidance of the conditional encoder, which enables the model to generate three-dimensional (Three-Dimensional, 3D) scenes and radar (LiDAR) point cloud data that matches the specific scene layout.

[0059] In summary, the processing of the latent diffusion model mentioned above mainly includes the following steps: input data (traffic layout map) -> conditional encoder -> primary encoder (a series of convolutional layers) -> latent space (low-dimensional feature representation) -> diffusion process (gradually adding noise) -> denoiser (U-Net architecture) -> output layer (converting the denoising result into 3D scene data).

[0060] Through the above, the potential diffusion model is used to generate 3D scenes. This method can effectively integrate conditional guidance and generate high-quality data that conforms to real road scenes. At the same time, it eliminates the lack of data authenticity of the diffusion model and the uncontrollable, non-convergent and unstable problems caused by the adversarial neural network during training, and realizes automatic data processing.

[0061] Step S202: construct a three-dimensional scene based on the three-dimensional scene data.

[0062] In this embodiment, the construction of the 3D scene can be created using computer graphics and geometric modeling technology. The 3D model of the elements in the three-dimensional scene (such as elements in a static environment and elements of a dynamic actor) can be constructed based on parameters, or can be generated through a deep learning network, using algorithms such as Marching Cubes to extract 3D meshes from voxel data, and using surface fitting algorithms such as Delaunay triangulation to create smooth surfaces. For static environments such as buildings, parametric 3D model libraries such as City Geography Markup Language (CityGML) or Industry Foundation Classes (IFC) are used to represent and render the geometric structure of the building.

[0063] In addition, physical properties can be defined for objects in a 3D scene, such as assigning physical properties to each object, such as surface material, reflectivity, and roughness. These properties can be learned from real data through physical models or machine learning methods to further restore the real scene.

[0064] In this embodiment, the three-dimensional scene includes a static environment and a dynamic behavior body, so as to better simulate the moving objects that change with time in the four-dimensional scene (integrated with the time dimension) in the subsequent steps to approach the changes in the real traffic environment. Next, the above step S202 of constructing a three-dimensional scene based on the three-dimensional scene data is further introduced, which can be implemented in the following manner: obtaining static element data and dynamic object data in the three-dimensional scene data; constructing the static environment based on the static element data, and constructing the dynamic behavior body based on the dynamic object data.

[0065] In this embodiment, the static element data may be buildings, roads, etc., and the dynamic object data may be vehicles, pedestrians, etc. The static element data and dynamic element data in the three-dimensional scene data may be identified through a detection network or other means, and a static environment and a dynamic behavior body may be constructed for the static element data and the dynamic object data, respectively. For example, the generation of a static environment may be achieved through 3D modeling technology, which may be rule-based geometric modeling or a learning-based generative model; the generation of a dynamic behavior body may be achieved by creating realistic 3D models and generating motion trajectories for these 3D models that conform to physical laws, which may be achieved through physical simulation or rule-based animation technology.

[0066] Through the above technical solution, the constructed three-dimensional scene includes static environment and dynamic behavior objects, which effectively improves the physical credibility and diversity of the scene.

[0067] Step S203: based on the ray casting result of performing ray casting on the three-dimensional scene, obtaining initial point cloud data corresponding to the three-dimensional scene.

[0068] In this embodiment, in the case where the point cloud is sparse or lacks point cloud data, there is no need to use point cloud acquisition equipment for acquisition and annotation. Ray projection technology is used to project rays on the constructed three-dimensional scene, and the initial point cloud data corresponding to the three-dimensional scene is obtained based on the ray projection results.

[0069] Optionally, this embodiment uses a simulated sensor to perform ray casting on a three-dimensional scene to generate initial point cloud data. Figure 3 As shown, before the above step S203 obtains the initial point cloud data corresponding to the three-dimensional scene based on the ray projection result of ray projection on the three-dimensional scene, the following step S301 may be further included:

[0070] Step S301: Based on a preset simulation sensor model, ray casting is performed on the three-dimensional scene to obtain the ray casting result; wherein the simulation sensor model carries parameter information of the simulation sensor, and the parameter information includes at least one of the following: scanning mode, field of view angle and position information.

[0071] Among them, those skilled in the art can adapt the simulation sensor model in combination with actual applications. For example, the preset simulation sensor model can adopt a LiDAR sensor model to simulate the scanning mode, field of view, position information, etc. of the LiDAR, and perform ray projection on the three-dimensional scene without using actual LiDAR equipment for field collection.

[0072] Specifically, using the LiDAR sensor module for ray casting mainly includes two parts: sensor parameter setting and model, which can set the parameters of the virtual sensor according to the technical specifications of the real LiDAR sensor. These parameters include scanning mode, field of view (FOV), resolution, position (such as minimum / maximum detection distance), etc. Geometric models can also be used to simulate the physical characteristics of the LiDAR sensor, such as the divergence angle, rotation speed and scanning mode of the laser beam; light emission and propagation can be combined with ray tracing technology in computer graphics to emit light from the position of the LiDAR sensor and simulate the propagation path of light in the 3D scene. Ray tracing technology is used to make each ray intersect with the objects in the 3D scene, and the intersection is calculated in subsequent steps to obtain the initial point cloud data corresponding to the three-dimensional scene.

[0073] It should be noted that the process of performing ray projection on a three-dimensional scene may be performed not only on the server side, but also on other devices or other servers, and this embodiment does not specifically limit this.

[0074] Next, the process of obtaining the initial point cloud data based on the ray casting results is further introduced. Figure 4 As shown, the above step S203 may include the following steps S2031 and S2032:

[0075] Step S2031: based on the ray casting result of performing ray casting on the three-dimensional scene, obtain the intersection point between the projected ray and the object in the three-dimensional scene.

[0076] After raycasting the 3D scene, the projected light and the objects in the 3D scene (which may include objects in a static environment and objects in a dynamic behavior body) generate intersections. This process involves the simulation of light-object interaction. The process of obtaining the intersection can use a collision detection algorithm, such as the GJK (Gilbert-Johnson-Keerthi) algorithm or the EPA (Expanding Polytope Algorithm), to determine the intersection between the light and the object, making the intersection acquisition process efficient and accurate. After obtaining the intersection between the raycast result and the object, further reflection and occlusion processing can be performed: according to the principles of physical optics, physically based rendering technology, such as bidirectional path tracing, is used to simulate the interaction between light and the surface of the object, including reflection and occlusion. Simulate the interaction between light and the surface of the object, including reflection, refraction, and shadow effects.

[0077] Step S2032: Obtain intersection information of each of the intersection points, and obtain initial point cloud data corresponding to the three-dimensional scene based on the intersection information.

[0078] In this embodiment, the intersection information may include the optical properties and intersection positions of the intersections. Next, the process of obtaining the intersection information of the intersections is further introduced, which may be carried out in the following manner: according to the normal direction of the object and the direction of the projected light, the optical properties of each intersection are obtained, and the optical properties include reflectivity; according to the coordinates of the emission point of the projected light and the coordinates of each intersection, the position of each intersection is obtained; and, according to the optical properties and position of each intersection, the initial point cloud data is obtained.

[0079] Specifically, the optical properties of the intersection point can be calculated based on the normal of the object surface and the direction of the light, and the reflectivity and other optical properties of each point can be calculated to simulate the measurement results of a real LiDAR sensor. For each LiDAR scan line, a nearest neighbor search algorithm can be used to determine the point closest to the object surface, and the corresponding LiDAR point cloud data can be generated based on the intersection information of the light and the object. Among them, the position of each point can be determined by the emission point and intersection coordinates of the light, and the properties (such as intensity) can be determined by the reflectivity of the object surface.

[0080] It can be understood that the initial point cloud generation process of this embodiment is generated by ray casting driven by physical information, without the need for field acquisition using acquisition equipment. Ray casting, as a key step in simulating the LiDAR sensor and generating point clouds, can emit light from the position of the virtual LiDAR sensor and calculate their intersections with objects in the scene. This process can be combined with the physical characteristics of the LiDAR sensor, such as field of view, resolution, and noise model, to improve the physical credibility of the generated point cloud. Furthermore, point cloud generation can also be achieved by simulating the interaction between light and the surface of an object, including considering the geometric shape of the object, material properties, and propagation characteristics of light.

[0081] In some embodiments, after acquiring the initial point cloud data, the initial point cloud may be enhanced. For example, the authenticity of the point cloud data may be enhanced by simulating different environmental conditions (such as rain, fog, and lighting changes). This process may be achieved by introducing additional noise and changes during the point cloud generation process.

[0082] Continue to refer to Figure 2 , step S204, fusing the initial point cloud data with the time dimension information to obtain target point cloud data based on the time series.

[0083] In this embodiment, after acquiring the initial point cloud data, the point cloud data in the three-dimensional scene is converted into a time-coherent LiDAR point cloud sequence by fusing the time dimension information, that is, a changing point cloud close to the real (4D) scene, which provides greater convenience for simulating dynamic traffic scenes.

[0084] In some embodiments, the target point cloud data based on the time series can be obtained in combination with the four-dimensional scene model to improve the generation efficiency of the 4D point cloud sequence. Specifically, the above technical solution can also include the following steps: obtaining a preset four-dimensional scene model, the four-dimensional scene model is used to predict the motion trajectory of the dynamic point cloud in the point cloud data that changes with time; the fusion of the initial point cloud data with the time dimension information to obtain the target point cloud data based on the time series, including: inputting the initial point cloud data and the time dimension information into the four-dimensional scene model, obtaining the motion trajectory of the dynamic point cloud data in the initial point cloud data that changes with time, and obtaining the target point cloud data based on the time series based on the motion trajectory.

[0085] In this embodiment, the four-dimensional scene model can be trained using point cloud data corresponding to real moving objects (such as vehicles, or other corresponding moving objects, corresponding dynamic behavior bodies), so as to predict the motion trajectory of the dynamic point cloud in the point cloud data that changes over time.

[0086] In this embodiment, the time dimension information, i.e., the time step, can represent the time interval of data sampling (which can be adaptively determined), such as hourly, daily, monthly, etc. It can also be any fixed time unit used to represent the time interval between data points. By incorporating time as the fourth dimension into the model, the passage of time is simulated by updating the state of the dynamic actor (corresponding to the dynamic point cloud) in the scene at each time step.

[0087] Optionally, in a 4D point cloud scene that incorporates time information, the scene construction of the static environment is based on the construction result of the above-mentioned 3D scene; for the modeling of dynamic actors, a parameterized model library or a pre-trained deep learning model can be used to generate 3D models of dynamic objects such as vehicles and pedestrians, and a physics engine, such as PhysX or Bullet, can be used to simulate the movement and interaction of dynamic actors (corresponding to dynamic point clouds); for trajectory generation and simulation: trajectory prediction algorithms, hidden Markov models (HMM) or long short-term memory networks (LSTM) can be used to generate motion trajectories of dynamic actors in time series, which are combined with real-world traffic rules and behavior patterns to improve the authenticity and credibility of the movement of dynamic actors.

[0088] In this embodiment, time is incorporated into the model as the fourth dimension, and the passage of time is simulated by updating the state of dynamic objects in the scene at each time step, and time interpolation techniques, such as linear interpolation or spline interpolation, can be used to smooth the motion trajectory of dynamic objects. Further, in order to achieve physical consistency maintenance, when the scene is updated at each time step, it can be ensured that all physical interactions and changes are coherent and consistent, and physical simulation algorithms are applied to handle collisions, friction and other forces to maintain physical authenticity. Optionally, in order to integrate the dynamic point cloud and the static point cloud in the initial point cloud data, that is, to achieve comprehensive 4D world information, multimodal data fusion can be used. Specifically, the information of static scenes and dynamic objects is fused into a unified 4D world model, and Kalman filtering or Bayesian estimation is used to integrate information from different sources, thereby improving the integrity of the 4D scene. The continuous LiDAR point cloud based on the 4D world generated in the above manner can improve the efficiency of processing large-scale data when rendering, and support real-time updates and interactions.

[0089] Through the above technical solution, the potential diffusion model technology is utilized to achieve efficient expansion and diversity enhancement of autonomous driving data, effectively addressing the problems of scarce autonomous driving data and insufficient scene diversity. At the same time, the lack of data authenticity of the diffusion model and the uncontrollable, non-convergent and unstable problems brought about by the adversarial neural network during training are eliminated. It can also effectively solve the limitation of single-frame generation and reduce the dependence on real-world data.

[0090] Figure 5 It is a flow chart of another method for generating point cloud image data provided by an embodiment of the present application. On the basis of the above embodiment, this embodiment also provides a process of acquiring and pre-processing raw data before diffusing the road scene data to improve the accuracy of the data and provide data support for subsequent data diffusion. Specifically, in addition to the above steps S201-S204, this embodiment may also include the following steps S501 and S502 before the above step S201 inputs the road scene data into a preset potential diffusion model for processing.

[0091] Step S501: Acquire original road scene data, where the original road scene data includes at least one of the following: traffic layout map data, remote sensing image data, and sparse point cloud data.

[0092] Optionally, the original road scene data can be obtained by data extraction (Extract), specifically, including data source connection and data reading process. Specifically, data source connection: the database connection library in Python (such as PyMySQL, psycopg2, etc.) can be used to connect to a relational database (such as MySQL, PostgreSQL) or a non-relational database (such as MongoDB, Redis) to extract data from it. In some embodiments, real-time data can also be obtained. According to the actual application of point cloud data (which can be used for real-time driving decision-making, driving research and development, and testing stages, all can be applied), this embodiment does not specifically limit this; data reading: the read_csv, read_sql and other functions of the Pandas library can be used to read CSV files and data in the database, and store them as DataFrame objects for subsequent processing. Using the above method, various types of data sources can be flexibly processed, including structured data, semi-structured data, and unstructured data.

[0093] Step S502: pre-process the original road scene data to obtain road scene data; wherein the pre-processing method includes at least one of the following: data cleaning, data labeling and format conversion.

[0094] In this embodiment, the data clearing process can use the Pandas library for data cleaning, such as processing missing values ​​(such as filling, deleting), outlier detection and processing (such as based on statistical methods or machine learning models), duplicate value processing, etc.; data conversion and standardization can use the Pandas and NumPy libraries to perform type conversion, standardization and normalization on the data to eliminate differences in different scales or units. If feature engineering is used, feature selection (such as based on correlation analysis, mutual information and other methods), feature combination (such as polynomial features, radial basis functions, etc.) and feature extraction (such as PCA principal component analysis) are performed through the Scikit-learn library. Among them, the Pandas and NumPy libraries provide rich data processing and conversion functions, and the Scikit-learn library provides powerful feature engineering tools that can effectively improve the quality and relevance of data. After preprocessing the original road scene data, data loading is performed: the processed data can be exported to CSV files, database tables or other formats for subsequent use; and the Python file operation function or database connection library can be used to save the processed data to a local file or database for subsequent analysis and model training. In this way, by exporting the preprocessed data into multiple formats, different usage requirements can be met. At the same time, the data persistence function ensures the reusability and security of the data. The above data extraction phase ensures the source and reliability of the data; the data conversion phase improves the quality and relevance of the data through cleaning, conversion and feature engineering; and the data loading phase exports and saves the processed data, providing a high-quality data set for subsequent analysis and model training.

[0095] In other words, by using data cleaning and conversion to remove invalid, duplicate and erroneous data, the data becomes more accurate and reliable, thus improving data quality. By using feature engineering, features with a strong correlation with the target variable are extracted and created, which enhances data correlation and can improve the accuracy and effectiveness of model training. The above-mentioned automated data preprocessing process can reduce manual operations and improve work efficiency.

[0096] Through the above technical solutions, the original road scene data is cleaned, labeled and formatted to identify and filter out noise and outliers in the data, effectively improving the accuracy and reliability of the data. At the same time, the data can also be labeled according to preset rules and algorithms (such as lane lines, signs, etc.), providing a basis for subsequent data generation and diversity enhancement.

[0097] Figure 6This is a flow chart of another method for generating point cloud image data provided by an embodiment of the present application. On the basis of the above embodiment, in order to further improve the accuracy of the data, this embodiment performs post-processing on the point cloud after obtaining the initial point cloud or the target point cloud. Specifically, in addition to the above steps S201-S204, the following step S601 may be included, and step S204 may be further divided into step S204a; and / or, step S602 may be included.

[0098] Step S601, post-processing the initial point cloud to obtain post-processed initial point cloud data; wherein the post-processing method includes filtering and / or denoising processing of the point cloud.

[0099] Step S204a, fusing the post-processed initial point cloud data with the time dimension information to obtain target point cloud data based on the time series;

[0100] Step S602, post-processing the target point cloud data to obtain post-processed target point cloud data;

[0101] In this embodiment, after obtaining the initial point cloud data, the initial point cloud data can also be post-processed and optimized, such as denoising and filtering: applying filtering algorithms (such as Gaussian filtering and median filtering) to remove noise points in the point cloud. Specifically, advanced denoising techniques (such as wavelet-based denoising) are used to retain the details of the point cloud; such as data correction: using the Iterative Closest Point (ICP) algorithm or other registration algorithms to correct the point cloud data to ensure its spatial consistency, so as to better conform to the characteristics of real LiDAR data, which may include spatial correction (alignment, scale adjustment) and attribute correction (intensity normalization) of the point cloud.

[0102] In some embodiments, after acquiring the initial point cloud data, physical consistency verification can be performed to improve the authenticity of the point cloud data. This can include authenticity assessment: using the root mean square error (RMSE) and correlation coefficient to evaluate the physical consistency of the generated point cloud by comparison with the real LiDAR data. This can be done through quantitative indicators (such as root mean square error) and qualitative analysis (such as visual inspection). After the authenticity assessment, the potential diffusion model can be adjusted, such as using the discriminator of GAN based on the evaluation results to evaluate the authenticity of the generated data, and provide feedback to adjust the model parameters or training strategies to improve the accuracy of the generated data, thereby optimizing the point cloud generation process.

[0103] Similarly, after acquiring the target point cloud data, filtering and denoising can be used to improve data quality and remove unrealistic noise points. In addition, geometric algorithms can be used to improve the continuity and consistency of the point cloud, as well as machine learning techniques to further adjust the point cloud data to make it closer to the real-world distribution. I will not go into details here.

[0104] In some embodiments, the latent diffusion model can also be trained and evaluated for the target point cloud data, using optimization algorithms such as Adam and RMSprop to train the network parameters so that the generated LiDAR data matches the real data both visually and physically, and the difference between the generated point cloud and the real point cloud is measured by defining a loss function, which may include pixel-level loss, structural similarity loss, or adversarial loss. Model training involves defining appropriate loss functions, such as reconstruction loss, adversarial loss, or physics-based loss, to guide network learning and generate high-quality LiDAR data. In addition, quantitative indicators (such as mean square error, structural similarity index) and qualitative analysis (such as visual comparison, perceptual quality assessment) can be used to evaluate model performance.

[0105] Through the above technical solution, after obtaining the corresponding point cloud data (such as initial point cloud data and target point cloud data), the accuracy of the point cloud data can be effectively improved by post-processing and optimizing the point cloud data.

[0106] Figure 7 This is a flow chart of another method for generating point cloud image data provided by an embodiment of the present application. Based on the above embodiment, this embodiment can achieve the preservation and wide application of point cloud data by uploading the generated target point cloud data to a distributed storage system. Specifically, in addition to the above steps S201-S204, after step S204, step S701 may also be included:

[0107] Step S701: Upload the target point cloud data to a distributed storage system for storage, so that the vehicle retrieves the corresponding target point cloud data from the distributed storage system and makes driving decisions based on the target point cloud data.

[0108] In this embodiment, the distributed storage system can use Hadoop Distributed File System (HDFS), which has data redundancy, high reliability, high scalability and fault tolerance. Data is divided into fixed-size data blocks in HDFS and replicated to multiple nodes in the cluster to ensure data reliability and fault tolerance. HDFS also supports efficient data read and write operations and can automatically handle node failures and data block replication. This embodiment uses the streaming data access characteristics of HDFS to efficiently process the read and write operations of large-scale point cloud data. At the same time, the copy mechanism and data block storage strategy of HDFS are used to ensure data consistency and integrity.

[0109] Furthermore, at the database layer, HDFS can be combined with the HBase database to read and write data. It can be understood that HBase is a distributed, column-oriented NoSQL database built on HDFS. Using HBase as a non-relational database, HBase is based on column storage, can efficiently process large-scale sparse data, and supports high-concurrency read and write operations, which is suitable for managing metadata for autonomous driving (road scene data). In addition, at the API layer, Spring Boot and Spring MVC can be used to build RESTful-style API interfaces to interact with the front end or other modules, and Spring Security can be used to implement security authentication and access control of the API interface, so that authorized users can access and operate data. At the same time, data encryption technology is used to encrypt the storage and transmission of sensitive data to improve data security.

[0110] The above HDFS technology framework has the following advantages: high reliability, ensuring data integrity and availability through data block replication and verification mechanism; high scalability, supporting dynamic addition and removal of nodes to achieve linear expansion of storage capacity; high performance, using parallel processing and distributed computing capabilities to improve data access and processing speed. Using it as the underlying storage system can provide stable and efficient storage services for autonomous driving data (target point cloud data), form a close collaborative relationship with upper-level applications such as HBase, and jointly build data storage and management modules.

[0111] The above HBase technical framework has the following advantages: column storage, supporting efficient column data access and query, suitable for processing sparse data; high scalability, linearly increasing storage capacity and computing power through horizontal expansion; high performance, supporting high-concurrency read and write operations, meeting the needs of large-scale metadata management. This embodiment uses HBase as the metadata management layer, which is tightly integrated with HDFS. HBase can efficiently manage and query data metadata information and provide data support for upper-layer applications.

[0112] The use of the above-mentioned Spring Boot and Spring MVC has the following advantages: rapid development, providing rich functions and plug-ins, simplifying the development process of Web applications; easy integration, supporting integration with multiple technologies and frameworks, and convenient interaction with other modules or external systems. This embodiment uses the API interface layer built by Spring Boot and Spring MVC to realize the interaction function with the front end or other modules, providing users with a more convenient data access and management interface.

[0113] In some embodiments, the vehicle can make driving decisions based on the target point cloud data during actual driving (such as predicting the behavior of surrounding vehicles and pedestrians to make decisions), and can also be applied to vehicle research and development, testing and other scenarios. This embodiment does not specifically limit this. In research and development, testing scenarios, etc., the real-time requirements for point cloud data are relatively lower.

[0114] Through the above data storage and management methods, distributed storage technology is used to efficiently store and manage the generated point cloud data, thereby improving data security and scalability.

[0115] Furthermore, considering that the amount of point cloud data is usually large, in order to improve the data storage efficiency, a compression algorithm is used to compress the point cloud data before uploading. Specifically, the above technical solution may also include the following steps: compressing the target point cloud data; wherein the compression processing method includes at least one of the following: dictionary encoding, differential encoding, and entropy encoding of the target point cloud data; in the above step, uploading the target point cloud data to a distributed storage system for storage may be performed in the following manner: uploading the compressed target point cloud data to a distributed storage system for storage.

[0116] In combination with the above content, by adopting a distributed data storage system as the core storage architecture, data is stored in multiple physical nodes in a dispersed manner. Each node is equipped with a high-performance NVMe network shared file storage A3I series, which is "dual-end optimized" on the storage end and the computing end to ensure high-speed writing and reading of data. At the same time, the system supports the secure storage of EB-level data, and adopts the ES series products of mixed media to provide stable and reliable storage support for data collection, processing, simulation, etc. In this embodiment, point cloud data is uploaded after compression processing. The compression processing method may include dictionary coding, differential coding, entropy coding, etc. In one example, by introducing an efficient compression algorithm, the algorithm (combined with one or more of the above coding methods) can greatly reduce the storage space occupied by the data while ensuring data integrity, thereby saving storage costs. Through the application of compression algorithms, the real-time performance of data storage can also be improved, and the storage efficiency and data transmission speed can be improved.

[0117] Among them, the compression algorithm (AutoDriveComp algorithm) can be combined with one or more technologies such as dictionary coding, differential coding and entropy coding to optimize the characteristics of point cloud data to achieve efficient data compression. Optionally, the compression processing flow may include: data preprocessing, cleaning and formatting the original data, removing noise and irrelevant information, and segmenting the data according to dimensions such as time and sensor type for subsequent processing. Dictionary coding: traverse the data segment, build a local dictionary, replace the repeated data pattern with a shorter code update dictionary to adapt it to the characteristics of different data segments. Differential coding: perform differential calculation on numerical data and convert the original data into a differential sequence. Differential coding can effectively reduce redundant information in the data and is particularly suitable for continuously changing sensor data. Entropy coding: use entropy coding technology such as Huffman coding or arithmetic coding to further compress the data after dictionary coding and differential coding, build a coding tree or calculate the coding interval according to the probability distribution of the data, and achieve optimal coding. Compressed data output: package the compressed data, dictionary and coding information for output, and the output format should support fast decompression and data recovery.

[0118] In addition, the following optimization strategies can be implemented during the compression process to optimize the data compression process: adaptive adjustment, adaptive adjustment of dictionary size and encoding strategy according to dynamic changes in data; different compression strategies for different types of data (such as images, text, numbers, etc.); parallel processing, using multi-core processors or distributed computing resources to compress multiple data segments in parallel, and improve compression speed and efficiency through task division and load balancing; memory optimization, optimizing the memory usage of the algorithm, reducing the storage requirements of intermediate variables, and using technologies such as memory mapped files to process large-scale data sets; error detection and recovery: adding error detection mechanism during the compression process to ensure the integrity and consistency of compressed data, and designing corresponding error recovery strategies to deal with data corruption or loss.

[0119] In order to achieve effective compression of point cloud data, the algorithm is evaluated before compressing the point cloud data: the AutoDriveComp algorithm can be tested and evaluated using a real road scene data set, and compared with other commonly used compression algorithms, the performance of AutoDriveComp in terms of compression ratio, decompression speed, memory usage, etc. is analyzed. And based on the evaluation results, the algorithm is tuned and improved to adapt to different scenarios and needs. In terms of data services, this embodiment can use DataFlow software for the flow of massive data. At the same time, it can also combine DataService (DS) and IntelliFlash (IF) series technologies to ingest and back up high-speed data. These technologies can ensure the rapid flow and backup recovery of data, and provide data protection for the stable operation of the autonomous driving system.

[0120] In some embodiments, in order to improve the quality of point cloud data, the quality of the generated target point cloud data can also be evaluated to improve the availability and effectiveness of the data. Specifically, a series of evaluation indicators and methods can be used to evaluate the authenticity, diversity, consistency and other aspects of the data. The evaluation results can be used to guide the improvement and optimization of the generation model and improve the quality and efficiency of data generation. Exemplarily, in the user interaction layer, the user interaction layer is responsible for interacting with the user, receiving the user's evaluation request and parameter settings, and displaying the evaluation results. This layer mainly includes the following components: Evaluation request receiving module: responsible for receiving the user's evaluation request, including evaluation indicators, data set selection, etc.; result display module: displaying the evaluation results to the user in the form of visual charts, reports, etc. In the evaluation execution layer, the evaluation execution layer is the core of the data quality evaluation module, responsible for performing specific evaluation tasks according to the user's request. This layer mainly includes the following components: Evaluation task scheduling module: according to the user request and evaluation strategy, the corresponding evaluation algorithm and model are scheduled for data processing and analysis. Evaluation algorithm library: contains a variety of data quality evaluation algorithms and models, such as integrity check, accuracy evaluation, consistency check, etc., to meet the evaluation needs of different scenarios. In the data processing layer, the data processing layer is responsible for preprocessing and converting the original data to provide a unified and standardized data format for the evaluation execution layer. This layer mainly includes the following components: Data cleaning module: removes invalid data such as duplication, missing data and outliers to ensure the integrity and accuracy of the data; Data conversion module: converts the data into a format suitable for evaluation algorithm processing according to evaluation requirements. In the data storage layer, the data storage layer is responsible for storing original data, processed data, and evaluation results. This layer mainly includes the following components: Original data storage module: stores the original point cloud obtained from the server. Processing data storage module: stores preprocessed and converted data for use by the evaluation execution layer. Result storage module: stores evaluation results, including evaluation index values, visualization charts, etc.

[0121] In the above data quality assessment process, data cleaning and conversion algorithms are used to ensure the accuracy and consistency of data, and multiple data quality assessment algorithms and models are integrated to support custom extension and optimization. At the same time, data visualization tools and technologies are used to present the assessment results to users in an intuitive and easy-to-understand way. It has the following advantages: flexibility, supporting custom evaluation indicators and algorithms to meet the needs of different users and data scenarios; scalability: modular design is adopted to facilitate the subsequent addition of new evaluation algorithms and functions; efficiency, by optimizing data processing and evaluation algorithms, the accuracy and efficiency of the assessment are improved.

[0122] In addition, the distributed storage system can also provide data indexing and query functions to facilitate users to quickly retrieve and use data. In addition, it supports data version control and update mechanisms to further improve data accuracy and consistency.

[0123] The technical solution provided by the embodiment of the present application achieves the purpose of relatively complete and efficient data expansion and diversity enhancement for autonomous driving by integrating multiple means such as data preprocessing, generative model training, data generation, data diversity enhancement, data storage and management, and data quality assessment. More specifically, the present embodiment combines the potential diffusion model technology and the ray casting technology to make the generated point cloud data richer and more visually realistic, and can cover more diverse driving scenarios; by integrating the time dimension information in the four-dimensional time, the temporal coherence is enhanced, and the temporally coherent LiDAR point cloud can be generated, which is crucial for simulating dynamic traffic scenarios; no expensive manual modeling is required, which reduces the simulation cost and improves the efficiency, and supports the training and testing of autonomous driving and perception models at the same time, and can be used as a simulator to generate realistic point cloud data for training and testing the perception system of autonomous driving vehicles, thereby improving the safety and reliability of these systems; in addition, it has a strong data enhancement capability and can generate a large amount of simulation data according to the layout conditions of the real world, which is particularly useful for road scenes with scarce data, and can significantly improve the model training effect and scene understanding of the autonomous driving system, providing strong data support for autonomous driving.

[0124] Figure 8 is a schematic diagram of the structure of a point cloud image data generating device provided in an embodiment of the present application, such as Figure 8 As shown, the device 800 includes a model processing module 810, a construction module 820, an acquisition module 830 and a fusion module 840, wherein the model processing module 810 is configured to input the road scene data into a preset potential diffusion model for processing after acquiring the road scene data, so as to obtain output three-dimensional scene data; wherein the potential diffusion model is a model for learning or enhancing three-dimensional data; the construction module 820 is configured to construct a three-dimensional scene based on the three-dimensional scene data; the acquisition module 830 is configured to acquire initial point cloud data corresponding to the three-dimensional scene based on a ray projection result of ray projection on the three-dimensional scene; the fusion module 840 is configured to fuse the initial point cloud data with time dimension information to obtain target point cloud data based on a time series.

[0125] In one embodiment, the latent diffusion model includes an encoding module, a latent space and a denoising network; the model processing module 810 is specifically configured to conditionally encode and extract features on the road scene data based on the encoding module to obtain feature data that meets preset conditions, and map the feature data to the latent space and convert it into a low-dimensional feature representation; diffuse the low-dimensional feature representation by introducing noise to obtain diffused data; denoise the diffused data based on the denoising network and output it to obtain the three-dimensional scene data.

[0126] In one embodiment, the three-dimensional scene includes a static environment and a dynamic behavior body; the construction module 820 is specifically configured to obtain static element data and dynamic object data in the three-dimensional scene data; construct the static environment based on the static element data, and construct the dynamic behavior body based on the dynamic object data.

[0127] In one embodiment, the acquisition module 830 is specifically configured to obtain the intersection between the projected light and the objects in the three-dimensional scene based on the ray projection result of the ray projection on the three-dimensional scene; obtain the intersection information of each of the intersections, and obtain the initial point cloud data corresponding to the three-dimensional scene based on the intersection information.

[0128] In one embodiment, the intersection information includes optical properties and positions of the intersections; obtaining the intersection information of the intersections includes: obtaining the optical properties of each intersection according to the normal direction of the object and the direction of the projected light, the optical properties including reflectivity; obtaining the position of each intersection according to the coordinates of the emission point of the projected light and the coordinates of each intersection; and obtaining the initial point cloud data according to the optical properties and position of each intersection.

[0129] In one embodiment, the device also includes: a ray casting module, which is configured to perform ray casting on the three-dimensional scene based on a preset simulation sensor model to obtain the ray casting result; wherein the simulation sensor model carries parameter information of the simulation sensor, and the parameter information includes at least one of the following: scanning mode, field of view angle and position information.

[0130] In one embodiment, the device also includes: a four-dimensional scene acquisition module, which is configured to acquire a preset four-dimensional scene model, and the four-dimensional scene model is used to predict the motion trajectory of the dynamic point cloud in the point cloud data that changes with time; the fusion module 840 is specifically configured to input the initial point cloud data and the time dimension information into the four-dimensional scene model, obtain the motion trajectory of the dynamic point cloud data in the initial point cloud data that changes with time, and acquire the target point cloud data based on the time series based on the motion trajectory.

[0131] In one embodiment, the device also includes: a data preprocessing module, which is configured to obtain original road scene data, and the original road scene data includes at least one of the following: traffic layout map data, remote sensing image data and sparse point cloud data; preprocessing the original road scene data to obtain the road scene data; wherein the preprocessing method includes at least one of the following: data cleaning, data labeling and format conversion.

[0132] In one embodiment, the device also includes: a post-processing module, which is configured to post-process the initial point cloud to obtain post-processed initial point cloud data; the fusion module 84 is specifically configured to: fuse the post-processed initial point cloud data with the time dimension information; and / or, post-process the target point cloud data to obtain post-processed target point cloud data; wherein the post-processing method includes filtering and / or denoising processing of the point cloud.

[0133] In one embodiment, the device also includes: a distributed storage module, which is configured to upload the target point cloud data to a distributed storage system for storage, so that the vehicle retrieves the corresponding target point cloud data from the distributed storage system and makes driving decisions based on the target point cloud data.

[0134] In one embodiment, the device also includes: a compression processing module, which is configured to perform compression processing on the target point cloud data; wherein the compression processing method includes at least one of the following: dictionary encoding, differential encoding, and entropy encoding of the target point cloud data; the distributed storage module is specifically configured to upload the compressed target point cloud data to a distributed storage system for storage.

[0135] It should be noted that the above device provided in the embodiment of the present application corresponds to the content of the above-mentioned method embodiment, and its implementation principle and technical effect are similar. For the technical details not disclosed in the above-mentioned device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0136] The present application also provides an electronic device, such as Fig. 9 As shown, it includes: a processor 910, and a memory 920 that is communicatively connected to the processor 910; the memory 910 stores computer-executable instructions; the processor 920 executes the computer-executable instructions stored in the memory 910 to implement the point cloud image data generation method, wherein the memory 920 and the processor 910 are connected via a bus 930.

[0137] It should be noted that the above-mentioned electronic device provided in the embodiments of the present application corresponds to the contents of the above-mentioned method embodiments or device embodiments, and its implementation principles and technical effects are similar. For technical details not disclosed in the above-mentioned device embodiments of the present application, please refer to the description of the method embodiments or device embodiments of the present application for understanding.

[0138] An embodiment of the present application also provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement the point cloud image data generation method provided in any one of the first aspects above.

[0139] It should be noted that the above-mentioned storage medium provided in the embodiments of the present application corresponds to the contents of the above-mentioned method embodiments or device embodiments, and its implementation principles and technical effects are similar. For technical details not disclosed in the above-mentioned storage medium embodiments of the present application, please refer to the description of the method embodiments or device embodiments of the present application for understanding.

[0140] In a fifth aspect, the present application also provides a computer program product, which includes a computer program code. When the computer program code is run on a computer, the computer executes the point cloud image data generation method provided in any one of the first aspects above.

[0141] It should be noted that the above-mentioned computer program product provided in the embodiments of the present application corresponds to the contents of the above-mentioned method embodiments or device embodiments, and its implementation principles and technical effects are similar. For technical details not disclosed in the above-mentioned program product embodiments of the present application, please refer to the description of the method embodiments or device embodiments of the present application for understanding.

[0142] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present application are not directed to any particular programming language.

[0143] In the specification provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. Similarly, in order to simplify the application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are thus clearly incorporated into the specific embodiment, wherein each claim itself is used as a separate embodiment of the application.

[0144] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0145] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A method for generating point cloud image data, characterized in that: include: After acquiring the road scene data, the road scene data is input into a preset potential diffusion model for processing to obtain output three-dimensional scene data; The potential diffusion model is a model obtained by training based on historical road scene data and used to learn corresponding three-dimensional scene data; Constructing a three-dimensional scene including a static environment and a dynamic behavior body based on the three-dimensional scene data, comprising: acquiring static element data and dynamic object data in the three-dimensional scene data; constructing the static environment based on the static element data, and constructing the dynamic behavior body based on the dynamic object data; Based on a preset simulation sensor model, ray projection is performed on the three-dimensional scene to obtain the ray projection result; the simulation sensor model carries parameter information of the simulation sensor, and the parameter information includes at least one of a scanning mode, a field of view angle, and position information; Based on the ray casting result of ray casting on the three-dimensional scene, the initial point cloud data corresponding to the three-dimensional scene is obtained, including: based on the ray casting result of ray casting on the three-dimensional scene, the intersection between the projected light and the object in the three-dimensional scene is obtained; the intersection information of each of the intersections is obtained, and the initial point cloud data corresponding to the three-dimensional scene is obtained based on the intersection information; wherein the intersection information includes the optical properties and the intersection position of the intersection, including: according to the normal direction of the object and the direction of the projected light, the optical properties of each of the intersections are obtained, and the optical properties include reflectivity; according to the coordinates of the emission point of the projected light and the coordinates of each of the intersections, the position of each of the intersections is obtained; The initial point cloud data is fused with the time dimension information to obtain target point cloud data based on a time series, including: obtaining a preset four-dimensional scene model, wherein the four-dimensional scene model is used to predict the motion trajectory of the dynamic point cloud in the point cloud data that changes with time; inputting the initial point cloud data and the time dimension information into the four-dimensional scene model to obtain the motion trajectory of the dynamic point cloud data in the initial point cloud data that changes with time, and obtaining the target point cloud data based on the time series based on the motion trajectory.

2. The method for generating point cloud image data according to claim 1, characterized in that: The latent diffusion model includes an encoding module, a latent space and a denoising network; The step of inputting the road scene data into a preset potential diffusion model for processing to obtain output three-dimensional scene data includes: Conditionally encoding and feature extracting the road scene data based on the encoding module to obtain feature data that meets preset conditions, and mapping the feature data to the latent space to convert it into a low-dimensional feature representation, and performing data diffusion on the low-dimensional feature representation by introducing noise to obtain diffused data; The diffusion data is denoised based on the denoising network and then outputted to obtain the three-dimensional scene data.

3. The point cloud image data generation method according to claim 1 or 2, characterized in that: Before inputting the road scene data into a preset potential diffusion model for processing, the method further includes: Acquire original road scene data, wherein the original road scene data includes at least one of the following: traffic layout map data, remote sensing image data, and sparse point cloud data; The original road scene data is preprocessed to obtain the road scene data; wherein the preprocessing method includes at least one of the following: data cleaning, data labeling and format conversion.

4. The method for generating point cloud image data according to claim 1 or 2, characterized in that: Also includes: Post-processing the initial point cloud to obtain post-processed initial point cloud data; The fusing the initial point cloud data with the time dimension information comprises: fusing the post-processed initial point cloud data with the time dimension information; and / or, Post-processing the target point cloud data to obtain post-processed target point cloud data; The post-processing method includes filtering and / or denoising of the point cloud.

5. The method for generating point cloud image data according to claim 1 or 2, characterized in that: After obtaining the target point cloud data based on time series, it also includes: The target point cloud data is uploaded to a distributed storage system for storage, so that the vehicle retrieves the corresponding target point cloud data from the distributed storage system and makes driving decisions based on the target point cloud data.

6. The method for generating point cloud image data according to claim 5, characterized in that: Also includes: The target point cloud data is compressed; wherein the compression processing method includes at least one of the following: dictionary encoding, differential encoding, and entropy encoding of the target point cloud data; The uploading of the target point cloud data to a distributed storage system for storage includes: The compressed target point cloud data is uploaded to the distributed storage system for storage.

7. A point cloud image data generating device for implementing the point cloud image data generating method according to any one of claims 1 to 6, characterized in that: include: A model processing module is configured to, after acquiring the road scene data, input the road scene data into a preset latent diffusion model for processing to obtain output three-dimensional scene data; wherein the latent diffusion model is a model for learning or enhancing three-dimensional data; A construction module, configured to construct a three-dimensional scene based on the three-dimensional scene data; An acquisition module, configured to acquire initial point cloud data corresponding to the three-dimensional scene based on a ray casting result of performing ray casting on the three-dimensional scene; The fusion module is configured to fuse the initial point cloud data with the time dimension information to obtain target point cloud data based on the time series.

8. An electronic device, characterized in that: include: Memory and processor; The memory includes computer executable instructions; The processor executes the computer-executable instructions so that the electronic device executes the point cloud image data generating method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the point cloud image data generating method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises a computer program code, and when the computer program code is run on a computer, the computer is enabled to execute the point cloud image data generating method according to any one of claims 1 to 6.