Digital twin image generation and simulation system

Through the coordinated management of multi-modal fusion algorithms and digital twin engines, the problems of data unity and simulation inaccuracy in traditional systems are solved, high-quality digital twin images and simulation results are generated, and the operating efficiency and user experience of the system are improved. .

CN118537697APending Publication Date: 2024-08-23HARBIN HONGDE YITAI DIGITAL TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410717264.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Traditional image generation and simulation systems rely on a single type of data, resulting in a lack of comprehensiveness and accuracy in the generated digital twin images. It is difficult to make full use of multi-source data. There is a large gap between the simulation results and the real environment, and it is difficult to achieve real-time processing and efficient visualization. , affecting user experience and application effects.

Method used

A digital twin image generation and simulation system is designed, including data acquisition and preprocessing subsystem, digital twin image subsystem, digital twin image simulation subsystem and output subsystem, which extracts vision, geometry and motion through multi-modal fusion algorithm Features, generate high-quality digital twin images, perform environment modeling and simulation processing in the simulation subsystem, and use the digital twin engine to coordinate and manage the operation of the entire system.

Benefits of technology

The accuracy and completeness of feature extraction are significantly improved, and the generated digital twin images can reflect the actual scene in detail, improving the authenticity and reliability of the simulation results, achieving real-time visual display, and enhancing user experience and system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537697A
    Figure CN118537697A
Patent Text Reader

Abstract

The invention discloses a digital twin image generation and simulation system, and relates to the field of image generation and simulation. The digital twin image generation and simulation system comprises a data acquisition and preprocessing subsystem used for acquiring road scene image data, point cloud data and radar data and respectively preprocessing the data; and the digital twin image subsystem is used for carrying out feature extraction on the preprocessed road scene image data, point cloud data and radar data to obtain visual features, geometric features and motion features respectively. Through the data acquisition and preprocessing subsystem, different types of road scene data can be effectively acquired and preprocessed; and through a multi-modal fusion algorithm, the features of different dimensions are fused to generate comprehensive feature representation, so that the accuracy and integrity of feature extraction are remarkably improved, and then the system can generate a digital twin image containing detailed information of the vehicle and the surrounding environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image generation and simulation, and in particular to a digital twin image generation and simulation system. Background Art

[0002] With the rapid development of intelligent transportation and autonomous driving technologies, the demand for high-fidelity simulation and accurate analysis of complex road scenes is increasing. As an emerging technical means, digital twin technology can achieve real-time monitoring, analysis and optimization of physical entities by building digital models corresponding to the real world in a virtual environment.

[0003] In the prior art, traditional image generation and simulation systems usually rely on a single type of data for image generation, which results in the lack of comprehensiveness and accuracy of the generated digital twin images. In addition, it is difficult to fully utilize multi-source data during image simulation, resulting in a large gap between the simulation results and the real environment, making it difficult to accurately reflect the actual scene. In addition, traditional image generation and simulation systems find it difficult to achieve real-time processing and efficient visualization when generating and displaying digital twin images, which in turn affects user experience and application effects. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides a digital twin image generation and simulation system, which solves the problem that traditional image generation and simulation systems usually rely on a single type of data for image generation, which causes the generated digital twin images to lack comprehensiveness and accuracy, and it is difficult to make full use of multi-source data during image simulation, resulting in a large gap between the simulation results and the real environment, making it difficult to accurately reflect the actual scene. In addition, traditional image generation and simulation systems find it difficult to achieve real-time processing and efficient visualization when generating and displaying digital twin images, which in turn affects the user experience and application effect.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a digital twin image generation and simulation system, comprising: a data acquisition and preprocessing subsystem, a digital twin image subsystem, a digital twin image simulation subsystem, an output subsystem, and a digital twin engine; the data acquisition and preprocessing subsystem is used to acquire road scene image data, point cloud data, and radar data, and perform preprocessing respectively; the digital twin image subsystem is used to extract features of the preprocessed road scene image data, point cloud data, and radar data, and obtain visual features, geometric features, and motion features respectively, and perform feature fusion on the visual features, geometric features, and motion features based on a multimodal fusion algorithm, and generate a digital twin image; the digital twin image simulation subsystem is used to establish an environmental model, and input the digital twin image into the environmental model for simulation processing; the output subsystem is used to visualize the generated digital twin image and the simulation processing results; the digital twin engine is used to coordinate and manage the operation between the data acquisition and preprocessing subsystem, the digital twin image subsystem, the digital twin image simulation subsystem, and the output subsystem.

[0006] Furthermore, the road scene image data includes the pixel value of each pixel point in the target vehicle image, the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image; the point cloud data includes the three-dimensional coordinates of each measurement point of the target vehicle and each object in the road scene image; the radar data includes the measured speed of the target vehicle and each object in the road scene image and the measured distance between each object and the target vehicle; the visual features are specifically the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image and the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image; the geometric features are specifically the length value, width value, and height value of the target vehicle and each object in the road scene image; and the motion features are specifically the motion speed value, motion direction, and measured distance between each object and the target vehicle in the road scene image.

[0007] Furthermore, the digital twin image subsystem includes: a visual extraction module, a geometric extraction module, a motion extraction module, and an image generation module; the visual extraction module is used to read the pixel value of each pixel in the target vehicle image, the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image after preprocessing, and perform feature extraction based on the pretrained convolutional neural network model to obtain the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, as well as the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image; the geometric extraction module is used to read the target vehicle in the road scene image after preprocessing. The three-dimensional coordinates of each measurement point of the vehicle and each object are estimated and analyzed based on the point cloud processing library to obtain the length, width and height values ​​of the target vehicle and each object in the road scene image; the motion extraction module is used to read the measured speed of the target vehicle and each object in the road scene image after preprocessing and perform comprehensive analysis to obtain the motion speed value and motion direction of the vehicle and each object in the road scene image; the image generation module is used to perform fusion processing based on the extracted visual features, geometric features and motion features to obtain a comprehensive feature representation, and based on the multimodal fusion algorithm, the comprehensive feature representation is applied to the generation process of the digital twin image to generate a digital twin image including the target vehicle image and objects in the scene image in each direction.

