Limited angle CT reconstruction system based on diffusion model

The limited-angle CT reconstruction system based on the diffusion model solves the image divergence and radiation exposure problems caused by incomplete sampling data in limited-angle CT scans, achieving high-quality CT image reconstruction and radiation dose reduction, and is suitable for clinical diagnosis.

CN118736050APending Publication Date: 2024-10-01TAIYUAN UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410875210.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In limited-angle CT scans, incomplete sampling data due to reduced scanning angles lead to divergent tissue edges in reconstructed images, and increase patients' exposure to X-ray radiation, affecting diagnostic quality and public health.

Method used

A limited-angle CT reconstruction system based on the diffusion model is adopted. Through the diffusion generation module and data self-enhancement module, combined with the U-Net backbone module and Radon transform, the limited-angle sampling data is restored, noise artifacts are removed, and the image quality is improved.

Benefits of technology

It improves the accuracy and diagnostic efficiency of limited-angle CT reconstruction, reduces the X-ray radiation dose, and reduces the risk of damage to patient tissue, making it suitable for clinical diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736050A_ABST
    Figure CN118736050A_ABST
Patent Text Reader

Abstract

The invention discloses a finite angle CT reconstruction system based on a diffusion model. The system comprises a diffusion generation module and a data self-enhancement module based on data fidelity constraint. The diffusion generation module can infer data more meeting clinical requirements according to limited data, and the data self-enhancement module based on the data fidelity constraint performs self-enhancement of a CT image by using a principle of data regular term constraint, so that a real image can be reconstructed more favorably; the U-Net-based diffusion backbone module utilizes various attention mechanisms to help the diffusion model to learn CT image space tissue features more quickly and more accurately, and the model is better helped to find an optimal solution. According to the method, the problem of low reconstruction quality caused by sampling data missing in limited-angle CT scanning is solved, irreversible injury of CT scanning to a human body is successfully reduced, the risk of cancerization of tissue of a patient is reduced, and a solid foundation is laid for automatic and intelligent development in a clinical diagnosis process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of limited angle CT reconstruction algorithms in medical machine vision, in particular to a limited angle CT reconstruction system based on a diffusion model. Background Art

[0002] Computed tomography (CT) is a non-destructive imaging method that uses precisely collimated X-ray beams, gamma rays, ultrasound, etc., together with highly sensitive detectors to perform continuous cross-sectional scans around a certain part of the target object. Finally, the scan data is reconstructed into a CT image using a reconstruction algorithm. It has the characteristics of fast scanning time and clear images, and can be used for the examination of various diseases. In theory, as long as the scanning projection data with a sufficient angle range is given (parallel beam requires 180 degrees, fan beam requires 180 degrees plus the fan angle), the reconstruction algorithm can achieve high-quality CT image reconstruction. The principle that CT imaging technology can generate target tissue images that can be recognized by the human eye is that X-rays can penetrate matter and be absorbed to varying degrees, and the absorption capacity of human tissues to X-rays is proportional to density. According to the different absorption degrees of different tissues in the human body, the scan data is mathematically transformed into pixels with different contrasts, thereby realizing the imaging of different tissue structures. However, X-rays are a type of high-energy radiation with strong penetrating power and high energy. When human tissue absorbs X-rays, they also interact with DNA molecules in human tissue cells, causing genetic information damage and cell mutations. Long-term exposure to X-rays increases the risk of cancer and other diseases, especially for children and pregnant women. The harm of radiation is more prominent. This has led to patients' great resistance to CT examinations, increased early screening for various diseases such as cancer, and had a great negative impact on public health. Due to these factors, researchers have raised the question of how to reduce the X-ray dose during CT scanning as much as possible while ensuring the quality of CT imaging.

[0003] In some cases, limited by specific imaging conditions, such as surgical navigation, breast tomography, and dental tomography, traditional full-angle CT scanning is no longer applicable in scanning applications of fixed targets. Since the target is connected to the surrounding tissues, the scannable angle is drastically reduced, and the sampling data obtained after scanning is ultimately incomplete (for example, the standard 521*180° sampling data is reduced to 512*60°). Such incomplete sampling data will cause unbearable divergence of the tissue edges of the reconstructed image, which cannot be met by physicians in clinical diagnosis. Therefore, limited angle (LA) CT reconstruction technology was proposed, aiming to use limited sampling data to calculate CT images with complete tissues and clear structures. At the same time, due to the reduction of the scanning angle, the radiation dose received by the scanned target is also greatly reduced. Therefore, this technology has also been proposed by scholars to solve the problem of reducing the radiation dose of clinical CT scanning.

[0004] The diffusion model is a generative model that generates data by simulating the diffusion process. Its training process is more efficient and stable than the GAN series models, and it is easier to obtain the target results with higher generation quality. With the help of the powerful image generation ability and improved powerful denoising ability of the diffusion model, combined with the design ideas of the traditional iterative reconstruction algorithm, the scan data of the limited angle sampling CT image is restored. Specifically, the model performs image data recovery through an iterative architecture with a data self-enhancement module and a diffusion model that has been adaptively improved through conditional generation. It can capture feature information with different characteristics in the sine domain and image domain, so as to better detect different types of abnormalities. Summary of the invention

