CT image generation method, system, device, and medium based on DR image

By using cross-dimensional attention enhancement and multi-modal feature fusion processing in the DR image to CT image generation method, the problems of image blur and mode collapse in the DR image to CT image generation in the existing technology are solved, and high-precision CT is achieved. The generation of images improves the accuracy and efficiency of diagnosis.

CN118411443BActive Publication Date: 2024-09-24YANTAI UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410873821.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-24
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

Among the existing cross-modal generation methods from DR images to CT images, the CNN-based method has blurred images and limited clinical value, while the generative adversarial network-based method often suffers from mode collapse problems and is difficult to train, resulting in poor accuracy in generating CT images. and inefficient.

Method used

A CT image generation method based on DR images is used to obtain DR image data and CT image data for registration, perform three-dimensional encoding processing and noise processing, combine cross-dimensional attention enhancement and multi-modal feature fusion, and use multi-modal fusion The variational autoencoder and discriminator are iteratively trained to generate high-precision CT images.

Benefits of technology

The accuracy and efficiency of CT image generation are improved. Through cross-dimensional attention enhancement and non-balanced multi-modal attention enhancement processing, the shallow and deep features of DR images are fully utilized to generate high-precision CT images, which solves the problem of existing methods. Issues with image blur and mode collapse.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118411443B
    Figure CN118411443B
Patent Text Reader

Abstract

The present invention belongs to the technical field of medical image generation, and specifically relates to a CT image generation method, system, device, and medium based on DR images. CT image data is used to synthesize DR image data, the synthesized DR image data is registered with the DR image data, and the registered DR image data and CT image data are used for model training to improve the training accuracy; cross-dimensional attention enhancement processing, multimodal feature fusion processing, and unbalanced multimodal attention enhancement processing are adopted to make full use of the shallow and deep features of the DR image to synthesize high-precision CT images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical image generation, and in particular relates to a CT image generation method, system, device and medium based on DR images. Background Art

[0002] With the development of deep learning, the technology of cross-modal generation of medical images has become a reality. Through deep learning algorithms, it is possible to use one modality to generate medical images of another modality. For example, using only one DR image, the corresponding CT image can be generated using deep learning methods. This technology can not only assist doctors in diagnosis and improve diagnostic accuracy and efficiency, but also reduce the burden on patients and avoid multiple exposures to X-ray radiation.

[0003] Existing cross-modal generation methods from DR images to CT images usually include methods based on convolutional neural networks (CNNs) and methods based on generative adversarial networks. Among them, the images reconstructed by CNN methods are quite blurry and have limited clinical value. Methods based on generative adversarial networks often have mode collapse problems and are difficult to train. Summary of the invention

[0004] In order to solve the problems raised by the background technology, the present invention provides a method, system, device and medium for generating a CT image based on a DR image.

[0005] The technical solution of the present invention is as follows:

[0006] The present invention provides a method for generating a CT image based on a DR image, comprising the following steps:

[0007] S1: acquiring DR image data and CT image data, obtaining synthesized DR image data by digitally reconstructing radiographic images of the CT image data, and registering the synthesized DR image data with the DR image data to obtain registered DR image data;

[0008] S2: The CT image data is processed by three-dimensional coding to obtain potential representation features, and then subjected to noise processing to obtain pure noise CT image data;

[0009] The registered DR image data is introduced into a denoiser, and after cross-dimensional attention enhancement processing, first registered DR image data is obtained; after multimodal feature fusion processing is performed on the first registered DR image data and the pure noise CT image data, the potential representation features of the generated CT image data are obtained;

[0010] S3: The registered DR image data is introduced into a multimodal fusion variational autoencoder, and after cross-dimensional attention enhancement processing, the second registered DR image data is obtained; the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain preliminary generated CT image data;

[0011] S4: Preliminarily generate CT image data and guide the CT image data to the discriminator, calculate the loss value according to the loss function, perform iterative training based on the loss value until the loss value reaches a threshold, end the iteration, and obtain the generated CT image data and the CT image generation model;