[0008] Furthermore, the specific process of feature extraction based on the pre-trained convolutional neural network model is as follows: obtain the pre-processed target vehicle image, the target vehicle front scene image, the target vehicle side scene image and the target vehicle rear scene image after preprocessing, and perform image normalization and size adjustment processing; input the image after image normalization and size adjustment processing to the first convolution layer of the convolutional neural network for convolution operation; and after each convolution operation, perform ReLU activation function processing respectively; after the convolution layer processing is completed, input it to the pooling layer of the convolutional neural network for pooling processing; repeat the convolution layer and pooling layer operations multiple times; after the last convolution and pooling operation, perform feature processing through the fully connected layer of the convolutional neural network, and output the processed results to obtain the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, as well as the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image; the specific formula for convolution processing is as follows: ;in, For the first The feature map obtained after the convolution processing of the convolution layer, For the The input feature map of the convolutional layer, and the first layer is the preprocessed image, For the The convolution kernel of the convolution layer, is the convolution operation, For the preset The bias parameters of the convolutional layer and ReLU are the activation function.

[0009] Furthermore, the specific process of performing estimation analysis based on the point cloud processing library to obtain the length, width and height values ​​of the target vehicle and each object in the road scene image is as follows: reading the three-dimensional coordinates of each measurement point of the target vehicle and each object in the preprocessed road scene image; processing the three-dimensional coordinates of each measurement point of the target vehicle and each object in the preprocessed road scene image based on the point cloud processing library; performing secondary object segmentation on the three-dimensional coordinates of each measurement point of the target vehicle and each object in the processed road scene image; performing size estimation analysis on each segmented object to obtain the length, width and height values ​​of the target vehicle and each object in the road scene image.

[0010] Furthermore, the specific process of obtaining the movement speed value and movement direction of the vehicle and each object in the road scene image is as follows: reading the measured speed of the target vehicle and each object in the road scene image, and obtaining the historical measured speed data and historical position data of the target vehicle and each object in the road scene image, wherein the historical measured speed data includes the historical measured speed value at each historical time point, and the historical position data includes the historical position coordinates at each historical time point; performing mean analysis based on the measured speed of the target vehicle and each object in the road scene image and the historical measured speed data combined with the moving exponential average method to obtain the movement speed value of the vehicle and each object in the road scene image; performing direction analysis based on the historical position data of the target vehicle and each object in the road scene image to obtain the movement direction of the vehicle and each object in the road scene image.

[0011] Further, it is used to perform fusion processing based on the extracted visual features, geometric features and motion features to obtain a comprehensive feature representation, and based on a multimodal fusion algorithm, the comprehensive feature representation is applied to the generation process of the digital twin image to generate a digital twin image including the target vehicle image and objects in the scene images in various directions. Specifically, for the target vehicle and each object, the visual features, geometric features and motion features are processed scalarly respectively, and the results after the scalar processing are input into the comprehensive feature model for feature fusion; the comprehensive features of the target vehicle and each object obtained by feature fusion are applied to the generation process of the digital twin image, specifically based on a pre-trained generative adversarial network, with comprehensive feature input, to generate a digital twin image of the target vehicle image in the road scene and objects in the scene images in various directions; wherein the comprehensive feature model is specifically: ;in, For comprehensive characteristics, is the visual feature after scalar processing, is the geometric feature after scalar processing, is the motion feature after scalar processing, is the scale factor of the preset visual feature, is the scale factor of the preset geometric feature, The scale factor for the preset motion feature.

[0012] Furthermore, the pre-training steps of the generative adversarial network are as follows: obtain several comprehensive features to be generated and the real image corresponding to each comprehensive feature; randomly initialize the weight values ​​of the generator and the discriminator in the generative adversarial network; randomly select a comprehensive feature to be generated, and generate an image based on the generator; respectively analyze the loss function of the generator, the loss function of the discriminator for the generated image, and the loss function of the real image corresponding to the generated image; merge the analysis results and update the discriminator; update the parameters of the generator and the discriminator based on the back propagation and gradient descent algorithms; iteratively train the generator and the discriminator until the generated image meets the expected standards; the specific formulas for calculating the loss function of the generator, the loss function of the discriminator for the generated image, and the loss function of the real image corresponding to the generated image are as follows: ;in, is the loss function of the discriminator for the real image corresponding to the generated image, is the loss function of the discriminator for the generated image, is the loss function of the generator, To generate the real image corresponding to the image, For comprehensive characteristics, Generate images for the generator, Represents the logarithmic value of the output probability of the discriminator for the real image, Represents the logarithmic value of the output probability of the discriminator for the generated image.

[0013] Furthermore, the digital twin image simulation subsystem includes an environment modeling module, an image input module, and a simulation processing module; the environment modeling module is responsible for establishing an environment model of the road scene; the image input module is used to receive the digital twin image generated by the digital twin image generation subsystem; the simulation processing module is used to perform simulation processing based on the input digital twin image.