[0005] Based on the above ideas, the present invention proposes a limited-angle CT reconstruction system based on a diffusion model. This system realizes image generation using the diffusion principle and iterative reconstruction principle, effectively solving the problems of low quality of depth model generation and insufficient CT image data, thereby improving the accuracy of limited-angle CT reconstruction.

[0006] In order to achieve the above purpose, the following technical solutions are adopted:

[0007] A limited angle CT reconstruction system based on a diffusion model includes a diffusion generation module and a data self-enhancement module based on data fidelity constraints:

[0008] The diffusion generation module comprises a projection domain subnetwork, a filter back-projection unit and an image domain subnetwork;

[0009] Projection domain subnetwork: Interpolation operation is performed on the limited angle sampling data in the projection domain, and the sampling data of the input subnetwork is structurally completed to make its size equal to the full sampling data, so as to obtain relatively complete sinusoidal graph data;

[0010] Filtered back-projection unit: filtering and back-projecting the sinusoidal data obtained after completing the projection domain sub-network to achieve data domain conversion and obtain the cross-sectional view of the scanned target;

[0011] Image domain subnetwork: It is composed of a diffusion backbone module based on U-Net, which is used to restore the results obtained by filtered back projection in the image domain, restore tissue details and remove tilt artifacts from the input image to meet the diagnostic requirements of doctors;

[0012] The data self-enhancement module based on data fidelity constraint includes a residual-based data consistency unit and a data replacement unit. The residual-based data consistency unit calculates the residual between the generated data and the sampled data, and then performs a weighted difference operation with the generated image. The data replacement unit replaces the sampled data with the generated data according to the corresponding angle.

[0013] The data self-enhancement module based on data fidelity constraints includes:

[0014] Radon transform unit: performs Radon transform on the generated image of the image domain subnetwork and projects it to the projection domain sinusoidal graph;

[0015] Filtered back projection: The projection domain sinusoidal graph is filtered and back-projected to achieve data domain conversion and obtain the cross-sectional view of the scanned target;

[0016] Weight summing unit: performs learnable weight calculation on the image domain residual CT image converted from the projection domain difference sinusoidal image and the CT image generated by the image domain subnetwork;

[0017] Projection domain data consistency unit: performs residual calculation on the generated projection domain data after Radon transformation and the sampling data;

[0018] Data replacement unit: replaces the sampling data with the generated projection domain data according to the corresponding angle in the projection domain;

[0019] Path gating unit: controls the data flow to the residual-based data consistency unit or data replacement unit.

[0020] The limited angle CT reconstruction system based on the diffusion model, the projection domain sub-network: assuming that x is a limited sampling sinusoidal image data input, y is the corresponding full sampling image model, and the distribution p is learned through training θ (y t-1 |y t ,x), iteratively infer y0~p(y|x); set a forward Markov noise adding process q, which gradually converts the standard Gaussian noise Add to the fully sampled image y0;

[0021]

[0022] The constant η 1:T is a hyperparameter whose value range conforms to the interval η t ∈(0,1), which is used to determine the noise variance of each added noise. The variance determines the distribution range of the noise value around the mean. The larger the variance, the wider the fluctuation range of the noise. From this, we can deduce that when (x0,x t ) in the case of x t-1 The posterior distribution of is:

[0023]

[0024] In the inference process, the backward chain is parameterized and the variational lower bound of the backward chain log likelihood is defined; the posterior distribution is the conditional probability distribution of the model parameters given the observed data, which can reflect the uncertainty of the model parameters and the consistency with the observed data; the inference process is considered to be an inverse Markov process, and the noise image finally obtained from the forward diffusion start:

[0025]

[0026] According to the Gaussian conditional distribution p learned by the model during training θ (y t-1 |y t ,x) determine the reasoning process; the improved U-Net is used to determine the noise image y t The noise ε is separated from the original image, and thus, it can be recombined in reverse reasoning to obtain the target approximate image y0:

[0027]

[0028] Let p θ (y t-1 |y0,y t ) 2 The default value is (1-η t ). It can be concluded that q(y t-1 |y0,y t ) posterior distribution, so that p θ (y t-1 |y t ,x0) is parameterized by the mean μ:

[0029]

[0030] At this point, we can derive the form of iterative refinement of the conditional diffusion model:

[0031]

[0032] The limited angle CT reconstruction system based on the diffusion model, the filtering back projection unit: in order to remove noise and artifacts in the image and restore the details of the tissue structure, each sinusoidal image data processed by the projection domain sub-network is filtered and back-projected to obtain the corresponding image domain CT image, and the filtering back projection formula is as follows:

[0033] P(a,b)=∫P(a-Δa,b-Δb)h(Δa,Δb)dadb

[0034] u=a-Δa·cos(θ)

[0035] v = b - Δb cos(θ)

[0036] In the above formula, P(a, b) represents the original projection data, h(Δa, Δb) represents the filter function, (Δa, Δb) represents the offset in length and width of the image, and θ represents the angle between the projection direction and the horizontal direction.

