Skip to content

JotatD/med-ddpm-brats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Med-DDPM: Conditional Diffusion Models for Semantic 3D Medical Image Synthesis

[Paper]

This repository houses the official implementation and pretrained model weights for our paper titled "Conditional Diffusion Models for Semantic 3D Medical Image Synthesis". Our work focuses on utilizing diffusion models to generate realistic and high-quality 3D medical images while preserving semantic information.

Synthetic Samples for Given Input Mask:

Input Mask Real Image Synthetic Sample 1 Synthetic Sample 2
Input Mask Real Image Synthetic Sample 1 Synthetic Sample 2
Synthetic Sample 3 Synthetic Sample 4 Synthetic Sample 5 Synthetic Sample 6
Synthetic Sample 7 Synthetic Sample 8 Synthetic Sample 9 Synthetic Sample 10
Synthetic Sample 11 Synthetic Sample 12 Synthetic Sample 13 Synthetic Sample 14
Synthetic Sample 15 Synthetic Sample 16 Synthetic Sample 17 Synthetic Sample 18
Synthetic Sample 19 Synthetic Sample 20 Synthetic Sample 21 Synthetic Sample 22

Setup

The following two libraries must be installed for training and generation.

Training

Learning can be performed from the following code. The script is executed according to the data size 64, 128. The path to the dataset folder is specified with --inputfolder in the script code.

Size : 128x128x128

$ ./scripts/train128.sh

Generate Samples

To generate samples, run the following script The learned weight file is specified by --weightfile, and the mask file to be input is specified by --inputfile.

Size : 128x128x128

$ ./scripts/generate128.sh

Citation

To cite our work, please use

@misc{,
  doi = {},
  url = {https://arxiv.org/abs/2305.18453},
  author = {Zolnamar Dorjsembe, Hsing-Kuo Pao, Sodtavilan Odonchimed, Furen Xiao},
  title = {Conditional Diffusion Models for Semantic 3D Medical Image Synthesis},
  publisher = {arXiv},
  year = {2022},
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published