[0014] Furthermore, the specific process of simulation processing based on the input digital twin image is as follows: initialize the environmental model for establishing the road scene; enter the simulation main loop, and perform simulation processing step by step according to the preset time step; in each time step, update the status of vehicles and objects in the simulation environment; after updating the object status, perform collision detection; at the end of each time step, record the simulation process data; perform time step iteration operations until the simulation ends or the preset simulation time is reached; after the simulation ends, organize and process the data recorded in the simulation process.

[0015] The present invention has the following beneficial effects: (1) The digital twin image generation and simulation system can effectively acquire and preprocess different types of road scene data, including visual images, point clouds, and radar data, through the data acquisition and preprocessing subsystem. Through the multimodal fusion algorithm, the features of these different dimensions are fused to generate a comprehensive feature representation, thereby significantly improving the accuracy and completeness of feature extraction. The system can then generate a digital twin image containing detailed information about the vehicle and the surrounding environment, providing comprehensive data support for further simulation and analysis.

[0016] (2) The digital twin image generation and simulation system inputs the digital twin image generated based on multi-source data through the digital twin image simulation subsystem, establishes a more realistic environment model, and performs simulation processing, thereby simulating the dynamic changes of vehicles and objects in detail within each time step, thereby improving the authenticity and reliability of the simulation results.

[0017] (3) The digital twin image generation and simulation system coordinates and manages the various subsystems of the entire system through the digital twin engine, including data acquisition and preprocessing, feature extraction, image generation and simulation processing, so as to ensure the efficient operation of each link. The generated digital twin image and simulation results are displayed in real time through the output subsystem, allowing users to intuitively observe the simulation process and results, thereby not only improving the overall operation efficiency of the system, but also enhancing the user experience and application effect.

[0018] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a block diagram of a digital twin image generation and simulation system of the present invention.

[0020] Figure 2 This is a flowchart of the specific steps for obtaining the length, width and height values ​​of a target vehicle and each object in a road scene image in a digital twin image generation and simulation system of the present invention.

[0021] Figure 3 This is a flowchart of the specific steps for obtaining the movement speed value and movement direction of vehicles and each object in a road scene image in a digital twin image generation and simulation system of the present invention. DETAILED DESCRIPTION

[0022] The embodiment of the present application solves the problem that traditional image generation and simulation systems usually rely on a single type of data for image generation, which causes the generated digital twin images to lack comprehensiveness and accuracy, and it is difficult to fully utilize multi-source data during image simulation, resulting in a large gap between the simulation results and the real environment, making it difficult to accurately reflect the actual scene. In addition, traditional image generation and simulation systems find it difficult to achieve real-time processing and efficient visualization when generating and displaying digital twin images, which in turn affects user experience and application effects.

[0023] The overall idea of ​​the problem in the embodiment of this application is as follows: First, the data acquisition and preprocessing subsystem acquires road scene image data, point cloud data and radar data, and preprocesses them respectively. These data include visual data, point cloud data and radar data of the target vehicle image and its surrounding scenes. Next, the digital twin image subsystem extracts features from the preprocessed data, extracting visual features, geometric features and motion features respectively. Then, based on the multimodal fusion algorithm, these features are fused to generate a comprehensive feature representation. These comprehensive features are used to generate digital twin images. The generated comprehensive features are input into the pre-trained generative adversarial network to generate realistic target vehicle images and object images in scene images in all directions. The generated digital twin images are input into the digital twin image simulation subsystem to establish an environmental model and perform simulation processing. Finally, the output subsystem visualizes the generated digital twin images and simulation processing results. The digital twin engine coordinates and manages the operation of the entire system to ensure the efficient execution of data acquisition, preprocessing, feature extraction, image generation, simulation processing and result display.

[0024] See also Figure 1The embodiment of the present invention provides a technical solution: a digital twin image generation and simulation system, including: a data acquisition and preprocessing subsystem, a digital twin image subsystem, a digital twin image simulation subsystem, an output subsystem, and a digital twin engine; the data acquisition and preprocessing subsystem is used to obtain road scene image data, point cloud data, and radar data, and perform preprocessing respectively; the digital twin image subsystem is used to extract features of the preprocessed road scene image data, point cloud data, and radar data, and obtain visual features, geometric features, and motion features respectively, and perform feature fusion on the visual features, geometric features, and motion features based on a multimodal fusion algorithm, and generate a digital twin image; the digital twin image simulation subsystem is used to establish an environmental model and input the digital twin image into the environmental model for simulation processing; the output subsystem is used to visualize the generated digital twin image and the simulation processing results; the digital twin engine is used to coordinate and manage the operation between the data acquisition and preprocessing subsystem, the digital twin image subsystem, the digital twin image simulation subsystem, and the output subsystem.

[0025] The road scene image data includes the target vehicle image, the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image taken by the vehicle-mounted camera, the point cloud data includes the three-dimensional coordinates of each measurement point of the target vehicle and each object in the road scene image collected by the lidar sensor, the radar data includes the measured speed of the target vehicle and each object in the road scene image obtained by the millimeter wave radar sensor, and the measured distance between each object and the target vehicle, including moving objects around pedestrians and bicycles, etc. The visual features are specifically the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, as well as the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image. The geometric features are specifically the length value, width value, and height value of the target vehicle and each object in the road scene image. The motion features are specifically the motion speed value, motion direction, and measured distance between each object and the target vehicle in the road scene image.

