Multi-domain sparse view CT reconstruction method based on sparse Transform

Through the multi-domain sparse view CT reconstruction method based on sparse Transformer, the over-smoothing problem in extremely sparse reconstruction is solved. Through the sparse attention and hybrid scale feed-forward network, the frequency domain and image domain information are combined to significantly improve image details and accuracy. .

CN118840445APending Publication Date: 2024-10-25ZHONGBEI UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410993314.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Existing single-domain or dual-domain sparse view CT reconstruction methods based on deep learning are prone to over-smoothing problems in extremely sparse reconstruction, resulting in loss of image details.

Method used

A multi-domain sparse view CT reconstruction method based on sparse Transformer is adopted. By constructing a sparse Transformer block and a multi-domain neural network model, the projection domain restoration module, the frequency domain supervision module and the image domain refinement module are introduced, and the sparse attention mechanism and mixed scales are combined. Feedforward network, designing multi-domain joint loss function to improve reconstruction performance.

Benefits of technology

Under extremely sparse projection view conditions, the detail quality of image reconstruction is significantly improved, over-smoothing is prevented, and the accuracy and detail retention of the reconstructed image are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840445A_ABST
    Figure CN118840445A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of medical imaging and deep learning, and discloses a multi-domain sparse view CT reconstruction method based on sparse Transform, and the specific technical scheme is as follows: constructing a CT projection data set of a sparse view; a sparse Transform block is constructed, and the sparse Transform block is constructed; constructing a multi-domain neural network model based on a sparse Transform block, and inputting the sparse sampled CT projection, the corresponding full-view projection and the corresponding reference CT image into a trained multi-domain neural network based on the sparse Transform block to obtain a CT reconstruction image; according to the method, the frequency domain supervision module is introduced on the basis of double-domain reconstruction, and the frequency domain supervision module is integrated in the depth feature extraction process, so that the blank problem in the Fourier domain caused by sparse sampling is successfully solved, image details can be better reconstructed under the condition of extremely sparse projection views, and the reconstruction accuracy is improved. The objective of the invention is to improve reconstruction performance while reducing calculation amount.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of medical imaging and deep learning technology, and in particular to a multi-domain sparse view CT reconstruction method based on sparse Transformer. Background Art

[0002] X-ray computed tomography (CT) technology has become an indispensable auxiliary diagnostic tool in the field of medical imaging due to its rapidity and strong repeatability. However, with the popularization of CT in clinical diagnosis, its potential risk of cancer caused by X-ray radiation has aroused widespread public concern. Sparse view CT scanning is an effective way to reduce radiation exposure, but it is limited by the fact that the undersampled projection data does not satisfy the classic Nyquist sampling theorem, and the classic filtered back projection (FBP) method will produce serious streak artifacts. Therefore, there is an urgent need for promising sparse view CT reconstruction algorithms to obtain high-quality images that meet the requirements of clinical diagnosis while reducing the number of projection views required for reconstruction.

[0003] Compressed sensing (CS) is a breakthrough in solving sparse view CT reconstruction. Model-based iterative algorithms allow incorporating prior information about the underlying problem in the form of regularization terms, such as total variation (TV) minimization and its variants, dictionary learning, low-rank (LR), and compact wavelet frameworks. Although traditional model-based iterative algorithm (MBIR) methods have good artifact removal performance, the computational cost of repeated forward and back-projection operations during the iterative process is high; in addition, sensitive hyperparameter selection and hand-designed priors are major obstacles to clinical application.

[0004] Reconstruction methods based on deep learning have become powerful tools for sparse view CT reconstruction by extracting information from a large amount of data, ensuring the objectivity and comprehensiveness of the extracted information. In particular, convolutional neural networks and visual transformers have shown great advantages in image reconstruction tasks due to their powerful feature extraction capabilities and nonlinear mapping functions.

[0005] CT reconstruction algorithms based on deep learning (DL) can be roughly divided into data-to-data methods, image-to-image methods, and data-to-image methods. Data-to-data methods, also known as projection preprocessing algorithms, focus on recovering the missing measurements in the projection domain, and then use analytical algorithms for reconstruction. However, projection preprocessing based on deep learning (supplemented with a determined Chinese explanation) has not been widely studied, as most researchers usually cannot obtain the original data of commercial scanners and improper manipulation of projection data may lead to secondary artifacts in the reconstructed images. Image-to-image algorithms, also known as image post-processing, usually use various image prior knowledge to construct deep neural networks. Image post-processing methods have the characteristics of fast reconstruction and easy deployment. However, this category ignores the consistency with the original measured projection data, which may lead to blurring effects and loss of details. Data-to-image reconstruction integrates data fidelity, domain transformation knowledge, and image recovery into a deep learning framework to improve reconstruction performance.

[0006] One strategy is to expand the iterative algorithm into a deep learning framework, called the deep unfolding reconstruction algorithm. The deep unfolding reconstruction algorithm combines iterative optimization with deep learning to show excellent reconstruction performance, but it still requires projection and back-projection operations for accurate imaging geometry modeling, which leads to high computational costs and limits its generalization to three-dimensional geometry. Another popular solution is to use a dual-domain network that shares mutual information. The dual-domain-based reconstruction method combines the complementary information between the projection domain and the image domain, thereby achieving significant performance improvements over the single-domain method. However, when the projection views are reduced to 20 views or even less, the existing single-domain and dual-domain reconstruction algorithms inevitably face the problems of detail loss and image over-smoothing. Summary of the invention

