A deep learning approach for simultaneous low-dose CT reconstruction and metal artifact correction

Through the multi-scale adaptive deep sparse transformation network, the problem of poor interpretability and high computational cost of metal artifact correction in low-dose CT reconstruction is solved, high-precision metal artifact correction is achieved, and it is stable between different scanners. certain applicability.

CN117726705BActive Publication Date: 2024-10-22YANSHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311747526.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2024-10-22
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

Existing low-dose CT reconstruction methods have problems with poor interpretability, high computational cost, insufficient generalization, and the introduction of secondary artifacts in metal artifact correction, and the existing CT metal artifact correction technology lacks model interpretability and The large number of parameters makes it difficult to apply between different scanners.

Method used

Uses multi-scale adaptive deep sparse transformation network, including multi-scale adaptive deep sparse transformation, threshold generation network based on signal-to-noise ratio awareness and SAM edge-aware Transformer, lightweight aggregation module SAA, and multi-scale adaptive deep sparse transformation Inverse transformation extracts multi-scale information through multi-layer convolution, soft threshold processing and depth sparse inverse transformation to construct a high-precision metal artifact correction method that does not require string domain data.

Benefits of technology

It achieves high-precision metal artifact correction, has certain interpretability, can make full use of the multi-scale information of CT images, reduces computational costs, and has certain applicability between different scanners.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117726705B_ABST
    Figure CN117726705B_ABST
Patent Text Reader

Abstract

The present invention discloses a deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction, comprising the following steps: step S1, constructing a multi-scale adaptive deep sparse transformation network model for low-dose CT reconstruction and metal artifact correction; step S2, training a multi-scale adaptive deep sparse transformation network; step S3, inputting a low-dose CT image containing metal artifacts and a metal mask into the constructed image domain optimal network model, and the output of the multi-scale adaptive deep sparse transformation network is a CT image after metal artifact correction. The present invention is one of the few methods for low-dose CT reconstruction in the presence of metal implants, has certain interpretability, does not require the use of difficult-to-obtain chordal domain data, and has high-precision metal artifact correction performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer medical imaging technology, and in particular to a deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction, which can be used for clinical low-dose CT image enhancement and high-precision CT metal artifact correction. Background Art

[0002] Computed tomography (CT) is a nondestructive testing technology that has been widely used in many fields such as medicine and industry. However, too much X-rays can affect the human immune function and even damage genes. The reduction of X-ray dose will produce noise and artifacts in the reconstructed image, so the research on low-dose CT (LDCT) has important practical application value. In addition, in medicine, this technology uses X-rays to scan specific parts of the human body, and reconstructs the tomographic image of the scan data according to the different absorption capabilities of different human tissues to X-rays. When there is metal or other high-density materials in the human body, the corresponding projection data will be contaminated, and metal artifacts will appear in the reconstructed image. The presence of metal artifacts will seriously reduce the quality of the image, thereby affecting the doctor's diagnosis. Therefore, it is of great significance to study the technology of CT metal artifact correction and improve the quality of reconstructed images in the discipline of radiological diagnosis.