[0026] Specifically, the digital twin image subsystem includes: a visual extraction module, a geometric extraction module, a motion extraction module, and an image generation module; the visual extraction module is used to read the pixel value of each pixel in the target vehicle image, the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image after preprocessing, and perform feature extraction based on the pretrained convolutional neural network model to obtain the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, as well as the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image; the geometric extraction module is used to read the target vehicle in the road scene image after preprocessing. The three-dimensional coordinates of each measurement point of the vehicle and each object are obtained, and estimation analysis is performed based on the point cloud processing library to obtain the length, width and height values ​​of the target vehicle and each object in the road scene image; the motion extraction module is used to read the measured speed of the target vehicle and each object in the road scene image after preprocessing and perform comprehensive analysis to obtain the motion speed value and motion direction of the vehicle and each object in the road scene image; the image generation module is used to perform fusion processing based on the extracted visual features, geometric features and motion features to obtain a comprehensive feature representation, and based on the multimodal fusion algorithm, the comprehensive feature representation is applied to the generation process of the digital twin image to generate a digital twin image including the target vehicle image and objects in the scene images in various directions.

[0027] In this embodiment, through the visual extraction module, the geometric extraction module and the motion extraction module, the system can efficiently extract different types of features from the preprocessed multi-source data. The visual extraction module uses a pre-trained convolutional neural network model to extract edge features, texture features and shape features of vehicles and objects in the scene from the image. The geometric extraction module is based on the point cloud processing library and can accurately estimate the three-dimensional size of the target vehicle and object. The motion extraction module can analyze the movement speed and direction of the vehicle and object. This efficient extraction and fusion of multi-source data enables the system to comprehensively utilize different types of data to improve the comprehensiveness and accuracy of feature extraction. The image generation module generates a comprehensive feature representation based on the extracted visual features, geometric features and motion features through a multimodal fusion algorithm. Then, using the generative adversarial network model, the comprehensive feature representation is converted into a high-quality digital twin image. The generated image not only includes the target vehicle, but also covers objects in the scene in all directions. This high-quality digital twin image can accurately reflect the actual road scene and provide reliable data support for simulation and analysis. The modular design of the digital twin image subsystem makes it have good applicability and scalability. The visual extraction module, geometric extraction module and motion extraction module can be developed and optimized independently to adapt to different data sources and application scenarios. In addition, the use of multimodal fusion algorithm and generative adversarial network model enables the system to flexibly respond to the combination of different features, thereby improving the applicability and scalability of the system in various practical applications.

[0028] Specifically, the specific process of feature extraction based on the pre-trained convolutional neural network model is as follows: obtain the pre-processed target vehicle image, the target vehicle front scene image, the target vehicle side scene image and the target vehicle rear scene image after pre-processing, and perform image normalization and size adjustment processing; input the image normalization and size adjustment processed image into the first convolution layer of the convolutional neural network for convolution operation to extract low-level features such as edges and textures of the image; and after each layer of convolution operation, perform ReLU activation function processing to introduce nonlinearity, specifically: ;in, For the first The feature map obtained after the convolution processing of the convolution layer, For the The input feature map of the convolutional layer, and the first layer is the preprocessed image, For the The convolution kernel of the convolution layer, is the convolution operation, For the preset The bias parameters of the convolution layer are used, and ReLU is the activation function. After the convolution layer is processed, it is input into the pooling layer of the convolutional neural network for pooling processing, such as maximum pooling or average pooling, to reduce the dimension and reduce the amount of calculation, while retaining important features. This process helps to extract the spatial invariance features of the image. The convolution layer and the pooling layer are repeated many times, and each layer gradually extracts higher-level features, such as edge, texture, shape and other features. These features gradually abstract more semantic information in the deep layer of the model. After the last layer of convolution and pooling operations, feature processing is performed through the fully connected layer of the convolutional neural network, and the processed results are output to obtain the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, as well as the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image. Specifically, the feature vector extracted by the convolution layer is quantized, and the feature vector finally output contains the vehicle edge features, vehicle texture features, vehicle shape features, and the edge features, texture features, and shape features of each object. ;in, is the feature vector after feature processing, is the vehicle edge feature vector of the target vehicle image, is the vehicle texture feature vector of the target vehicle image, is the vehicle shape feature vector of the target vehicle image, is the first The object edge features of an object, is the first The texture features of an object, is the first The shape characteristics of an object, , is the total number of objects in the scene image in front of the target vehicle, is the first The object edge features of an object, is the first The texture features of an object, is the first The shape characteristics of an object, , is the total number of objects in the scene image on the side of the target vehicle, is the first The object edge features of an object, is the first The texture features of an object, is the first The shape characteristics of an object, , is the total number of objects in the scene image behind the target vehicle.

[0029] In this implementation scheme, through the pre-trained convolutional neural network model, the system can efficiently extract low-level features and high-level features from the pre-processed image. Image normalization and resizing processing ensure the consistency of input data. The operations of convolutional layer and pooling layer ensure the effective extraction and dimensionality reduction of features. In this way, the system can quickly and accurately extract important features related to vehicles and scenes, and improve the accuracy and efficiency of feature extraction. Through multiple iterative processing of convolutional layer and pooling layer, the system extracts different levels of features of the image layer by layer, from low-level edges and textures to high-level shapes and semantic information. The ReLU activation function of each layer introduces nonlinearity to further improve the expression ability of features. This multi-level and diverse feature extraction method makes the final output feature vector contain rich information about vehicles and objects in the scene, which helps to generate more realistic digital twin images. The pre-trained convolutional neural network model is trained on a large amount of data and has strong generalization ability. It can adapt to image data in different scenes and environments. The features extracted in this way are not only suitable for the current data set, but also can better cope with changes in different environments, improving the robustness and generalization ability of the system, which is of great significance for complex and changeable road scenes.