[0012] S5: Obtain the DR image to be processed, import it into the CT image generation model, and obtain the generated CT image.

[0013] In S2, after cross-dimensional attention enhancement processing, the first registered DR image data is obtained, specifically:

[0014] The registered DR image data is processed by a first convolution to obtain a first compressed DR image feature. After adjusting the size of the first compressed DR image feature, the deep feature is captured by a self-attention mechanism to obtain a first feature.

[0015] The registered DR image data is processed by the second convolution to obtain the second compressed DR image feature, and after adjusting the size of the second compressed DR image feature, the deep feature is captured by the self-attention mechanism to obtain the second feature;

[0016] After the first feature and the second feature are channel-connected, the third feature is obtained; the third feature is copied and superimposed to obtain the fourth feature, and the fourth feature is processed by three-dimensional convolution to obtain the first registered DR image data.

[0017] In S2, after the first registered DR image data and the pure noise CT image data are subjected to multimodal feature fusion processing, the potential representation features of the generated CT image data are obtained, which are specifically:

[0018] After the pure noise CT image data is processed by the embedding layer mapping composed of the linear layer and the normalization layer, the CT query vector, the CT key vector and the CT value vector are obtained; according to the CT query vector and the CT key vector, the attention weight of the pure noise CT image data is calculated;

[0019] The first registered DR image data is processed by an embedding layer mapping process composed of a linear layer and a normalization layer to obtain a DR query vector, a DR key vector and a DR value vector; according to the DR query vector and the DR key vector, the attention weight of the first registered DR image data is calculated;

[0020] The attention weight of the pure noise CT image data is weighted and summed with the DR value vector to obtain the weighted pure noise CT image feature; the attention weight of the first registered DR image data is weighted and summed with the CT value vector to obtain the weighted first registered DR image feature;

[0021] The weighted pure noise CT image features and the weighted first registered DR image features are averaged to obtain the potential representation features of the generated CT image data.

[0022] In S3, the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain preliminary generated CT image data, specifically:

[0023] The latent representation features of the generated CT image data are processed by the embedding layer mapping made of linear layer and normalization layer to obtain the query vector and value vector;

[0024] The second registered DR image data is processed by an embedding layer mapping composed of a linear layer and a normalization layer to obtain a key vector;

[0025] According to the query vector and the key vector, an attention matrix is ​​calculated, and based on the attention matrix, the potential representation features of the generated CT image data are weighted to obtain preliminary generated CT image data.

[0026] In S4, the loss function is a weighted sum of a generative adversarial loss function, a voxel-level reconstruction loss function of an L1 norm, a vector quantization loss function, and a perceptual loss function, specifically according to the formula:

[0027] , we get the loss function,

[0028] in, is the loss function, To generate the weights of the adversarial loss function, To generate the adversarial loss function, The weights of the voxel-level reconstruction loss function for the L1 norm, is the voxel-level reconstruction loss function of the L1 norm, is the weight of the vector quantization loss function, is the vector quantization loss function, is the weight of the perceptual loss function, is the perceptual loss function.

[0029] In the above S1, after obtaining the registered DR image data, it also includes:

[0030] The CT image data and the registered DR image data are adjusted to the same window width and window position. The CT image data is resized by trilinear interpolation, and the registered DR image data is resized by bilinear interpolation.

[0031] The present invention also provides a CT image generation system based on DR images, comprising:

[0032] Acquisition module: acquiring DR image data and CT image data, obtaining synthesized DR image data by digitally reconstructing radiographic images of the CT image data, and registering the synthesized DR image data with the DR image data to obtain registered DR image data;

[0033] Denoising module: CT image data is processed by three-dimensional encoding to obtain potential representation features, and then noise is added to obtain pure noise CT image data;

[0034] The registered DR image data is introduced into a denoiser, and after cross-dimensional attention enhancement processing, first registered DR image data is obtained; after multimodal feature fusion processing is performed on the first registered DR image data and the pure noise CT image data, the potential representation features of the generated CT image data are obtained;

