Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2025 Apr 3.
Published in final edited form as: Conf Proc Int Conf Image Form Xray Comput Tomogr. 2024 Aug;2024:98–101.

Noise Controlled CT Super-Resolution with Conditional Diffusion Model

Yuang Wang 1,2, Siyeop Yoon 3, Rui Hu 4, Baihui Yu 5, Duhgoon Lee 6, Rajiv Gupta 7, Li Zhang 8, Zhiqiang Chen 9, Dufan Wu 10
PMCID: PMC11967985  NIHMSID: NIHMS2062612  PMID: 40181814

Abstract

Improving the spatial resolution of CT images is a meaningful yet challenging task, often accompanied by the issue of noise amplification. This article introduces an innovative framework for noise-controlled CT super-resolution utilizing the conditional diffusion model. The model is trained on hybrid datasets, combining noise-matched simulation data with segmented details from real data. Experimental results with real CT images validate the effectiveness of our proposed framework, showing its potential for practical applications in CT imaging.

Index Terms—: Super-Resolution, Conditional Diffusion Model, Noise Controlling

I. Introduction

Medical imaging, especially Computed Tomography (CT), is crucial for diagnosing and treating health conditions. Achieving higher resolution in CT scans is an ongoing challenge, and super-resolution techniques play a vital role in enhancing spatial resolution. This improvement promises more detailed information for clinicians, leading to better diagnostic accuracy and improved patient care. Diffusion models [1], [2], rooted in probabilistic modeling and diffusion processes, offer significant advancements in natural imaging tasks, including super-resolution [3]–[5]. Their stability, unlike Generative Adversarial Networks (GANs), ensures reliable image generation without the pitfalls of mode collapse or unrealistic artifacts. In the context of CT super-resolution, diffusion models stand as a source of inspiration, paving the way for novel developments in medical imaging.

Achieving super-resolution in CT images presents a complex challenge in noise control, particularly when compared to natural images. The training of conditional diffusion models for super-resolution necessitates paired sets of high resolution (HR) and low resolution (LR) CT images. Achieving super-resolution without noise amplification requires meticulous matching of noise levels in HR and LR CT images. The scarcity of noise-matched pairs, prompted by radiation exposure, has led certain methodologies to resort to downsampling HR CT images in either the image domain or projection domain to obtain corresponding LR CT images for model training [6]. However, these approaches inadvertently exacer-bate noise while improving spatial resolution. Some techniques introduce Gaussian noise to LR CT images [7] before or after downsampling to harmonize with the noise level, yet their efficacy in super-resolution may waver when applied to real data due to the introduction of unrealistically distributed noise.

In this article, we present an innovative framework for noise-controlled CT super-resolution, utilizing a conditional diffusion model trained on hybrid datasets. Numerical phantoms are employed to generate noise-matched simulation pairs of HR and LR CT images. Furthermore, details absent in numerical phantoms are segmented from noise-unmatched real pairs and integrated into the training process. Testing using real CT images validates the effectiveness of the proposed framework in real-world scenarios.

II. Method

A. Conditional Diffusion Model

In our article, we employ the Conditional Denoising Diffusion Probabilistic Model (DDPM) [4], [5] for super-resolution in CT images. Here, the set of LR images serves as the condition y, and the set of HR images forms the generation target x0. The Conditional DDPM contains a forward and reverse processes. The forward process, a Markov chain, gradually introduces noise into the image until it becomes a standard Gaussian noise image, with the following process:

qxtxt1=Nxt1βtxt1,βtI, (1)

where t is the diffusion time step from 0 to T, and βt is a small positive hyperparameter determining the speed of the diffusion. x0 is the original image and xT approximately follows the standard normal distribution.

From (1), we can derive qxtx0 and qxt1x0,xt:

qxtx0=Nxtγtx0,1γtI, (2)
qxt1xt,x0=Nxt1μ~txt,x0,β~tI, (3)

where

γt=s=1tαs, (4)
αt=1βt, (5)
μt~xt,x0=γt1βt1γtx0+αt1γt11γtxt, (6)

