Medical image super-resolution reconstruction method based on multi-attention residual feature fusion
By using a multi-attention residual feature fusion method in medical image super-resolution reconstruction, combined with channel and spatial attention mechanisms, the problem of equal processing of input features by the network and insufficient learning ability of deep neural networks is solved, achieving a more efficient Image super-resolution reconstruction performance.
Patent Information
- Application Number
- CN202110636035.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-08
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-06-08
AI Technical Summary
Existing super-resolution networks process the features of input images equally, resulting in insufficient representation capabilities and difficulty in making full use of local feature information in the network, which reduces the learning ability of deep neural networks.
A new super-resolution reconstruction method is constructed using a multi-attention residual feature fusion method, combining channel attention and spatial attention mechanisms, and performing local and global feature fusion through the residual attention feature fusion module (RAFF).
It effectively improves the super-resolution reconstruction performance of medical images, enhances the representation and learning capabilities of the network, and improves the performance of image super-resolution reconstruction.
Smart Images

Figure CN113298717B
Abstract
Description
Technical Field
[0001] The present invention relates to a medical image super-resolution reconstruction method based on multi-attention residual feature fusion. Background Art
[0002] In recent years, deep convolutional neural networks have achieved very good results in super-resolution on a single image. A common method for image super-resolution is the instance-based method, which uses information from high-resolution and low-resolution images to generate a super-resolution version that approximates the original high-resolution image. There are also many methods that use super-resolution on medical images. Super-resolution reconstruction of medical images helps to improve the accuracy and objectivity of computer-assisted clinical medical diagnosis and quantitative analysis of diseases. Therefore, it is necessary to perform super-resolution reconstruction on the required medical images.
[0003] The defects of the existing technology are as follows: most of the existing super-resolution networks are trained based on convolutional neural networks. The network treats the features of the input images equally. Although the network learns the features of the input images, these features are not different, which will reduce the representation ability of the super-resolution network. In addition, the existing super-resolution methods mainly focus on designing deeper network structures, but rarely explore the correlation between inter-layer features, making it difficult to fully utilize the local feature information in the entire network, thereby reducing the learning ability of deep neural networks. Summary of the invention
[0004] In order to overcome the existing deficiencies, the present invention improves the above two problems and proposes a medical image super-resolution reconstruction method based on multi-attention residual feature fusion, which combines the two modules of channel attention mechanism and spatial attention mechanism, so that the network can perform weighted processing on the features of the input image, thereby solving the problem of insufficient network representation ability caused by equal treatment of input features; a residual attention feature fusion module (RAFF) is proposed to fuse local features in the neural network, and combined with global feature fusion, it can make fuller use of local residual features in the entire network, thereby solving the problem of insufficient network learning ability due to the deep neural network being too deep.
[0005] The technical solution adopted by the present invention to solve its technical problem is:
[0006] A medical image super-resolution reconstruction method based on multi-attention residual feature fusion, combining channel attention and spatial attention modules, weighting the features of the input image from multiple aspects, and combining local and global residual features to construct a novel super-resolution reconstruction method, including the following steps:
[0007] 1) Processing of training samples:
[0008] In order to have corresponding high-resolution images (i.e., HR) and low-resolution images (i.e., LR) in the retraining process of the proposed super-resolution network model, the present invention first performs 2-fold and 4-fold bicubic downsampling on the original high-definition medical image dataset with a resolution of 512x512 to obtain low-resolution datasets with a resolution of 256x256 and 128x128.
[0009] 2) Joint multi-attention mechanism:
[0010] The present invention proposes a multi-attention super-resolution reconstruction network. After the features H×W×C of the input image are extracted, Channel attention and Spatial attention are processed respectively, and finally the channel attention weights and spatial attention weights are combined to obtain a three-dimensional Attention map M(U'). The present invention also adds a context fusion module Combine Context before the attention mechanism, the purpose of which is to allow the features of the input image to have more image context information. The specific operation is: input a feature map F: H×W×C, first pass through a pooling layer to become H / r×W / r×C, and then upsample to become a feature map U: H×W×C. At this time, each pixel on H×W contains the information of the surrounding pixels, see formula (1):
[0011] U′=upsample(Pool(F))+F (1)
[0012] Then U' is input into the two attention modules respectively. In the channel attention module, global average pooling (GAP) is first performed to aggregate the feature map in each channel dimension to obtain a feature map of size 1×1×C. Then a fully connected layer is used to reduce the number of feature channels to C / r, and then a fully connected layer is used to convert it to 1×1×C, obtaining the weighted feature map M of the channel attention. c (U′), the calculation process is as shown in (2):
[0013] M c (U′)=BN(FC2(FC1(AvgPool(U′)))) (2)
[0014] In the spatial attention module, a 1x1 convolutional layer is first used to compress the feature channel by half, followed by a 3x3 convolutional layer and a 1x1 convolutional layer to convert the feature into H×W×1, and the weighted feature map M of the spatial attention is obtained. s (U′), the calculation process is as follows:
[0015]
[0016] Then, the weight feature maps obtained from the two attention branches are fused together. Since the shapes of the two attention feature maps are different, they are first expanded to H×W×C, and then they are summed up item by item. After the sum, a Sigmoid function σ is taken to control the value within the range of 0 to 1, and a three-dimensional attention feature map M(U') with both channel attention weights and spatial attention weights is obtained, as shown in formula (4):
[0017] M(U′)=σ(M c (U′)+M s (U′)) (4)
[0018] Then multiply the 3D attention map with the initial input feature F, and then add it to F to get the feature map F' with double attention weights. Figure 1 The whole process is called CCDA (Combine Context Dual Attention), as shown in formula (5):
[0019]
[0020] 3) Local and global residual feature fusion:
[0021] The network framework mainly consists of three modules: Head, Body and Tail.
[0022] 3.1) Head module: Use a convolutional layer to extract the initial feature map of the input image, which can be described as formula (6):
[0023] F0=H(I LR ) (6)
[0024] Among them I LR represents the input image, F0 represents the extracted shallow features, and H represents the convolution operation for extracting the shallow features of the input image;
[0025] 3.2) Body module: This module is the key part of the entire network, which includes G CCDA modules. However, if the network depth is deepened by directly stacking modules, it is difficult to fully utilize the local feature information in the entire network, which will reduce the learning ability of the deep neural network. Therefore, the present invention adds local feature fusion to the network structure, and directly converges the output of each CCDA module with the output of the last CCDA module. In this way, the final feature map not only has the result of the final input of the network but also the information of the intermediate result of the network. In addition, a global feature fusion is added at the end of the body module to fuse F0 and F DF The characteristics of , also have the effect of accelerating training convergence, the process is described by formula (7):
[0026] F DF =H RAFF (F0) = F0 + B g (F g-1 (…))+B g-1 (F g-2 (…))+…+B0(F0) (7)
[0027] where F DF represents the extracted deep features, H RAFF Residual Attention Feature Fusion module proposed in the present invention, which includes G CCDA modules, B g Indicates the g-th stacked CCDA Block.
[0028] 3.3) Tail module: It includes upsampling module and reconstruction module, takes the output of Head and Body as input, and outputs the reconstructed image. This part is described as formula (8):
[0029]
[0030] Among them I SR represents the final super-resolution reconstructed image, H UP represents the upsampling module, H REC Represents the reconstruction module, I LR is the low-resolution image input to the neural network.
[0031] Finally, the L1 loss function is used to optimize the network model. Given a training set It contains N input low-resolution LR images and corresponding N HR images. The training goal of the network is to minimize the L1 loss function, which is described by formula (9):
[0032]
[0033] Among them, θ represents the parameter set of the network, and the loss function is optimized using the stochastic gradient descent method.
[0034] The technical concept of the present invention is: when a low-resolution image is input to the network model, the shallow features are first extracted in the Head module, and then the deep features are extracted in the Body module. The module contains multiple CCDA modules, each of which combines the context information mechanism, the channel attention mechanism and the spatial attention mechanism, so that the network can more effectively extract the deep features of the image. Finally, the Tail module is entered to perform image upsampling and final super-resolution image reconstruction.
[0035] The content of the method of the present invention mainly includes: 1) Combining the two modules of channel attention mechanism and spatial attention mechanism, the network performs weighted processing on the features of the input image, thereby solving the problem that the input features are treated equally and the network representation ability is insufficient. 2) Proposing a residual attention feature fusion module (RAFF), which fuses the local features in the neural network, and combined with the global feature fusion, can make fuller use of the local residual features in the entire network, thereby solving the problem that the deep neural network is too deep and the network learning ability is insufficient.
[0036] The beneficial effects of the present invention are mainly manifested in: 1. The novel multi-attention convolutional neural network model that integrates residual features can effectively perform super-resolution reconstruction on medical images. 2. The network model combines the channel attention and spatial attention modules, thereby solving the problem that the input features of the neural network are treated equally, resulting in insufficient network representation capabilities. 3. The residual attention feature fusion module (RAFF) in the present invention can make more full use of the local residual features in the entire network, thereby solving the problem that the deep neural network is too deep and the network learning ability is insufficient, and can improve the image super-resolution reconstruction performance of the deeper super-resolution network. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is the CCDA module in the proposed network, which includes the fusion mechanism of channel attention and spatial attention.
[0038] Figure 2 This is the overall framework of the proposed super-resolution network and a brief introduction to its components. ① represents the head module, which uses a layer of convolution to extract shallow features of the input image. ② represents the body module, which includes G CCDA modules, local feature fusion, and global feature fusion. ③ represents the tail module, which includes the upsampling module and the reconstruction module. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the accompanying drawings.
[0040] Reference Figure 1 and Figure 2 , a medical image super-resolution reconstruction method based on multi-attention residual feature fusion, combined with channel attention and spatial attention modules, weights the features of the input image from multiple aspects, and combines local and global residual features to construct a novel super-resolution reconstruction method, including the following steps:
[0041] 1) Processing of training samples:
[0042] In order to have corresponding high-resolution images (i.e., HR) and low-resolution images (i.e., LR) in the retraining process of the proposed super-resolution network model, the present invention first performs 2-fold and 4-fold bicubic downsampling on the original high-definition medical image dataset with a resolution of 512x512 to obtain low-resolution datasets with a resolution of 256x256 and 128x128.
[0043] 2) Joint multi-attention mechanism:
[0044] This paper proposes a multi-attention super-resolution reconstruction network, such as Figure 1 As shown. After the features H×W×C of the input image are extracted, Channel attention and Spatial attention are processed respectively, and finally the channel attention weight and the spatial attention weight are combined to obtain a three-dimensional Attention map M(U'). The present invention also adds a context fusion module Combine Context before the attention mechanism, the purpose of which is to allow the features of the input image to have more image context information. The specific operation is: input a feature map F: H×W×C, first pass through a pooling layer to become H / r×W / r×C, and then upsample to become a feature map U: H×W×C. At this time, each pixel on H×W contains the information of the surrounding pixels, see formula (1):
[0045] U′=upsample(Pool(F))+F (1)
[0046] Then U' is input into the two attention modules respectively. In the channel attention module, global average pooling (GAP) is first performed to aggregate the feature map in each channel dimension to obtain a feature map of size 1×1×C. Then a fully connected layer is used to reduce the number of feature channels to C / r, and then a fully connected layer is used to convert it to 1×1×C, obtaining the weighted feature map M of the channel attention. c (U′), the calculation process is as shown in (3):
[0047] M c (U′)=BN(FC2(FC1(AvgPool(U′)))) (2)
[0048] In the spatial attention module, a 1x1 convolution layer is first used to compress the feature channel by half, and then a 3x3 convolution layer and a 1x1 convolution layer are used to convert the feature into H×W×1, and the weighted feature map M of the spatial attention is obtained. s (U′), the calculation process is as follows:
[0049]
[0050] Then, the weight feature maps obtained from the two attention branches are fused together. Since the shapes of the two attention feature maps are different, they are first expanded to H×W×C, and then they are summed up item by item. After the sum, a Sigmoid function σ is taken to control the value within the range of 0 to 1, and a three-dimensional attention feature map M(U') with both channel attention weights and spatial attention weights is obtained, as shown in formula (4):
[0051] M(U′)=σ(M c (U′)+M s (U′)) (4)
[0052] Then multiply the 3D attention map with the initial input feature F, and then add it to F to get the feature map F' with double attention weights. Figure 1 The whole process is called CCDA (Combine Context Dual Attention), as shown in formula (5):
[0053]
[0054] 3) Local and global residual feature fusion:
[0055] The overall framework of the network is as follows Figure 2 As shown in the figure, the network framework mainly consists of three modules: Head, Body and Tail.
[0056] 3.1) Head module: Use a convolutional layer to extract the initial feature map of the input image, which can be described as formula (6):
[0057] F0=H(I LR ) (6)
[0058] Among them I LR represents the input image, F0 represents the extracted shallow features, and H represents the convolution operation for extracting the shallow features of the input image;
[0059] 3.2) Body module: This module is the key part of the entire network, which contains G CCDA modules (i.e. Figure 1 However, if the network depth is deepened by directly stacking modules, it is difficult to fully utilize the local feature information in the entire network, which will reduce the learning ability of the deep neural network. Therefore, the present invention adds local feature fusion to the network structure, and directly converges the output of each CCDA module with the output of the last CCDA module, so that the final feature map not only has the result of the final input of the network but also has the information of the intermediate result of the network. In addition, a global feature fusion is added at the end of the body module to fuse F0 and FDF The characteristics of , also have the effect of accelerating training convergence, the process is described by formula (7):
[0060] F DF =H RAFF (F0) = F0 + B g (F g-1 (…))+B g-1 (F g-2 (…))+…+B0(F0) (7)
[0061] where F DF represents the extracted deep features, H RAFF Residual Attention Feature Fusion module proposed in the present invention, which includes G CCDA modules, B g Indicates the g-th stacked CCDA Block.
[0062] 3.3) Tail module: It includes upsampling module and reconstruction module, takes the output of Head and Body as input, and outputs the reconstructed image. This part can be described as formula (8):
[0063]
[0064] Among them I SR represents the final super-resolution reconstructed image, H UP represents the upsampling module, H REC Represents the reconstruction module, I LR is the low-resolution image input to the neural network.
[0065] Finally, the L1 loss function is used to optimize the network model. Given a training set It contains N input low-resolution LR images and corresponding N HR images. The training goal of the network is to minimize the L1 loss function, which is described by formula (9):
[0066]
[0067] Among them, θ represents the parameter set of the network, and the loss function is optimized using the stochastic gradient descent method.
[0068] The contents described in the embodiments of this specification are merely enumerations of implementation forms of the inventive concept and are for illustrative purposes only. The protection scope of the present invention should not be considered to be limited to the specific forms described in this embodiment, and the protection scope of the present invention also extends to equivalent technical means that can be thought of by ordinary technicians in this field based on the inventive concept.
Claims
1. A medical image super-resolution reconstruction method based on multi-attention residual feature fusion, characterized in that the method comprises the following steps: 1) Processing of training samples: In order to make the proposed super-resolution network model have corresponding high-resolution images HR and low-resolution images LR during the training process, the original high-definition medical image dataset with a resolution of 512x512 is first bicubic downsampled by 2 times and 4 times to obtain low-resolution datasets with a resolution of 256x256 and 128x128. 2) Joint multi-attention mechanism: After extracting the features H×W×C of the input image, the channel attention and spatial attention are processed respectively, and finally the channel attention weights and spatial attention weights are combined to obtain a three-dimensional Attention map M(U'); a context fusion module Combine Context is added before the attention mechanism to allow the features of the input image to have more image context information. The operation is as follows: input a feature map F: H×W×C, first pass through a pooling layer to become H / r×W / r×C, and then upsample to become a feature map U: H×W×C. At this time, each pixel on H×W contains the information of the surrounding pixels, see formula (1): U′=upsample(Pool(F))+F (1) Then U' is input into two attention modules respectively. In the channel attention module, global average pooling GAP is first performed to aggregate the feature map in each channel dimension to obtain a feature map of size 1×1×C. Then a fully connected layer is used to reduce the number of feature channels to C / r, and then a fully connected layer is used to convert it to 1×1×C to obtain the weighted feature map M of the channel attention. c (U′), the calculation process is as shown in formula (2): M c (U′)=BN(FC2(FC1(AvgPool(U′)))) (2) In the spatial attention module, a 1x1 convolution layer is first used to compress the feature channel by half, and then a 3x3 convolution layer and a 1x1 convolution layer are used to convert the feature into H×W×1, and the weighted feature map M of the spatial attention is obtained. s (U′), the calculation process is as follows: Then, the weight feature maps obtained from the two attention branches are fused together. Since the shapes of the two attention feature maps are different, they are first expanded to H×W×C, and then they are summed up item by item. After the sum, a Sigmoid function σ is taken to control the value within the range of 0 to 1, and a three-dimensional attention feature map M(U') with both channel attention weights and spatial attention weights is obtained, as shown in formula (4): M(U′)=σ(M c (U′)+M s (U′)) (4) Then multiply the three-dimensional attention feature map with the initial input feature F, and then add it to F to obtain a feature map F' with double attention weights, as shown in formula (5): The CCDA module is formed through the above steps; 3) Local and global residual feature fusion. The network framework consists of three modules: Head, Body and Tail. The process is as follows: 3.1) The Head module uses a convolutional layer to extract the initial feature map of the input image, which is described as formula (6): F0=H(I LR ) (6) Among them I LR represents the input image, F0 represents the extracted shallow features, and H represents the convolution operation for extracting the shallow features of the input image; 3.
2. The Body module contains G CCDA modules. Local feature fusion is added to the network structure. The output of each CCDA module is directly aggregated with the output of the last CCDA module to form a residual attention feature fusion module H. RAFF In this way, the final feature map not only has the final input result of the network but also the information of the intermediate result of the network. In addition, a global feature fusion is added at the end of the body module to fuse F0 and F DF The characteristics of , also have the effect of accelerating training convergence, the process is described by formula (7): F DF =H RAFF (F0)=F0+B g (F g-1 (…)+B g-1 (F g-2 (…)+…+B0(F0) (7) where F DF Represents the extracted deep features, which includes G CCDA modules, B g Represents the g-th stacked CCDABlock. 3.
3. The Tail module includes an upsampling module and a reconstruction module. It takes the output of the Head and Body as input and outputs a reconstructed image. This part is described as formula (8): Among them I SR represents the final super-resolution reconstructed image, H UP represents the upsampling module, H REC Represents the reconstruction module, I LR is the low-resolution image input to the neural network; Finally, the L1 loss function is used to optimize the network model. Given a training set It contains N input low-resolution LR images and corresponding N HR images. The training goal of the network is to minimize the L1 loss function, which is described by formula (9): in, θ represents the parameter set of the network, and the loss function is optimized using the stochastic gradient descent method.
Citation Information
Cited By
Ultrasonic medical image blind super-resolution method based on progressive residual learning
CN115526776A