[0035] Fusion module: The registered DR image data is introduced into the multimodal fusion variational autoencoder, and after cross-dimensional attention enhancement processing, the second registered DR image data is obtained; the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain the preliminary generated CT image data;

[0036] Training module: Preliminarily generate CT image data and guide the CT image data to the discriminator, calculate the loss value according to the loss function, and perform iterative training based on the loss value until the loss value reaches the threshold, then end the iteration and obtain the generated CT image data and CT image generation model;

[0037] CT image generation module: obtains the DR image to be processed, leads it to the CT image generation model, and obtains the generated CT image.

[0038] The present invention also provides a DR image-based CT image generation device, comprising a processor and a memory, wherein the processor implements the DR image-based CT image generation method when executing a computer program stored in the memory.

[0039] The present invention also provides a DR image-based CT image generation medium for storing a computer program, wherein the computer program implements the DR image-based CT image generation method when executed by a processor.

[0040] Beneficial effects: The present invention uses CT image data to synthesize DR image data, aligns the synthesized DR image data with the DR image data, and uses the aligned DR image data and CT image data for model training to improve training accuracy; cross-dimensional attention enhancement processing, multimodal feature fusion processing, and unbalanced multimodal attention enhancement processing are adopted to make full use of the shallow and deep features of DR images to synthesize high-precision CT images.

[0041] The cross-dimensional attention enhancement processing adopted by the present invention is to realize the adjustment of the feature scale and the spatial dimension, so that the number of feature channels and the number of spatial dimensions of the adjusted first registered DR image data are consistent with the three-dimensional features of the CT image data in the three-dimensional connection.

[0042] During the denoising process, the present invention uses cross-dimensional attention enhancement processing and multimodal feature fusion processing to perform cross-dimensional multi-scale connection and multimodal feature fusion respectively, thereby enhancing the role of the registered DR image data in the denoising process and better directing the generation of corresponding CT images.

[0043] In the process of initially generating CT image data, the present invention adopts cross-dimensional attention enhancement processing and unbalanced multimodal attention enhancement processing, combined with the multi-scale features of DR, so that the latent representation features of the generated CT image data can well restore the latent representation information to the CT image. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flowchart of a method for generating a CT image based on a DR image in an embodiment. DETAILED DESCRIPTION

[0045] The following examples are intended to illustrate the present invention rather than to further limit the present invention.

[0046] The present invention provides a CT image generation method based on DR images, such as Figure 1 As shown, the following steps are included:

[0047] S1: Acquire DR image data and CT image data, obtain synthesized DR image data by digitally reconstructing radiographic images of the CT image data, and register the synthesized DR image data with the DR image data to obtain registered DR image data.

[0048] Taking into account that there is a certain time interval between DR image data and CT image data, and there are certain differences in the morphology of the images, it is difficult to obtain DR image data and CT image data at the same time, which in turn affects the subsequent model training. In order to improve the training accuracy, the present invention uses CT image data to synthesize DR image data, aligns the synthesized DR image data with the DR image data, and uses the aligned DR image data and CT image data in the subsequent training process.

[0049] In addition, in order to solve the problem that different imaging schemes lead to different capture ranges and resolutions, the CT image data is resampled to resolution, and then cut out a Further, in S1, the registered DR image data may be obtained by performing image analysis on the DR image data using the FMRIB Software Library (FSL) tool and registering the DR image data to the synthesized DR image data.

[0050] In the above S1, after obtaining the registered DR image data, the following steps are further included:

[0051] The CT image data and the registered DR image data are adjusted to the same window width and window position (window position: -600, window width: 1500). The CT image data is resized to The registered DR image data is resized to .

[0052] S2: The CT image data is processed by three-dimensional coding to obtain potential representation features, and then subjected to noise processing to obtain pure noise CT image data;

[0053] The registered DR image data is introduced into the denoiser, and after cross-dimensional attention enhancement processing, the first registered DR image data is obtained; after multimodal feature fusion processing is performed on the first registered DR image data and the pure noise CT image data, the potential representation features of the generated CT image data are obtained.