[0030] Specifically, Figure 2 As shown, the specific process of performing estimation analysis based on the point cloud processing library to obtain the length, width and height values ​​of the target vehicle and each object in the road scene image is as follows: read the three-dimensional coordinates of each measurement point of the target vehicle and each object in the preprocessed road scene image; process the three-dimensional coordinates of each measurement point of the target vehicle and each object in the preprocessed road scene image based on the point cloud processing library or related tools, including operations such as loading, filtering and registration of point cloud data to ensure the quality and accuracy of the point cloud data; perform secondary object segmentation on the three-dimensional coordinates of each measurement point of the target vehicle and each object in the processed road scene image, in order to distinguish the target vehicle from other objects and prevent object overlap, which can be achieved through clustering algorithms, regional growing algorithms and other methods; perform size estimation analysis on each segmented object to obtain the length, width and height values ​​of the target vehicle and each object in the road scene image, and the maximum distance, minimum distance and other information in the point cloud data can be used to estimate the size of the object.

[0031] In this implementation scheme, the three-dimensional coordinates of the target vehicle and each object in the road scene image are processed by the point cloud processing library, and the length, width and height of the object can be estimated with high precision. The point cloud data provides detailed three-dimensional information of the object. Compared with the traditional two-dimensional image processing method, it can more accurately reflect the real size of the object. The size estimation is performed using geometric information such as the maximum distance and the minimum distance, which ensures the accuracy of the estimation result. In the point cloud data processing process, operations such as loading, filtering and registration can effectively remove noise data and enhance the quality and accuracy of the data. The outliers and noise points are removed by filtering operations, and the point cloud data under different perspectives are aligned by registration operations, which improves the consistency and integrity of the data. These preprocessing operations not only improve the quality of the point cloud data, but also significantly improve the efficiency of data processing, laying a solid foundation for subsequent size estimation analysis. The target vehicle is distinguished from other objects through secondary object segmentation to prevent object overlap. Clustering algorithms, regional growing algorithms and other methods are used for segmentation, which can effectively identify different objects and process them independently. This segmentation method improves the accuracy of object recognition and ensures the independence and accuracy of the size estimation results of each object.

[0032] Specifically, Figure 3 As shown, the specific process of obtaining the movement speed value and movement direction of the vehicle and each object in the road scene image is as follows: reading the measured speed of the target vehicle and each object in the road scene image, and obtaining the historical measured speed data and historical position data of the target vehicle and each object in the road scene image, the historical measured speed data includes the historical measured speed value of each historical time point, and the historical position data includes the historical position coordinates of each historical time point, wherein the position coordinates are the center point of the target vehicle and each object; based on the measured speed of the target vehicle and each object in the road scene image and the historical measured speed data combined with the moving exponential average method, a mean analysis is performed to obtain the movement speed value of the vehicle and each object in the road scene image; based on the historical position data of the target vehicle and each object in the road scene image, a direction analysis is performed to obtain the movement direction of the vehicle and each object in the road scene image, which is specifically obtained by calculating the direction vector of the position change, usually by obtaining the angle or direction of the position vector.

[0033] In this implementation, by reading the real-time measured speed of the target vehicle and each object in the road scene image and analyzing it in combination with the historical measured speed data, the movement speed of the vehicle and the object can be estimated more accurately. The moving exponential averaging method is used for mean analysis to smooth out random noise and fluctuations in the measurement process, making the estimation result more stable and accurate. Based on the historical position data, the direction of movement of the target vehicle and each object can be accurately determined by calculating the direction vector of the position change. This not only allows the current motion state of the object to be understood, but also its future motion trajectory can be predicted. For complex road scenes and changing traffic environments, this dynamic trajectory prediction capability is very important and helps to improve the safety and reliability of autonomous driving and intelligent transportation systems. Combining real-time measurement data with historical data and using the moving exponential averaging method for mean analysis can update the motion state of vehicles and objects in real time and dynamically adjust the motion prediction model. This method of combining real-time with historical data improves the system's ability to respond to real-time changes and ensures high efficiency and accuracy in practical applications.

[0034] Specifically, it is used to perform fusion processing based on the extracted visual features, geometric features and motion features to obtain a comprehensive feature representation, and based on the multimodal fusion algorithm, the comprehensive feature representation is applied to the generation process of the digital twin image to generate a digital twin image including the target vehicle image and objects in the scene images in various directions. Specifically, for the target vehicle and each object, the visual features, geometric features and motion features are processed scalarly respectively, and the results after scalar processing are input into the comprehensive feature model for feature fusion; the comprehensive feature model is specifically: ;in, For comprehensive characteristics, is the visual feature after scalar processing, is the geometric feature after scalar processing, is the motion feature after scalar processing, is the scale factor of the preset visual feature, is the scale factor of the preset geometric feature, is the proportional coefficient of the preset motion feature; the target vehicle obtained by feature fusion and the comprehensive features of each object are applied to the generation process of the digital twin image, specifically, based on the pre-trained generative adversarial network, with the comprehensive features as input, to generate digital twin images of the target vehicle image in the road scene and objects in the scene images in various directions.

[0035] In this implementation scheme, a comprehensive feature representation is generated by fusing visual features, geometric features and motion features. The visual features include edge, texture and shape information of vehicles and objects; the geometric features include three-dimensional size information of vehicles and objects; the motion features include movement speed and direction information of vehicles and objects. The multimodal fusion algorithm effectively combines these features, and the generated comprehensive feature representation can comprehensively reflect various information of the target vehicle and objects in the scene, thereby improving the comprehensiveness and accuracy of image generation. Based on the pre-trained generative adversarial network GAN, the images of target vehicles and objects in the road scene are generated with comprehensive features as input. GAN has a strong image generation capability. Through adversarial training of the generator and the discriminator, realistic images can be generated. This method not only improves the quality of the generated images, but also generates digital twin images that are highly similar to the actual road scenes, providing high-quality data support for simulation and analysis. Through the combination of the multimodal fusion algorithm and GAN, the system can handle different types of data sources and application scenarios. Whether it is different vehicle types, different road environments, or changing traffic conditions, the system can flexibly adapt to and generate high-quality digital twin images. This high applicability and scalability enable the system to be widely used in intelligent transportation, autonomous driving, urban planning and other fields.

