A multi-task medical image enhancement method based on generative adversarial network

Through a multi-task medical image enhancement method based on generative adversarial networks, using dynamic convolution and dense residual network, the problem of low resolution in medical image fusion is solved, and high-resolution multi-modal medical image fusion is achieved and optimized. Improve network performance and reduce labor costs.

CN114596285BActive Publication Date: 2024-09-27NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210232832.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-09
Publication Date
2024-09-27
Estimated Expiration
2042-03-09

AI Technical Summary

Technical Problem

In the existing technology, due to radiation limitations in medical image fusion, the resolution of multi-modal medical fusion images is low, requiring multiple steps and network models, which increases labor costs and complexity.

Method used

A multi-task medical image enhancement method based on generative adversarial networks is adopted to construct a generative adversarial network model through dynamic convolution and dense residual network. It combines super-resolution and fusion loss functions to optimize network parameters and achieve high-resolution multi-modal medicine. Image fusion.

Benefits of technology

It improves the resolution of multi-modal medical images, reduces gradient dispersion and explosion problems, optimizes network performance, and obtains better super-resolution multi-modal medical fusion images, retaining image edge and texture details and semantic information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114596285B
    Figure CN114596285B
Patent Text Reader

Abstract

The present invention discloses a multi-task medical image enhancement method based on a generative adversarial network, which is used to achieve super-resolution and fusion tasks of medical images, and comprises the following steps: step 1, constructing a training data set and preprocessing the data set; step 2, using dynamic convolution and residual dense network to form a generative adversarial network model; step 3, setting hyperparameters and loss function of the network model, and optimizing the loss function; step 4, inputting the preprocessed training data set into the generative adversarial network model, and training the network to obtain a trained generative adversarial network model; step 5, inputting a test data set into the network to obtain a fused super-resolution medical image; step 6, using mutual information Q mi and Q based on structural similarity design yang The quality of the fused super-resolution medical image is evaluated. The method of the present invention can realize the super-resolution and fusion tasks of medical images in one network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer vision and image processing, and in particular to a multi-task medical image enhancement method based on a generative adversarial network. Background Art

[0002] With the continuous development of medical imaging technology, various modal medical images are widely used in clinical disease diagnosis, assisted surgery, health examination and testing. Common medical images include magnetic resonance imaging (MRI), positron emission tomography (PET), and computed tomography (CT). Due to different imaging methods, different modal medical images reflect different body structure information. A single modality image cannot fully describe the lesion information, which is not conducive to the doctor's diagnosis. In order to solve the contradiction between clinical needs and the limitations of imaging technology, medical image fusion technology inherits medical image information of different modalities to generate a fused image containing multi-modal complementary information.

[0003] Since medical images generate radiation during imaging, the higher the radiation level, the clearer the image obtained. In order to ensure that patients receive less radiation dose, the resolution of most medical source images is limited, resulting in low resolution of multimodal medical fusion images. In order to improve the resolution of fused images, image super-resolution methods are usually used in advance, and then high-resolution multimodal medical fusion images are obtained through various fusion methods. This results in multiple steps and multiple network models required to obtain high-resolution multimodal medical fusion images, which greatly increases labor costs. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a multi-task medical image enhancement method based on generative adversarial network.

[0005] In order to achieve the above object, the present invention is implemented by the following technical solutions:

[0006] The present invention is a multi-task medical image enhancement method based on a generative adversarial network, comprising the following steps:

[0007] Step 1: construct a training data set, unify the size of the training data set, and perform data augmentation operations;

[0008] Step 2: Use dynamic convolution and dense residual network to construct a generative adversarial network model;

[0009] Step 3, setting the hyperparameters and loss function of the network model, and optimizing the loss function;

[0010] Step 4, input the preprocessed training data set into the generative adversarial network model, and train the network to obtain a trained generative adversarial network model;

[0011] Step 5, input the test data set into the network to obtain a fused super-resolution medical image;

[0012] Step 6: Use mutual information Q mi and Q based on structural similarity design yang Evaluate the quality of fused super-resolution medical images.