[0007] In order to solve the technical problems existing in the prior art, the present invention provides a multi-domain sparse view CT reconstruction method based on sparse Transformer, aiming to solve the over-smoothing problem existing in extremely sparse reconstruction of existing single-domain or dual-domain reconstruction methods based on deep learning.

[0008] To achieve the above purpose, the technical solution adopted by the present invention is: a multi-domain sparse view CT reconstruction method based on sparse Transformer, the specific steps are as follows:

[0009] Step 1: construct a CT projection dataset of sparse views;

[0010] Step 2: Construct a sparse Transformer block and use the sparse Transformer block to extract feature information of the CT projection data set;

[0011] Step 3: construct a multi-domain neural network model based on sparse Transformer blocks, which integrates a projection domain recovery module, a frequency domain supervision module, a first filtering back-projection module, a second filtering back-projection module, and an image domain refinement module;

[0012] The projection domain recovery module establishes a global dependency of the projections, the projection domain recovery module takes different views of the sinusoidal graph as input, outputs enhanced sinusoidal graph data, and the first filtered back-projection module reconstructs the enhanced sinusoidal graph data into a first intermediate reconstructed image;

[0013] The frequency domain supervision module uses the Fourier domain encoding of the sparse projection data as input and reconstructs the second intermediate reconstructed image by performing an inverse discrete Fourier transform on the Fourier coefficients;

[0014] The second filtering back projection module reconstructs a third intermediate reconstructed image, and the frequency domain supervision module receives the third intermediate reconstructed image;

[0015] The first intermediate reconstructed image, the second reconstructed image and the third reconstructed image are input into the image domain refinement module for fusion and refinement to obtain the final CT reconstructed image.

[0016] In step 1, CT images of 27 patients were selected as samples, CT images of 24 patients were used as training sets, CT images of 1 patient were used as validation sets, and CT images of the remaining 2 patients were used as test sets. The reconstructed CT images were 512 × 512 in size, and all projections adopted fan-beam projection geometry. Full-view projection data were collected from 720 views with a view interval of 0.5°.

[0017] In step 2, the sparse Transformer block is introduced as the feature extraction unit. Given the i-1th block T i-1 The encoding process of the sparse Transformer block is defined as:

[0018]

[0019] Among them, LN(·) represents layer normalization, MSSA(·) represents multi-head sparse self-attention, MSFFN(·) represents mixed-scale feedforward network, is the output of multi-head sparse self-attention, T i is the output of the mixed-scale feedforward network;

[0020] The sparse self-attention module is introduced in the sparse Transformer block. The sparse self-attention module encodes the channel context through 1×1 convolution, and then performs 3×3 depth convolution to calculate the similarity of all reshaped query and key pixel pairs. Applying the top-k contribution scores on the transposed attention matrix M achieves attention sparsification by masking unnecessary elements with low attention weights;

[0021] The mixed-scale feedforward network inserts two multi-scale deep convolution paths during the transmission process. Given an input tensor After layer normalization, 1×1 convolution is used to expand the channel dimension at a ratio of r and fed to two parallel branches. In the feature transformation process, 5×5 and 3×3 depth convolutions are used to extract multi-scale local information. The entire feature fusion process of the mixed-scale feedforward network is expressed as:

[0022]

[0023]

[0024] Among them, Conv 1×1 (·) represents 1×1 convolution, DwConv 5×5 (·) represents a 5×5 depthwise convolution, DwConv 3×3 (·) denotes 3×3 depthwise convolution and [·] denotes channel-level connection.

[0025] In step 3, the sinogram restoration network is based on the sparse Transformer block and the typical residual network of CNN. The sinogram restoration network consists of 5 dense sparse Transformer layers and 1 convolutional layer. The dense sparse Transformer layer introduces the sparse Transformer block as the basic unit for feature representation and long-range semantic information interaction.

[0026] The sinogram recovery network collects the sparse view sinogram data p sv Split into a set of sequence data according to the view, denoted as [p sv1 ,p sv2 ,L,p svn ], where n = 1, 2, L, N represents the number of views; [p sv1 ,p sv2 ,L,p svn ] is input into five cascaded dense sparse Transformer layers for deep global feature extraction, and the resulting feature map is represented as Using a convolutional layer with a convolution kernel size of 3×3, the feature map P′ is obtained. The output P′ of the last convolution block is consistent with the original sparse projection data p sv Add together to get the final enhanced sinusoidal data P′, the enhanced sinusoidal The estimation method is as follows:

[0027]

[0028] Among them, DenSTrans (1:k) (·) represents k cascaded dense sparse Transformer layers, Conv 3×3 (·) represents a convolutional layer with a kernel size of 3×3, p sv The original sparse projection data is input, and the sinusoidal data will be enhanced The image x2 is reconstructed through the first filtered back projection module and is expressed as:

[0029]