and

β~t=1γt11γtβt. (7)

The reverse process, a Markov chain aimed at generating x0 from xT~N(0,I), is modeled as a Gaussian process pθ:

pθxt1xt,y=Nxt1μθxt,y,t,σt2, (8)

where σt2 is a hyperparameter and is usually set as β~t, and μθ is trained to match μt~ to minimize the Kullback–Leibler (K-L) divergence between pθxt1xt,y and qxt1xt,x0:

θ*=argminθEq12σt2μθxt,y,tμ~txt,x0. (9)

To simplify the training, we can parameterize μθxt,y,t as:

μθxt,y,t=μ~txt,x^0,θxt,y,t, (10)

where

x^0,θxt,y,t=1γtxt1γtϵθxt,y,t. (11)

It leads to our training loss function

θ*=argminθEx0,yEt,ϵϵθxt,y,tϵ22, (12)

where

xt=γtx0+1γtϵ,ϵ~N0,I. (13)

After the network ϵθ is trained, one can predict x0 from xT~N(0,I) and the condition y following (8).

B. Framework of Noise-Controlled CT Super Resolution

The framework for noise-controlled CT super-resolution is illustrated in Fig. 1. The HR images are the labels x0, and the corresponding LR images are the conditions y. Instead of directly training the conditional diffusion model using noise-unmatched real data, which is prone to amplifying noise while enhancing spatial resolution, our approach integrates training with hybrid datasets. These datasets comprise both noise-matched simulation data and segmented bones from real data.

Fig. 1.

Fig. 1.

Framework of Noise Controlled CT Super-Resolution

Numerical phantoms are utilized to simulate CT scans with the same geometry parameters as real CT images, yielding noise-free projections. Assuming that the quantum noise is Gaussian, the following equations are used to inject correlated noises into the HR and LR images:

p^HR=pHR+kHRNHRz (14)
p^LR=pLR+kLRNLRdownsample(z), (15)

where z~N(0,I).p^ and p are the noisy and noiseless post-log projections, respectively. N is the number of photons per ray that reached the detector, which is different for each detector. kHR and kLR are hyperparameters to match the noise levels of both simulated HR and LR images to that of the real LR image.

Because of the lack of details such as trabecular bone structures in the simulation phantoms, models trained with the simulation data alone would lead to significant oversmooth of the bony structures when applied to the real data. The bone regions from the real data are segmented using threshold followed by hole filling algorithms and opening and closing morphological operations, and serve as part of the training data, as demonstrated in Fig. 1. During testing, the trained model is used on both the original LR image and segmented bones. The pixels within the bone mask on the non-segmented super-resolved image are replaced by those in the bone-only super-resolution image.

In summary, the noise-matched simulated images provide the model the capability of super-resolution without amplification of the noise. Meanwhile, the segmented HR and LR bone pairs encourage the preservation of the detailed bony structures in reality without promoting noise amplification too much. By adopting both training data, the model is trained to enhance spatial resolution without noise amplification and good preservation of the bony structures.

C. Implementation Details

The real training and testing data were acquired using the OmniTom PCD portable photon counting CT system (Neurologica, Danvers USA) at Massachusetts General Hospital. Acquisition parameters included 120 kVp and 40 mAs for 1×1 binning data, with an effective detector size of 0.12×0.14mm2 at the isocenter. The projection data were rebinned to 3×3 and 6×5 to generate paired HR and LR real data. The real training dataset comprises 64 slices of a cadaver head, and the real testing dataset includes 32 slices of a separate temporal bone.

Simulation data were generated using the XCIST simulation tool [8], utilizing head parts from five whole-body NURBS phantoms it provides, resulting in a total of 1040 slices. The hyperparameters kHR and kLR in equations (14) and (15) are set to 0.12 and 0.60, respectively, to match the noise level of the simulation data to that of the real LR image.