[0054] The denoising process in the denoising and denoising device is implemented based on a latent space diffusion model, wherein the denoising process is based on the addition of random Gaussian noise from a Markov chain and does not require training; and the denoising process requires the denoiser to predict the noise for step-by-step denoising.

[0055] In addition, the CT image data is processed by three-dimensional encoding to obtain potential representation features, that is, the CT image data is encoded into potential representation features through residual connection, Non-Local attention mechanism and downsampling.

[0056] In order to better utilize the context information of the registered DR image data to highly restore the potential representation features in the overall structure and restore them to CT with high-frequency detail information, preferably, in S2, after cross-dimensional attention enhancement processing, the first registered DR image data is obtained, specifically:

[0057] After the registered DR image data is processed by the first convolution, the first compressed DR image feature is obtained. After adjusting the size of the first compressed DR image feature, the deep features are captured by the self-attention mechanism to obtain the first feature, which is recorded as ;

[0058] After the registered DR image data is processed by the second convolution, the second compressed DR image feature is obtained. After adjusting the size of the second compressed DR image feature, the deep features are captured by the self-attention mechanism to obtain the second feature, which is recorded as ;

[0059] After the first feature and the second feature are connected by channels, the third feature is obtained, which is recorded as ; To reduce the computational complexity, the third feature is copied and superimposed to obtain the fourth feature, which is recorded as , the replication superposition is to replicate the third feature itself times, and superimposed, thus forming a channel number of , the depth is , height is and width is The fourth feature is processed by three-dimensional convolution to obtain the first registered DR image data.

[0060] The cross-dimensional attention enhancement processing adopted by the present invention is to realize the adjustment of the feature scale and the spatial dimension, so that the number of feature channels and the number of spatial dimensions of the adjusted first registered DR image data are consistent with the three-dimensional features of the CT image data in the three-dimensional connection.

[0061] In addition, in order to fuse the multimodal feature information of the potential representation from the first registered DR image data and the pure noise CT image data, preferably, in S2, the first registered DR image data and the pure noise CT image data are subjected to multimodal feature fusion processing to obtain the potential representation features of the generated CT image data, specifically:

[0062] (1) After the pure noise CT image data is processed by the embedding layer mapping composed of the linear layer and the normalization layer, the CT query vector, CT key vector and CT value vector are obtained; based on the CT query vector and CT key vector, according to the formula:

[0063] , calculate the attention weight of pure noise CT image data;

[0064] In the formula, is the attention weight of pure noise CT image data, is the activation function, is the CT query vector, is the CT bond vector, is the dimension size.

[0065] (2) After the first registered DR image data is processed by an embedding layer mapping process consisting of a linear layer and a normalization layer, a DR query vector, a DR key vector, and a DR value vector are obtained. Based on the DR query vector and the DR key vector, according to the formula:

[0066] , calculate the attention weight of the first registered DR image data;

[0067] In the formula, is the attention weight of the first registered DR image data, is the activation function, is the DR query vector, is the DR bond vector, is the dimension size.

[0068] (3) The attention weight of the pure noise CT image data is weighted and summed with the DR value vector to obtain the weighted pure noise CT image feature; the attention weight of the first registered DR image data is weighted and summed with the CT value vector to obtain the weighted first registered DR image feature;

[0069] According to the formula:

[0070] The weighted pure noise CT image features and the weighted first registered DR image features are averaged to obtain the mixed features ;

[0071] According to the formula:

[0072] The mixed features are transformed nonlinearly through the MLP layer and the LayerNorm layer to obtain the potential representation features of the generated CT image data .

[0073] During the denoising process, the present invention uses cross-dimensional attention enhancement processing and multimodal feature fusion processing to perform cross-dimensional multi-scale connection and multimodal feature fusion respectively, thereby enhancing the role of the registered DR image data in the denoising process and better directing the generation of corresponding CT images.

[0074] S3: The registered DR image data is introduced into the multimodal fusion variational autoencoder, and after cross-dimensional attention enhancement processing, the second registered DR image data is obtained; the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain the preliminary generated CT image data.