[0003] Existing LDCT reconstruction methods can be divided into three categories: chordal filtering technology, iterative reconstruction technology and image post-processing. Among them, chordal filtering technology refers to filtering the original chordal domain image of CT, and then performing FBP to obtain the reconstructed CT image. However, due to the difficulty in obtaining the original CT data, this technology has not been effectively promoted. Iterative reconstruction (IR) is to solve this problem iteratively with the help of prior information, such as the statistical characteristics of the data in the sinusoidal domain, the prior information in the image domain, and even the parameters of the imaging system. The popular algorithms in IR are total variation (TV), non-local means (NLM) and dictionary learning. These iterative reconstruction-based methods take into account the physical acquisition process and have achieved promising results. In fact, it has been implemented on some existing CT scanners. One of the disadvantages of these methods is that it is only useful for specific vendors, because the detailed information of the scanner's geometry and correction steps is not available to users and other vendors, so its generalization is poor. Another disadvantage is the high computational cost, which is a bottleneck in practical applications. Image post-processing algorithms include non-local mean, three-dimensional block matching and sparse representation algorithms, all of which can suppress noise and artifacts to a certain extent, such as those based on convolutional neural network (CNN), codec structure, WavResNet, etc. In addition, the existing CT metal artifact correction techniques are mainly divided into traditional metal artifact correction methods and metal artifact correction methods based on deep learning. Traditional metal artifact correction methods are mainly divided into three categories: physical effect correction, sine domain interpolation and iterative reconstruction. Physical effect correction models the potential physical effect of beam hardening and then directly corrects the area affected by metal in the sine domain. When the metal implant is a high-atomic-number metal, the correction will produce unsatisfactory results. Sine domain interpolation uses various interpolation techniques to replace the metal-contaminated parts of the original projection data. However, this method can easily introduce secondary artifacts, causing serious deformation of the structure of the part with severe metal artifacts in the reconstructed image. Iterative reconstruction technology is to reconstruct a clean CT image from the observed sinusoidal image, which is usually very time-consuming and the parameter adjustment is very cumbersome. According to the different domain knowledge used, deep learning-based methods are mainly divided into three categories: image domain methods, sine domain methods, and dual-domain methods. The image domain network regards metal artifact correction as an image restoration problem and directly corrects metal artifacts without using sine domain data. In image domain networks, consistency constraints are often ignored. The sine domain method replaces the damaged data by using a deep convolutional neural network to generate data in the metal trace area. This method usually introduces serious secondary artifacts. In order to solve the above problems, the dual domain method came into being and has become the mainstream today.However, the current dual-domain methods generally lack model interpretability, have huge network parameters, and require paired CT images. In summary, although there are many existing CT metal artifact correction methods, they all have their own limitations. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction. It is one of the few methods for low-dose CT reconstruction in the presence of metal implants. It has a certain degree of interpretability, does not require the use of difficult-to-obtain chordal domain data, and has high-precision metal artifact correction performance.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction, comprising the following steps:

[0006] Step S1, constructing a multi-scale adaptive deep sparse transform network model for low-dose CT reconstruction and metal artifact correction, wherein the multi-scale adaptive deep sparse transform network model includes a multi-scale adaptive deep sparse transform, a threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer, a lightweight aggregation module SAA, and a multi-scale adaptive deep sparse inverse transform;

[0007] Step S2: training a multi-scale adaptive deep sparse transformation network:

[0008] Step S2.1, prepare the data set, use the collected artifact-free low-dose CT images to perform positive projection to obtain the sinusoidal graph s to synthesize the sinusoidal graph s of metal contamination ma , and perform a filtered back-projection operation to obtain the metal contamination CT image x ma , crop the CT images and sinograms to the set size, divide them into training set and test set, set the maximum number of training times, and initialize the training parameters;

[0009] Step S2.2, the reconstruction and metal artifact correction tasks of low-dose CT images containing metal artifacts are regarded as an inverse image problem, an optimization model based on a multi-scale adaptive deep sparse transform network model is established, a linear interpolation operation is performed on the metal-contaminated low-dose CT image and the metal mask, the obtained result and the metal mask are input into the multi-scale adaptive deep sparse transform network model, and an enhanced reconstructed CT image is output;

[0010] Step S2.3, calculate the loss function of the multi-scale adaptive deep sparse transform network model: use the gradient descent algorithm to solve and find the learnable parameters when the loss function takes the minimum value. If the maximum number of training times of the multi-scale adaptive deep sparse transform network model is not reached, repeat step S2.2, update the network parameters, and obtain the optimal network model of the multi-scale adaptive deep sparse transform network after the training.

[0011] Step S3: Input a low-dose CT image x containing metal artifacts into the constructed image domain optimal network model. ma and metal mask m, the output of the multi-scale adaptive deep sparse transformation network is the CT image after metal artifact correction.

