Enhancement period generation method of forward diffusion generative network based on radiation plain-scan image

Through the forward diffusion generation network based on radiological plain scan images, MRI images similar to the enhancement period are generated, which solves the problems of enhancer allergy, long time, and high cost in enhanced scan examinations, and improves the efficiency and diagnostic accuracy of breast MRI examinations. .

CN118762265APending Publication Date: 2024-10-11ZHEJIANG CANCER HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410981591.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing enhanced scan examinations have problems such as patients being allergic to the enhancer, long time, high cost, and multiple scans required for reexamination, which affects diagnostic efficiency and patient safety.

Method used

A forward diffusion generation network based on radiological plain scan images is used to generate MRI images similar to the enhancement period through data collection, preprocessing, model construction and training. The multi-modal forward diffusion generation network is used to generate images without the need for enhancement agents. , simulate the enhanced scanning process and generate high-quality enhanced images.

Benefits of technology

It reduces the dependence on enhancers, reduces examination costs, improves the efficiency of breast MRI examinations, avoids the discomfort of multiple enhanced scans for patients, and improves the accuracy of diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762265A_ABST
    Figure CN118762265A_ABST
Patent Text Reader

Abstract

The invention provides an enhancement period generation method of a forward diffusion generation network based on a radioactive plain-scan image, which has the following advantages that firstly, a multi-mode diffusion generation network is designed, compared with random noise used in a generative adversarial network, generated noise images conform to data distribution of a plain-scan period image, and secondly, the enhancement period generation method of the forward diffusion generation network based on the radioactive plain-scan image has the advantages that the noise images conform to the data distribution of the plain-scan period image; according to the invention, a multi-mode diffusion generation network is designed, and a transposed convolutional neural network can adjust parameters and restore image and data features through a back propagation process; thirdly, the class-enhanced sequence image generated by the multi-modal diffusion generation network can enable the patient to obtain the enhanced sequence image under the condition of not injecting the contrast agent, so that the problems of contraindication of part of patients on contrast agent allergy and cost reduction are solved; and fourthly, the class enhancement sequence image generated by the multi-modal diffusion generation network only needs to be subjected to plain scanning examination for a reexamination patient, five enhancement period images can be generated through a plain scanning period, and the scanning efficiency during mammary gland MRI examination is improved.
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 processing (Magnetic Resonance Imaging, MRI) and deep learning generation model, and specifically relates to an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images. Background Art

[0002] In the computed tomography (CT) and magnetic resonance imaging (MRI) examinations of radiology, both plain scan and enhanced scan have important clinical diagnostic value. Plain scan is simple and fast to operate, widely applicable to various organs and parts of the human body, and can quickly provide information on abnormal parts for clinical physicians. However, the image information provided by plain scan images has certain limitations, which can be compensated by enhanced scans. The principle of enhanced scan is that after the patient is injected with an enhancer through the vein, the enhancer will be distributed to various tissues and organs of the human body with the circulation of blood, and the difference between the blood flow of the lesion and the surrounding tissue will be evaluated based on the blood supply and vascular permeability of the lesion and normal tissue. Compared with plain scan, doctors can diagnose the nature and range of the lesions of the target tissues and organs more accurately. At the same time, enhanced scan helps to evaluate the relationship between the blood flow in the lesion and the surrounding tissue, which is conducive to discovering small lesions that are ignored in plain scans and improving the accuracy of diagnosis.

[0003] Although enhanced scanning has the above advantages, it also has certain limitations. On the one hand, in order to ensure the safety and effectiveness of medical examinations, it is not recommended for patients who are allergic to enhancers, have renal insufficiency, pregnant women, breastfeeding women, and patients with abnormal thyroid function to undergo enhanced examinations after injection of enhancers; on the other hand, enhanced scanning is more expensive than plain scanning, and enhanced scanning takes a longer time, which may increase the patient's discomfort and anxiety. At the same time, considering patients with malignant tumors, multiple enhanced scans are required during follow-up to observe changes in lesions, and there may be kidney damage and radiation effects.

[0004] In summary, considering the problems of patients being allergic to enhancement, long enhanced scanning time, high cost, and the need for multiple enhanced scans for follow-up examinations, there is an urgent need for a method for generating quasi-enhanced images during the radiation enhancement period that solves the above problems. Summary of the invention

[0005] In view of the problems existing in the prior art, the present invention provides an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images.

[0006] According to one aspect of the present invention, a method for generating an enhancement phase based on a forward diffusion generation network of radiological plain scan images is provided, and the steps of the method are as follows:

[0007] S1. Data collection: collect 3D spoiled gradient echo sequence T1WI Dicom format image data of patients undergoing MRI examination, a total of 1+5 phases;

[0008] S2. Data preprocessing: using medical image processing technology to desensitize MRI enhanced image data, extract the enhanced scanning time, and convert it into high-quality PNG format images;

[0009] S3, model construction, construct the data queue of MRI 3D spoiled gradient echo sequence T1WI plain scan period and corresponding enhanced K period, design the forward noise addition in the plain scan period, weighted fusion of time features, feature encoding of first diagnosis prior knowledge, feature extraction of plain scan period sequence, decoder and discriminator structure;

[0010] S4, model training and optimization, using the data queue to train the deep learning model for MRI-like enhanced sequence generation, using the loss function to calculate the loss value between the generated enhanced image and the real image, updating the parameters of each structure of the model by back-propagating the error, and repeating the above steps until the iteration stop condition is reached;

[0011] S5. Quasi-enhanced MRI generation uses the plain scan MRI images of the patient's reexamination, the first diagnosed lesion information and the enhanced K-phase parameters to be generated, and generates a model through a multimodal forward diffusion network to generate MRI-like enhanced images of the target area.

[0012] According to one aspect of the present invention, a method for generating an enhancement phase based on a forward diffusion generation network of radiological plain scan images is provided. In the above step S1, the examination site of the MRI patient is the breast, and the target site for generation is the breast. The present invention uses the plain scan phase and the enhancement phase of breast MRI as an example to explain the method, but the method is not limited to the breast site, and can be the chest or liver.

[0013] Further according to one aspect of the present invention, a method for generating an enhancement period based on a forward diffusion generation network of radioactive plain scan images is provided. In the 3D spoiled gradient echo sequence T1WI of patients undergoing MRI examination collected in the above-mentioned step S1, a total of six sequence images are collected to construct five image data queues of plain scan period-enhancement period 1, plain scan period-enhancement period 2, plain scan period-enhancement period 3, plain scan period-enhancement period 4 and plain scan period-enhancement period 5.

[0014] According to one aspect of the present invention, a method for generating an enhancement phase based on a forward diffusion generation network of radiological plain scan images is provided. In the above step S3, the data and different structure construction methods include:

[0015] There are five groups of data queues in the above plain scan period and the corresponding enhanced K period, which are MRI image data of plain scan period-enhanced 1 period, plain scan period-enhanced 2 period, plain scan period-enhanced 3 period, plain scan period-enhanced 4 period and plain scan period-enhanced 5 period respectively;

[0016] In the forward noise adding structure during the above-mentioned scanning period, Gaussian noise is added to each image by simulating the molecular diffusion principle and Markov chain in thermodynamics. The noise added to the next image is only related to the previous image until the image data completely becomes a noise image.

[0017] In the above time feature weighted fusion structure, the total scanning time of the enhanced K phase and the scanning time information of each image of the K phase enhanced scan are extracted;

[0018] In the above-mentioned feature encoding of the prior knowledge of the first diagnosis, the benign and malignant results obtained from the first examination of the patient are feature encoded, and the Word2Vec technology is used to perform word segmentation, combination, and vectorization operations so that it can be used as a data vector that can be input into the model;

[0019] In the decoder image generation structure above, the upsampling process is completed using a transposed convolutional neural network, a pooling layer, an activation function, and batch normalization. There are 5 groups of this structure in the decoder, with a convolution kernel size of 3x3, a step size of 1, and a padding method of SAME to restore the image.

[0020] In the above discriminator structure, a structural similarity SSIM loss function is constructed to compare the similarity between the real enhanced dynamic sequence image and the class enhanced dynamic sequence.

[0021] Furthermore, according to one aspect of the present invention, a method for generating an enhancement period based on a forward diffusion generation network of radiological plain scan images is provided. In the above-mentioned S3 step, the encoder structure uses the Xception deep learning convolutional neural network structure. After removing the classification layer of the original network, the plain scan data is subjected to feature extraction in combination with transfer learning. The logarithmic structural similarity SSIM loss function is used to compare the brightness, contrast and structure of the real enhanced sequence images and the quasi-enhanced sequence images, respectively corresponding to the mean, variance and corresponding covariance of the original and generated sequence images, and the model iteration, parameter updating and optimization process are completed through the back propagation method of the convolutional neural network.

