Git Product home page Git Product logo

corediff's Introduction

CoreDiff: Contextual Error-Modulated Generalized Diffusion Model for Low-Dose CT Denoising and Generalization

This is the official implementation of the paper "CoreDiff: Contextual Error-Modulated Generalized Diffusion Model for Low-Dose CT Denoising and Generalization". The pre-print version can be found in arxiv; the early access version can be found in TMI.

Updates

  • Dec, 2023: Updated the code for preprocessing the original Mayo 2016 "DICOM" format data (data_preporcess/prep_mayo2016.py) and its corresponding training demo (train_mayo2016.sh).
  • Oct, 2023: initial commit.

Data Preparation

  • The AAPM-Mayo dataset can be found from: Mayo 2016.
  • The "Low Dose CT Image and Projection Data" can be found from Mayo 2020.
  • The Piglet Dataset can be found from: SAGAN.
  • The Phantom Dataset can be found from: XNAT.

Training & Inference

Please check train.sh for training script (or test.sh for inference script) once the data is well prepared. Specify the setting in the script, and simply run it in the terminal.

For one-shot learning framework,please check train_osl_framework_training.sh for training script (or test_osl_framework.sh for inference script)

Training loss and evaluation metrics.

These curves are calculated based on our simulated 5% dose data. Image text

Requirements

- Linux Platform
- python==3.8.13
- cuda==10.2
- torch==1.10.1
- torchvision=0.11.2
- numpy=1.23.1
- scipy==1.10.1
- h5py=3.7.0
- pydicom=2.3.1
- natsort=8.2.0
- scikit-image=0.21.0
- einops=0.4.1
- tqdm=4.64.1
- wandb=0.13.3

Acknowledge

Citation

If you find our work and code helpful, please kindly cite the corresponding paper:

@article{gao2023corediff,
  title={CoreDiff: Contextual Error-Modulated Generalized Diffusion Model for Low-Dose CT Denoising and Generalization},
  author={Gao, Qi and Li, Zilong and Zhang, Junping and Zhang, Yi and Shan, Hongming},
  journal={IEEE Transactions on Medical Imaging},
  year={2023}
}

corediff's People

Contributors

qgao21 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.