[0012] The further improvement of the technical solution of the present invention is that the step S1 constructs a multi-scale adaptive deep sparse transformation network: specifically includes the following processes: constructing a multi-scale adaptive deep sparse transformation, constructing a threshold generation network based on signal-to-noise ratio perception and SAM edge perception Transformer, constructing a lightweight aggregation module SAA, and constructing a multi-scale adaptive deep sparse inverse transformation; the multi-scale adaptive deep sparse transformation uses multi-layer convolution to extract the multi-scale information of the input low-dose CT image containing metal artifacts, and performs multiple sparse transformations at each scale to obtain a more powerful representation capability, the signal-to-noise ratio perception based deep sparse transformation is to extract the multi-scale information of the input low-dose CT image containing metal artifacts by multi-layer convolution, and perform ... The threshold generation network of the Zhihe SAM edge-aware Transformer obtains a result as the threshold of the soft threshold algorithm based on the signal-to-noise ratio information and SAM edge-aware information at the scale and the encoded corresponding scale information; the lightweight aggregation module SAA fuses the information between two adjacent scales in the multi-scale adaptive deep sparse inverse transform to improve the network effect; the multi-scale adaptive deep sparse inverse transform is the inverse process of the multi-scale adaptive deep sparse inverse transform, which recovers the original information from the representation, and finally obtains the final low-dose CT reconstructed image after metal artifact correction through a residual connection.

[0013] A further improvement of the technical solution of the present invention is that: step S2.2 divides the low-dose CT image containing metal artifacts into four scales in turn, and performs three-layer sparse transformation on each scale to extract rich information on multiple scales respectively and obtain higher representation capability.

[0014] A further improvement of the technical solution of the present invention is that: the step S2.2 performs soft threshold processing on the feature map after each scale sparse transformation, and the threshold generation network based on the signal-to-noise ratio perception and SAM edge-aware Transformer generates the threshold required by the soft threshold algorithm. The threshold generation network based on the signal-to-noise ratio perception and SAM edge-aware Transformer consists of three modules: a binary mask extraction module, a signal-to-noise ratio perception and SAM edge-aware multi-head self-attention SNR and SAM-Aware MSA module and a fully connected feedforward network FFN module.

[0015] The further improvement of the technical solution of the present invention is that: the binary mask extraction module refers to: using a simple denoising algorithm to denoise the input low-dose image containing metal artifacts, calculating the signal-to-noise ratio of the image after preliminary denoising and the original image to obtain a signal-to-noise ratio feature map, applying a threshold function to the signal-to-noise ratio feature map to obtain a signal-to-noise ratio binary mask, wherein the area with a large signal-to-noise ratio is 1, and the area with a small signal-to-noise ratio is 0; then, using a pre-trained SAM large model network to extract edge features to obtain a SAM binary mask, wherein the edge area is 1, and other areas are 0; the signal-to-noise ratio binary mask and the SAM binary mask are ORed to obtain a binary mask U′ that includes both signal-to-noise ratio information and edge information.

[0016] The further improvement of the technical solution of the present invention is: the specific steps of the multi-head self-attention SNR and SAM-Aware MSA module of signal-to-noise ratio perception and SAM edge perception: the feature vector f m The corresponding matrix form Divide F into d feature blocks d feature blocks cover the entire feature map F, and d feature blocks are expanded into a one-dimensional feature F in =[F1,...,F d ], and use the standard multi-head self-attention method to obtain Q, K and V. This process can be expressed as:

[0017]

[0018] Where LN(·) represents layer normalization, and Representing the projection matrix of the h-th head in the Transformer, Q, K, and V are input into the SNR and SAM-Aware MSA module, and the output is expressed as:

[0019]

[0020] Where MSA(·) represents the SNR and SAM-Aware MSA network step. Next, Input into the FFN network, the output is represented as:

[0021]

[0022] The output F out =[F1′,...,F′ d ] can be fused into the feature matrix F l , and its corresponding vector form is f l .

[0023] The further improvement of the technical solution of the present invention is that: the specific steps of SNR and SAM-Aware MSA: a binary mask U′ including both signal-to-noise ratio information and edge information. Assuming that SNR and SAM-Aware MSA has H heads, the self-attention calculation of the hth head is expressed as:

[0024]

[0025] in is used for normalization, σ is a small negative value, all head outputs are concatenated by channel, and linearly projected to produce the final output. This process can be expressed as:

[0026] MultiHead(Q′,K′,V′)=Concat(head1,...,head h )Z A <5>

[0027] Among them head h =Attention(Q h ,K h ,V h ), Z A is the projection matrix, Q′, K′ and V′ are the channel concatenations of all heads respectively.