[0075] The multimodal fusion variational autoencoder can be a variational autoencoder based on a vector quantization variational autoencoder (VQ-VAE) and multimodal data fusion processing to achieve encoding and decoding of registered DR image data and preliminarily generated CT image data.

[0076] In the CT generation process, in order to better utilize the context information of DR to generate the potential representation features of the generated CT image data into a CT image that is highly restored in overall structure and has high-frequency detail information, the present invention uses the feature information of the registered DR image data to assist in the generation of the CT image. Preferably, in S3, the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain preliminary generated CT image data, specifically:

[0077] The latent representation features of the generated CT image data are processed by the embedding layer mapping made of linear layer and normalization layer to obtain the query vector and value vector;

[0078] The second registered DR image data is processed by an embedding layer mapping composed of a linear layer and a normalization layer to obtain a key vector;

[0079] According to the query vector and the key vector, the attention matrix is ​​calculated, and based on the attention matrix, the potential representation features of the generated CT image data are weighted to obtain the preliminary generated CT image data. The calculation formula is as follows:

[0080] , where To initially generate CT image data, , and is a linear layer, is the query vector, is the key vector, is a value vector.

[0081] In the process of initially generating CT image data, the present invention adopts cross-dimensional attention enhancement processing and unbalanced multimodal attention enhancement processing, combined with the multi-scale features of DR, so that the latent representation features of the generated CT image data can well restore the latent representation information to the CT image.

[0082] S4: Preliminary generation of CT image data and leading the CT image data to the discriminator, calculating the loss value according to the loss function, and performing iterative training based on the loss value until the loss value reaches a threshold, ending the iteration, and obtaining generated CT image data and a CT image generation model.

[0083] The discriminator may be a 3D discriminator based on PatchGAN to judge the image input to the discriminator. After the image passes through various convolutional layers, the last layer will pass through a convolutional layer to map the input into an N*N matrix. Each point in the matrix represents the evaluation value of a small area in the input image, so that the discriminator has more areas of focus to make targeted evaluations.

[0084] Preferably, in S4, the loss function is a weighted sum of a generative adversarial loss function, a voxel-level reconstruction loss function of an L1 norm, a vector quantization loss function, and a perceptual loss function, specifically according to the formula:

[0085] , we get the loss function,

[0086] in, is the loss function, To generate the weights of the adversarial loss function, To generate the adversarial loss function, The weights of the voxel-level reconstruction loss function for the L1 norm, is the voxel-level reconstruction loss function of the L1 norm, is the weight of the vector quantization loss function, is the vector quantization loss function, is the weight of the perceptual loss function, is the perceptual loss function.

[0087] S5: Obtain the DR image to be processed, import it into the CT image generation model, and obtain the generated CT image.

[0088] The present invention adopts cross-dimensional attention enhancement processing, multimodal feature fusion processing, and unbalanced multimodal attention enhancement processing to fully utilize the shallow and deep features of DR images to synthesize high-precision CT images.

[0089] The present invention also provides a CT image generation system based on DR images, comprising:

[0090] Acquisition module: acquiring DR image data and CT image data, obtaining synthesized DR image data by digitally reconstructing radiographic images of the CT image data, and registering the synthesized DR image data with the DR image data to obtain registered DR image data;

[0091] Denoising module: CT image data is processed by three-dimensional encoding to obtain potential representation features, and then noise is added to obtain pure noise CT image data;

[0092] The registered DR image data is introduced into a denoiser, and after cross-dimensional attention enhancement processing, first registered DR image data is obtained; after multimodal feature fusion processing is performed on the first registered DR image data and the pure noise CT image data, the potential representation features of the generated CT image data are obtained;

[0093] Fusion module: The registered DR image data is introduced into the multimodal fusion variational autoencoder, and after cross-dimensional attention enhancement processing, the second registered DR image data is obtained; the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain the preliminary generated CT image data;