[0037] The limited angle CT reconstruction system based on the diffusion model, the diffusion backbone module based on U-Net includes an encoder, a decoder, a dual-path attention module including a spatial attention unit and a channel attention unit, and a plurality of self-attention-based gating units; a sinusoidal graph or a CT image is used as the input of the model, and the important features of the generated image are extracted through the encoder, and the feature map output by the encoder enters the dual-path attention module, and the dual-path parallel attention mechanism enables the model to simultaneously capture the spatial details of the image and the correlation between channels, thereby more effectively performing feature extraction and noise mining, and then the output is sent to the decoder to infer the final expected result;

[0038] The high-dimensional feature map output by the encoder of U-Net will perform two channel pooling and one single-kernel convolution operations in sequence in the input spatial attention model. The size of this convolution kernel is selected to be 1×1 or 3×3. The purpose is to calculate the attention score of each spatial position to evaluate the importance of each pixel spatial position relative to other pixel positions; through such calculations, it is determined which areas have higher attention weights in the feature map, indicating the importance of these areas in the entire feature map; next, the calculated spatial attention two-dimensional matrix is ​​used to apply it to each pixel position in the original feature matrix; the purpose is to weight each pixel position in the feature map to enhance the feature representation of important areas while suppressing the expression of other areas; at the same time, the channel-based attention model focuses on the channel dimension of the image, with the goal of identifying which channels are more critical to the current task; the high-dimensional feature map output by the encoder of U-Net After the attention model of the input channel, it will pass through an attention module, which consists of two parts: channel dimension pooling and feature full connection calculation; channel dimension pooling is based on the channel dimension, and each feature map is pooled to obtain a eigenvalue, that is, the importance score of the channel, so as to obtain the overall information of each channel; the choice of pooling method is mostly maximum pooling and average pooling similar to the pooling layer, which extract the maximum eigenvalue and the average eigenvalue of the whole image respectively; and the feature full connection calculation part is composed of a fully connected layer and an activation function, and the attention score of each channel is calculated through learnable parameters; the channel attention score is used to perform weighted calculation on each channel of the original feature map, so as to obtain a new feature map that emphasizes the expression of important channels and suppresses the information of secondary channels.

[0039] The limited angle CT reconstruction system based on the diffusion model, the Radon transform unit: by projecting the image in different directions, the Radon transform can provide information about the features of the image in different directions; specifically, it converts all the pixels of the image into a line, and these lines represent the integral along a certain angle, which is called a projection; the Radon transform establishes a mapping relationship between the projection and the original image, which is why the projection data can be reversely reconstructed into the original image, and its mathematical form is as follows:

[0040]

[0041] Among them, f(x,y) is the projected two-dimensional image, θ represents the direction of the ray, s represents the displacement of the ray, and δ is the Dirac (delta) function, which represents a ray in the direction of angle θ, and the displacement of the ray from the origin is s; the product of f(x,y) and δ is the pixel value on the ray along the direction of θ, and the integral operation is performed to obtain the projection value R(d,θ). The original two-dimensional image can be reconstructed through the surrounding projection data. This reconstruction process is implemented using the inverse Radon transform, and its principle is to superimpose the projection data along different angles.

[0042] The limited angle CT reconstruction system based on the diffusion model, the weight summing unit: the weight summing unit includes a learnable parameter λ i It is used to adjust the proportion of the sine domain residual obtained after the data fidelity processing when it is fused with the original generated CT image. The formula is as follows:

[0043]

[0044] Where S L represents the sine domain sampling data, FBP represents the filtered back projection algorithm, and FP represents the forward projection algorithm. After being fused by the weighted summation module, the CT image will restore the sampling true value while minimizing the domain conversion loss.

[0045] The limited angle CT reconstruction system based on the diffusion model, the projection domain data consistency unit: the projection domain data consistency unit uses the data fidelity item and the data replacement item at the same time, allowing the data fidelity item and the data replacement item to run alternately, and achieving a balance between the data domain conversion loss and the sampling data recovery that meets the medical diagnosis standard as much as possible. The formula is as follows:

[0046]

[0047] where iter represents the current outer iteration number, R represents running the replacement operator Θ(·) every R iterations, and λ i As a learnable parameter, it is used to adjust the proportion of the residual in the sine domain. DSEM alternately applies data fidelity constraints and data consistency constraints to minimize the information loss caused by data domain conversion while ensuring that the generated data will not deviate seriously during each iteration.

[0048] The limited angle CT reconstruction system based on the diffusion model, the data replacement unit: projects the input result image into sinusoidal domain data through the forward projection layer Then use the finite angle sine domain real data S L For S D Perform conditional coverage operation and obtain Finally, the filtered back-projection operator is used to transform S D ′ is converted back to the image domain to obtain the module output. The process can be mathematically expressed as:

[0049]

[0050]

[0051] Where FBP and FP represent the filtered back projection operator and the forward projection operator, respectively; Θ(·) is a sine replacement operator, which is used to replace the sampled real sine data with the sine generated data converted from the output of the image domain generation network, so as to restore the sampled data tampered by the deep learning model; The superscript m∈[1,M] in ∈R denotes the mth view of the sinusoidal domain data.