Both real and simulation data were reconstructed into 0.3×0.3mm2 HR images and 0.6×0.6mm2 LR images using edge-enhancing bone filter. To align their sizes for the conditional diffusion model training, the LR images were upsampled by two times using sinc-interpolation before being fed into the network as condition y [9].

The architecture of the conditional noise predictor we employed is illustrated in Fig. 2. The core structure of the conditional noise predictor is a U-Net, similar to the one utilized in the DDPM [2]. y and xt undergo a convolution layer separately and are then concatenated in the channel dimension. This structure is propagated through skip and residual connections across the entire U-Net, allowing the conditional noise predictor to extract information from y and xt both separately and jointly.

Fig. 2.

Fig. 2.

Architecture of the conditional noise predictor. The content in parentheses (c, 2c, 4c, 8c and 16c) after the block name indicates the number of output channels of each block, and in our implementation c is set to 32.

We used T=1,000 as the total number of diffusion steps, and βt was selected according to the sigmoid schedule [10]. The model was trained on randomly cropped patches of 128×128, and tested on the full image. A batch size of 64 was used during the training, with 48 slices from the noise-matched simulation and 16 from the real segmented bone images. The network was trained by the Adam algorithm with a learning rate of 8×105 for 100,000 iterations.

III. Result

The representative results of noise-controlled super resolution from our proposed framework on LR CT images of a temporal bone are presented in Fig. 3, with quantitative analyses in Table I. The proposed method was further compared to two other methods: M1, which was trained with simulation data only; and M2, which was similar to the proposed method but without matched noise levels in the simulation.

Fig. 3.

Fig. 3.

Results on LR CT images of a temporal bone using our proposed framework and two comparison methods M1 and M2.

TABLE I.

Quantitative analysis for all tested methods on cases and ROIs in Fig. 3.

Method STD (HU) Haralick featuredistance PSNR (dB)
ROI 1 ROI 2 ROI 3 ROI 4 Case 1 Case 2
HR 60.4 61.2 N/A N/A N/A N/A
LR 45.7 38.1 1367 1148 23.88 24.30
Proposed 41.5 39.9 325 535 23.79 24.33
M1 43.3 40.3 857 976 21.46 21.62
M2 54.1 51.9 324 550 22.97 24.26

Regions of interests (ROIs) are selected for quantitative analyses and marked in Fig. 3 using yellow ellipses and rectangles. Uniform ROIs 1 and 2 are used to calculate the standard deviation for evaluating the noise level, and ROIs 3 and 4, which contain intricate details, are used to calculate Haralick feature [11] distances to evaluate the similarity of the textures. Peak signal-to-noise ratio (PSNR) is also calculated to assess the consistency of the generated HR images.

Notably, M1 oversmoothes the trabecular bone structures due to the lack of such structures in the training data. Due to the oversmoothing, it has the worst Haralick feature distances in the bone ROIs (3 and 4) and the worst PSNR compared to the proposed method and M2. M2 has the similar enhancement of the spatial resolution and bony details compared to the proposed method, but it amplifies the noise as shown by the increased standard deviations in ROIs 1 and 2, leading to slightly worse PSNR compared to the proposed method. The proposed method achieved spatial resolution improvement without amplification of the noise. Both M2 and the proposed method had similar PSNR with the LR image, demonstrating that they are not drastically changing the structures as in M1. No significant improvement of the PSNR was observed due to the presence of noise in the HR images.

IV. Conclusion and Discussion

In conclusion, our proposed framework for noise controlled CT super resolution, leveraging the Conditional DDPM, presents a promising approach to enhance the spatial resolution of CT images while effectively controlling noise. By incorporating segmented details from real data and ensuring a matched noise level in simulation data during training, our model achieved image super-resolution without noise amplification. These results show its potential for practical applications in CT imaging, contributing to advancements in medical imaging technology.

One major limitation of the current method is that the proposed model depends on the precision of details segmentation, and errors in this process may introduce artifacts or result in the loss of details in the final output. Additionally, the training using segmented details featuring a completely black background may pose challenges to the performance of the conditional diffusion model. In our future work, we aim to investigate more robust and effective approaches to seamlessly integrate details unique to real data with noise-matched simulation data, thereby further enhancing the efficacy of noise-controlled CT super-resolution.