[0022] According to one aspect of the present invention, there is provided an enhancement period generation method based on a forward diffusion generation network of radiological plain scan images. The above-mentioned noise adding step obtains a full noise image Image1, calculates the time node of the start of scanning of the dynamic enhanced K-period image, records the time node and adds a trainable and updateable time series weighting parameter ω, performs text encoding and dimension upgrading on the first diagnosis prior knowledge, adds the special prior knowledge features of the first diagnosis category, and uses the transfer learning method in the encoder part to extract the shallow and deep features of the plain scan period image in combination with the Xception network to obtain the features Image1, Image2, and perform matrix multiplication on the time features and the prior knowledge features to obtain Image1. Tlt , completing the feature fusion step.

[0023] According to one aspect of the present invention, a method for generating an enhancement phase based on a forward diffusion generation network of radiological plain scan images is provided, the method further comprising: The normalization process of the i-th scan time of the K-phase enhancement is: Add weight Kω to the i-th image in the K-enhancement period K-i , so the time weighting coefficient of the i-th moment image under K-phase enhancement is This coefficient can be used to weight the extracted feature map at different enhancement periods and scanning times, so that the generated enhanced image is closer to the real enhanced image.

[0024] Further, according to one aspect of the present invention, a method for generating an enhancement period based on a forward diffusion generation network of a radiological plain scan image is provided. The feature map obtained by the above decoder is used for image restoration. The feature map restored after passing through five groups of convolutional neural networks is processed using a compression function Sigmoid activation function to ensure that the pixel value of the generated breast enhancement image is within the range of the MRI image. The Sigmoid activation function formula is as follows:

[0025]

[0026] Among them, the Image F is the feature map after five layers of convolution, the σ(Image F ) is the dynamic enhancement sequence image generated by the model. After the activation function, it becomes a grayscale image with a pixel value range between 0 and 1. Then the dynamic enhancement sequence image is multiplied by 255 to obtain the final breast MRI dynamic enhancement sequence image data.

[0027] Further according to one aspect of the present invention, an application of an enhancement period generation method based on a forward diffusion generation network of radiological plain scan images is provided. The above-mentioned enhancement period generation method based on a forward diffusion generation network of radiological plain scan images can be applied to breast, liver or lung enhancement imaging equipment.

[0028] Further according to one aspect of the present invention, a device for generating quasi-enhanced images of the radiation enhancement period based on a forward diffusion generation network of radiation plain scan images is provided, the device comprising software embedded in the enhancement period generation method based on the forward diffusion generation network of radiation plain scan images as described above or a deployed Web network database, the embedded software or the deployed Web network database being in a personal computer, a server or a network device.

[0029] The method for generating a breast MRI-like dynamic enhancement sequence based on a forward diffusion generation network of the present invention has the following advantages: first, the present invention designs a multimodal diffusion generation network. Compared with the random noise used in the generative adversarial network, the network simulates the molecular diffusion principle and the Markov chain in thermodynamics when adding noise to the plain scan period image, so that the generated noise image conforms to the data distribution of the plain scan period image; second, the present invention designs a multimodal diffusion generation network. Compared with the process of adding noise to generate images in the diffusion generation network, the transposed convolutional neural network can adjust parameters and restore image and data features through the back propagation process; third, the quasi-enhanced sequence images generated by the multimodal diffusion generation network can enable patients to obtain enhanced sequence images without injecting contrast agents, solving the problem of allergic contraindications to contrast agents for some patients and reducing costs; fourth, the quasi-enhanced sequence images generated by the multimodal diffusion generation network only need to be examined by plain scan for patients undergoing follow-up, and 5 enhanced period images can be generated through the plain scan period, thereby improving the scanning efficiency during breast MRI examination. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flow chart of a method for generating an enhancement phase based on a forward diffusion generation network of radiological plain scan images in an embodiment of the present invention;

[0031] Figure 2 A network structure diagram of an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images in an embodiment of the present invention;

[0032] Figure 3 A schematic diagram of time characteristic weighting of an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images in an embodiment of the present invention;

[0033] Figure 4 A decoder structure diagram of an enhancement period generation method based on a forward diffusion generation network of radiological plain scan images in an embodiment of the present invention;

[0034] Figure 5 The diagram is a schematic diagram of generating quasi-enhanced images of the chest and liver according to an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The following embodiments are intended to further illustrate some preferred embodiments of the present invention, but are not all embodiments. Other embodiments based on the present invention made by professionals in the field without creative work all belong to the scope of protection of the present invention. The present invention will be further described below in conjunction with the accompanying drawings.