[0052] The limited angle CT reconstruction system based on the diffusion model, the path gating unit: inputs the output of the image domain sub-network into the data self-enhancement module based on the data fidelity constraint, and the gating parameter is set to 3 after experimental verification, that is, the path turns to the data fidelity term once after three data replacement terms, restores important sampling information as much as possible, and guides the fusion of generated data and sampling information;

[0053] The limited angle CT reconstruction system based on the diffusion model, the self-attention based gating unit: by calculating the internal dependencies between features, the model's ability to capture long-range dependent information in the image can be further improved, which is particularly important for enhancing image contrast and removing noise. A self-attention gate module is added to the original jump connection of U-Net. While receiving the feature map of the jump connection starting point, it also receives the decoder output feature map of the previous layer of the jump connection end point. The attention gate calculates the spatial attention weight of the input feature map through a convolution operation. The calculation method is similar to that of the space-based attention model. Then, the two weight matrices are fused and output through convolution, and weighted operation is performed with the input of the jump connection end point module to achieve a self-attention mechanism.

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

[0055] The method of the present invention constructs a limited-angle CT reconstruction system based on a diffusion model, which is used to realize CT image reconstruction under limited-angle CT sampling conditions. The invention is based on the diffusion model and iterative reconstruction improvements. In actual medical auxiliary diagnosis scenarios, the problems of insufficient quality of deep model generation and scarce CT image data samples are addressed. The diffusion model that adapts to the conditional image generation process is used to restore the structural details in the limited-sampled CT sinusoidal data, remove noise artifacts in the limited-sampled CT images, and improve the diagnostic efficiency and accuracy of clinical medicine.

[0056] The present invention enables patients to obtain CT images that meet clinical diagnostic needs while minimizing the X-ray radiation dose received during the computed tomography process. It solves the problem of poor reconstruction quality caused by missing sampling data in limited-angle CT scanning, successfully reduces the irreversible damage of CT scanning to the human body, reduces the risk of canceration of patient tissues, and lays a solid foundation for the development of automation and intelligence in the clinical diagnosis process. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is an overall schematic diagram of the forward diffusion process of the conditional diffusion model of the present invention;

[0058] Figure 2 A specific flow chart of the spatial attention model in the dual-path attention module of the present invention;

[0059] Figure 3 A specific flow chart of the channel attention model in the dual-path attention module of the present invention;

[0060] Figure 4 A specific flow chart of the self-attention gate module structure of the present invention;

[0061] Figure 5 It is a specific flow chart of the projection domain sub-network of the present invention;

[0062] Figure 6 It is an overall schematic diagram of the image domain of the limited angle CT reconstruction system based on the diffusion model of the present invention;

[0063] Figure 7 The reconstruction results of different organs and different methods of the limited angle CT reconstruction system based on the diffusion model of the present invention and six other methods under 0-120° sampling, where (a) is the reconstruction result, (b) is the residual map, and TLIR is the experimental result of the present invention;

[0064] Figure 8The reconstruction results of different organs and different methods of the limited angle CT reconstruction system based on the diffusion model of the present invention and six other methods under 0-90° sampling, where (a) is the reconstruction result, (b) is the residual map, and TLIR is the experimental result of the present invention;

[0065] Fig. 9 A line graph showing the result of selecting different path change parameters for the path gating unit of the present invention;

[0066] Fig.10 A line graph showing the result of selecting parameters for the number of iterations of the limited angle CT reconstruction system based on the diffusion model of the present invention; DETAILED DESCRIPTION

[0067] The present invention is described in detail below in conjunction with specific embodiments.

[0068] A limited angle CT reconstruction system based on a diffusion model includes a diffusion generation module and a data self-enhancement module based on data fidelity constraints; the overall process is shown in the figure Figure 5 , 6 As shown, including the following:

[0069] A1 uses the CT scan data provided in CT scan-assisted diagnosis to recover CT images containing complete tissue structure details from the obtained projection data. Among them, the projection domain data contains the frequency domain information of human tissue, the lower frequency component sub-image corresponds to the overall structure and background information of the image, and the higher frequency component reflects the details and texture information of the image. The image domain data is more in line with the observation preference of the human eye and contains more structural information that is conducive to clinical diagnosis, so that richer image feature information can be obtained;

[0070] A2 first inputs the extracted limited-angle CT sampling data into the projection domain sub-network to complete the missing angle data and convert it to the image domain. Specifically, the limited-angle CT sampling data is completed with 0 values, and then input into the projection domain sub-network to generate the missing part according to the sampling data using the depth prior, and obtain relatively complete sinusoidal data;

[0071] The specific steps of step A2 are as follows:

[0072] A21. Forward diffusion noise addition on input image

[0073] Assume that x is a finitely sampled sinusoidal image data input, and y is the corresponding fully sampled image model. The distribution p is learned through training. θ (y t-1 |y t ,x), iteratively infer y0~p(y|x); set a forward Markov noise adding process q, which gradually converts the standard Gaussian noise Add to fully sampled image y0 superior.

[0074]

