Giter Site home page Giter Site logo

addformer's Introduction

ADDFormer

Alzheimer's Disease Detection from structural MRI using Fusion Transformer

The paper has been published in the Conference of ISBI 2022. Link: (https://ieeexplore.ieee.org/iel7/9761376/9761399/09761421.pdf).

@inproceedings{kushol2022addformer,
  title={Addformer: Alzheimer’s disease detection from structural mri using fusion transformer},
  author={Kushol, Rafsanjany and Masoumzadeh, Abbas and Huo, Dong and Kalra, Sanjay and Yang, Yee-Hong},
  booktitle={2022 IEEE 19th International Symposium On Biomedical Imaging (ISBI)},
  pages={1--5},
  year={2022},
  organization={IEEE}
}

Abstract

Alzheimer's disease is the most prevalent neurodegenerative disorder characterized by degeneration of the brain. It is classified as a brain disease causing dementia that presents with memory loss and cognitive impairment. Experts primarily use brain imaging and other tests to rule out the disease. To automatically detect Alzheimer's patients from healthy controls, this study adopts the vision transformer architecture, which can effectively capture the global or long-range relationship of image features. To further enhance the network's performance, frequency and image domain features are fused together since MRI data is acquired in the frequency domain before being transformed to images. We train the model with selected coronal 2D slices to leverage the transfer learning property of pre-training the network using ImageNet. Finally, the majority voting of the coronal slices of an individual subject is used to generate the final classification score. Our proposed method has been evaluated on the publicly available benchmark dataset ADNI. The experimental results demonstrate the advantage of our proposed approach in terms of classification accuracy compared with that of the state-of-the-art methods.

SF2Former

Amyotrophic lateral sclerosis identification from multi-center MRI data using spatial and frequency fusion transformer

The paper has been published in the Journal of Computerized Medical Imaging and Graphics 2023. Link: (https://www.sciencedirect.com/science/article/pii/S0895611123000976).

@article{kushol2023sf2former,
  title={SF2Former: Amyotrophic lateral sclerosis identification from multi-center MRI data using spatial and frequency fusion transformer},
  author={Kushol, Rafsanjany and Luk, Collin C and Dey, Avyarthana and Benatar, Michael and Briemberg, Hannah and Dionne, Annie and Dupr{\'e}, Nicolas and Frayne, Richard and Genge, Angela and Gibson, Summer and others},
  journal={Computerized medical imaging and graphics},
  volume={108},
  pages={102279},
  year={2023},
  publisher={Elsevier}
}

Abstract

Amyotrophic Lateral Sclerosis (ALS) is a complex neurodegenerative disorder characterized by motor neuron degeneration. Significant research has begun to establish brain magnetic resonance imaging (MRI) as a potential biomarker to diagnose and monitor the state of the disease. Deep learning has emerged as a prominent class of machine learning algorithms in computer vision and has shown successful applications in various medical image analysis tasks. However, deep learning methods applied to neuroimaging have not achieved superior performance in classifying ALS patients from healthy controls due to insignificant structural changes correlated with pathological features. Thus, a critical challenge in deep models is to identify discriminative features from limited training data. To address this challenge, this study introduces a framework called SF2Former, which leverages the power of the vision transformer architecture to distinguish ALS subjects from the control group by exploiting the long-range relationships among image features. Additionally, spatial and frequency domain information is combined to enhance the network’s performance, as MRI scans are initially captured in the frequency domain and then converted to the spatial domain. The proposed framework is trained using a series of consecutive coronal slices and utilizes pre-trained weights from ImageNet through transfer learning. Finally, a majority voting scheme is employed on the coronal slices of each subject to generate the final classification decision. The proposed architecture is extensively evaluated with multi-modal neuroimaging data (i.e., T1-weighted, R2*, FLAIR) using two well-organized versions of the Canadian ALS Neuroimaging Consortium (CALSNIC) multi-center datasets. The experimental results demonstrate the superiority of the proposed strategy in terms of classification accuracy compared to several popular deep learning-based techniques.

Requirements

PyTorch
nibabel
scipy
scikit-image

Datasets

ADNI dataset can be downloaded from ADNI (Alzheimer’s Disease Neuroimaging Initiative)

CALSNIC dataset can be requested from CALSNIC (Canadian ALS Neuroimaging Consortium)

Preprocessing

Skull stripping using Freesurfer

Command recon-all -subjid subjid -i inputfile.nii -autorecon1

Details can be found at https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all. After skull-stripping, the image dimension will be $256\times256\times256$ and the voxel dimension will be $1\times1\times1$ $mm^3$.

(Optional) Registration to MNI-152 using FSL

Details can be found FSL

One implementation can be found here. After registration, the image dimension will be $182\times218\times182$ and the voxel dimension will be $1\times1\times1$ $mm^3$.

Training

Run python addformer_train.py to train the ADDFormer framework. Run python sf2former_train.py to train the SF2Former framework. It will generate best_model.pth in model folder.

Testing

Run python test3D_addformer.py to test the best model using ADDFormer framework. Run python test3D_sf2former.py to test the best model using SF2Former framework.

Contact

Email at: [email protected]

Acknowledgement

This basic structure of the code relies on the project of TransUNet

@article{chen2021transunet,
  title={Transunet: Transformers make strong encoders for medical image segmentation},
  author={Chen, Jieneng and Lu, Yongyi and Yu, Qihang and Luo, Xiangde and Adeli, Ehsan and Wang, Yan and Lu, Le and Yuille, Alan L and Zhou, Yuyin},
  journal={arXiv preprint arXiv:2102.04306},
  year={2021}
}

GFNet

@article{rao2021global,
  title={Global filter networks for image classification},
  author={Rao, Yongming and Zhao, Wenliang and Zhu, Zheng and Lu, Jiwen and Zhou, Jie},
  journal={Advances in neural information processing systems},
  volume={34},
  pages={980--993},
  year={2021}
}

addformer's People

Contributors

rkushol avatar

Stargazers

nollexu avatar Florence Townend avatar  avatar  avatar  avatar  avatar José Bruno avatar Abbas Masoumzadeh avatar

Watchers

DongHuo avatar Kostas Georgiou avatar Abbas Masoumzadeh avatar  avatar

Forkers

c3030802096

addformer's Issues

I have some questions for help

Hello, thank you for the code you provided. During the process of running your code to learn, I found that the accuracy rate is a constant
50 % that does not change regardless of the training and testing processes. During the data set preprocessing process, my data voxel dimension used is 2×2×2. I don’t know if this is the reason. Can you share the data set with me? Thank you so much! My email is [email protected]

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.