[0036] The inspection methods without specific conditions in the embodiments are usually carried out under conventional conditions or under conditions recommended by the manufacturer. Figure 1 .

[0037] Figure 1 FIG. 1 is a flow chart of a method for generating an enhancement phase based on a forward diffusion generation network of radiological plain scan images according to an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a method for generating an enhancement phase based on a forward diffusion generation network of radiological plain scan images, comprising:

[0038] Step S1, data collection, collecting Dicom format image data of 3D spoiled gradient echo sequence T1WI of patients undergoing breast MRI examination, a total of 1+5 phases.

[0039] Furthermore, breast MRI enhanced scan uses a breast-specific annular coil and a 16-channel array coil. The patient is in a prone position with the head first, and the positioning center line is aligned with the coil center and the line connecting the nipples on both sides. The axial plane is the main scan, supplemented by sagittal scan. The specific parameters of breast MRI 3D spoiled gradient echo sequence T1WI are: repetition time (TR) = 4.5ms, echo time (TE) = 1.69ms, flip angle (FA) = 10°, field of view (FOV) = 360mm×360mm, layer thickness = 1.5mm, layer spacing 0.3mm, phase encoding is RL, Spair fat suppression technology is used, and a total of 1+5 phases are scanned. Among them, the first phase is the plain scan phase. After the end of the plain scan phase, an interval of 25 seconds is used to inject contrast agent, and then the next 5 phases are scanned without interval scanning.

[0040] Step S2, data preprocessing, uses medical image processing technology to desensitize the MRI enhanced image data, extract the enhanced period scanning time, and convert it into a high-quality PNG format image.

[0041] Furthermore, the collected breast MRI data are all images in the original Dicom format, and the number of plain scan images, Series Description (sequence name), and InstanceCreation Time (enhancement start time) parameters are extracted using Pydicom and SimpleITK scientific databases.

[0042] Furthermore, the Pydicom (version 2.3.1) and SimpleITK (version 2.2.1) scientific databases of the Python language (version 3.8.13) were used to desensitize the sensitive information of the patient’s name, date of birth, and ID number contained in the Dicom format image data, and the sensitive information content was modified to None to complete the desensitization process.

[0043] Specifically, the pixel value range of breast MRI images in Dicom format is different from that of natural images, and the pixel value is larger. When modeling directly, the model will have gradient explosion or disappearance during the iteration process. Therefore, it is necessary to use a lossless conversion method to convert the Dicom format images into high-quality lossless compressed bitmap graphics format images (Portable Network Graphics, Png) format, and then use the Opencv (version 4.5.1) scientific database to save it.

[0044] Step S3, model construction, constructing the data queue of breast MRI 3D spoiled gradient echo sequence T1WI plain scan period and corresponding enhanced K phase, designing the forward noise addition in the plain scan period, weighted fusion of time features, feature encoding of first diagnosis prior knowledge, feature extraction of plain scan period sequence, decoder and discriminator structure.

[0045] Furthermore, the number of images in the plain scan period and the K-period dynamic enhancement sequence is the same. In order to make the i-th image in the plain scan period correspond to the i-th image in the K-period enhancement during model training, a plain scan period-K-period dynamic enhancement sequence data queue is constructed. The data queue is shown in the following formula:

[0046] Q K ={T11:CE1,…T1 i :CE K-i}

[0047] Among them, Q K The data queues corresponding to the plain scan period and K phase enhancement, T1 i is the i-th image during the plain scan period, CE K-i is the i-th image in the K-th enhancement period.

[0048] Furthermore, the true distribution of an image in the flat scan period is denoted as q(x0), and a random image is sampled from the image and denoted as x~q(x0). The forward noise addition process q(xt |x t-1 ) is the noise added to the image x at each step in the forward direction t-1 Add Gaussian noise to get x t , calculate the mean of the Gaussian distribution and the variance is The Gaussian distribution of , a variable that changes over time, and the process of adding Gaussian noise to the image at each step are shown as follows:

[0049]

[0050] A standard Gaussian distribution ∈~N(0,I) is collected for the first image of the plain scan period, and β t By x t-1 Image calculation to get x t , the image after the next dynamic enhanced image is denoised where β t As time changes, the forward noise addition process of the diffusion model can be expressed as a Markov chain from t=1 to t=T, as shown in the following formula.

[0051]

