Novel method for removing metal artifacts of CT (Computed Tomography) image
Through the dual-domain network model of wavelet fusion and attention mechanism, combined with the UNet network, the problem of balancing metal artifacts and tissue structure recovery in CT images is solved, achieving the effect of efficiently removing artifacts and retaining image details.
Patent Information
- Application Number
- CN202410763966.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-10
AI Technical Summary
Existing dual-domain models perform poorly in removing metal artifacts and preserving tissue structures such as bones in CT images, making it difficult to balance the tasks of removing artifacts and restoring image details.
Using prior image generation based on wavelet fusion, masked UNet's projection domain repair network and improved UNet's image domain repair network, combined with the dual-domain network model, through image preprocessing, mutual repair of the projection domain and image domain, the overall loss is designed The function weights each loss function and uses channel and spatial attention mechanisms for feature fusion and completion.
It effectively removes metal artifacts from CT images while retaining important tissue structures, improving image detail recovery capabilities and enhancing the model's performance in removing non-local artifacts.
Smart Images

Figure CN118628599A
Abstract
Description
Technical Field
[0001] The invention relates to a new method for removing artifacts, in particular to a new method for removing metal artifacts in CT images. Background Art
[0002] At present, computed tomography (CT) technology is widely used in clinical diagnosis. Due to the presence of metal implants in the human body, human tissue will produce beam hardening, photon starvation, scattering and other problems during CT scanning. The reconstructed CT image shows metal artifacts such as streaks, which seriously affects the image quality and reduces the accuracy of diagnosis. Traditional methods for removing CT metal artifacts (Metal Artifact Reduction, MAR), such as linear interpolation (LI), easily distort the tissue structure near the metal, resulting in over-smoothing, and easily introduce secondary artifacts; iterative reconstruction methods require manual design of regularization terms, and the amount of calculation is large and difficult to use in practice. At present, deep learning technology has made great progress in the field of computer vision. MAR methods based on deep learning can be divided into three methods: based on projection domain, image domain, and dual domain combination. Since metal artifacts have structured and non-local characteristics, simple image domain enhancement methods are not enough. At the same time, methods that attempt to reduce metal artifacts in the projection domain will inevitably produce secondary artifacts. Therefore, mutual learning based on image domain and projection domain is the current mainstream method for removing CT metal artifacts. However, the existing dual-domain models are usually difficult to repair the strong artifacts caused by large metal implants, and it is difficult to strike a balance between removing artifacts and preserving tissue structures such as bones. This requires a more reasonable design of the dual-domain network so that the deep learning model can better remove metal artifacts and restore tissue details in CT images. Summary of the invention
[0003] The main purpose of the present invention is to solve the problem that the existing dual-domain model cannot show good performance in removing metal artifacts and retaining tissue structures such as bones, and to provide a new method for removing metal artifacts from CT images.
[0004] The present invention provides a new method for removing metal artifacts from CT images, and the method comprises the following steps:
[0005] The first step is to create a simulated data set to construct a training set of damaged CT images;
[0006] The second step is to build a dual-domain network model, including image preprocessing, prior image generation based on wavelet fusion, construction of a projection domain restoration network based on mask UNet, construction of an image domain restoration network based on improved UNet, and design of the overall loss function of the dual-domain network model. The specific process is as follows:
[0007] Step 1, image preprocessing: threshold segmentation is performed on the damaged CT image to obtain the metal implant, and forward projection and binarization operations are performed on it to obtain a metal projection binary image; the CT image pixel values are converted, and a sinusoidal prior image is obtained through a linear interpolation algorithm; the sinusoidal prior image is filtered and back-projected to obtain a linear interpolation corrected CT image;
[0008] Step 2, generation of prior image based on wavelet fusion: using two-dimensional discrete wavelet transform to decompose the damaged CT image and the CT image corrected by linear interpolation respectively; performing fusion processing through fusion strategy; generating a prior image of the image domain network through inverse discrete wavelet transform;
[0009] Step 3. Construct a projection domain repair network based on mask UNet: concatenate the sinusoidal prior image and the metal projection binary image in the channel dimension; pass it into the initialized mask UNet network model for repair; add the repair result and the sinusoidal prior image to obtain the final projection domain repair result; design a loss function based on the projection domain image difference;
[0010] Step 4: Construct an image domain restoration network based on the improved UNet, transform the above-mentioned projection domain restoration result to the image domain through filtered back projection, and obtain the CT image corrected by the projection domain network. It is spliced with the prior image of the image domain network in the channel dimension, and is passed into the initialized UNet improved model. In the UNet improved model, the channel attention feature information at the channel level and the spatial level is captured by the series-connected channel attention (Squeeze-and-Excitation, SE) and pixel attention (Pixel Attention, PA) mechanism after each layer of convolutional blocks. Several simple residual blocks added to the BottleNeck module further expand the receptive field. The feature fusion (Attentional Feature Fusion, AFF) based on the attention mechanism is used in two adjacent layers to fuse the deep semantic information and the low-level detail information, and then spliced with the corresponding decoding layer to complete the feature completion; the restoration result is residually added to the prior image to obtain the final image domain restoration result; the loss function of the secondary artifact based on the image domain image difference and penalized reconstruction is designed;
[0011] Step 5: Design the overall loss function of the dual-domain network model, including a loss function based on the projection domain image difference, a loss function based on the image domain image difference and a secondary artifact loss function of penalized reconstruction, and weight each of the above loss functions;
[0012] In the third step, the metal artifacts of the clinical CT image affected by metal artifacts are removed by using the dual-domain network model obtained in the second step, and the size of the clinical CT image affected by metal artifacts is adjusted to be consistent with the size of the training image; the prior image and metal projection mask of the projection domain network are obtained through the image preprocessing in the second step; the prior image of the image domain network is obtained through the prior image generation based on wavelet fusion in the second step; the prior image of the projection domain network and the metal projection mask are repaired in the projection domain through the projection domain repair network based on mask UNet in the second step; the repaired result is transformed to the image domain and the prior image of the image domain network is repaired in the image domain through the image domain repair network based on improved UNet in the second step; the pixel unit of the repaired CT image is converted.
[0013] In the second step, the image fusion based on wavelet transform in step 2 generates the prior image of the image domain network. The specific method is as follows:
[0014] The db2 wavelet basis function is specified, and the damaged CT image and the linear interpolation corrected image are subjected to first-level wavelet decomposition based on two-dimensional discrete wavelet transform to obtain three high-frequency bands including horizontal, vertical and diagonal directions and a low-frequency band, and the high-frequency band and the low-frequency band are fused respectively. The fused wavelet coefficients and the specified wavelet basis function are reconstructed by two-dimensional wavelet to obtain the fused prior image.
[0015] The improved image domain network in step 4 of the second step is as follows:
[0016] (1) Perform filtered back-projection on the restoration result of the projection domain network to obtain the corresponding projection domain corrected CT image, which is then concatenated with the prior image obtained in step 2 in the channel dimension as the input of the improved UNet;
[0017] (2) In the improved UNet, a ConvBlock is first used to extract shallow feature information, and the number of channels is adjusted. Then, the information is passed to the improved UNet encoding layer. The convolutional block of the encoding layer consists of Max Pooling, ConvBlock and Attention. First, the size of the feature map is halved through a maximum pooling to reduce the number of network parameters. Then, ConvBlock is used to extract features. Then, the network adaptively learns the extracted feature information by adding the SE attention and PA attention mechanisms in series. The specific series attention mechanism is as follows: the input feature map first aggregates global information in the channel dimension through a global average pooling. The gating mechanism composed of two fully connected layers completely captures the channel dependency to obtain the channel attention coefficient. The input feature map is multiplied by the channel attention coefficient to obtain a weighted feature map at the channel level to implement the channel attention mechanism. Then, Conv1×1 is used to increase the cross-channel information interaction. The Sigmoid activation function is used to obtain the attention weight, which is multiplied with the weighted feature map at the channel level to calculate each pixel value to implement the pixel attention mechanism. Finally, the input and output are residually added to accelerate the training of the model.
[0018] Then, the four simple residual blocks added to the BottleNeck of the network further expand the convolution receptive field. Each residual block consists of a simple Conv3×3 and RELU activation function.
[0019] Finally, each layer in the decoding layer of the network is composed of ConvBlock, Attention and Up Conv, which mainly completes the learning of features and the restoration of image details. Different from the simple jump connection between the corresponding feature levels adopted by the mask UNet, the improved UNet uses the feature fusion mechanism AFF based on pixel attention to better complete the feature completion. Specifically, the output feature map of the x+1th layer of the encoding layer is upsampled by 2 times and then spliced with the output feature map of the xth layer in the channel dimension. After Conv1×1, the information between channels is integrated and the number of channels is adjusted. The feature weight is calculated by the Sigmoid function and then weighted with the output feature map of the xth layer, so that the network can effectively integrate the feature information of adjacent layers and make up for the feature loss caused by the downsampling operation. The feature map after AFF is spliced with the output feature map of the x+1th layer of the corresponding decoding layer in the channel dimension to be passed to the previous layer for decoding. Finally, the decoding layer also uses Conv1×1 to output the repair result.
[0020] (3) The residual of the network output is added to the prior image;
[0021] (4) The loss function of the image domain restoration network includes a loss function based on image difference in the image domain and a loss function that penalizes secondary artifacts of reconstruction.
[0022] Beneficial effects of the present invention:
[0023] The present invention provides a new method for removing metal artifacts from CT images. The prior image of the dual-domain network is first generated through an image preprocessing part and a prior image generation part, and then the projection domain is repaired through a mask UNet, and then the image domain is repaired through an improved UNet. The high-quality prior image generated by the image fusion method based on discrete wavelet transform reduces CT image artifacts while retaining important tissue structures such as bones, which is conducive to subsequent image domain repair; the improved UNet uses a lightweight channel and spatial attention mechanism to enable the network to autonomously learn feature information at the channel level and the spatial level, capture potential features in long-distance relationships, and ensure the model's high performance in removing non-local artifacts. At the same time, the upper and lower level feature fusion based on the pixel attention mechanism at the jump connection, rather than the traditional simple jump connection, can compensate for the feature loss caused by the downsampling operation during the encoding process of the network, further improve the model's repair ability, and generate accurate details of the CT image. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of the implementation process of the present invention.
[0025] Figure 2 This is a schematic diagram of the projection domain network structure described in the present invention.
[0026] Figure 3 Schematic diagram of the convolution block structure of the present invention.
[0027] Figure 4 Schematic diagram of the upsampling convolution block structure of the present invention.
[0028] Figure 5 This is a schematic diagram of the image domain network structure described in the present invention.
[0029] Figure 6 Schematic diagram of the serial attention structure described in the present invention.
[0030] Figure 7 Schematic diagram of the residual block structure of the present invention.
[0031] Figure 8 Schematic diagram of the cross-level attention feature fusion structure described in the present invention. DETAILED DESCRIPTION
[0032] See also Figures 1 to 8 As shown:
[0033] The present invention provides a new method for removing CT metal artifacts, and the specific method is as follows:
[0034] Required conditions: ordinary PC, operating system using Window 10, graphics card NVIDIA GeForce RTX 3090, deep learning framework Pytorch 1.9, compilation environment Python 3.8, use ODL (OperatorDiscretization Library) library to complete forward projection (FP) and filtered back projection (FBP) operations. ODL library is an open source library that provides methods for CT reconstruction. The address is: https: / / github.com / odlgroup / odl.
[0035] The specific steps are as follows:
[0036] Step 1: Create a simulated data set to construct a training set of damaged CT images.
[0037] 100 metal implants of different sizes and shapes were collected, and the metal material was titanium. 1000 CT images were selected from the public DeepLesion dataset, and 90,000 combinations of 90 metals were simulated as the training set; 200 CT images were randomly selected and 2000 combinations of 10 metals were simulated as the test set. The simulation used fan beam projection reconstruction, the X-ray source tube voltage was 120kVp, 640 projection views were uniformly sampled between 0-360°, the reconstructed CT image size was 416*416, and the sinogram size was 641*640.
[0038] Step 2: Build a dual-domain network model.
[0039] The construction process of the dual-domain network to achieve the MAR task includes: image preprocessing; prior image generation based on wavelet fusion; projection domain restoration network based on mask UNet; image domain restoration network based on improved UNet; design of the overall loss function of the dual-domain network model. The construction process is as follows Figure 1 shown.
[0040] Step 1: Image preprocessing. The specific process is as follows.
[0041] (1) Segment the metal from the damaged CT image according to the empirical threshold (2000HU), and perform forward projection on the segmented metal to obtain the metal projection M p , and then binarize its projection value to obtain the metal projection binary map T r , the formula is as follows,
[0042] M p =FP(Metal) (1)
[0043] T r =δ(M p ) (2)
[0044] Where FP represents forward projection using the ODL tool library, and δ(·) represents the binarization operation.
[0045] (2) The pixel value of the damaged CT image is converted from CT value (unit: HU), i.e. CT value Converted to linear attenuation coefficient CT coeff , the conversion formula is as follows,
[0046]
[0047] where μ ω is the linear attenuation coefficient of water, which is taken as 0.192.
[0048] (3) The converted CT image is denoted as X ma , forward project it to obtain the damaged sinusoidal graph S ma , according to the metal projection binary map T r Perform linear interpolation correction on the damaged sinusoidal graph. The formula is as follows:
[0049] S LI =LI(S ma , T r ) (4)
[0050] Where LI(·) represents the linear interpolation algorithm, according to S ma Medium T r The pixel value estimate T near the area r The value in the region, T r The area is the area affected by the metal implant.
[0051] (4) S LI Perform filtered back projection to obtain the CT image X after linear interpolation correction LI .
[0052] Step 2: Generate a priori image based on wavelet fusion. The specific process is as follows.
[0053] (1) Specify the db2 wavelet basis function, and set X ma With X LI Two-dimensional discrete wavelet transform is used to perform primary wavelet decomposition to obtain three high-frequency bands (horizontal, vertical and diagonal directions) and one low-frequency band.
[0054] (2) For the low frequency band, take X ma 80% with X LIFor the high frequency band, take the average value of the sum of the corresponding frequency bands of the two for fusion processing.
[0055] (3) The fused wavelet coefficients and the specified wavelet basis functions are reconstructed by two-dimensional wavelet to obtain the fused prior image, denoted as X prior The formula is described as follows,
[0056]
[0057] where ω(·) represents discrete wavelet transform, represents fusion processing, ω -1 (·) represents inverse discrete wavelet transform.
[0058] Step 3: Construct a projection domain restoration network based on mask UNet, whose structure is as follows: Figure 2 As shown, the specific process is as follows.
[0059] (1) Input S LI With the mask image T r Concatenate in the channel dimension as input to the mask UNet.
[0060] (2) Each layer of the masked UNet encoding layer consists of a convolution block and a maximum pooling block. The convolution block includes two groups of Conv3×3, instance normalization, and LeakyReLu activation functions, such as Figure 3 As shown in the figure, the local feature information is effectively fused through the 3×3 convolution kernel, and then each channel is normalized through instance normalization to accelerate the convergence of the model. Finally, the robustness of the model is improved through the activation function. The number of channels is doubled after the convolution block, and the size of the feature map is halved through maximum pooling. At the same time, the mask image is average-pooled and concatenated with the corresponding feature map of the encoding layer in the channel dimension, and then passed to the next layer of encoding.
[0061] Each layer of the decoding layer consists of a convolution block and an upsampling convolution block. The convolution block is used to restore the image detail information, and then the upsampling convolution block is used to expand the size of the feature map and adjust the number of channels to half of the current one. Figure 4 As shown in the figure, it includes bilinear upsampling, a set of Conv3×3, instance normalization and LeakyReLu activation functions. The feature map after the upsampling convolution block is concatenated with the feature map of the encoding layer at the same depth in the channel dimension to complete the feature completion, and then continues to be passed to the previous layer for decoding. The last layer of the decoding layer uses a 1×1 convolution kernel to output the repaired sinusoidal image.
[0062] (3) Multiply the network output by the mask to make the network focus on repairing the projection value within the metal trace, and then multiply it by S LI Add the residuals to get the repaired sinusoidal image Sout , the calculation formula is as follows,
[0063] S out =S LI +Gs(S LI ,T r )*T r (6)
[0064] Where Gs represents the projection domain network.
[0065] (4) The projection domain repair network uses the L1 loss function to penalize the inconsistency of a single projection value, and then adjusts the learning parameters of the model. The calculation formula is as follows:
[0066] Loss sino =||S gt *T r -S out *T r || 1 (7)
[0067] Where S gt Represents a metal-free and artifact-free sinusoidal image.
[0068] Step 4: Build an image domain restoration network based on the improved UNet, whose structure is as follows Figure 5 As shown, the specific process is as follows.
[0069] (1) S out Perform filtered back projection to obtain the corresponding projection domain corrected CT image, denoted as X prior and Concatenate in the channel dimension as input to the improved UNet.
[0070] (2) In the improved UNet model, a ConvBlock is first used to extract shallow feature information, and the number of channels is adjusted to C (value is 64), and then it is passed to the improved UNet encoding layer. The convolution block of the encoding layer consists of Max Pooling, ConvBlock and Attention. First, the size of the feature map is halved through a maximum pooling to reduce the number of network parameters, and then the feature is extracted through ConvBlock. Then, the network is adaptively learned by adding the SE attention and PA attention mechanisms in series. The Attention structure is as follows Figure 6As shown in the figure, the input feature map first aggregates global information in the channel dimension through a global average pooling. The gating mechanism composed of two fully connected layers completely captures the channel dependency and obtains the channel attention coefficient. The input feature map is multiplied by the channel attention coefficient to obtain the weighted feature map at the channel level to realize the channel attention mechanism. Then, Conv1×1 is used to increase the cross-channel information interaction, and the Sigmoid activation function is used to obtain the attention weight, which is multiplied with the channel level weighted feature map to calculate each pixel value to realize the pixel attention mechanism. Finally, the input and output are residually added to accelerate the training of the model.
[0071] Then, the four simple residual blocks added to the BottleNeck of the network further expand the convolution receptive field. Its structure is as follows: Figure 7 As shown, it consists of a simple Conv3×3 and RELU activation function.
[0072] Finally, each layer in the decoding layer of the network consists of ConvBlock, Attention and Up Conv, which mainly completes feature learning and image detail recovery. Different from the simple jump connection between the corresponding feature levels adopted by the mask UNet, the improved UNet uses the feature fusion mechanism AFF based on pixel attention to better complete feature completion. Its structure is as follows Figure 8 As shown in the figure, specifically: the output feature map of the x+1th layer of the encoding layer is upsampled by 2 times and then concatenated with the output feature map of the xth layer in the channel dimension. After Conv 1×1, the information between channels is integrated and the number of channels is adjusted. The feature weight is calculated by the Sigmoid function and then weighted with the output feature map of the xth layer, so that the network can effectively integrate the feature information of adjacent layers and make up for the feature loss caused by the downsampling operation. The feature map after AFF is concatenated with the output feature map of the x+1th layer of the corresponding decoding layer in the channel dimension to be passed to the previous layer for decoding. Finally, the decoding layer also uses Conv1×1 to output the repair result.
[0073] (3) The residual of the network output is added to the prior image. The calculation formula is as follows:
[0074]
[0075] Where Gx represents the image domain restoration network.
[0076] (4) The loss function of the image domain restoration network, including the loss function based on the image domain image difference Loss img And the loss function Loss that penalizes the secondary artifacts of reconstruction FBP , respectively calculated as follows:
[0077] The loss function based on image difference in image domain is calculated as follows:
[0078] Loss img =‖X gt *(1-MASK)-X out *(1-MASK)‖ 1 (9)
[0079] Since the modification of the projection domain value is very likely to introduce secondary artifacts, Loss is used FBP Penalize new artifacts in the reconstructed CT image, the calculation formula is as follows,
[0080]
[0081] Where MASK represents the metal mask, X gt represents a metal-free and artifact-free CT image, and FBP represents filtered back projection using the ODL tool library.
[0082] Step 5: The overall loss function of the dual-domain network is to weight the above loss functions. The formula is as follows:
[0083] Loss total =α*Loss sino +β*Loss FBP +γ*Loss img (12)
[0084] Among them, α, β, and γ are used as weights, and their values are set to 1.
[0085] Step 3: The clinical CT images affected by metal artifacts are removed using the dual-domain network model obtained in the second step. The specific process is as follows.
[0086] (1) Adjust the size of clinical CT images affected by metal artifacts to be consistent with the training image size, that is, 416*416.
[0087] (2) Through the image preprocessing in the second step, the metal projection binary image T is obtained r , sinusoidal prior image S LI , and S LI X after filtered back projection LI ,The pixel unit of clinical CT images is converted from CT value to linear attenuation coefficient.
[0088] (3) X LI The clinical CT image affected by metal artifacts is generated by the prior image based on wavelet fusion in the second step to obtain the prior image X of the image domain network. prior .
[0089] (4) S LIWith T r As the input of the mask UNet network in the second step, the projection values within the metal trace area are focused on repairing.
[0090] (5) The sinusoidal image repaired in the projection domain is transformed into the image domain through the filtered back-projection operation to obtain Will With X prior The improved UNet in the second step is used to repair the image domain and output the final CT image without metal artifacts.
[0091] (6) Convert the pixel unit of the CT image to the CT value. Convert the pixel value of the repaired CT image from the attenuation coefficient to the CT value (unit: HU). The calculation formula is as follows:
[0092] CT value =(CT coeff -μ ω ) / μ ω *1000 (13).
Claims
1. A new method for removing metal artifacts from CT images, characterized by: The method comprises the following steps: The first step is to create a simulated data set to construct a training set of damaged CT images; The second step is to build a dual-domain network model, including image preprocessing, prior image generation based on wavelet fusion, construction of a projection domain restoration network based on mask UNet, construction of an image domain restoration network based on improved UNet, and design of the overall loss function of the dual-domain network model. The specific process is as follows: Step 1, image preprocessing: threshold segmentation is performed on the damaged CT image to obtain the metal implant, and forward projection and binarization operations are performed on it to obtain a metal projection binary image; the CT image pixel values are converted, and a sinusoidal prior image is obtained through a linear interpolation algorithm; the sinusoidal prior image is filtered and back-projected to obtain a linear interpolation corrected CT image; Step 2, generation of prior image based on wavelet fusion: using two-dimensional discrete wavelet transform to decompose the damaged CT image and the CT image corrected by linear interpolation respectively; performing fusion processing through fusion strategy; generating a prior image of the image domain network through inverse discrete wavelet transform; Step 3: Construct a projection domain inpainting network based on mask UNet: concatenate the sinusoidal prior image and the metal projection binary image in the channel dimension; It is passed into the initialized mask UNet network model for repair; the repair result is added to the residual of the sinusoidal prior image to obtain the final projection domain repair result; Design a loss function based on the image difference in the projection domain; Step 4: Construct an image domain restoration network based on the improved UNet, transform the above-mentioned projection domain restoration results to the image domain through filtered back projection, and obtain the CT image corrected by the projection domain network. It is spliced with the prior image of the image domain network in the channel dimension, and is passed into the initialized UNet improved model. In the UNet improved model, the channel attention SE and pixel attention mechanism PA are connected in series after each convolution block to capture the attention feature information at the channel level and the spatial level. Several simple residual blocks added to the BottleNeck module further expand the receptive field. The feature fusion AFF based on the attention mechanism is used in the adjacent two layers to fuse the deep semantic information and the low-level detail information, and then spliced with the corresponding decoding layer to complete the feature completion; The repaired result is added to the prior image residual to obtain the final image domain repair result; a loss function based on image domain image difference and penalized reconstruction of secondary artifacts is designed; Step 5: Design the overall loss function of the dual-domain network model, including a loss function based on the projection domain image difference, a loss function based on the image domain image difference and a secondary artifact loss function of penalized reconstruction, and weight each of the above loss functions; The third step is to use the dual-domain network model obtained in the second step to remove metal artifacts from the clinical CT images affected by metal artifacts, and adjust the size of the clinical CT images affected by metal artifacts to be consistent with the size of the training images; through the image preprocessing in the second step, the prior image and metal projection mask of the projection domain network are obtained; through the prior image generation based on wavelet fusion in the second step, the prior image of the image domain network is obtained; the prior image of the projection domain network and the metal projection mask are repaired in the projection domain through the projection domain repair network based on mask UNet in the second step; After the repaired result is transformed into the image domain, it is repaired in the image domain through the image domain repair network based on the improved UNet in the second step together with the prior image of the image domain network; the pixel units of the repaired CT image are converted.
2. The new method for removing metal artifacts from CT images according to claim 1 is characterized by: In the second step 2, the image fusion based on wavelet transform generates a priori image of the image domain network, and the specific method is as follows: The db2 wavelet basis function is specified, and the damaged CT image and the linear interpolation corrected image are subjected to first-level wavelet decomposition based on two-dimensional discrete wavelet transform to obtain three high-frequency bands including horizontal, vertical and diagonal directions and a low-frequency band, and the high-frequency band and the low-frequency band are fused respectively. The fused wavelet coefficients and the specified wavelet basis function are reconstructed by two-dimensional wavelet to obtain the fused prior image.
3. The new method for removing metal artifacts from CT images according to claim 1 is characterized by: The improved image domain network in the second step 4 is as follows: (1) Perform filtered back-projection on the restoration result of the projection domain network to obtain the corresponding projection domain corrected CT image, which is then concatenated with the prior image obtained in step 2 in the channel dimension as the input of the improved UNet; (2) In the improved UNet, a ConvBlock is first used to extract shallow feature information, and the number of channels is adjusted. Then, the information is passed to the improved UNet encoding layer. The convolutional block of the encoding layer consists of Max Pooling, ConvBlock and Attention. First, the size of the feature map is halved through a maximum pooling to reduce the number of network parameters. Then, ConvBlock is used to extract features. Then, the network adaptively learns the extracted feature information by adding the SE attention and PA attention mechanisms in series. The specific series attention mechanism is as follows: the input feature map first aggregates global information in the channel dimension through a global average pooling. The gating mechanism composed of two fully connected layers completely captures the channel dependency to obtain the channel attention coefficient. The input feature map is multiplied by the channel attention coefficient to obtain a weighted feature map at the channel level to implement the channel attention mechanism. Then, Conv1×1 is used to increase the cross-channel information interaction. The Sigmoid activation function is used to obtain the attention weight, which is multiplied with the weighted feature map at the channel level to calculate each pixel value to implement the pixel attention mechanism. Finally, the input and output are residually added to accelerate the training of the model. Then, the four simple residual blocks added to the BottleNeck of the network further expand the convolution receptive field. Each residual block consists of a simple Conv3×3 and RELU activation function. Finally, each layer in the decoding layer of the network is composed of ConvBlock, Attention and Up Conv, which mainly completes the learning of features and the restoration of image details. Different from the simple jump connection between the corresponding feature levels adopted by the mask UNet, the improved UNet uses the feature fusion mechanism AFF based on pixel attention to better complete the feature completion. Specifically, the output feature map of the x+1th layer of the encoding layer is upsampled by 2 times and then spliced with the output feature map of the xth layer in the channel dimension. After Conv1×1, the information between channels is integrated and the number of channels is adjusted. The feature weight is calculated by the Sigmoid function and then weighted with the output feature map of the xth layer, so that the network can effectively integrate the feature information of adjacent layers and make up for the feature loss caused by the downsampling operation. The feature map after AFF is spliced with the output feature map of the x+1th layer of the corresponding decoding layer in the channel dimension to be passed to the previous layer for decoding. Finally, the decoding layer also uses Conv1×1 to output the repair result. (3) The residual of the network output is added to the prior image; (4) The loss function of the image domain restoration network includes a loss function based on image difference in the image domain and a loss function that penalizes secondary artifacts of reconstruction.
Citation Information
Cited By
Method for removing metal artifacts from radiotherapy positioning CT image
CN118967864A
A method for metal artifact removal in CT images based on dual-domain progressive enhancement network
CN119251349B
Image restoration method based on diffusion mode and prior feature generation and related device
CN120088170A
Ultrasound image artifact restoration method, program product, electronic equipment and storage medium
CN120219243A
Double-domain artifact correction method based on multi-level data and physical prior fusion
CN121329834A