[0030] The frequency domain supervision module adopts the encoder-decoder sparse Transformer architecture, which uses sparse projection data p sv The Fourier domain encoding of is used as the input of the encoder, and three cascaded sparse Transformer encoders generate a latent space representation Z = [z1, z2, L, z K ], and provide the latent space representation as input to the decoder. The decoder not only receives Z = [z1, z2, L, z K ], and additionally receives the Fourier domain encoding from the FBP reconstructed image x1 And feed them into three cascaded sparse Transformer decoders to predict all Fourier coefficients By converting the Z from the encoder into K ] and from x1 Combined together, the intermediate image is reconstructed by performing an inverse discrete Fourier transform on the Fourier coefficients.

[0031] For the collected sparse projection data p sv , the complex-valued Fourier spectrum Fp is calculated using discrete Fourier transform sv , expressed as Using Fp sv Half of the spectrum is denoted as Fp svh , convert the complex Fourier coefficient loop into a one-dimensional sequence starting from the DC component, and expand from Fp svh The half Fourier ring of

[0032] S = unroll(Fp svh )=[p svh1 ,p svh2 ,L,p svhN ] Τ ,n=1,2,L,N (11)

[0033] Among them, [p svh1 ,p svh2 ,L,psvhN ] Τ represents a one-dimensional sequence consisting of complex Fourier coefficients, p svhn Represents the complex Fourier coefficient corresponding to the input sequence, which is converted to the normalized amplitude α n and the normalized phase δ n , the complex sequence S is described as a normalized real-valued matrix

[0034]

[0035] Each (α n ,δ n ) is converted into an F-dimensional vector, and the F-dimensional vector is converted into an F-dimensional vector according to the F-dimensional vector. svh The original polar coordinates in are integrated by position coding to obtain the final projection Fourier domain coding sequence:

[0036] The image domain reconstruction module fuses the three independently output intermediate images x1, x2 and x3 through a fusion mechanism, and refines the fused intermediate images through an image refinement network to obtain the final high-quality reconstructed image.

[0037] The image refinement network is a U-shaped encoder-decoder network based on sparse Transformer blocks. The image refinement network introduces sparse Transformer blocks as the basic unit for feature representation and long-range semantic information interaction.

[0038] A composite loss function is arranged to combine pixel domain loss, Fourier domain loss and projection domain loss. The total loss function is defined as the weighted sum of the individual loss components. The expression is as follows:

[0039]

[0040] in, represents the loss in the projection domain, represents the loss function in Fourier domain, As the loss function in the image domain, λ1, λ2, and λ3 are hyperparameters that balance the weights of different loss terms. Set λ1=1, λ2=0, and λ3=0. λ2 is tuned under the fixed conditions of λ1=1 and λ3=0, and λ3 is adjusted with fixed λ1 and λ2.

[0041] Loss function of the projection domain restoration module Loss due to projection and image loss Composition, the projection loss is defined as:

[0042]

[0043] in, represents the enhanced sinusoidal data, p gt represents the collected full view projection data, ||·||1 represents the l1 norm;

[0044] The image loss is defined as:

[0045]

[0046] Where x2 represents the reconstructed image of the projection domain reconstruction module, represents the l2 norm, and the loss function of the projection domain recovery module is defined as:

[0047]

[0048] Among them, μ PD and μ ID It is a hyperparameter that balances the losses;

[0049] Loss function of frequency domain supervision module Loss due to Fourier coefficients and spatial domain loss Composition, Fourier coefficient loss Combined Amplitude Loss and phase loss The amplitude loss is in, represents the normalized amplitude of the prediction, α n Represents the normalized amplitude of the reference image.

[0050] The phase loss is in, represents the predicted normalized phase loss, δ n represents the normalized phase loss of the reference image.

[0051] Total Fourier coefficient loss It is composed by the product of two independent losses:

[0052]

[0053] Introducing spatial domain loss To measure the intermediate reconstructed image x3 and the reference image x gt The difference between:

[0054]

[0055] in, Represents the reconstructed image x3 and the reference image x gt The mean square error (MSE) loss of the frequency domain supervision module is expressed as:

[0056]

[0057] Among them, μ FC and μ spa is a hyperparameter that balances the losses.

[0058] Image domain reconstruction module loss function Aims to minimize the reconstructed image With the reference image x gt The difference between the loss function The formula is defined as:

[0059]

[0060] The sparsely sampled CT projections, the corresponding full-view projections, and the corresponding reference CT images are input into the trained sparse Transformer-based multi-domain neural network to obtain the CT reconstructed image.

[0061] Compared with the prior art, the present invention has the following beneficial effects:

[0062] 1. The present invention introduces a frequency domain supervision module based on dual-domain reconstruction. By integrating the frequency domain supervision module in the deep feature extraction process, it successfully solves the blank problem in the Fourier domain caused by sparse sampling, so that image details can be better reconstructed in the case of extremely sparse projection views.

[0063] 2. The present invention introduces a sparse attention mechanism and a mixed-scale feedforward network to improve the standard Transformer architecture; the sparse attention mechanism adopts self-attention across channels rather than spatial dimensions, avoiding the intervention of irrelevant information and reducing computational complexity, and the mixed-scale feedforward network can better capture multi-scale stripe artifacts in ultra-sparse reconstruction scenes.