[0028] A further improvement of the technical solution of the present invention is that the lightweight aggregation module SAA in step S2.2 involves shuffling and grouping features of different granularities generated by multiple scales. The specific process is: selecting a channel from each scale to construct a group, and then using the inverse bottleneck structure to perform upper and lower feature fusion operations in each group, thereby enhancing the diversity of multi-scale features. Finally, point-by-point convolution is used to aggregate cross-group information of all features to achieve cross-fusion of global information. The process of SAA is described as follows:

[0029] M=W inter ([G1,G2,...,G M ]),

[0030]

[0031]

[0032] Where W inter and W intra is the weight matrix of the point-wise convolution, j∈{1,2,...,N} and i∈{1,2}, where N and Represent the number of heads and groups respectively. Here, represents the jth head with depthwise convolution, represents the i-th channel in the j-th head.

[0033] A further improvement of the technical solution of the present invention is that: step S2.2 performs three-layer deep sparse inverse transform operations at four scales on the feature vector after soft threshold processing and SAA in sequence, and finally obtains a low-dose CT reconstructed image after metal artifact correction through a residual connection.

[0034] A further improvement of the technical solution of the present invention is that the direction of the function gradient in the gradient descent iterative algorithm in step S2.3 points to the direction in which the function increases fastest, and in each iteration, the variable is updated according to the current corresponding function gradient and step size, and the local optimal point of the objective function is finally reached by continuous iteration.

[0035] The loss function of the multi-scale adaptive deep sparse transformation network model is as follows:

[0036]

[0037] where x gt is the clean CT image and x is the reconstructed CT image.

[0038] Due to the adoption of the above technical solution, the technical progress achieved by the present invention is:

[0039] 1. The deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction provided by the present invention is one of the few methods for low-dose CT reconstruction in the presence of metal implants. It has a certain degree of interpretability, does not require the use of difficult-to-obtain chordal domain data, and has high-precision metal artifact correction performance;

[0040] 2. The present invention adopts a multi-scale adaptive deep sparse transformation structure, that is, four sparse transformation blocks are used to extract features at four scales, and three layers of sparse transformation are performed at each scale to extract rich information at each scale and obtain higher representation capabilities. Soft threshold processing is performed on the feature map after sparse transformation at each scale, and the threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer generates the threshold required by the soft threshold algorithm, and finally the deep sparse inverse transformation operations of each scale are performed in sequence. This strategy can make more full use of the multi-scale information of CT images.

[0041] 3. The present invention constructs a signal-to-noise ratio-aware and SAM edge information-aware transformer threshold generation network, in which the edge information extracted by the signal-to-noise ratio and edge information is used to guide the self-attention calculation in the Transformer, so that the CT image can be completed more effectively and the structural information of the CT image can be restored at the same time.

[0042] 4. Different from previous methods, this invention uses a novel fusion module, Scale-Aware Aggregation, or SAA module, which is a new lightweight aggregation module. SAA involves shuffling and grouping the features of different scales generated by the encoder. Specifically, we select a channel from each scale to build a group, and then use the inverse bottleneck structure to perform upper and lower feature fusion operations in each head, thereby enhancing the diversity of multi-scale features. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is the overall flow chart of the present invention;

[0044] Figure 2 It is a network architecture diagram of the multi-scale adaptive deep sparse transformation network of the present invention;

[0045] Figure 3 It is a structural diagram of the signal-to-noise ratio perception and SAM edge information perception transformer threshold generation network of the present invention;

[0046] Figure 4 is a schematic diagram of the results of the method proposed by the present invention in the LDCT data set of the embodiment;

[0047] Figure 5 It is a comparison diagram of the results after the LDCT+MAR data set artifact correction method in the embodiment. DETAILED DESCRIPTION

[0048] The present invention is further described in detail below in conjunction with embodiments:

[0049] like Figure 1As shown, a deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction includes the following steps:

[0050] Step S1, constructing a multi-scale adaptive deep sparse transform network model for low-dose CT reconstruction and metal artifact correction, the multi-scale adaptive deep sparse transform network model includes a multi-scale adaptive deep sparse transform, a threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer, a lightweight aggregation module SAA and a multi-scale adaptive deep sparse inverse transform.

[0051] Constructing a multi-scale adaptive deep sparse transformation network: The specific process includes the following:

[0052] A multi-scale adaptive deep sparse transform, a threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer, a lightweight aggregation module SAA, and a multi-scale adaptive deep sparse inverse transform are constructed; the multi-scale adaptive deep sparse transform uses multi-layer convolution to extract multi-scale information of the input low-dose CT image containing metal artifacts, and performs multiple sparse transforms at each scale to obtain a more powerful representation capability; the threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer obtains a result as the threshold of the soft threshold algorithm based on the signal-to-noise ratio information and SAM edge-aware information at the scale and the encoded corresponding scale information; the lightweight aggregation module SAA fuses the information between two adjacent scales in the multi-scale adaptive deep sparse inverse transform to improve the network effect; the multi-scale adaptive deep sparse inverse transform is the inverse process of the multi-scale adaptive deep sparse inverse transform, recovers the original information from the representation, and finally obtains the final metal artifact corrected low-dose CT reconstructed image through a residual connection.

[0053] Step S2: training a multi-scale adaptive deep sparse transformation network:

[0054] Step S2.1, prepare the data set, use the collected artifact-free low-dose CT images to perform positive projection to obtain the sinusoidal graph s to synthesize the sinusoidal graph s of metal contamination ma , and perform a filtered back-projection operation to obtain the metal contamination CT image x ma , crop the CT images and sinograms to the set size, and divide them into training set and test set. In one embodiment, all CT images are resized to 416×416, and sinograms are resized to 641×640. Set the maximum number of training times and initialize the training parameters;

[0055] Step S2.2: The reconstruction and correction tasks of low-dose CT images containing metal artifacts are regarded as inverse image problems. An optimization model based on a multi-scale adaptive deep sparse transform network model is established. Linear interpolation operations are performed on the metal-contaminated low-dose CT images and the metal masks. The obtained results and the metal masks are input into the multi-scale adaptive deep sparse transform network model to output an enhanced reconstructed CT image.

[0056] The specific process is as follows:

[0057] like Figure 2 As shown, the low-dose CT image containing metal artifacts is divided into four scales in turn, and three layers of sparse transformation are performed on each scale to extract rich information at multiple scales and obtain higher representation capabilities.

[0058] Soft threshold processing is performed on the feature map after each scale sparse transformation, and the threshold generation network based on signal-to-noise ratio perception and SAM edge perception Transformer generates the threshold required by the soft threshold algorithm, such as Figure 3 As shown in the figure, the threshold generation network based on SNR-aware and SAM-aware Transformer consists of three modules: a binary mask extraction module, a SNR-aware and SAM-aware multi-head self-attention SNR and SAM-Aware MSA module, and a fully connected feedforward network FFN module.

[0059] The binary mask extraction module refers to: Figure 3 As shown in the figure, a simple denoising algorithm is used to denoise the input low-dose image containing metal artifacts, and the signal-to-noise ratio of the image after preliminary denoising and the original image is calculated to obtain a signal-to-noise ratio feature map. A threshold function is applied to the signal-to-noise ratio feature map to obtain a signal-to-noise ratio binary mask, in which the area with a large signal-to-noise ratio is 1, and the area with a small signal-to-noise ratio is 0; then, the pre-trained SAM large model network is used to extract edge features to obtain a SAM binary mask, in which the edge area is 1 and other areas are 0; the signal-to-noise ratio binary mask and the SAM binary mask are ORed to obtain a binary mask U′ that includes both signal-to-noise ratio information and edge information.

[0060] The specific steps of the SNR and SAM-Aware MSA module are as follows: Figure 3 As shown, the eigenvector f m The corresponding matrix form Divide F into d feature blocks d feature blocks cover the entire feature map F, and d feature blocks are expanded into a one-dimensional feature F in =[F1,...,F d], and use the standard multi-head self-attention method to obtain Q, K and V. This process can be expressed as:

[0061]

[0062] Where LN(·) represents layer normalization, and Representing the projection matrix of the h-th head in the Transformer, Q, K, and V are input into the SNR and SAM-Aware MSA module, and the output is expressed as:

[0063]

[0064] Where MSA(·) represents the SNR and SAM-Aware MSA network step. Next, Input into the FFN network, the output is represented as:

[0065]

[0066] The output F out =[F1′,...,F′ d ] can be fused into the feature matrix F l , and its corresponding vector form is f l .