[0075] The constant η 1:T is a hyperparameter whose value range conforms to the interval η t ∈(0,1), which is used to determine the noise variance of each added noise. The variance determines the distribution range of the noise value around the mean. The larger the variance, the wider the fluctuation range of the noise. From this, we can deduce that when (x0,x t ) in the case of x t-1 The posterior distribution of is:

[0076]

[0077] During inference, by parameterizing the backward chain and defining the variational lower bound of the backward chain log likelihood, the posterior distribution is the conditional probability distribution of the model parameters given the observed data, which can reflect the uncertainty of the model parameters and the consistency with the observed data:

[0078] A22. After forward diffusion, the inference process of reverse iterative optimization begins

[0079] The inference process is considered to be an inverse Markov process, and the final noise image obtained from the forward diffusion is start:

[0080]

[0081] This system uses the Gaussian conditional distribution p learned by the model during training. θ (y t-1 |y t ,x) determines the reasoning process. The U-Net-based diffusion backbone module is used to determine the noise image y t The noise ε is separated from the original image, and thus, it can be recombined in reverse reasoning to obtain the target approximate image y0:

[0082]

[0083] Let p θ (y t-1 |y0,y t ) 2 The default value is (1-η t ). It can be concluded that q(y t-1 |y0,y t ) posterior distribution, so that p θ (y t-1 |y t ,x0) is parameterized by the mean μ:

[0084]

[0085] At this point, we can derive the form of iterative refinement of the conditional diffusion model:

[0086]

[0087] A23. Input the generated simulated fully sampled sinusoidal graph into the filtered back-projection algorithm

[0088] In order to remove noise and artifacts in the image and restore the details of the tissue structure, each sinusoidal data processed by the projection domain sub-network is filtered and back-projected to obtain the corresponding image domain CT image. The filtering back-projection formula is as follows:

[0089] P(a,b)=∫P(a-Δa,b-Δb)h(Δa,Δb)dadb

[0090] u=a-Δa·cos(θ)

[0091] v = b - Δb cos(θ)

[0092] In the above formula, P(a,b) represents the original projection data, h(Δa,Δb) represents the filter function, (Δa,Δb) represents the offset of the image length and width, and θ represents the angle between the projection direction and the horizontal direction.

[0093] A3 inputs the domain-converted initial CT image into the image domain subnetwork

[0094] The image domain subnetwork of step A3 is composed of a diffusion backbone module based on U-Net, which includes an encoder, a decoder, a dual-path attention module including a spatial attention unit and a channel attention unit, and multiple self-attention-based gating units. The sinusoidal image or CT image is used as the input of the model, and the encoder is used to extract the important features of the generated image. The model is guided to focus on the important features through multiple attention units, and the output is finally sent to the decoder to infer the final expected result;

[0095] The specific steps of step A3 are as follows:

[0096] A31. Initial CT image input encoder after domain conversion

[0097] The encoder is responsible for extracting high-level features from the input image and converting the image information into a higher-level representation. Typically, the encoder consists of multiple convolutional layers and pooling layers, which gradually reduce the resolution and number of channels of the image through convolution operations while extracting the semantic information of the image. This process of gradually reducing the image size helps to improve the computational efficiency of the model and enables the model to effectively analyze images at different scales. The output of the encoder is usually a series of feature maps with different levels of abstraction, which contain various semantic information of the input image. After these feature maps pass through the encoder, their spatial dimensions will gradually decrease, but the number of feature channels will increase, allowing the model to better understand the content and structure of the image.

[0098] A32. The feature map output by the encoder enters the dual-path attention module

[0099] It consists of a spatial attention unit and a channel attention unit; this dual-path parallel attention mechanism enables the model to simultaneously capture the spatial details of the image and the correlation between channels, thereby more effectively performing feature extraction and noise mining.

[0100] The high-dimensional feature map output by the encoder of U-Net will perform two channel pooling and one single-kernel convolution operations in sequence when the input spatial attention model is input. Usually, the size of this convolution kernel is selected to be 1×1 or 3×3, with the purpose of calculating the attention score of each spatial position to evaluate the importance of each pixel spatial position relative to other pixel positions. Through such calculations, it is possible to determine which areas have higher attention weights in the feature map, indicating the importance of these areas in the entire feature map. Next, the calculated spatial attention two-dimensional matrix is ​​applied to each pixel position of the original feature matrix. The purpose of this is to weight each pixel position in the feature map to enhance the feature representation of important areas while suppressing the expression of other areas. At the same time, the channel-based attention model focuses on the channel dimension of the image, with the goal of identifying which channels are more critical to the current task. The high-dimensional feature map output by the encoder of U-Net will pass through an attention module after entering the channel attention model. The attention module mainly consists of two parts, namely channel dimension pooling and feature full connection calculation. Channel dimension pooling mainly uses the channel dimension as a unit to perform pooling operations on each feature map to obtain an eigenvalue, that is, the importance score of the channel, so as to obtain the overall information of each channel. Most of the pooling methods are similar to the maximum pooling and average pooling of the pooling layer, which extract the maximum eigenvalue and the average eigenvalue of the whole image respectively. The feature full connection calculation part is composed of a fully connected layer and an activation function, and the attention score of each channel is calculated through learnable parameters. The attention score of the channel is used to perform weighted calculation on each channel of the original feature map, so as to obtain a new feature map that emphasizes the expression of important channels and suppresses the information of secondary channels.