[0052] Furthermore, the benign and malignant types of breast diagnosis results are extracted from the diagnostic results, and the text data of the diagnostic results obtained from the patient's first breast MRI examination are preprocessed. Breast fibroadenoma, cystic hyperplasia, breast disease, glandular hyperplasia, intraductal papilloma, breast leiomyoma, breast hamartoma, breast neurofibroma, and breast hemangioma are classified as benign; carcinoma in situ, invasive carcinoma, Luminal A type, Luminal B type, HER2 overexpression type, basal-like type, and triple-negative breast cancer are classified as malignant; Word2Vec technology is used to cluster words with similar semantics in the vector space. If text features of benign and malignant types appear, they are converted into corresponding vectors through Word2Vec technology for representation, and the word vectors are weighted averaged to obtain the prior knowledge text vector of the diagnostic result.

[0053] Furthermore, assuming that the length of the prior knowledge text vector is n, convert it into a 1xn column matrix N, create a one-dimensional vector m of length n, convert it into a 1xm column matrix M, perform the Schur product operation on the matrices N and M to obtain a new column matrix Z, and reshape the column matrix Z into a prior knowledge matrix Z of the same size as the deep feature size of the plain scan image.

[0054] Furthermore, the Xception network structure mainly includes a deep separable convolutional structure, which can help the network capture the low-level and high-level features of the input enhanced image, and connect the two features through residual connections to achieve the function of feature extraction. In order to enable the model to converge quickly to obtain the optimal solution, after removing the global average pooling, fully connected layer and Softmax layer after the feature extraction layer, the pre-trained weight parameters of Xception trained in large-scale data in the ImageNet competition are migrated to the feature extraction layer of the above network for training.

[0055] Step S4, model training and optimization, use the data queue to train the deep learning model for breast MRI class enhancement sequence generation, use the loss function to calculate the loss value between the generated class enhancement image and the real image, update the parameters of each structure of the model by back propagating the error, and repeat the above steps until the iteration stop condition is reached.

[0056] Furthermore, the weight parameters of the pre-trained feature extraction layer of Xception are loaded using transfer learning, and the model is fine-tuned. The optimizer is set to the adaptive estimation matrix (Adaptive MomentEstimation, Adam), the learning rate is 0.001, the exponential decay rate β1 is 0.9, β2 is 0.999, the exponential stability correction term ε is 10-8, the data enhancement method is set to horizontal inversion, the Batch Size is set to 256, a total of 500 epochs are trained, and the early stopping mechanism is set to prevent overfitting. If the loss of the model training does not decrease after 10 epochs, the training is stopped.

[0057] Furthermore, the structural similarity metric (SSIM) loss function is used to judge the similarity between the real breast MRI dynamic enhancement sequence images and the quasi-dynamic enhancement sequence images generated by the deep learning network through the similarity of brightness, contrast and structure. The value range of SSIM is (0, 1), and the closer it is to 1, the higher the similarity of the two images. The formula is as follows:

[0058] SSIM(I t , I f )=L(I t , I f )+C(I t , I f )+S(I t , I f )

[0059] Among them, I t It is a real breast MRI-like dynamic enhancement sequence. f The dynamic enhanced sequence image generated by the network model, L(It , I f ) is the brightness contrast, and its formula is as follows:

[0060]

[0061] C(I t , I f ) is the contrast ratio, and its formula is as follows:

[0062]

[0063] S(I t , I f ) is the structural contrast, and its formula is as follows:

[0064]

[0065] in, and Display image I t and I f The mean of and Respectively represented as image I t and I f The standard deviation of For Image I t and I f The covariance of C1, C2 and C3 are constants, which are 2.55, 6.5x10 -4 and 3.25x10 -4 , according to the definition of the loss function, the SSIM loss function is designed as follows:

[0066] Loss(I t , I f )=1-SSIM(I t , I f )

[0067] Among them, Loss(I t , I f ) is the judgment I t and I f SSIM loss function for the similarity between two images.

[0068] Furthermore, during training, the input data queue is first passed through each layer of the network, the output of the model is calculated, and the generated class-enhanced image is measured using the structural similarity metric SSIM (I t , I f ) and the real image to judge the similarity between the two, and calculate the structural similarity measurement loss function Loss(I t , I f) is used to evaluate the difference between the image generated by the model and the real image. The gradient of the parameters in each layer of the model is calculated through the loss function value. The chain rule is used to backpropagate from the last layer to the first layer. The error between the class dynamic enhancement sequence image of the output layer and the real image is returned to the input layer to update the weight parameters.

