All Projects → Milan-BUAA → TSAN-brain-age-estimation

Milan-BUAA / TSAN-brain-age-estimation

Licence: MIT license
TSAN: Two-Stage-Age-Net, for brain age estimation from T1-weighted MRI data.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to TSAN-brain-age-estimation

brainGraph
Graph theory analysis of brain MRI data
Stars: ✭ 136 (+466.67%)
Mutual labels:  mri
qsm-tools
List of open-source quantitative susceptibility mapping (QSM) MRI software packages and data
Stars: ✭ 39 (+62.5%)
Mutual labels:  mri
Brain-MRI-Segmentation
Smart India Hackathon 2019 project given by the Department of Atomic Energy
Stars: ✭ 29 (+20.83%)
Mutual labels:  mri
fastmri-reproducible-benchmark
Try several methods for MRI reconstruction on the fastmri dataset. Home to the XPDNet, runner-up of the 2020 fastMRI challenge.
Stars: ✭ 117 (+387.5%)
Mutual labels:  mri
Brain-Tumor-Segmentation
Attention-Guided Version of 2D UNet for Automatic Brain Tumor Segmentation
Stars: ✭ 125 (+420.83%)
Mutual labels:  mri
awesome-mri
Awesome Magnetic Resonance Imaging (MRI)
Stars: ✭ 25 (+4.17%)
Mutual labels:  mri
MIRT.jl
MIRT: Michigan Image Reconstruction Toolbox (Julia version)
Stars: ✭ 80 (+233.33%)
Mutual labels:  mri
pygrappa
Python implementations of GRAPPA-like algorithms.
Stars: ✭ 43 (+79.17%)
Mutual labels:  mri
Brainy
Brainy is a virtual MRI analyzer. Just upload the MRI scan file and get 3 different classes of tumors detected and segmented. In Beta.
Stars: ✭ 29 (+20.83%)
Mutual labels:  mri
dicomifier
A medical image converter
Stars: ✭ 22 (-8.33%)
Mutual labels:  mri
MRQy
MRQy is a quality assurance and checking tool for quantitative assessment of magnetic resonance imaging (MRI) data.
Stars: ✭ 58 (+141.67%)
Mutual labels:  mri
MriResearchTools.jl
Specialized tools for MRI
Stars: ✭ 16 (-33.33%)
Mutual labels:  mri
tfkbnufft
A robust, easy-to-deploy non-uniform Fast Fourier Transform in TensorFlow.
Stars: ✭ 23 (-4.17%)
Mutual labels:  mri
ENIGMA
The ENIGMA Toolbox is an open-source repository for accessing 100+ ENIGMA statistical maps, visualizing cortical and subcortical surface data, and relating neuroimaging findings to micro- and macroscale brain organization. 🤠
Stars: ✭ 66 (+175%)
Mutual labels:  mri
bidscoin
BIDScoin converts your source-level neuroimaging data to BIDS
Stars: ✭ 75 (+212.5%)
Mutual labels:  mri
nn-segmentation-for-lar
Neural networks to segment some type of biomedical images
Stars: ✭ 21 (-12.5%)
Mutual labels:  mri
bidskit
Utility functions for working with DICOM and BIDS neuroimaging data
Stars: ✭ 52 (+116.67%)
Mutual labels:  mri
ANTsR
Advanced Normalization Tools in R
Stars: ✭ 101 (+320.83%)
Mutual labels:  mri
prime-re.github.io
Open resource exchange platform for non-human primate neuroimaging
Stars: ✭ 13 (-45.83%)
Mutual labels:  mri
jemal
jemal gem – Ruby interface to jemalloc
Stars: ✭ 26 (+8.33%)
Mutual labels:  mri

Brain Age Estimation From MRI Using Cascade Networks with Ranking Loss

Pytorch codes for the paper "Brain Age Estimation From MRI Using Cascade Networks with Ranking Loss", IEEE transactions on Medical Imaging, 2021

Abstract

In this paper, a novel 3D convolutional network, called as two-stage-age-network (TSAN), is proposed to estimate brain age from T1-weighted MRI data. Compared with existing methods, TSAN has the following improvements:

  • TSAN uses a two-stage cascade network architecture, where the first-stage network estimates a rough brain age, then the second-stage network estimates the brain age more accurately from the discretized brain age by the first stage network.
  • To our knowledge, TSAN is the first work to apply novel ranking losses in brain age estimation, together with the traditional mean square error (MSE) loss.
  • Third, densely connected paths are used to combine feature maps with different scales.

TSAN

Using the code:

  • Clone this repository:

git clone https://github.com/Milan-BUAA/TSAN-brain-age-estimation.git
cd TSAN-brain-age-estimation
  • To install all the dependencies using pip:

The code is stable using Python 3.8, to use it you will need:

  • Python >= 3.8
  • Pytorch >= 1.7
  • numpy
  • nibabel
  • tensorboardX
  • sklearn
  • pandas

Install dependencies with

pip install -r requirements.txt
  • Data Pre-Processing:

    Before performing training and testing, all MRI data needs to be preprocessed. All MRIs in datasets were processed by using a standardpreprocessing pipeline with FSL, including nonlinear registration to the standard MNI space and brain extraction. All MRIs after preprocessing have voxel size of $91 \times 109 \times 91$ with isotropic spatial resolution of $2 mm^{3}$. Details data preprocessing method see here.

  • Training Command:

Change the model_name, data_path and other settings to train them

# For training the frist stage brain age estimation network
bash script/bash_train_first_stage.sh
# For training the second stage brain age estimation network
# with the fisrt stage network pretrained model
bash script/bash_train_second_stage.sh
  • Testing Command:

Change the model_name, data_path and other settings to inference them

# For testing the frist stage brain age estimation network
bash script/bash_test_first_stage.sh
# For testing the second stage brain age estimation network with 
# the first stage network
bash script/bash_test_second_stage.sh

Pre-trained Model

Download the pretrained first-stage ScaleDense model and the second-stage model: Beihang Cloud

Datasets

Please check related websites for getting the datasets used in this paper:

ADNI

OASIS

PAC 2019 website archive

Data Structure

Prepare the dataset in the following format for easy use of the code.

  • Train, validation and test should contain completely unduplicated T1-weighted image samples.
  • The Excel file should include image file names, chronological age and sex labels ('0' for female and '1' for male) for all samples from the three datasets.
Train Folder-----
          sub-0001.nii.gz
          sub-0002.nii.gz
          .......

Validation Folder-----
          sub-0003.nii.gz
          sub-0004.nii.gz
          .......
Test Folder-----
          sub-0005.nii.gz
          sub-0006.nii.gz
          .......
          
Dataset.xls 

sub-0001.nii.gz     60     1
sub-0002.nii.gz     74     0
.......

Reference

If this repository is useful for your work, please cite the references:

[1] Jian Cheng, Ziyang Liu, Hao Guan, Zhenzhou Wu, Haogang Zhu, Jiyang Jiang, Wei Wen, Dacheng Tao, Tao Liu, "Brain Age Estimation From MRI Using Cascade Networks with Ranking Loss." IEEE transactions on Medical Imaging, 2021. [arxiv]

[2] Ziyang Liu, Jian Cheng, Haogang Zhu, Jicong Zhang, and Tao Liu, "Brain Age Estimation from MRI Using a Two-Stage Cascade Network with Ranking Loss." In International Conference on Medical Image Computing and Computer-Assisted Intervention, pp. 198-207. Springer, Cham, 2020.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].