[0067] The specific steps of SNR and SAM-Aware MSA are: A binary mask U′ including both SNR information and edge information. Assuming that SNR and SAM-Aware MSA has H heads, the self-attention calculation of the hth head is expressed as:

[0068]

[0069] in is used for normalization, σ is a small negative value, all head outputs are concatenated by channel, and linearly projected to produce the final output. This process can be expressed as:

[0070] MultiHead(Q′,K′,V′)=Concat(head1,...,head h )Z A <5>

[0071] Among them head h =Attention(Q h ,K h ,V h ), Z A is the projection matrix, Q′, K′ and V′ are the channel concatenations of all heads respectively.

[0072] The lightweight aggregation module SAA involves shuffling and grouping features of different granularities generated by multiple scales. The specific process is as follows: Figure 3 As shown in the figure, a channel is selected from each scale to construct a group, and then the inverse bottleneck structure is used to perform upper and lower feature fusion operations in each group to enhance the diversity of multi-scale features. Finally, point-by-point convolution is used to aggregate cross-group information of all features to achieve cross-fusion of global information. The process of SAA is described as follows:

[0073] M=W inter ([G1,G2,...,G M ]),

[0074]

[0075]

[0076] Where W inter and W intra is the weight matrix of the point-wise convolution, j∈{1,2,...,N} and i∈{1,2}, where N and Represent the number of heads and groups respectively. Here, represents the jth head with depthwise convolution, represents the i-th channel in the j-th head.

[0077] like Figure 2 As shown in the figure, the feature vector after soft threshold processing and SAA is subjected to three-layer deep sparse inverse transform operations at four scales in sequence, and finally a low-dose CT reconstructed image after metal artifact correction is obtained through a residual connection.

[0078] Step S2.3, calculate the loss function of the multi-scale adaptive deep sparse transform network model: use the gradient descent algorithm to find the learnable parameters when the loss function reaches the minimum value. If the maximum number of training times of the multi-scale adaptive deep sparse transform network model is not reached, repeat step S2.2, update the network parameters, and obtain the optimal network model of the multi-scale adaptive deep sparse transform network after the training.

[0079] The direction of the function gradient in the gradient descent iterative algorithm points to the direction in which the function increases fastest. In each iteration, the variable is updated according to the current corresponding function gradient and step size, and the local optimal point of the objective function is finally reached through continuous iteration.

[0080] The loss function of the multi-scale adaptive deep sparse transformation network model is as follows:

[0081]

[0082] where x gt is the clean CT image and x is the reconstructed CT image.

[0083] Step S3: Input a low-dose CT image x containing metal artifacts into the constructed image domain optimal network model. ma and metal mask m, the output of the multi-scale adaptive deep sparse transformation network is the CT image after metal artifact correction.

[0084] The training parameter settings of the above embodiment are: the Adam optimizer is used to train the network, the network epoch is set to 100, and the initial learning rate is set to 1×10 -4 It is halved at epoch 50 and 75. The network is implemented using the deep learning framework Pytorch and NVIDIA RTX 3080Ti GPU.

[0085] In order to accurately analyze the effectiveness of the method proposed in the present invention, for CT image reconstruction, the classic NLmeans, deep learning methods U-Net, REDCNN, cnn10, OctaveNet, indudonet and MSANet are used as comparison algorithms; for metal artifact removal, the metal contaminated CT images are corrected based on the above methods, and the most classic LI and the currently advanced InDuDoNet are used as comparison algorithms.

[0086] Figure 4 The results in the figure are LDCT image, correction result of the method of the present invention and NDCT image.

[0087] For the correction of low-dose MAR images, the model trained with the above dataset is directly tested. Figure 5 The images in the figure are respectively a low-dose image of input metal contamination, a correction result of the method of the present invention, and a clean image without artifacts.

[0088] It can be seen from the qualitative and quantitative results that the correction result of the present invention is more accurate, that is, it can effectively improve the reconstruction effect of low-dose images, and can also effectively remove complex metal artifacts, especially better eliminate the residual artifacts of the metal boundary and retain more tissue structures.

[0089] In summary, the present invention has the following advantages compared with the prior art:

[0090] 1) The present invention adopts an image domain deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction.