[0036] Specifically, the pre-training steps of the generative adversarial network are as follows: obtain several comprehensive features to be generated and the real image corresponding to each comprehensive feature; randomly initialize the weight values ​​of the generator and discriminator in the generative adversarial network; randomly select a comprehensive feature to be generated, and generate an image based on the generator; analyze the loss function of the generator separately, so that the discriminator considers the generated image to be a real image, the loss function of the discriminator for the generated image, and the loss function of the real image corresponding to the generated image. The specific formulas are as follows: ;in, is the loss function of the discriminator for the real image corresponding to the generated image, is the loss function of the discriminator for the generated image, is the loss function of the generator, To generate the real image corresponding to the image, For comprehensive characteristics, Generate images for the generator, Represents the logarithmic value of the output probability of the discriminator for the real image, Represents the logarithmic value of the output probability of the discriminator for the generated image; the analysis results are merged and the discriminator is updated. The specific formula is as follows: ;in, is the loss function of the discriminator; the parameters of the generator and discriminator are updated based on the back propagation and gradient descent algorithms; the generator and discriminator are iteratively trained, that is, the selection, generation, and analysis steps are repeated until the generated image meets the expected standards.

[0037] In this implementation scheme, the generative adversarial network continuously optimizes the generator through adversarial training of the generator and the discriminator, so that the images it generates are closer and closer to the real images. Through the input of comprehensive features, the generated images not only contain visual features, but also geometric and motion features, thereby improving the authenticity and details of the images. The visual features, geometric features and motion features are fused through a multimodal fusion algorithm, and the generated comprehensive features more comprehensively reflect the information of the target vehicles and objects. When pre-training GAN, these comprehensive features can effectively guide the generator to generate high-quality digital twin images, enhancing the effectiveness of feature fusion. The pre-training step of GAN enables the generator to adapt to different types of comprehensive features, thereby generating diversified images. This adaptability and scalability enable the system to cope with various complex road scenes and different types of vehicles and objects, expanding the application scope of the system.

[0038] Specifically, the digital twin image simulation subsystem includes an environment modeling module, an image input module, and a simulation processing module; the environment modeling module is responsible for establishing an environment model of the road scene, including elements such as roads, vehicles, pedestrians, and buildings. Its function is to abstract the road scene in the real world into a virtual environment that can be processed by a computer for subsequent simulation processing; the image input module is used to receive the digital twin image generated by the digital twin image generation subsystem. Its function is to input the generated twin image into the environment model as part of the environment for simulation processing; the simulation processing module is used to perform simulation processing based on the input digital twin image. It will simulate the movement and interaction of vehicles and objects in the road scene, as well as the changes in the environment according to the environment model and the input twin image. This includes simulating the driving trajectory of vehicles, the movement of objects, the execution of traffic rules, etc.

[0039] In this implementation scheme, the environmental modeling module can abstract the road scenes in the real world into a virtual environment that can be processed by computers, including elements such as roads, vehicles, pedestrians and buildings. This high-fidelity environmental modeling can accurately reproduce various details in the real road scenes and provide an accurate basis for subsequent simulation processing. In this way, the system can perform highly realistic simulations in a virtual environment to ensure the reliability and accuracy of the simulation results. The simulation processing module can simulate the movement, interactive behavior and environmental changes of vehicles and objects in the road scene based on the input digital twin image. This dynamic interactive simulation can accurately simulate the vehicle's driving trajectory, the movement of objects and traffic The execution of rules, etc., helps users to fully understand and analyze the complex dynamic behaviors in road scenes. In this way, the system can simulate various complex traffic scenes and improve the decision-making and optimization capabilities of the intelligent transportation system. The image input module inputs the digital twin image generated by the digital twin image generation subsystem into the environmental model, so that the generated twin image becomes a part of the environment. This integrated system design makes the entire simulation process smooth and efficient. From data acquisition, image generation to environmental simulation, each module is seamlessly connected, which improves the overall performance and efficiency of the system. This integrated design greatly simplifies the system's operating procedures and improves user experience and system practicality.

[0040] Specifically, the environmental model for establishing the road scene is initialized, including setting the simulation time, initializing the initial state of the vehicle and the object, i.e., position, speed, etc., and loading other parameters required for the simulation; entering the simulation main loop, and performing the simulation step by step according to the preset time step; in each time step, updating the state of the vehicle and the object in the simulation environment, which includes calculating its position, speed, and other properties in the next time step according to its current state and external conditions; after updating the object state, performing collision detection to check whether a collision has occurred between the vehicle and the object, and whether traffic regulations have been violated, etc. If a collision or violation occurs, it may be necessary to adjust the state of the object or take other measures accordingly; at the end of each time step, recording the simulation process data, such as the position, speed, and collision information of the vehicle and the object, which can be used for subsequent analysis or visualization; performing time step iteration, i.e., repeating the above steps until the simulation ends or the preset simulation time is reached; after the simulation ends, organizing and processing the data recorded during the simulation process.