[0069] The embodiment of the present invention provides a method for generating an enhancement period based on a forward diffusion generation network of radiological plain scan images, data collection, collecting 3D spoiled gradient echo sequence T1WI Dicom format image data of patients undergoing breast MRI examination, a total of 1+5 periods; data preprocessing, using medical image processing technology to desensitize MRI enhanced image data, extract the enhancement period scanning time, and convert it into a high-quality PNG format image; model construction, constructing a breast MRI The data queues of the plain scan period and the corresponding enhanced K phase of the 3D spoiled gradient echo sequence T1WI are used to design the forward noise addition in the plain scan period, the weighted fusion of time features, the feature encoding of the first diagnosis prior knowledge, the feature extraction of the plain scan period sequence, the decoder and the discriminator structure; model training and optimization, using the data queue to train the deep learning model for breast MRI class-enhanced sequence generation, using the loss function to calculate the loss value between the generated class-enhanced image and the real image, updating the parameters of each structure of the model by back-propagating the error, repeating the above steps until the condition for stopping the iteration is reached; class-enhanced MRI generation, using the breast plain scan MRI images of the patient's reexamination, the first diagnosed lesion information and the enhanced K phase parameters to be generated, the model is generated through the multimodal forward diffusion generation network to generate the target breast MRI class-enhanced image.

[0070] Figure 2 This is a network structure diagram of an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images according to an embodiment of the present invention.

[0071] Furthermore, the construction of the multimodal forward diffusion generative network mainly includes the forward stepwise noise addition of the forward plain scan period image to obtain the full noise image Image1, the calculation of the time node of the start of the scan of the dynamic enhanced K period image, the recording of the time node and the addition of the trainable and updateable time series weighting parameter ω, the text encoding and dimension upgrading of the first diagnosis prior knowledge, the addition of the special prior knowledge features of the first diagnosis category, the encoder part uses the transfer learning method, combined with the Xception network to extract the shallow and deep features of the plain scan period image, and obtain the feature map Image2, and the matrix multiplication of Image1, Image2, time features and prior knowledge features is obtained. TIt , completing the feature fusion step.

[0072] Furthermore, through the size reduction convolution, the feature map Image TItThe size of the convolution operation is restored to the same size as the input image. The size restoration convolution size calculation formula is as follows:

[0073]

[0074] Among them, F in is the input feature map size, S is the step size of 1, and the pad method is the FULL padding method. In order to restore the feature map to the size of the original image, F out is the size of the feature map after the size reduction convolution layer.

[0075] Furthermore, the constructed decoder is used to decode the image through the convolutional neural network. TIt Decoding is performed to make the feature map generate images of the breast MRI-like dynamic enhancement sequence. Finally, the difference between the generated image and the real image is calculated through the designed SSIM loss function. The parameters of the previous step are updated through the back propagation of the convolutional neural network to complete an iterative training.

[0076] Furthermore, the forward noise addition process and the time series weighting process are completed using the scientific database Numpy (version 1.23.0), Scipy (version 1.8.0) and math. The encoder, feature fusion and decoder processes are built using Tensorflow-GPU (version 2.4.0), Scikit-learn (version 1.1.0) and CUDA version 11.6. The discriminator part is completed using Opencv-Python (4.5.1.48) and Numpy.

[0077] Figure 3 The figure is a time-weighted schematic diagram of a method for generating an enhancement period based on a forward diffusion generation network of radiological plain scan images according to an embodiment of the present invention.

[0078] Furthermore, the extracted sequence name, the total scanning time T of the enhanced K phase and the scanning time of each image of the enhanced K phase are used to obtain the sequence name. The normalization process of the i-th scan time of the K-phase enhancement is: Add weight Kω to the i-th image in the K-enhancement period K-i , so the time weighting coefficient of the i-th moment image under K-phase enhancement is This coefficient can be used to weight the extracted feature map at different enhancement periods and scanning times, so that the generated enhanced image is closer to the real enhanced image.

[0079] Figure 4 The decoder structure diagram of an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images according to an embodiment of the present invention.

[0080] Furthermore, the decoder process includes five groups of convolutional neural networks to restore image features, each of which consists of transposed convolution, global average pooling, activation function and batch normalization structure. The structure of the convolutional neural network includes transposed convolution, with a kernel size of 3x3 and a step size of 1. To ensure that the size of the feature map during the transposed convolution is consistent with the size of the output class dynamic enhancement sequence image, the filling method is SAME. Global average pooling is used to perform pooling operations on the features after transposed convolution, and the Tanh activation function is used to activate the feature map after transposed convolution. After activation, the feature value is compressed to between (-1, 1), as shown in the following formula:

[0081]

[0082] Where x is the size of the input feature value. After the activation function outputs the feature map, it is connected to the batch normalization (BN) layer to combat the internal covariate transfer and solve the problem of training difficulties caused by the distribution between different layers.

[0083] Furthermore, the feature map obtained by the decoder is restored, and the feature map restored after five sets of convolutional neural networks is processed using a compression function (Sigmoid) activation function to ensure that the pixel values ​​of the generated breast enhanced image are within the range of the MRI image. The Sigmoid activation function formula is as follows:

[0084]

[0085] Among them, Image F is the feature map after five layers of convolution, σ(Image F ) is the dynamic enhancement sequence image generated by the model. After the activation function, it becomes a grayscale image with a pixel value range between 0 and 1. Then the dynamic enhancement sequence image is multiplied by 255 to obtain the final breast MRI dynamic enhancement sequence image data.

[0086] Figure 5 The diagram is a schematic diagram of generating quasi-enhanced images of the chest and liver according to an enhancement phase generation method based on a forward diffusion generation network of radiological plain scan images according to an embodiment of the present invention.

[0087] Furthermore, according to different target tasks, such as generating enhanced images of the liver and lungs, the target tasks can be trained by combining the above-mentioned data preprocessing, model structure and image restoration methods, and finally the enhanced images required for the target tasks can be obtained.

[0088] The specific calculation of the enhancement period generation method based on the forward diffusion generation network of radiological plain scan images can be found in the above description of data collection, data preprocessing, model construction and model training, which will not be repeated here. All or part of the above-mentioned breast MRI enhancement sequence generation method based on the multimodal forward diffusion generation network can be implemented by software to facilitate the calculation of the corresponding operations in each step.

[0089] The process embodiment described above is only illustrative, wherein the denoising process during the flat sweep period, the encoder, the decoder and the feature fusion may also be other different structures, and the target loss function and the optimizer during the training process may or may not be the SSIM loss and the Adam optimizer, or may also be a combination of multiple loss functions and optimizers. Some of them may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0090] Through the description of the above implementation methods, those skilled in the art can clearly understand the various embodiments, and can implement the proposed methods with the help of different languages, deep learning frameworks and mathematical models. Based on this understanding, the essence of the above technical solution or the contribution to the shared technology can be presented in the form of software or a full-stack Web. The model can be embedded in the software or deployed in a Web network database, such as MySQL, SQL Server, Oracle, DB2, etc., and contains several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0091] The above embodiments are intended to further illustrate some preferred embodiments of the present invention, but not all embodiments. Other embodiments based on the present invention made by professionals in this field without creative work are all within the scope of protection of the present invention.

Claims

1. Enhancement phase generation method based on forward diffusion generation network of radiological plain scan images, It is characterized in that The steps of the method are as follows: S1. Data collection: collect 3D spoiled gradient echo sequence T1WI Dicom format image data of patients undergoing MRI examination, a total of 1+5 phases; S2. Data preprocessing: using medical image processing technology to desensitize MRI enhanced image data, extract the enhanced scanning time, and convert it into high-quality PNG format images; S3, model construction, construct the data queue of MRI 3D spoiled gradient echo sequence T1WI plain scan period and corresponding enhanced K period, design the forward noise addition in the plain scan period, weighted fusion of time features, feature encoding of first diagnosis prior knowledge, feature extraction of plain scan period sequence, decoder and discriminator structure; S4, model training and optimization, using the data queue to train the deep learning model for MRI-like enhanced sequence generation, using the loss function to calculate the loss value between the generated enhanced image and the real image, updating the parameters of each structure of the model by back-propagating the error, and repeating the above steps until the iteration stop condition is reached; S5. Quasi-enhanced MRI generation uses the plain scan MRI images of the patient's reexamination, the first diagnosed lesion information and the enhanced K-phase parameters to be generated, and generates a model through a multimodal forward diffusion network to generate MRI-like enhanced images of the target area.

2. The enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images according to claim 1, It is characterized in that In step S1, the MRI examination site of the patient is the breast, liver or chest, and the generated target is the corresponding site.

3. The enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images according to claim 2, It is characterized in that In the 3D spoiled gradient echo sequence T1WI of the patients undergoing MRI examination collected in the step S1, a total of six sequence images are collected to construct five image data queues of plain scan period-enhanced phase 1, plain scan period-enhanced phase 2, plain scan period-enhanced phase 3, plain scan period-enhanced phase 4 and plain scan period-enhanced phase 5.