[0013] A further improvement of the present invention is that the generative adversarial network model constructed in step 2 includes a generator G and two discriminators and The generator includes two encoders and three decoders. The encoder includes a dynamic convolution layer, a dense residual network, and an upsampling module. The decoder and the discriminator are composed of different convolution layers. The dynamic convolution layer globally pools the input features and inputs them into the fully connected layer and ReLU activation. Finally, the Softmax layer is activated to obtain the weight of each convolution kernel. The weight is linearly weighted with each convolution kernel to obtain the final convolution kernel. The dense residual network includes five convolution layers connected to the activation layer.

[0014] A further improvement of the present invention is that the hyperparameters in step 3 include batch size, initial learning rate, number of iterations and learning rate decay strategy.

[0015] A further improvement of the present invention is that the loss function in step 3 includes a super-resolution loss function and a fusion loss function, wherein the super-resolution loss function is mathematically expressed as follows:

[0016]

[0017] In formula (1), α represents the ratio between the two losses, N represents all pixels of the image, and I sr represents the super-resolution image, I hr represents a high-resolution image, ψ(·) represents the features obtained by inputting the image into the pre-trained VGG16 network;

[0018] The fusion loss function is composed of an adversarial loss function and a content loss function, as follows:

[0019]

[0020] The first and second terms of formula (2) represent the mode m 1 and mode m 2 The loss function, {λ 1 ,λ2 ,β,γ} are balance parameters, and is the content loss function adopted according to different modal images, and Represents the generator G and the discriminator respectively and The adversarial loss between , is defined as follows:

[0021]

[0022] A further improvement of the present invention is that for PET images, the content loss function is expressed as The formula is:

[0023]

[0024] Among them I PET is the PET image, I m Another modality image.

[0025] A further improvement of the present invention is that for MRI images or CT images, the content loss function is expressed as The Laplace feature of the source image is constrained, and its mathematical formula is:

[0026]

[0027] Where Laplace(·) represents the Laplace transform, I MRI / CT Indicates MRI or CT images.

[0028] A further improvement of the present invention is that: the discriminator and The adversarial loss of adopts the loss function of the WGAN-GP discriminator, which is formulated as follows:

[0029]

[0030] in, 0<ε<1 means from To I i Random sampling data of Represents the gradient.

[0031] A further improvement of the present invention is that the specific operation of step 4 is:

[0032] Step 4.1, input the original data training set into the encoder and super-resolution decoder forward propagation, and use the super-resolution loss function to train the two branches;

[0033] In step 4.2, the encoder parameters trained in step 4.1 are extracted and assigned to the encoder of the fusion network and its parameters are frozen. The network model is trained using the fusion loss function to obtain a trained model.

[0034] The beneficial effects of the present invention are:

[0035] 1. The present invention adopts a generative adversarial network model, uses dynamic convolution and dense residual network to maximize information transmission, reduce problems such as gradient diffusion or gradient explosion, link shallow features with deep features, and ensure network performance.

[0036] 2. The present invention also uses parameter extraction, parameter freezing, parameter fine-tuning and other technologies to optimize network performance, thereby obtaining better super-resolution multimodal medical fusion images. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flow chart of the present invention.

[0038] Figure 2 It is the overall network model.

[0039] Figure 3 It is a schematic diagram of the encoder in the network.

[0040] Figure 4 It is a schematic diagram of the decoder in the network.

[0041] Figure 5 This is a schematic diagram of the fusion result. DETAILED DESCRIPTION

[0042] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the implementation of the present invention, not all of the implementation. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] like Figure 1-Figure 5 As shown, the present invention is a multi-task medical image enhancement method based on a generative adversarial network, comprising the following steps:

[0044] Step 1: Build a training data set and process the training data set as follows:

[0045] Select training samples from the training data set as the original training set, wherein the image size in the training samples is 256×256, and perform enhancement operations on the images, and the image enhancement operations used include: upside down flipping, 90° rotation, 180° rotation, 270° rotation, upside down flipping and then 90° rotation, upside down flipping and then 180° rotation, upside down flipping and then 270° rotation;

