Win-Diff: classifier-guided diffusion model for CT image windowing

Yee Zhing Liew, Anwar PP Abdul Majeed, Andrew Huey Ping Tan*, Chee Shen Lim, Anh Nguyen, Paolo Paoletti, Wei Chen

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Windowing is a critical preprocessing step in CT images, where high-bit-depth CT images are mapped to lower-bit-depth formats to enhance the visualisation of anatomical structures for radiologists and medical deep learning diagnostic models. However, due to variations in CT machine settings and patient-specific imaging requirements, manual adjustment of windowing parameters is always needed. This paper introduces Win-Diff, a novel classifier-guided diffusion model for CT image windowing, aimed at reducing manual effort and improving diagnostic accuracy, particularly for nodule detection. Unlike traditional approaches that predict windowing parameters such as Window Width (WW) and Window Level (WL) using convolutional neural networks (CNNs), Win-Diff directly generates task-optimised windowed images through a Diffusion U-Net architecture. A classifier head is seamlessly integrated into the diffusion process to guide image generation and optimise it for visual clarity and downstream diagnostic tasks. To balance the accurate reconstruction of windowed images with task-specific optimisation, we design a combined loss function incorporating reconstruction fidelity and classification performance. We evaluate Win-Diff on the nodule classification task using the Medical Segmentation Decathlon (MSD) lung dataset. Our results demonstrate that Win-Diff performs better than baseline methods, yielding an accuracy improvement. Furthermore, the structural similarity index (SSIM) and peak signal-to-noise ratio (PSNR) of Win-Diff-generated images outperform baseline methods, while its loss convergence is significantly faster.

Original languageEnglish
Article number025267
JournalEngineering Research Express
Volume7
Issue number2
DOIs
Publication statusPublished - 30 Jun 2025

Keywords

  • CT images
  • diffusion model
  • windowing

Fingerprint

Dive into the research topics of 'Win-Diff: classifier-guided diffusion model for CT image windowing'. Together they form a unique fingerprint.

Cite this