4. The enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images according to claim 3, It is characterized in that In the S3 step, the data and different structure construction methods include: There are five groups of data queues in the data queues of the plain scan period and the corresponding enhanced K period, namely, the MRI image data of the plain scan period-enhanced 1 period, the plain scan period-enhanced 2 period, the plain scan period-enhanced 3 period, the plain scan period-enhanced 4 period and the plain scan period-enhanced 5 period; In the forward noise adding structure during the flat scanning period, the molecular diffusion principle and Markov chain in thermodynamics are simulated to add Gaussian noise to each image, and the noise added to the next image is only related to the previous image until the image data completely becomes a noise image; In the time feature weighted fusion structure, the total scanning time of the enhanced K phase and the scanning time information of each image of the K phase enhanced scanning are extracted; In the feature encoding of the prior knowledge of the first diagnosis, the benign and malignant results obtained from the first examination of the patient are feature encoded, and the Word2Vec technology is used to perform word segmentation, combination, and vectorization operations so that it can be used as a data vector that can be input into the model; In the decoder image generation structure, a transposed convolutional neural network, a pooling layer, an activation function, and batch normalization are used to complete the upsampling process. There are 5 groups of such structures in the decoder, and the convolution kernel size is 3x3, the step size is 1, and the padding mode is SAME, and the image is restored; In the discriminator structure, a structural similarity SSIM loss function is constructed to compare the similarity between the real enhanced dynamic sequence image and the class enhanced dynamic sequence.

5. The enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images according to claim 4, It is characterized in that In the S3 step, the encoder structure uses the Xception deep learning convolutional neural network structure. After removing the classification layer of the original network, the feature extraction of the plain scan data is performed in combination with the transfer learning method. The logarithmic structural similarity SSIM loss function is used to compare the brightness, contrast and structure of the real enhanced sequence image and the class enhanced sequence image, respectively corresponding to the mean, variance and corresponding covariance of the original and generated sequence images, and the iteration, parameter updating and optimization process of the model are completed through the back propagation method of the convolutional neural network.

6. The enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images according to claim 5, It is characterized in that The noise adding step obtains the full noise image Image 1 ,Calculate the time node of the start of scanning for the dynamic enhanced K-phase image, record the time node and add the trainable and updateable time series weighting parameter ω, encode the text of the first diagnosis prior knowledge and upgrade the dimension, add the special prior knowledge features of the first diagnosis category, and use the transfer learning method in the encoder part to extract the shallow and deep features of the plain scan image in combination with the Xception network to obtain the feature Image 1 、Image 2 , time features and prior knowledge features are matrix multiplied to obtain Image Tlt , completing the feature fusion step.

7. The enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images according to claim 5, It is characterized in that The method further comprises the following steps: using the extracted sequence name, the total scanning time T of the enhanced K phase, and the scanning time of each image of the enhanced scanning of the K phase The normalization process of the i-th scan time of the K-phase enhancement is: Add weight Kω to the i-th image in the K-enhancement period K-i , so the time weighting coefficient of the i-th moment image under K-phase enhancement is This coefficient can be used to weight the extracted feature map at different enhancement periods and scanning times, so that the generated enhanced image is closer to the real enhanced image.

8. The enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images according to claim 5, It is characterized in that The feature map obtained by the decoder is used for image restoration. The feature map restored after passing through five groups of convolutional neural networks is processed using a compression function Sigmoid activation function to ensure that the pixel value of the generated breast enhanced image is within the range of the MRI image. The formula of the Sigmoid activation function is as follows: Among them, the Image F is the feature map after five layers of convolution, the σ(Image F ) is the dynamic enhancement sequence image generated by the model. After the activation function, it becomes a grayscale image with a pixel value range between 0 and 1. Then the dynamic enhancement sequence image is multiplied by 255 to obtain the final breast MRI dynamic enhancement sequence image data.

9. Application of the enhancement phase generation method based on the forward diffusion generation network of radiological plain scan images as described in any one of claims 1 to 8, It is characterized in that The method is used in breast, liver or lung enhanced imaging equipment.

10. A device for generating quasi-enhanced images during the radiation enhancement period based on a forward diffusion generation network of radiological plain scan images. It is characterized in that The device comprises software embedded in the enhancement phase generation method of the forward diffusion generation network based on radiological plain scan images as described in any one of claims 1 to 8 or a deployed Web network database, and the embedded software or deployed Web network database is in a personal computer, a server or a network device.