[0091] 2) The present invention adopts a multi-scale adaptive deep sparse transform structure, that is, four sparse transform blocks are used to extract features at four scales. The first sparse transform block aims to extract initial features without changing the resolution, and the other transform blocks reduce the resolution and increase the channels respectively. The multi-scale features extracted by the multi-scale adaptive deep sparse transform are integrated with the SNR information and edge information, and the threshold generation network and soft threshold algorithm based on signal-to-noise ratio perception and SAM edge-aware Transformer are used to finally perform the deep sparse inverse transform operations of each scale in turn. This strategy can make more effective use of the multi-scale information of CT images.

[0092] 3) The present invention constructs a threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer, in which the edge information extracted by using the signal-to-noise ratio and edge information is used to guide the self-attention calculation in the Transformer, so that the CT image can be completed more effectively and the structural information of the CT image can be restored at the same time.

[0093] 4) Different from previous methods, this invention uses a novel fusion module, Scale-Aware Aggregation, or SAA module, which is a new lightweight aggregation module. SAA involves shuffling and grouping the features of different scales generated by the encoder. Specifically, we select a channel from each scale to build a group, and then use the inverse bottleneck structure to perform upper and lower feature fusion operations in each head, thereby enhancing the diversity of multi-scale features.

Claims

1. A deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction, characterized by: The steps include: Step S1, constructing a multi-scale adaptive deep sparse transform network model for low-dose CT reconstruction and metal artifact correction, wherein the multi-scale adaptive deep sparse transform network model includes a multi-scale adaptive deep sparse transform, a threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer, a lightweight aggregation module SAA, and a multi-scale adaptive deep sparse inverse transform; Constructing a multi-scale adaptive deep sparse transformation network: Specifically including the following processes: constructing a multi-scale adaptive deep sparse transformation, constructing a threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer, constructing a lightweight aggregation module SAA, and constructing a multi-scale adaptive deep sparse inverse transformation; the multi-scale adaptive deep sparse transformation uses multi-layer convolution to extract the multi-scale information of the input low-dose CT image containing metal artifacts, and performs multiple sparse transformations at each scale to obtain a more powerful representation capability. The threshold generation network based on signal-to-noise ratio perception and SAM edge-aware Transformer The network is based on the signal-to-noise ratio information and SAM edge perception information at the scale and the corresponding scale information after encoding to obtain a result as the threshold of the soft threshold algorithm; the lightweight aggregation module SAA fuses the information between two adjacent scales in the multi-scale adaptive deep sparse inverse transform to improve the effect of the network; the multi-scale adaptive deep sparse inverse transform is the inverse process of the multi-scale adaptive deep sparse inverse transform, recovering the original information from the representation, and finally obtaining the final metal artifact corrected low-dose CT reconstructed image through a residual connection; step S2, training a multi-scale adaptive deep sparse transform network: Step S2.1, prepare the data set, use the collected artifact-free low-dose CT images to perform positive projection to obtain the sinusoidal graph s to synthesize the sinusoidal graph s of metal contamination ma , and perform a filtered back-projection operation to obtain the metal contamination CT image x ma , crop the CT images and sinograms to the set size, divide them into training set and test set, set the maximum number of training times, and initialize the training parameters; Step S2.2, the reconstruction and metal artifact correction tasks of low-dose CT images containing metal artifacts are regarded as an inverse image problem, an optimization model based on a multi-scale adaptive deep sparse transform network model is established, a linear interpolation operation is performed on the metal-contaminated low-dose CT image and the metal mask, the obtained result and the metal mask are input into the multi-scale adaptive deep sparse transform network model, and an enhanced reconstructed CT image is output; Step S2.3, calculate the loss function of the multi-scale adaptive deep sparse transform network model: use the gradient descent algorithm to solve and find the learnable parameters when the loss function takes the minimum value. If the maximum number of training times of the multi-scale adaptive deep sparse transform network model is not reached, repeat step S2.2, update the network parameters, and obtain the optimal network model of the multi-scale adaptive deep sparse transform network after the training. Step S3: Input a low-dose CT image x containing metal artifacts into the constructed image domain optimal network model. ma and metal mask m, the output of the multi-scale adaptive deep sparse transformation network is the CT image after metal artifact correction.

2. A deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 1, characterized in that: The step S2.2 divides the low-dose CT image containing metal artifacts into four scales in turn, and performs three-layer sparse transformation on each scale to extract rich information on multiple scales and obtain higher representation capability.