[0064] 3. The multi-domain joint loss function designed by the present invention includes image loss, Fourier loss and projection domain loss. The image loss ensures that the reconstructed image closely matches the reference image in terms of global structure and local details by penalizing the differences in pixel space; the Fourier loss introduces the consideration of the global structure and texture features of the image by converting the image from pixel space to frequency domain; the projection domain loss helps the network learn to reconstruct the projection data more accurately, thereby improving the quality of the final reconstructed image. By optimizing the projection domain loss, the network can better restore the original projection data, reduce information loss, and thus improve the quality and accuracy of the reconstructed image.

[0065] In summary, the present invention significantly improves the details of image reconstruction and prevents over-smoothing under extremely sparse projection view conditions through a variety of technical innovations. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 Flowchart of the multi-domain sparse view CT reconstruction method based on sparse Transformer.

[0067] Figure 2 Schematic diagram of fan beam scanning.

[0068] Figure 3 Schematic diagram of the structure of sparse Transformer.

[0069] Figure 4 Schematic diagram of the multi-domain sparse view CT reconstruction network structure based on sparse Transformer.

[0070] Figure 5 Schematic diagram of the structure of the dense sparse Transformer layer.

[0071] Figure 6 Schematic diagram of the structure of the image refinement network.

[0072] Figure 7 The reconstruction results of different algorithms when projecting 30 views. DETAILED DESCRIPTION

[0073] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0074] The present invention provides a multi-domain sparse view CT reconstruction method based on sparse Transformer. The reconstruction method unifies the optimization of sinusoidal graph domain, image domain and frequency domain, cleverly retains complex details, successfully overcomes the over-smoothing problem that is common in extremely sparse view reconstruction results, and has good reconstruction performance and noise robustness.

[0075] S1. Construct CT projection dataset of sparse views:

[0076] The experimental data used the CT Lymph Nodes dataset available at https: / / public.cancerimagingarchive.net / nbia-search, from which a total of 27 patients (11,900 CT images) were randomly selected; 24 patients (10,680 CT images) were used as the training set, 1 patient (413 CT images) was used as the validation set, and the remaining 2 patients (807 CT images) were used as the test set. The reconstructed CT image size was 512×512. Figure 2As shown, all projections of the present invention adopt fan beam projection geometry, and the detector array contains 800 detector units, each of which is 0.6 mm long. The distances from the X-ray source focus to the detector and the rotation center are 1040 mm and 540 mm, respectively. The full view projection data is collected from 720 views with a view interval of 0.5°. The projection data is downsampled by 15 views to simulate ultra-sparse view geometry. The specific projection simulation parameters are shown in Table 1.

[0077] Table 1 Projection simulation parameters

[0078]

[0079]

[0080] S2. Build a sparse Transformer block:

[0081] The standard Transformer uses all blocks to globally compute self-attention, which may lead to noise interactions between irrelevant features in image restoration tasks, thus affecting the reconstruction quality. In addition, for an image with a pixel size of H×W, the traditional SA model needs to process operations of the order of the second power of the image pixel size when calculating the key-query dot product. This computational complexity rises sharply with the increase of image size, which may cause excessive computational burden on large-size images, affecting the efficiency and speed of the model. To overcome these limitations, the advantages of sparsity in neural networks are utilized, and S-TB is introduced as a feature extraction unit. Formally, given the i-1th block T i-1 The input features at, the encoding process of S-TB can be defined as:

[0082]

[0083] Among them, LN(·) represents layer normalization, MSSA(·) represents multi-head sparse self-attention, MSFFN(·) represents mixed-scale feedforward network, and T i are the outputs of multi-head sparse self-attention (MSSA) and mixed-scale feedforward network (MSFFN), respectively. The specific structure of S-TB is as follows: Figure 3 shown.

[0084] S2-1, sparse self-attention:

[0085] The standard self-attention mechanism is based on dense full connection, which requires calculating the attention map of all query (query, Q)-key (key, K) pairs. In order to avoid the intervention of irrelevant information and reduce the computational complexity, S-TB introduces sparse self-attention (SSA). The specific structure of SSA is as follows Figure 3As shown in (a), the channel context is first encoded by a 1×1 convolution, followed by a 3×3 depthwise convolution. Next, the similarity of all reshaped query (Q) and key (K) pixel pairs is calculated. Inspired by the application of Top-k selection in the field of visual Transformer, Applying the top-k contribution scores on the transposed attention matrix M achieves attention sparsification by masking unnecessary elements with low attention weights.

[0086] S2-2, mixed scale feedforward network:

[0087] In order to better capture the correlation of multi-scale stripe artifacts in sparse view reconstruction images, unlike the multilayer perceptron (MLP) in the standard Transformer architecture, MSFFN is designed by inserting two multi-scale deep convolution paths during the transmission process. The specific structure of MSFFN is as follows Figure 3 (b) As shown. Given an input tensor First, the layer is normalized, and then the channel dimension is expanded by a 1×1 convolution at a ratio of r and fed to two parallel branches. In the feature transformation process, 5×5 and 3×3 depth convolutions are used to enhance multi-scale local information extraction. Therefore, the entire feature fusion process of MSFFN can be expressed as:

[0088]

[0089] Among them, Conv 1×1 (·) represents 1×1 convolution, DwConv 5×5 (·) represents a 5×5 depthwise convolution, DwConv 3×3 (·) represents 3×3 depthwise convolution, Relu(·) represents linear rectification function, and [·] represents channel-level connection.