[0094] Training module: Preliminarily generate CT image data and guide the CT image data to the discriminator, calculate the loss value according to the loss function, and perform iterative training based on the loss value until the loss value reaches the threshold, then end the iteration and obtain the generated CT image data and CT image generation model;

[0095] CT image generation module: obtains the DR image to be processed, leads it to the CT image generation model, and obtains the generated CT image.

[0096] The present invention also provides a DR image-based CT image generation device, comprising a processor and a memory, wherein the processor implements the DR image-based CT image generation method when executing a computer program stored in the memory.

[0097] The present invention also provides a DR image-based CT image generation medium for storing a computer program, wherein the computer program implements the DR image-based CT image generation method when executed by a processor.

Claims

1. A method for generating CT images based on DR images, It is characterized in that The following steps are involved: S1: acquiring DR image data and CT image data, obtaining synthesized DR image data by digitally reconstructing radiographic images of the CT image data, and registering the synthesized DR image data with the DR image data to obtain registered DR image data; S2: The CT image data is processed by three-dimensional coding to obtain potential representation features, and then subjected to noise processing to obtain pure noise CT image data; The registered DR image data is introduced into a denoiser, and after cross-dimensional attention enhancement processing, first registered DR image data is obtained; after multimodal feature fusion processing is performed on the first registered DR image data and the pure noise CT image data, the potential representation features of the generated CT image data are obtained; S3: The registered DR image data is introduced into a multimodal fusion variational autoencoder, and after cross-dimensional attention enhancement processing, the second registered DR image data is obtained; the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain preliminary generated CT image data; The multimodal fusion variational autoencoder is a variational autoencoder based on vector quantization variational autoencoder and multimodal data fusion processing; S4: Preliminarily generate CT image data and guide the CT image data to the discriminator, calculate the loss value according to the loss function, perform iterative training based on the loss value until the loss value reaches a threshold, end the iteration, and obtain the generated CT image data and the CT image generation model; The discriminator is a 3D discriminator based on PatchGAN; S5: Obtain the DR image to be processed, guide it to the CT image generation model, and obtain the generated CT image; In S3, the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain preliminary generated CT image data, specifically: The latent representation features of the generated CT image data are processed by the embedding layer mapping made of linear layer and normalization layer to obtain the query vector and value vector; The second registered DR image data is processed by an embedding layer mapping composed of a linear layer and a normalization layer to obtain a key vector; According to the query vector and the key vector, an attention matrix is ​​calculated, and based on the attention matrix, the potential representation features of the generated CT image data are weighted to obtain preliminary generated CT image data.

2. The method for generating a CT image based on a DR image according to claim 1, It is characterized in that In S2, after cross-dimensional attention enhancement processing, the first registered DR image data is obtained, specifically: The registered DR image data is processed by a first convolution to obtain a first compressed DR image feature. After adjusting the size of the first compressed DR image feature, the deep feature is captured by a self-attention mechanism to obtain a first feature. The registered DR image data is processed by the second convolution to obtain the second compressed DR image feature, and after adjusting the size of the second compressed DR image feature, the deep feature is captured by the self-attention mechanism to obtain the second feature; After the first feature and the second feature are connected by channels, the third feature is obtained; The third feature is copied and superimposed to obtain the fourth feature, and the fourth feature is processed by three-dimensional convolution to obtain the first registered DR image data.

3. The method for generating a CT image based on a DR image according to claim 1, It is characterized in that In S2, after the first registered DR image data and the pure noise CT image data are subjected to multimodal feature fusion processing, the potential representation features of the generated CT image data are obtained, which are specifically: After the pure noise CT image data is processed by the embedding layer mapping composed of the linear layer and the normalization layer, the CT query vector, the CT key vector and the CT value vector are obtained; according to the CT query vector and the CT key vector, the attention weight of the pure noise CT image data is calculated; The first registered DR image data is processed by an embedding layer mapping process composed of a linear layer and a normalization layer to obtain a DR query vector, a DR key vector and a DR value vector; Calculate the attention weight of the first registered DR image data according to the DR query vector and the DR key vector; The attention weight of the pure noise CT image data is weighted and summed with the DR value vector to obtain the weighted pure noise CT image feature; the attention weight of the first registered DR image data is weighted and summed with the CT value vector to obtain the weighted first registered DR image feature; The weighted pure noise CT image features and the weighted first registered DR image features are averaged to obtain the potential representation features of the generated CT image data.