[0041] In this implementation scheme, during the initialization process of the environmental model, the system sets the simulation time, initializes the initial state of the vehicle and the object, and loads other parameters required for the simulation. This precise initialization and parameter setting ensures that the starting conditions of the simulation are accurate and can reflect the initial state in the real world, providing a reliable basis for subsequent simulations. The simulation main loop performs simulation processing step by step according to the preset time step, and updates the state of the vehicle and objects in the simulation environment within each time step. This efficient real-time simulation processing method ensures that the dynamic behavior of the vehicle and the object in the virtual environment can accurately simulate the motion trajectory and state changes in reality. Real-time updating and processing improves the accuracy and real-time performance of the simulation. The collision detection mechanism within each time step can check the collision between vehicles and objects and the compliance with traffic rules in real time. Once a collision or violation is found, the system can adjust the object state or take corresponding measures in time. This comprehensive collision detection and violation handling mechanism enhances the authenticity and safety of the simulation environment and can effectively simulate various unexpected situations in complex traffic scenes.

[0042] In summary, this application has at least the following effects: Through the data acquisition and preprocessing subsystem, different types of road scene data, including visual images, point clouds and radar data, can be effectively acquired and preprocessed. Through the multimodal fusion algorithm, these features of different dimensions are fused to generate a comprehensive feature representation, which significantly improves the accuracy and completeness of feature extraction. The system can then generate a digital twin image containing detailed information about the vehicle and the surrounding environment, providing comprehensive data support for further simulation and analysis.

[0043] The digital twin image generated based on multi-source data is input into the digital twin image simulation subsystem to establish a more realistic environmental model and perform simulation processing, thereby simulating the dynamic changes of vehicles and objects in detail within each time step, thereby improving the authenticity and reliability of the simulation results.

[0044] The digital twin engine coordinates and manages the various subsystems of the entire system, including data acquisition and preprocessing, feature extraction, image generation and simulation processing, so as to ensure the efficient operation of each link. The generated digital twin images and simulation results are displayed in real time through the output subsystem, allowing users to intuitively observe the simulation process and results, which not only improves the overall operation efficiency of the system, but also enhances the user experience and application effect.

[0045] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0046] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A digital twin image generation and simulation system, characterized in that: include: Data acquisition and preprocessing subsystem, digital twin image subsystem, digital twin image simulation subsystem, output subsystem, digital twin engine; The data acquisition and preprocessing subsystem is used to acquire road scene image data, point cloud data, and radar data, and perform preprocessing respectively; The digital twin image subsystem is used to extract features from the pre-processed road scene image data, point cloud data, and radar data to obtain visual features, geometric features, and motion features, respectively, and to fuse the visual features, geometric features, and motion features based on a multimodal fusion algorithm to generate a digital twin image; The digital twin image simulation subsystem is used to establish an environmental model and input the digital twin image into the environmental model for simulation processing; The output subsystem is used to visualize the generated digital twin image and simulation processing results; The digital twin engine is used to coordinate and manage the operation between the data acquisition and preprocessing subsystem, the digital twin image subsystem, the digital twin image simulation subsystem, and the output subsystem.

2. The digital twin image generation and simulation system according to claim 1, characterized in that: The road scene image data includes the pixel value of each pixel point in the target vehicle image, the scene image in front of the target vehicle, the scene image on the side of the target vehicle, and the scene image behind the target vehicle; the point cloud data includes the three-dimensional coordinates of each measurement point of the target vehicle and each object in the road scene image; the radar data includes the measured speed of the target vehicle and each object in the road scene image and the measured distance between each object and the target vehicle; the visual features are specifically the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, and the object edge features, object texture features, and object shape features of each object in the scene image in front of the target vehicle, the scene image on the side of the target vehicle, and the scene image behind the target vehicle; the geometric features are specifically the length value, width value, and height value of the target vehicle and each object in the road scene image; and the motion features are specifically the motion speed value, motion direction, and measured distance between each object and the target vehicle in the road scene image.

3. The digital twin image generation and simulation system according to claim 2, characterized in that: The digital twin image subsystem includes: a visual extraction module, a geometric extraction module, a motion extraction module, and an image generation module; The visual extraction module is used to read the pixel value of each pixel in the target vehicle image, the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image after preprocessing, and perform feature extraction based on the pretrained convolutional neural network model to obtain the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, as well as the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, the target vehicle side scene image, and the target vehicle rear scene image; The geometry extraction module is used to read the three-dimensional coordinates of each measurement point of the target vehicle and each object in the road scene image after preprocessing, and perform estimation analysis based on the point cloud processing library to obtain the length, width and height values ​​of the target vehicle and each object in the road scene image; The motion extraction module is used to read the measured speed of the target vehicle and each object in the road scene image after preprocessing and perform comprehensive analysis to obtain the motion speed value and motion direction of the vehicle and each object in the road scene image; The image generation module is used to perform fusion processing based on the extracted visual features, geometric features and motion features to obtain a comprehensive feature representation, and based on a multimodal fusion algorithm, apply the comprehensive feature representation to the generation process of the digital twin image to generate a digital twin image including the target vehicle image and objects in the scene images in various directions.

4. The digital twin image generation and simulation system according to claim 3, characterized in that: The specific process of feature extraction based on the pre-trained convolutional neural network model is as follows: Acquire the preprocessed target vehicle image, the target vehicle front scene image, the target vehicle side scene image and the target vehicle rear scene image after preprocessing, and perform image normalization and size adjustment processing; The image after image normalization and size adjustment is input into the first convolution layer of the convolutional neural network for convolution operation; And after each layer of convolution operation, ReLU activation function processing is performed respectively; After the convolution layer processing is completed, it is input into the pooling layer of the convolutional neural network for pooling processing; Repeat the convolutional layer and pooling layer operations multiple times; After the last layer of convolution and pooling operations, feature processing is performed through the fully connected layer of the convolutional neural network, and the processed results are output to obtain the vehicle edge features, vehicle texture features, and vehicle shape features of the target vehicle image, as well as the object edge features, object texture features, and object shape features of each object in the target vehicle front scene image, target vehicle side scene image, and target vehicle rear scene image; The specific formula for convolution processing is as follows: ; in, For the first The feature map obtained after the convolution processing of the convolution layer, For the The input feature map of the convolutional layer, and the first layer is the preprocessed image, For the The convolution kernel of the convolution layer, is the convolution operation, For the preset The bias parameters of the convolutional layer and ReLU are the activation function.