[0090] S3. Build a multi-domain neural network model based on sparse Transformer:

[0091] The deep neural network integrates three key sub-modules: projection domain restoration module (PDRM), image domain refinement module (IDRM) and frequency domain supervision module (FDSM).

[0092] S3-1, Projection Domain Recovery Module (PDRM):

[0093] Considering the global sampling process of sinusoids, a sinusoidal restoration network (SRN) with sparse Transformer as the main building block is designed in PDRM to better model the global dependencies of projections and thus achieve more efficient projection restoration. Figure 4As shown in (A), SRN is a typical residual network based on sparse Transformer block (S-TB) and CNN. The whole network consists of 5 dense sparse Transformer layers (DenSTrans) and 1 convolutional layer. In order to make full use of the powerful functions of Transformer, DenSTrans introduces S-TB as the basic unit for feature representation and long-range semantic information interaction.

[0094] SRN takes different views of the sinogram as input and uses the multi-head sparse self-attention (MSSA) in S-TB to effectively extract the relationship between projections of different views and provide global information for projection recovery. This approach not only helps to overcome the challenge of data consistency in the sinogram, but also considers the correlation between different views more comprehensively, thereby improving the quality and accuracy of sinogram recovery. Specifically, SRN first collects the sparse view sinogram data p sv Split into a set of sequence data according to the view, denoted as [p sv1 ,p sv2 ,L,p svn ], where n = 1, 2, L, N represents the number of views. Then, [p sv1 ,p sv2 ,L,p svn ] is input into five cascaded DenSTrans blocks for deep global feature extraction, and the resulting feature map is represented as p DenSTransk The structure diagram of DenSTrans is as follows: Figure 5 As shown. DenSTrans uses dense connections to allow each sparse Transformer block to receive input information from all other blocks, thereby fully capturing and utilizing the high correlation between the projection data in terms of view and spatial position. Finally, a convolutional layer with a convolution kernel size of 3×3 is used to obtain the feature map P′. This step is to introduce the inductive bias of the convolution operation in the Transformer-based network, which helps the convergence of shallow and deep features. In order to accelerate the convergence of the model and stabilize the training process, the output P′ of the last convolutional block is compared with the original sparse projection data p sv Add together to obtain the final enhanced sinusoidal data P′. The estimation method is as follows:

[0095]

[0096] Among them, DenSTrans (1:k) (·) represents k cascaded DenSTrans, Conv 3×3 (·) represents a convolutional layer with a kernel size of 3×3, p sv The original sparse projection data is input, and then the enhanced sinusoidal data is Reconstructed into image x2 through FBP, expressed as:

[0097]

[0098] Here, FBP(·) represents FBP reconstruction.

[0099] S3-2, Frequency Domain Supervision Module (FDSM):

[0100] For sparse view CT image reconstruction tasks, due to undersampling of projection views, the reconstructed image usually lacks high-frequency Fourier coefficients, resulting in detail loss and image blur. The present invention introduces a frequency domain supervision module (FDSM) to fill in all unobserved Fourier coefficients, thereby reducing artifacts and preserving details.

[0101] FDSM adopts Figure 4 (C) The encoder-decoder sparse Transformer architecture shown in Figure 2 uses sparse projection data p sv The Fourier domain encoding (FDE) of is used as the input of the encoder, and three cascaded sparse Transformer encoders generate a latent space representation Z = [z1, z2, L, z K ] and provides it as input to the decoder. In addition, the decoder not only receives Z=[z1,z2,L,z K ], and additionally receives the Fourier domain encoding from the FBP reconstructed image x1 And feed them into three cascaded sparse Transformer decoders to predict all Fourier coefficients By converting the Z from the encoder into K ] and from x1 Combined together, FDSM can more accurately predict the Fourier coefficients of an image.

[0102] Finally, the intermediate image is reconstructed from the Fourier coefficients by performing an inverse discrete Fourier transform Note that the Fourier domain coding x1 of the FBP reconstructed image is processed in the same way as the projection Fourier domain coding, so the projection Fourier domain coding is taken as an example for a detailed introduction.

[0103] Fourier domain encoding of projection: For the collected sparse projection data p sv First, the discrete Fourier transform (DFT) is used to calculate the complex-valued Fourier spectrum Fp sv , expressed as Since Fp svDue to the radial symmetry of svh For FDE, the complex Fourier coefficient loop is converted to a one-dimensional sequence starting from the DC component and then expanded from Fp svh The half Fourier ring of

[0104] S = unroll(Fp svh )=[p svh1 ,p svh2 ,L,p svhn ] Τ ,n=1,2,L,N (11)

[0105] Among them, [p svh1 ,p svh2 ,L,p svhn ] Τ represents a one-dimensional sequence consisting of complex Fourier coefficients, p svhn Represents the complex Fourier coefficient corresponding to the input sequence, which is converted to the normalized amplitude α n and the normalized phase δ n Therefore, the complex sequence S can be described as a normalized real-valued matrix

[0106]

[0107] Each (α n ,δ n ) into an F-dimensional vector, and according to their svh The original polar coordinates in are integrated by position coding to obtain the final projection Fourier domain coding sequence:

[0108] S3-3, Image Domain Reconstruction Module (IDRM):

[0109] IDRM first designs a fusion mechanism to fuse three independently output intermediate images x1, x2, and x3. The fusion mechanism consists of a concatenation operation and a 1×1 convolution operation. Then, the fused intermediate images are refined by the IRN (Image Refinement Network) to obtain the final high-quality reconstructed image. The detailed structure of the IRN network is shown in Figure 6 As shown in Figure 1, it is a U-type encoder-decoder network based on sparse Transformer blocks (S-TB). Different from U-net with CNN as the backbone, the IRN network introduces S-TB as the basic unit for feature representation and long-range semantic information interaction, enhancing image details and reducing over-smoothing in the final reconstructed image.

[0110] S4. Multi-domain joint loss function training network:

[0111] In order to fully capture the structure of the image, the frequency domain characteristics and the accuracy of the projection data, a composite loss function is designed for the multi-domain sparse Transformer reconstruction model (STrans-MD), which combines the pixel domain loss, Fourier domain loss and projection domain loss. The total loss function of STrans-MD is defined as the weighted sum of the individual loss components, and the total loss The expression is as follows:

[0112]

[0113] in, represents the loss in the projection domain, represents the loss function in Fourier domain, As the loss function of the image domain. λ1, λ2, and λ3 are hyperparameters that balance the weights of different loss terms. For λ1, λ2, and λ3, an incremental improvement strategy is used for adjustment. First, λ1=1, λ2=0, and λ3=0 are set to obtain a baseline. λ2 is tuned under the fixed conditions of λ1=1 and λ3=0. Finally, λ3 is adjusted with fixed λ1 and λ2. In this embodiment, λ1=1, λ2=0.7, and λ3=0.5 are set.

[0114] S4-1. Loss function of PDRM:

[0115] Loss function of PDRM Loss due to projection and image loss First, MAE loss is assigned to projection recovery to prevent over-smoothing of the processed projection data. The projection loss is defined as:

[0116]

[0117] in, represents the enhanced sinusoidal data, p gt represents the full view projection data collected, and ||·||1 represents the l1 norm. In addition, to ensure that the reconstructed image x2 of PDRM is consistent with the reference image x in both global structure and local details gt Closely matching, the image loss is defined as:

[0118]

[0119] Where x2 represents the reconstructed image of the projection domain reconstruction module, represents the l2 norm, so the loss function of PDRM is defined as:

[0120]

[0121] Among them, μ PDand μ ID is a hyperparameter that balances various losses. According to experience, μ PD and μ ID Both are set to 0.5.

[0122] S4-2. Loss function of FDSM:

[0123] Loss function of FDSM Loss due to Fourier coefficients and spatial domain loss Composition, Fourier coefficient loss Combined with amplitude loss and phase loss

[0124] The amplitude loss is defined as:

[0125]

[0126] Phase loss is defined as:

[0127]

[0128] Total Fourier coefficient loss is the multiplicative combination of these two independent losses:

[0129]

[0130] In order to ensure the fidelity of the spatial domain, the spatial domain loss is introduced To measure the intermediate reconstructed image x3 and the reference image x gt The difference between:

[0131]

[0132] in, Represents the reconstructed image x3 and the reference image x gt The MSE loss, therefore, the loss function of FDSM can be expressed as:

[0133]

[0134] Among them, μ FC and μ spa is a hyperparameter that balances the various losses. According to experience, μ FC and μ spa Both are set to 1.

[0135] S4-3. IDRM loss function:

[0136] IDRM loss function Aims to minimize the reconstructed image With the reference image xgt The difference between them, while focusing on global structural fidelity and local detail preservation, the formula of the loss function is defined as:

[0137]

[0138] S5. Image reconstruction:

[0139] The sparsely sampled CT projections, the corresponding full-view projections, and the corresponding reference CT images are input into the trained sparse Transformer-based multi-domain neural network to obtain the CT reconstructed image.

[0140] In order to verify the superiority of the proposed multi-domain sparse view CT reconstruction method based on sparse Transformer in solving the problem of ultra-sparse view CT reconstruction, it is compared with six different representative methods, including Filtered Back Projection (FBP), Total Variation (TV), FBPConvNet, Hybrid Domain Network (HDNet), Learned Experts'Assessment-Based Reconstruction Network (LEARN) and Multi-Domain Swin Transformer CT reconstruction network (MDST). The specific simulation experiment operation is as follows:

[0141] (1) Use the publicly available CT Lymph Nodes dataset to train the multi-domain sparse view CT reconstruction network based on sparse Transformer proposed in this invention.

[0142] (2) Randomly select a 2D slice from the test set and scan it using the isoview fan-beam projection geometry to obtain a sparse view projection.

[0143] (3) The sparse view projection (projection view=15) is reconstructed using the method proposed by the present invention and the six representative methods. The corresponding reconstruction results are as follows: Figure 7As shown. Under the ultra-sparse acquisition scheme, FBP and TV reconstruction lead to severe streak artifacts, resulting in the inability to distinguish artifacts from tissue information in the reconstructed image. The FBPConvNet reconstruction result has the problem of over-smoothing. HDNet and LEARN have better visual quality than the FBPConvNet algorithm in tissue recovery, but due to the severe pathology of ultra-sparse view reconstruction, they still cannot provide reliable reconstructed images. The MDST reconstruction effect is improved, but due to the very few available projection views, the reconstructed image still inevitably introduces new artifacts. Compared with other comparative methods, the method proposed in the present invention shows the most significant image quality, accompanied by the preservation of recognizable image features and details.