[0101] A33. The output of the dual attention module and the self-attention based gating unit is input to the decoder

[0102] The decoder is a symmetrical structure of the encoder, responsible for mapping the high-level features extracted by the encoder back to the size of the original image and generating the final output. The decoder remaps the features extracted by the encoder to the size of the original image through upsampling operations and skip connections, thereby achieving refined reconstruction and segmentation of the image. In the decoder, deconvolution layers (also called transposed convolution layers or upsampling layers) are usually used to perform upsampling operations to expand the size of the feature map to the same size as the original image. At the same time, each layer of the decoder is connected to the feature map of the corresponding layer of the encoder. This skip connection helps to retain the detailed information of the image, improve the accuracy of segmentation, and avoid information loss or resolution loss.

[0103] A34. Iterate the encoder-decoder structure multiple times

[0104] The learning and reasoning process of the diffusion model is to remove an additional layer of Gaussian noise each time the data flows through the encoder-decoder structure.

[0105] A4 inputs the generated image into the data self-enhancement module

[0106] The data self-enhancement module of step A4 includes a Radon transform unit, a filtered back projection, a weight summation unit, a path gating unit, a residual-based data consistency unit, and a data replacement unit; the residual-based data consistency unit calculates the residual between the generated data and the sampled data, and then performs a weight difference operation with the generated image, and the data replacement unit replaces the sampled data with the generated data according to the corresponding angle;

[0107] The specific steps of step A4 are as follows:

[0108] A41. Input the restored CT image into the path gating unit

[0109] The output of the image domain subnetwork is input into the path gating unit. The gating parameter is set to 3 after experimental verification, that is, the path turns to a data fidelity term after three data replacement terms, restoring important sampling information as much as possible and guiding the fusion of generated data and sampling information.

[0110] A42. Input the restored CT image into the residual-based data consistency unit

[0111] The backup is projected into the sine domain through the Radon transform unit to obtain S D , and calculate the difference with the real data to get the sinusoidal residual SR Finally, S R Convert back to the image domain through the filtered back projection algorithm and compare with the generated image In the weight summation unit, the weight difference is taken to obtain the enhanced result x k . Let the data fidelity term and the data replacement term run alternately to a certain extent, as follows:

[0112]

[0113] where iter represents the current outer iteration number, R represents running the replacement operator Θ(·) every R iterations, and λ i As a learnable parameter, it is used to adjust the proportion of the sine domain residual.

[0114] A43. Input the restored CT image into the data replacement unit

[0115] The input result image is projected into sine domain data through the Radon transform unit. Then use the finite angle sine domain real data S L For S D Perform conditional coverage operation and obtain Finally, the filtered back-projection operator is used to transform S D ′ is converted back to the image domain to obtain the module output. The process can be mathematically expressed as:

[0116]

[0117] Where FBP and FP represent the filtered back projection operator and the forward projection operator, respectively; Θ(·) is a sine replacement operator, which is used to replace the sampled real sine data with the sine generated data converted from the output of the image domain generation network, so as to restore the sampled data tampered by the deep learning model; The superscript m∈[1,M] in ∈R denotes the mth view of the sinusoidal domain data.

[0118] A5 inputs the restored image obtained into step A3 and step A4 again