Contributor Information

Yuang Wang, Department of Radiology, Massachusetts General Hospital and Harvard Medical School, Boston MA 02114, USA.; Department of Engineering Physics, Tsinghua University, Beijing 100084, China.

Siyeop Yoon, Department of Radiology, Massachusetts General Hospital and Harvard Medical School, Boston MA 02114, USA..

Rui Hu, Department of Radiology, Massachusetts General Hospital and Harvard Medical School, Boston MA 02114, USA..

Baihui Yu, Department of Radiology, Massachusetts General Hospital and Harvard Medical School, Boston MA 02114, USA..

Duhgoon Lee, Neurologica Corp., Danvers MA 01923, USA..

Rajiv Gupta, Department of Radiology, Massachusetts General Hospital and Harvard Medical School, Boston MA 02114, USA..

Li Zhang, Department of Engineering Physics, Tsinghua University, Beijing 100084, China..

Zhiqiang Chen, Department of Engineering Physics, Tsinghua University, Beijing 100084, China..

Dufan Wu, Department of Radiology, Massachusetts General Hospital and Harvard Medical School, Boston MA 02114, USA..

REFERENCES

  • [1].Song Y and Ermon S, “Generative modeling by estimating gradients of the data distribution,” Advances in neural information processing systems, vol. 32, 2019. [Google Scholar]
  • [2].Ho J, Jain A, and Abbeel P, “Denoising diffusion probabilistic models,” Advances in neural information processing systems, vol. 33, pp. 6840–6851, 2020. [Google Scholar]
  • [3].Choi J, Kim S, Jeong Y, Gwon Y, and Yoon S, “Ilvr: Conditioning method for denoising diffusion probabilistic models,” arXiv preprint arXiv:2108.02938, 2021. [Google Scholar]
  • [4].Saharia C, Ho J, Chan W, Salimans T, Fleet DJ, and Norouzi M, “Image super-resolution via iterative refinement,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 4, pp. 4713–4726, 2022. [DOI] [PubMed] [Google Scholar]
  • [5].Li H, Yang Y, Chang M, Chen S, Feng H, Xu Z, Li Q, and Chen Y, “Srdiff: Single image super-resolution with diffusion probabilistic models,” Neurocomputing, vol. 479, pp. 47–59, 2022. [Google Scholar]
  • [6].Zhang X, Feng C, Wang A, Yang L, and Hao Y, “Ct super-resolution using multiple dense residual block based gan,” Signal, Image and Video Processing, vol. 15, pp. 725–733, 2021. [Google Scholar]
  • [7].You C, Li G, Zhang Y, Zhang X, Shan H, Li M, Ju S, Zhao Z, Zhang Z, Cong W, Vannier MW, Saha PK, Hoffman EA, and Wang G, “Ct super-resolution gan constrained by the identical, residual, and cycle learning ensemble (gan-circle),” IEEE Transactions on Medical Imaging, vol. 39, no. 1, pp. 188–203, 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [8].Wu M, FitzGerald P, Zhang J, Segars WP, Yu H, Xu Y, and De Man B, “Xcist—an open access x-ray/ct simulation toolkit” Physics in Medicine & Biology, vol. 67, no. 19, p. 194002, 2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [9].Wang X, Xie L, Dong C, and Shan Y, “Real-esrgan: Training real-world blind super-resolution with pure synthetic data,” in Proceedings of the IEEE/CVF international conference on computer vision, 2021, pp. 1905–1914. [Google Scholar]
  • [10].Jabri A, Fleet D, and Chen T, “Scalable adaptive computation for iterative generation,” arXiv preprint arXiv:2212.11972, 2022. [Google Scholar]
  • [11].Haralick RM, Shanmugam K, and Dinstein IH, “Textural features for image classification,” IEEE Transactions on systems, man, and cybernetics, no. 6, pp. 610–621, 1973. [Google Scholar]

RESOURCES