[0144] (4) Table 2 lists the quantitative results of CT images reconstructed by different methods on the test set with 15 projection views. The performance evaluation result of the FBP algorithm is the worst. Although the TV algorithm regularizes the gradient sparsity of the reconstructed image, the PSNR and SSIM values ​​are still lower than those of other methods. The method algorithm proposed in the present invention obtains the highest PSNR and SSIM values, which further shows that it has good performance in detail recovery and artifact removal.

[0145] Table 2 Quantitative results of different methods

[0146]

[0147] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims

1. A multi-domain sparse view CT reconstruction method based on sparse Transformer, It is characterized in that The specific steps are as follows: Step 1: construct a CT projection dataset of sparse views; Step 2: Construct a sparse Transformer block and use the sparse Transformer block to extract feature information of the CT projection data set; Step 3: construct a multi-domain neural network model based on sparse Transformer blocks, which integrates a projection domain recovery module, a frequency domain supervision module, a first filtering back-projection module, a second filtering back-projection module, and an image domain refinement module; The projection domain recovery module establishes the global dependency of the projections. The projection domain recovery module takes different views of the sinusoidal graph as input and outputs enhanced sinusoidal graph data. The first filtered back-projection module reconstructs the enhanced sinusoidal graph data into an intermediate reconstructed image x 2 ; The frequency domain supervision module uses the Fourier domain encoding of the sparse projection data as input and reconstructs the intermediate reconstructed image x by performing an inverse discrete Fourier transform on the Fourier coefficients. 3 ; The second filtered back projection module reconstructs the intermediate reconstructed image x 1 , the frequency domain supervision module receives the intermediate reconstructed image x 1 ; Intermediate reconstructed image x 1 , intermediate reconstructed image x 2 and the intermediate reconstructed image x 3 They are input together into the image domain refinement module for fusion and refinement to obtain the final CT reconstructed image.

2. According to the multi-domain sparse view CT reconstruction method based on sparse Transformer in claim 1, It is characterized in that In step 1, CT images of 27 patients were selected as samples, CT images of 24 patients were used as training sets, CT images of 1 patient were used as validation sets, and CT images of the remaining 2 patients were used as test sets. The reconstructed CT images were 512 × 512 in size, and all projections adopted fan-beam projection geometry. Full-view projection data were collected from 720 views with a view interval of 0.5°.

3. According to the multi-domain sparse view CT reconstruction method based on sparse Transformer in claim 1, It is characterized in that In step 2, the sparse Transformer block is introduced as the feature extraction unit. Given the i-1th block T i-1 The encoding process of the sparse Transformer block is defined as: Among them, LN(·) represents layer normalization, MSSA(·) represents multi-head sparse self-attention, MSFFN(·) represents mixed-scale feedforward network, is the output of multi-head sparse self-attention, T i is the output of the mixed-scale feedforward network; The sparse self-attention module is introduced in the sparse Transformer block. The sparse self-attention module encodes the channel context through 1×1 convolution, and then performs 3×3 depth convolution to calculate the similarity of all reshaped query and key pixel pairs. Apply the top-k contribution scores on the transposed attention matrix M to achieve attention sparsification by masking unnecessary elements with low attention weights; The mixed-scale feedforward network inserts two multi-scale deep convolution paths during the transmission process. Given an input tensor After layer normalization, 1×1 convolution is used to expand the channel dimension at a ratio of r and fed to two parallel branches. In the feature transformation process, 5×5 and 3×3 depth convolutions are used to extract multi-scale local information. The entire feature fusion process of the mixed-scale feedforward network is expressed as: Among them, Conv 1×1 (·) represents 1×1 convolution, DwConv 5×5 (·) represents a 5×5 depthwise convolution, DwConv 3×3 (·) represents 3×3 depthwise convolution, Relu(·) represents linear rectification function, and [·] represents channel-level connection.

