Giter Site home page Giter Site logo

deep-evidential-fusion's Introduction

Code for paper

"Deep evidential fusion with uncertainty quantification and contextual discounting for multimodal medical image segmentation"

We have proposed a deep decision-level fusion architecture for multi-modality medical image segmentation. In this approach, features are first extracted from each modality using a deep neural network such as UNet. An evidence-mapping module based on prototypes in feature space then computes a Dempster-Shafer mass function at each voxel. To account for the varying reliability of different information sources in different contexts, the mass functions are transformed using the contextual discounting operation before being combined by Dempster's rule. The whole framework is trained end-to-end by minimizing a loss function that quantifies prediction error both at the modality level and after fusion.

Here we show the example usage to train BraTs2021 dataset when using nnFormer as the baseline feature extractor.

########Environment requirement###### Before using the code, please install the required packages using

 pip install -r requirements.txt

######### Data ########

Put your own data on  ./dataset

######### Model ########

The proposed models are put in networks/nnFormer

nnFormer_s_ds_flair.py
nnFormer_s_ds_flair.py
nnFormer_s_ds_flair.py
nnFormer_s_ds_flair.py
nnFormer_discounting.py

######### pre-trained weights #####

Download pre-trained weights of the feature extraction (FE) module flair, t1, t1Gd, and t2 using the link https://drive.google.com/drive/folders/1_iMHbOB2TQSeeoqtvjGZXL4hU6cdlarM?usp=drive_link

Put the downloaded FE weight in ./Pretrained_model. If you want to use other SOTA FE modules, you can train your own FE on the single medical modality and put the trained model here.

####### Training ####### and run

python script-TRAINING_nnFormer_discounting-early-stooping.py

####### Test ########## Download the trained MMEF-nnFormer from link https://drive.google.com/drive/folders/165T-RceXnNCw7UhuZrxN3UCysV-BMORu?usp=drive_link and run

python script-TRAINING_nnFormer_discounting-test.py

######### Citing this paper ########

@article{huang2023deep,
  title={Deep evidential fusion with uncertainty quantification and contextual discounting for multimodal medical image segmentation},
  author={Huang, Ling and Ruan, Su and Decazes, Pierre and Denoeux, Thierry},
  journal={arXiv preprint arXiv:2309.05919},
  year={2023}
}
@inproceedings{huang2022evidence,
  title={Evidence fusion with contextual discounting for multi-modality medical image segmentation},
  author={Huang, Ling and Denoeux, Thierry and Vera, Pierre and Ruan, Su},
  booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
  pages={401--411},
  year={2022},
  organization={Springer}

}

deep-evidential-fusion's People

Contributors

iweisskohl avatar

Watchers

 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.