3. A deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 2, characterized in that: The step S2.2 performs soft threshold processing on the feature map after each scale sparse transformation, and generates the threshold required by the soft threshold algorithm based on the threshold generation network of the signal-to-noise ratio perception and SAM edge-aware Transformer. The threshold generation network based on the signal-to-noise ratio perception and SAM edge-aware Transformer consists of three modules: a binary mask extraction module, a signal-to-noise ratio perception and SAM edge-aware multi-head self-attention SNR and SAM-Aware MSA module, and a fully connected feedforward network FFN module.

4. A deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 3, characterized in that: The binary mask extraction module refers to: using a simple denoising algorithm to denoise the input low-dose image containing metal artifacts, calculating the signal-to-noise ratio of the image after preliminary denoising and the original image to obtain a signal-to-noise ratio feature map, applying a threshold function to the signal-to-noise ratio feature map to obtain a signal-to-noise ratio binary mask, in which the area with a large signal-to-noise ratio is 1, and the area with a small signal-to-noise ratio is 0; then, using the pre-trained SAM large model network to extract edge features to obtain a SAM binary mask, in which the edge area is 1 and other areas are 0; the signal-to-noise ratio binary mask and the SAM binary mask are ORed to obtain a binary mask U′ that includes both signal-to-noise ratio information and edge information.

5. A deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 2, characterized in that: The specific steps of the SNR and SAM-Aware MSA module are: the matrix form F corresponding to the feature vector f is divided into d feature blocks F in =[F1, ..., F d ], d represents the number of feature blocks, and the standard multi-head self-attention method is used to obtain Q, K and V. This process can be expressed as: Where LN(·) represents layer normalization, and Representing the projection matrix of the h-th head in the Transformer, Q, K, and V are input into the SNR and SAM-Aware MSA module, and the output is expressed as: Where MSA(·) represents the SNR and SAM-Aware MSA network step. Next, Input into the FFN network, the output is represented as: The output F out =[F1′,...,F′ d ] can be fused into the feature matrix F l , and its corresponding vector form is f l .

6. A deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 5, characterized in that: The specific steps of SNR and SAM-Aware MSA are: A binary mask U′ including both SNR information and edge information. Assuming that SNR and SAM-Aware MSA has H heads, the self-attention calculation of the hth head is expressed as: in is used for normalization, σ is a small negative value, all head outputs are concatenated by channel, and linearly projected to produce the final output. This process can be expressed as: MultiHead(Q′,K′,V′)=Concat(head1,...,head h )Z A <5> Among them head h =Attention(Q h ,K h ,V h ), Z A is the projection matrix, Q′, K′ and V′ are the channel concatenations of all heads respectively.

7. The deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 1, characterized in that: The lightweight aggregation module SAA in step S2.2 involves shuffling and grouping features of different granularities generated by multiple scales. The specific process is: select a channel from each scale to construct a group, and then use the inverse bottleneck structure to perform upper and lower feature fusion operations in each group to enhance the diversity of multi-scale features. Finally, use point-by-point convolution to aggregate all features across groups to achieve cross-fusion of global information. The process of SAA is described as follows: J=W inter ([G1,G2,...,G M ]), Where J represents the set of all groups, W inter and W intra is the weight matrix of the point-wise convolution, j∈{1,2,...,N} and i∈{1,2}, where N and Represent the number of heads and groups respectively. Here, represents the jth head with depthwise convolution, represents the i-th channel in the j-th head.

8. A deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 7, characterized in that: The step S2.2 sequentially performs 3-layer deep sparse inverse transform operations at 4 scales on the feature vectors after soft threshold processing and SAA, and finally obtains a low-dose CT reconstructed image after metal artifact correction through a residual connection.

9. The deep learning method for simultaneous low-dose CT reconstruction and metal artifact correction according to claim 1, characterized in that: The direction of the function gradient in the gradient descent iterative algorithm in step S2.3 points to the direction in which the function increases fastest. In each iteration, the variable is updated according to the current corresponding function gradient and step size, and the local optimal point of the objective function is finally reached by continuous iteration. The loss function of the multi-scale adaptive deep sparse transform network model is as follows: where x gt is the clean CT image and x is the reconstructed CT image.