[0046] Step 2: Use dynamic convolution and dense residual network to construct a generative adversarial network model;

[0047] The generative adversarial network consists of a generator G and two discriminators. and The generator includes two encoding modules and three decoding modules; the encoding module includes a dynamic convolution layer, a dense residual network, and an upsampling module; the decoding module and the discriminator both include different convolution layers. Dynamic convolution transforms a fixed convolution kernel into a convolution kernel that can adaptively change attention according to the input; the input features are globally pooled and input into the fully connected layer and ReLU activation, and finally activated by the Softmax layer to obtain the weight of each convolution kernel, and the weight is linearly weighted with each convolution kernel to obtain the final convolution kernel.

[0048] The dense residual network consists of five convolutional layers connected to activation layers. All layers are connected under the premise of ensuring the maximum information transmission between layers in the network, that is, the input of each layer comes from the output of all previous layers. On this basis, in order to reduce the problem of gradient diffusion or gradient explosion, residual links are introduced to link shallow features with deep features to ensure network performance.

[0049] Step 3, setting the batch size, initial learning rate, number of iterations, learning rate decay strategy and loss function of the network model, and optimizing the loss function, wherein the loss function includes a super-resolution loss function and a fusion loss function;

[0050] Step 4: Train the generative adversarial network model. The present invention uses the AdamW optimizer for training, and the initial learning rate is set to 2×10 -4 , the network has a total of 200 epochs, and the specific training steps are as follows:

[0051] Step 4.1, input the original data training set into the encoder Encoder and the super-resolution decoder DecoderSR forward propagation, and use the super-resolution loss function to train the two branches;

[0052] The super-resolution loss function formula is as follows:

[0053]

[0054] In formula (1), α represents the ratio between the two losses, N represents all pixels of the image, and I sr represents the super-resolution image, I hr represents a high-resolution image, ψ(·) represents the features obtained by inputting the image into the pre-trained VGG16 network;

[0055] In step 4.2, the encoder parameters trained in step 4.1 are extracted and assigned to the encoder of the fusion network and its parameters are frozen. The network model is trained using the fusion loss function to obtain a trained model.

[0056] The fusion loss function is composed of adversarial loss and content loss, as follows:

[0057]

[0058] The first and second terms of formula (2) represent the mode m 1 and mode m 2 The loss function, {λ 1 ,λ 2 ,β,γ} are balance parameters, and Represents the generator G and the discriminator respectively and The adversarial loss between , is defined as follows:

[0059]

[0060] and According to the content loss function used for different modal images, the images are divided into PET images, MRI images and CT images. For PET images, in order to maintain the metabolic information of PET images, the mean square error loss function is used, and its expression is:

[0061]

[0062] Among them I PET is the PET image, I m Another modality image.

[0063] For MRI images or CT images, in order to maintain the texture information and contours in the source image, the Laplace feature of the source image is constrained, and its mathematical formula is:

[0064]

[0065] Where Laplace(·) represents the Laplace transform, I MRI / CT Indicates MRI or CT images.

[0066] and The adversarial loss of adopts the loss function of the WGAN-GP discriminator, which is defined as follows:

[0067]

[0068] in, Indicates from To I i Randomly sampled data.

[0069] Step 5, input the test data set into the network trained in step 4.2 to obtain a fused super-resolution medical image;

[0070] Step 6: Use mutual information Q mi and Q based on structural similarity design yang Evaluate the quality of fused super-resolution medical images.

[0071] The data set used in the experiment of the present invention is obtained by downloading from the website http: / / www.med.harvard.edu / AANLIB / home.html, and when testing the results, the present invention only uses the network model trained in step 4.2 as the test model. After experimental verification, the results are as follows Figure 5 As shown in the figure, the three images in the first row are the T1 and T2 modes of MRI images and the FDG mode of PET images. The two images in the second row are the fusion results of PET images and two different modes of MRI images. mi and Q yang The values ​​are shown in Table 1:

[0072] Table 1. Mutual information Q of fusion results mi Value and Q yang value

[0073]