5. The digital twin image generation and simulation system according to claim 3, characterized in that: The specific process of estimating and analyzing the point cloud processing library to obtain the length, width, and height values ​​of the target vehicle and each object in the road scene image is as follows: Read the three-dimensional coordinates of each measurement point of the target vehicle and each object in the preprocessed road scene image; Processing the three-dimensional coordinates of each measurement point of the target vehicle and each object in the preprocessed road scene image based on the point cloud processing library; Perform secondary object segmentation on the three-dimensional coordinates of each measurement point of the target vehicle and each object in the processed road scene image; For each segmented object, a size estimation analysis is performed to obtain the length, width, and height values ​​of the target vehicle and each object in the road scene image.

6. The digital twin image generation and simulation system according to claim 3, characterized in that: The specific process of obtaining the moving speed value and moving direction of the vehicle and each object in the road scene image is as follows: Read the measured speed of the target vehicle and each object in the road scene image, and obtain historical measured speed data and historical position data of the target vehicle and each object in the road scene image, wherein the historical measured speed data includes the historical measured speed value at each historical time point, and the historical position data includes the historical position coordinates at each historical time point; Based on the measured speed of the target vehicle and each object in the road scene image and the historical measured speed data combined with the moving exponential average method, the moving speed value of the vehicle and each object in the road scene image is obtained; Direction analysis is performed based on the historical position data of the target vehicle and each object in the road scene image to obtain the movement direction of the vehicle and each object in the road scene image.

7. The digital twin image generation and simulation system according to claim 3, characterized in that: It is used to perform fusion processing based on the extracted visual features, geometric features and motion features to obtain a comprehensive feature representation, and based on the multimodal fusion algorithm, the comprehensive feature representation is applied to the generation process of the digital twin image to generate a digital twin image including the target vehicle image and objects in the scene images in various directions. Specifically: For the target vehicle and each object, the visual features, geometric features, and motion features are processed scalarly respectively, and the results of the scalar processing are input into the comprehensive feature model for feature fusion; The target vehicle obtained by feature fusion and the comprehensive features of each object are applied to the generation process of the digital twin image. Specifically, based on the pre-trained generative adversarial network, the digital twin images of the target vehicle image in the road scene and the objects in the scene images in various directions are generated with the comprehensive feature input; Among them, the comprehensive feature model is specifically: ; in, For comprehensive characteristics, is the visual feature after scalar processing, is the geometric feature after scalar processing, is the motion feature after scalar processing, is the scale factor of the preset visual feature, is the scale factor of the preset geometric feature, The scale factor for the preset motion feature.

8. The digital twin image generation and simulation system according to claim 7, characterized in that: The pre-training steps of the generative adversarial network are as follows: Obtaining a number of comprehensive features to be generated and a real image corresponding to each comprehensive feature; Randomly initialize the weights of the generator and discriminator in the generative adversarial network; Randomly select a comprehensive feature to be generated and generate an image based on the generator; Analyze the loss function of the generator, the loss function of the discriminator for the generated image, and the loss function of the real image corresponding to the generated image respectively; Merge the analysis results and update the discriminator; Update the parameters of the generator and discriminator based on back-propagation and gradient descent algorithms; Iteratively train the generator and discriminator until the generated images meet the expected standards; The specific formulas for calculating the loss function of the generator, the loss function of the discriminator for the generated image, and the loss function of the real image corresponding to the generated image are as follows: ; in, is the loss function of the discriminator for the real image corresponding to the generated image, is the loss function of the discriminator for the generated image, is the loss function of the generator, To generate the real image corresponding to the image, For comprehensive characteristics, Generate images for the generator, Represents the logarithmic value of the output probability of the discriminator for the real image, Represents the logarithmic value of the output probability of the discriminator for the generated image.

9. The digital twin image generation and simulation system according to claim 1, characterized in that: The digital twin image simulation subsystem includes an environment modeling module, an image input module, and a simulation processing module; The environment modeling module is responsible for establishing an environment model of the road scene; The image input module is used to receive the digital twin image generated by the digital twin image generation subsystem; The simulation processing module is used to perform simulation processing based on the input digital twin image.

10. The digital twin image generation and simulation system according to claim 9, characterized in that: The specific process of simulation processing based on the input digital twin image is as follows: Initialize the environment model for establishing the road scene; Enter the simulation main loop and perform simulation processing step by step according to the preset time step; At each time step, update the status of vehicles and objects in the simulation environment; After updating the object state, perform collision detection; At the end of each time step, the simulation process data is recorded; Perform time step iterations until the simulation ends or the preset simulation time is reached; After the simulation is completed, the data recorded during the simulation process will be sorted and processed.

Citation Information

Cited By

  • X-ray multi-contrast image fusion characterization method based on unsupervised feature learning

    CN120198301A

  • Vehicle working condition virtual debugging simulation method based on multi-mode sensing fusion

    CN121634807A

  • A vehicle working condition virtual debugging simulation method based on multi-modal perception fusion

    CN121634807B