[0119] Similar to the MBIR method that alternates between the denoising step and the projection data fidelity constraint, TLIR also alternates between the inner layer iterative diffusion model and the DSEM, as shown in Figure 2 As shown. Due to the serious lack of sinusoidal information (M L <<M), if you want to use the deep model directly from S L It is difficult to infer S; however, most people recognize that restoration work can be performed with the help of two-dimensional details such as edge distribution in the image domain. LAfter zero-field completion, the undersampled CT image x is directly generated by the filtered back-projection algorithm and used as the overall input of the inner iterative diffusion model. The superscript indicates the number of outer iterations, and the subscript indicates the number of noise additions within the diffusion model (also known as the number of inner iterations; the result image generated by the conditional diffusion model It is sent to DSEM for authenticity constraint calculation. Then, the cycle starts again.

[0120] Figure 7 The reconstruction results of different organs and different methods of the limited angle CT reconstruction system based on the diffusion model of the present invention and the other six methods under 0-120° sampling are shown in the figure. The first row is the head, the second row is the chest, and the third row is the abdomen. The lower right corner box of each image is an enlarged image of the rectangular ROI area in the reference.

[0121] Figure 8 The reconstruction results of different organs and different methods of the limited angle CT reconstruction system based on the diffusion model of the present invention and the other six methods under 0-90° sampling are shown in the figure. The first row is the head, the second row is the chest, and the third row is the abdomen. The lower right corner box of each image is an enlarged image of the rectangular ROI area in the reference.

[0122] Fig. 9 The result line graph of different path change parameters selected by the path gating unit of the present invention.

[0123] Fig.10 The line graph is the result of selecting parameters for the number of iterations of the limited angle CT reconstruction system based on the diffusion model of the present invention. The study tested the case where the number of iterations was 3 to 8. Obviously, after the number of modules is greater than 5, the effect of increasing the number of iterations on the results begins to decrease. Therefore, this system selects 6 as the outer iteration number.

[0124] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A limited angle CT reconstruction system based on a diffusion model, characterized in that: Including diffusion generation module and data self-enhancement module based on data fidelity constraints: The diffusion generation module comprises a projection domain subnetwork, a filter back-projection unit and an image domain subnetwork; Projection domain subnetwork: Interpolation operation is performed on the limited angle sampling data in the projection domain, and the sampling data of the input subnetwork is structurally completed to make its size equal to the full sampling data, so as to obtain relatively complete sinusoidal graph data; Filtered back-projection unit: filtering and back-projecting the sinusoidal data obtained after completing the projection domain sub-network to achieve data domain conversion and obtain the cross-sectional view of the scanned target; Image domain subnetwork: It is composed of a diffusion backbone module based on U-Net, which is used to restore the results obtained by filtered back projection in the image domain, restore tissue details and remove tilt artifacts from the input image to meet the diagnostic requirements of doctors; The data self-enhancement module based on data fidelity constraint includes a residual-based data consistency unit and a data replacement unit. The residual-based data consistency unit calculates the residual between the generated data and the sampled data, and then performs a weighted difference operation with the generated image. The data replacement unit replaces the sampled data with the generated data according to the corresponding angle. The data self-enhancement module based on data fidelity constraints includes: Radon transform unit: performs Radon transform on the generated image of the image domain subnetwork and projects it to the projection domain sinusoidal graph; Filtered back projection: The projection domain sinusoidal graph is filtered and back-projected to achieve data domain conversion and obtain the cross-sectional view of the scanned target; Weight summing unit: performs learnable weight calculation on the image domain residual CT image converted from the projection domain difference sinusoidal image and the CT image generated by the image domain subnetwork; Projection domain data consistency unit: performs residual calculation on the generated projection domain data after Radon transformation and the sampling data; Data replacement unit: replaces the sampling data with the generated projection domain data according to the corresponding angle in the projection domain; Path gating unit: controls the data flow to the residual-based data consistency unit or data replacement unit.

2. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The projection domain subnetwork: Assume that x is a finitely sampled sinusoidal image data input, y is the corresponding fully sampled image model, and the distribution p is learned through training. θ (y t-1 |y t ,x), iteratively infer y0~p(y|x); set a forward Markov noise adding process q, which gradually converts the standard Gaussian noise Add to fully sampled image y0 superior; The constant η 1:T is a hyperparameter whose value range conforms to the interval η t ∈(0,1), which is used to determine the noise variance of each added noise. The variance determines the distribution range of the noise value around the mean. The larger the variance, the wider the fluctuation range of the noise. From this, we can deduce that when (x0,x t ) in the case of x t-1 The posterior distribution of is: In the inference process, the backward chain is parameterized and the variational lower bound of the backward chain log likelihood is defined; the posterior distribution is the conditional probability distribution of the model parameters given the observed data, which can reflect the uncertainty of the model parameters and the consistency with the observed data; the inference process is considered to be an inverse Markov process, and the noise image finally obtained from the forward diffusion start: According to the Gaussian conditional distribution p learned by the model during training θ (y t-1 |y t ,x) determine the reasoning process; the improved U-Net is used to determine the noise image y t The noise ε is separated from the original image, and thus, it can be recombined in reverse reasoning to obtain the target approximate image y0: Let p θ (y t-1 |y0,y t ) 2 The default value is (1-η t ); we can conclude that q(y t-1 |y0,y t ) posterior distribution, so that p θ (y t-1 |y t ,x0) is parameterized by the mean μ: At this point, we can derive the form of iterative refinement of the conditional diffusion model:

3. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The filtering back projection unit: in order to remove noise and artifacts in the image and restore the details of the tissue structure, each sinusoidal data processed by the projection domain sub-network is filtered and back-projected to obtain the corresponding image domain CT image. The filtering back projection formula is as follows: P(a,b)=∫P(a-Δa,b-Δb)·h(Δa,Δb)dadb u=a-Δa·cos(θ) v=b-Δb·cos(θ) In the above formula, P(a, b) represents the original projection data, h(Δa, Δb) represents the filter function, (Δa, Δb) represents the offset in length and width of the image, and θ represents the angle between the projection direction and the horizontal direction.

4. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The U-Net-based diffusion backbone module includes an encoder, a decoder, a dual-path attention module including a spatial attention unit and a channel attention unit, and a plurality of self-attention-based gating units; a sinusoidal image or a CT image is used as the input of the model, and the encoder is used to extract important features of the generated image. The feature map output by the encoder enters the dual-path attention module. The dual-path parallel attention mechanism enables the model to simultaneously capture the spatial details of the image and the correlation between channels, thereby more effectively performing feature extraction and noise mining, and then the output is sent to the decoder to infer the final expected result; The high-dimensional feature map output by the U-Net encoder performs two channel pooling and one single-kernel convolution operations in the input spatial attention model; the size of this convolution kernel is selected to be 1×1 or 3×3, and the purpose is to calculate the attention score of each spatial position to evaluate the importance of each pixel spatial position relative to other pixel positions; Through such calculations, it is determined which areas have higher attention weights in the feature map, indicating the importance of these areas in the entire feature map; Next, the calculated spatial attention 2D matrix is ​​applied to each pixel of the original feature matrix; The purpose is to weight each pixel position in the feature map to enhance the feature representation of important areas while suppressing the expression of other areas. At the same time, the channel-based attention model focuses on the channel dimension of the image, and the goal is to identify which channels are more critical to the current task. The high-dimensional feature map output by the U-Net encoder will pass through an attention module after entering the channel attention model. The attention module consists of two parts, namely channel dimension pooling and feature full connection calculation. Channel dimension pooling is to perform pooling operations on each feature map in units of channel dimensions to obtain a feature value, that is, the importance score of the channel, so as to obtain the overall information of each channel. The choice of pooling method is mostly similar to the maximum pooling and average pooling of the pooling layer, which extracts the maximum feature value and the average feature value of the whole image respectively. The feature fully connected calculation part consists of a fully connected layer and an activation function, and the attention score of each channel is calculated through learnable parameters; The channel attention score is used to perform weighted calculation on each channel of the original feature map, so as to obtain a new feature map that emphasizes the expression of important channels and suppresses the information of minor channels.

5. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The Radon transform unit described above: By projecting the image in different directions, the Radon transform can provide information about the features in different directions in the image; specifically, it converts all the pixels of the image into a line, and these lines represent the integral along a certain angle, which is called a projection; the Radon transform establishes a mapping relationship between the projection and the original image, which is why the projection data can be reversely reconstructed to produce the original image. Its mathematical form is as follows: Where f(x,y) is the projected two-dimensional image, θ represents the ray direction, s represents the ray displacement, δ is the Dirac (delta) function, which represents a ray in the direction of angle θ, and the displacement of the ray from the origin is s; the product of f(x,y) and δ is the pixel value on the ray along the θ direction, and the projection value R(d,θ) is obtained by integrating it; the original two-dimensional image can be reconstructed through the surrounding projection data. This reconstruction process is implemented using the inverse Radon transform, and its principle is to superimpose the projection data along different angles.

6. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The weight summation unit: The weight summation unit contains a learnable parameter λ i It is used to adjust the proportion of the sine domain residual obtained after the data fidelity processing when it is fused with the original generated CT image. The formula is as follows: Where S L represents the sine domain sampling data, FBP represents the filtered back projection algorithm, and FP represents the forward projection algorithm; after fusion by the weighted summation module, the CT image will restore the sampling true value while minimizing the domain conversion loss.

7. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The projection domain data consistency unit: The projection domain data consistency unit uses the data fidelity item and the data replacement item at the same time, allowing the data fidelity item and the data replacement item to run alternately, and achieves a balance between the data domain conversion loss and the sampled data recovery that meets the medical diagnosis standard as much as possible. The formula is as follows: where iter represents the current outer iteration number, R represents running the replacement operator Θ(·) every R iterations, and λ i As a learnable parameter, it is used to adjust the proportion of the sinusoidal domain residual; DSEM alternately applies data fidelity constraints and data consistency constraints to minimize the information loss caused by data domain conversion while ensuring that the generated data will not deviate seriously during each iteration.

8. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The data replacement unit projects the input result image into sine domain data through the forward projection layer. Then use the finite angle sine domain real data S L For S D Perform conditional coverage operation and obtain Finally, the filtered back-projection operator is used to transform S D ′ is converted back to the image domain to obtain the module output. The process can be mathematically expressed as: Where FBP and FP represent the filtered back projection operator and the forward projection operator, respectively; Θ(·) is a sine replacement operator, which is used to replace the sampled real sine data with the sine generated data converted from the output of the image domain generation network, so as to restore the sampled data tampered by the deep learning model; The superscript m∈[1,M] in ∈R denotes the mth view of the sinusoidal domain data.

9. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The path gating unit described: inputs the output of the image domain sub-network into the data self-enhancement module based on data fidelity constraints. The gating parameter is set to 3 after experimental verification, that is, the path turns to a data fidelity item after three data replacement items, restores important sampling information as much as possible, and guides the fusion of generated data and sampling information.

10. The limited angle CT reconstruction system based on diffusion model according to claim 1, characterized in that: The self-attention-based gating unit: by calculating the internal dependencies between features, the model's ability to capture long-range dependency information in the image can be further improved, which is particularly important for enhancing image contrast and removing noise; a self-attention gate module is added to the original jump connection of U-Net, which receives the feature map of the jump connection starting point while also receiving the decoder output feature map of the previous layer of the jump connection end point; the attention gate calculates the spatial attention weight of the input feature map through a convolution operation, and the calculation method is similar to that of the space-based attention model, and then the two weight matrices are fused and output through convolution, so that they are weighted with the input of the jump connection end point module to achieve a self-attention mechanism.

Citation Information

Cited By

  • CBCT artifact correction system and method based on multi-stage reconstruction network

    CN119273799A

  • Image reconstruction method and device, storage medium and equipment

    CN121527292A