[0074] pass Figure 5 As verified in Table 1, the model of the present invention can better restore the edge and texture details of the image, more completely preserve the semantic information and edge texture of the two source images, and obtain a better super-resolution multimodal fusion image.

[0075] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been discussed above with a preferred embodiment, it is not used to limit the present invention. Any technician familiar with the profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A multi-task medical image enhancement method based on generative adversarial network, characterized by: The following steps are involved: Step 1: construct a training data set, unify the size of the training data set, and perform data augmentation operations; Step 2: Use dynamic convolution and dense residual network to construct a generative adversarial network model; Step 3, setting the hyperparameters and loss function of the network model, and optimizing the loss function; Step 4, input the preprocessed training data set into the generative adversarial network model, and train the network to obtain a trained generative adversarial network model; Step 5, input the test data set into the network to obtain a fused super-resolution medical image; Step 6: Use mutual information Q mi and Q based on structural similarity design yang Evaluate the quality of fused super-resolution medical images; The generative adversarial network model constructed in step 2 includes a generator G and two discriminators and The generator consists of two encoders and three decoders. The encoder includes a dynamic convolution layer, a dense residual network, and an upsampling module. The dynamic convolution layer transforms a fixed convolution kernel into a convolution kernel that adaptively changes attention according to the input. The dynamic convolution layer globally pools the input features and inputs them into the fully connected layer and ReLU activation, and finally activates the Softmax layer to obtain the weight of each convolution kernel, and linearly weights the weights with each convolution kernel to obtain the final convolution kernel. The dense residual network includes five layers of convolution layer link activation layers. Under the premise of ensuring the maximum information transmission between layers in the network, all layers are connected, and the input of each layer comes from the output of all previous layers; residual links are introduced to link shallow features with deep features to ensure network performance; The decoder includes different convolutional layers.

2. According to claim 1, a multi-task medical image enhancement method based on generative adversarial network is characterized by: The hyperparameters in step 3 include batch size, initial learning rate, number of iterations, and learning rate decay strategy.

3. According to claim 1, a multi-task medical image enhancement method based on generative adversarial network is characterized by: The loss function in step 3 includes a super-resolution loss function and a fusion loss function, where the super-resolution loss function is mathematically expressed as follows: In formula (1), α represents the ratio between the two losses, N represents all pixels of the image, and I sr represents the super-resolution image output by the network, I hr represents the original high-resolution reference image, ψ(·) represents the features obtained by inputting the image into the pre-trained VGG16 network; The fusion loss function is composed of an adversarial loss function and a content loss function, as follows: The first and second terms of formula (2) represent the loss functions of mode m1 and mode m2 respectively, and {λ1,λ2,β,γ} are the balance parameters. and is the content loss function adopted according to different modal images, and Represent the generator G and the discriminator respectively and The adversarial loss between , is defined as follows:

4. According to claim 1, a multi-task medical image enhancement method based on generative adversarial network is characterized by: For PET images, the content loss function is expressed as The formula is: Among them I PET is the PET image, I m Another modality image.

5. The multi-task medical image enhancement method based on generative adversarial network according to claim 4, characterized in that: For MRI images or CT images, the content loss function is expressed as The Laplace feature of the source image is constrained, and the expression is: Where Laplace(·) represents the Laplace transform, I MRI / CT Indicates MRI or CT images.

6. The multi-task medical image enhancement method based on generative adversarial network according to claim 3, characterized in that: The discriminator and The adversarial loss of adopts the loss function of the WGAN-GP discriminator, which is formulated as follows: in, 0<ε<1 means from To I i The random sampling data of , ▽ represents the gradient.

7. The multi-task medical image enhancement method based on generative adversarial network according to claim 4, characterized in that: The specific operations of step 4 are: Step 4.1, input the original data training set into the encoder and super-resolution decoder forward propagation, and use the super-resolution loss function to train the two branches; In step 4.2, the encoder parameters trained in step 4.1 are extracted and assigned to the encoder of the fusion network and its parameters are frozen. The network model is trained using the fusion loss function to obtain a trained model.