4. The method for generating a CT image based on a DR image according to claim 1, It is characterized in that In S4, the loss function is a weighted sum of a generative adversarial loss function, a voxel-level reconstruction loss function of an L1 norm, a vector quantization loss function, and a perceptual loss function, specifically according to the formula: , we get the loss function, in, is the loss function, To generate the weights of the adversarial loss function, To generate the adversarial loss function, The weights of the voxel-level reconstruction loss function for the L1 norm, is the voxel-level reconstruction loss function of the L1 norm, is the weight of the vector quantization loss function, is the vector quantization loss function, is the weight of the perceptual loss function, is the perceptual loss function.

5. The method for generating a CT image based on a DR image according to claim 1, It is characterized in that In the above S1, after obtaining the registered DR image data, it also includes: The CT image data and the registered DR image data are adjusted to the same window width and window position. The CT image data is resized by trilinear interpolation, and the registered DR image data is resized by bilinear interpolation.

6. A CT image generation system based on DR images, It is characterized in that include: Acquisition module: acquiring DR image data and CT image data, obtaining synthesized DR image data by digitally reconstructing radiographic images of the CT image data, and registering the synthesized DR image data with the DR image data to obtain registered DR image data; Denoising module: CT image data is processed by three-dimensional encoding to obtain potential representation features, and then noise is added to obtain pure noise CT image data; The registered DR image data is introduced into a denoiser, and after cross-dimensional attention enhancement processing, first registered DR image data is obtained; after multimodal feature fusion processing is performed on the first registered DR image data and the pure noise CT image data, the potential representation features of the generated CT image data are obtained; Fusion module: The registered DR image data is introduced into the multimodal fusion variational autoencoder, and after cross-dimensional attention enhancement processing, the second registered DR image data is obtained; the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing to obtain the preliminary generated CT image data; The multimodal fusion variational autoencoder is a variational autoencoder based on vector quantization variational autoencoder and multimodal data fusion processing; After the second registered DR image data and the potential representation features of the generated CT image data are subjected to unbalanced multimodal attention enhancement processing, preliminary generated CT image data is obtained, specifically: The latent representation features of the generated CT image data are processed by the embedding layer mapping made of linear layer and normalization layer to obtain the query vector and value vector; The second registered DR image data is processed by an embedding layer mapping composed of a linear layer and a normalization layer to obtain a key vector; According to the query vector and the key vector, an attention matrix is ​​calculated, and based on the attention matrix, the potential representation features of the generated CT image data are weighted to obtain preliminary generated CT image data; Training module: Preliminarily generate CT image data and guide the CT image data to the discriminator, calculate the loss value according to the loss function, and perform iterative training based on the loss value until the loss value reaches the threshold, then end the iteration and obtain the generated CT image data and CT image generation model; The discriminator is a 3D discriminator based on PatchGAN; CT image generation module: obtains the DR image to be processed, leads it to the CT image generation model, and obtains the generated CT image.

7. A CT image generation device based on DR image, It is characterized in that The method comprises a processor and a memory, wherein the processor implements the DR image-based CT image generation method according to any one of claims 1 to 5 when executing the computer program stored in the memory.

8. A CT image generation medium based on DR images, It is characterized in that Used to store a computer program, wherein when the computer program is executed by a processor, the method for generating a CT image based on a DR image according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Brain medical image synthesis method and system, electronic equipment and storage medium

    CN115456927A

  • Super-resolution reconstruction method for single image with potential features

    CN117078510A

  • Non-equilibrium data prediction method and device based on self-attention mechanism

    CN118171062A

  • Physical guidance generative confrontation hyperspectral super-resolution method based on non-registration

    CN118212127A

  • Method for generating heart Cine-MRI based on ECG

    CN118226356A