4. According to the multi-domain sparse view CT reconstruction method based on sparse Transformer in claim 3, It is characterized in that In step 3, the sinogram restoration network is a typical residual network based on sparse Transformer blocks and CNN. The sinogram restoration network consists of 5 dense sparse Transformer layers and 1 convolutional layer. The dense sparse Transformer layer introduces sparse Transformer blocks as the basic unit for feature representation and long-range semantic information interaction. The sinogram recovery network collects the sparse view sinogram data p sv Split into a set of sequence data according to the view, denoted as [p sv1 ,p sv2 ,L,p svn ], where n = 1, 2, L, N represents the number of views; [p sv1 ,p sv2 ,L,p svn ] is input into five cascaded dense sparse Transformer layers for deep global feature extraction, and the resulting feature map is represented as Using a convolutional layer with a convolution kernel size of 3×3, the feature map P′ is obtained. The output P′ of the last convolution block is consistent with the original sparse projection data p sv Add together to get the final enhanced sinusoidal data P′, the enhanced sinusoidal The estimation method is as follows: Among them, DenSTrans (1:k) (·) represents k cascaded dense sparse Transformer layers, Conv 3×3 (·) represents a convolutional layer with a kernel size of 3×3, p svn represents the projection data of the nth view, p sv The original sparse projection data is input, and the sinusoidal data will be enhanced Reconstructed into image x through the first filtered back projection module 2 , specifically expressed as: Where FBP(·) represents the filtered back projection algorithm; The frequency domain supervision module adopts the encoder-decoder sparse Transformer architecture, which uses sparse projection data p sv The Fourier domain encoding of is used as the input of the encoder, and three cascaded sparse Transformer encoders generate a latent space representation Z = [z 1 ,z 2 ,L,z K ], and provide the latent space representation as input to the decoder, which not only receives Z = [z 1 ,z 2 ,L,z K ], and additionally receives the reconstructed image x from FBP 1 Fourier domain coding And feed them into three cascaded sparse Transformer decoders to predict all Fourier coefficients By converting Z from the encoder into 1 ,z 2 ,L,z K ] and from x 1 of Combined together, the intermediate image is reconstructed by performing an inverse discrete Fourier transform on the Fourier coefficients. in represents the inverse discrete Fourier transform; For the collected sparse projection data p sv , the complex-valued Fourier spectrum Fp is calculated using discrete Fourier transform sv , expressed as Using Fp sv Half of the spectrum is denoted as Fp svh , convert the complex Fourier coefficient loop into a one-dimensional sequence starting from the DC component, and expand from Fp svh The half Fourier ring of: S=unroll(Fp svh )=[p svh1 ,p svh2 ,L,p svhn ] Τ ,n=1,2,L,N (11) Among them, [p svh1 ,p svh2 ,L,p svhn ] Τ represents a one-dimensional sequence consisting of complex Fourier coefficients, p svhn Represents the complex Fourier coefficient corresponding to the input sequence, which is converted to the normalized amplitude α n and the normalized phase δ n , the complex sequence S is described as the normalized real-valued matrix Each (α n ,δ n ) is converted into an F-dimensional vector, and the F-dimensional vector is converted into an F-dimensional vector according to the F-dimensional vector. svh The original polar coordinates in are integrated by position coding to obtain the final projection Fourier domain coding sequence: The image domain reconstruction module fuses three independent output intermediate images x through a fusion mechanism 1 、x 2 and x 3 , the fused intermediate image is refined through the image refinement network to obtain the final high-quality reconstructed image.

5. According to the multi-domain sparse view CT reconstruction method based on sparse Transformer of claim 4, It is characterized in that The image refinement network is a U-shaped encoder-decoder network based on sparse Transformer blocks. The image refinement network introduces sparse Transformer blocks as the basic unit for feature representation and long-range semantic information interaction.

6. The multi-domain sparse view CT reconstruction method based on sparse Transformer according to claim 5, It is characterized in that A composite loss function is arranged to combine pixel domain loss, Fourier domain loss and projection domain loss. The total loss function is defined as the weighted sum of the individual loss components. The expression is as follows: in, represents the loss of the projection domain recovery module, represents the loss function of the frequency domain supervision module, As the loss function of the image domain refinement module, λ 1 , 2 and λ 3 is a hyperparameter that balances the weights of different loss terms. Set λ 1 =1,λ 2 =0,λ 3 =0,λ 2 In λ 1 =1 and λ 3 = 0, and use a fixed λ 1 and λ 2 To adjust λ 3 ; Loss function of the projection domain restoration module Loss due to projection and image loss Composition, the projection loss is defined as: in, represents the enhanced sinusoidal data, p gt represents the collected full view projection data, ||·|| 1 Indicates l 1 norm; The image loss is defined as: Among them, x 2 represents the reconstructed image of the projection domain reconstruction module, x gt represents the reference image, Indicates l 2 Norm, the loss function of the projection domain recovery module is defined as: Among them, μ PD and μ ID It is a hyperparameter that balances the losses; Loss function of frequency domain supervision module Loss due to Fourier coefficients and spatial domain loss Composition, Fourier coefficient loss Combined Amplitude Loss and phase loss The amplitude loss is: in, is the normalized amplitude of the prediction, α n is the normalized amplitude of the reference image; The phase loss is: in, is the predicted normalized phase, δ n is the reference image x gt The normalized phase of Total Fourier coefficient loss It is composed by the product of two independent losses: in, represents the predicted Fourier coefficients, and C represents the reference image x gt The Fourier coefficients of Introducing spatial domain loss To measure the intermediate reconstructed image x 3 With the reference image x gt The difference between: in, Represents the reconstructed image x 3 With the reference image x gt The MSE loss of the frequency domain supervision module is expressed as: Among them, μ FC and μ spa It is a hyperparameter that balances the losses; Image domain reconstruction module loss function Aims to minimize the reconstruction of the image With the reference image x gt The difference between the loss function The formula is defined as: The sparsely sampled CT projections, the corresponding full-view projections, and the corresponding reference CT images are input into the trained sparse Transformer-based multi-domain neural network to obtain the CT reconstructed image.

Citation Information

Cited By

  • Surgical robot quality control and fault prediction method based on artificial intelligence

    CN120183644A

  • Non-invasive driver driving state sensing system

    CN121549825A