Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedNet-CMB

Automated cerebral microbleed segmentation for T2*/SWI MRI.

Install

git clone https://github.com/zxKyouma/MedNet-CMB.git
cd MedNet-CMB
conda env create -f environment.yml
conda activate MedNet-CMB
pip install -e .

Get the weights

Download the trained model (~1.2 GB) from the latest release.

tar -xzf MedNet-CMB_weights.tar.gz     # creates MedNet-CMB_weights/nnUNet_results/

You also need SynthStrip's model file for preprocessing:

curl -LO https://github.com/zxKyouma/MedNet-CMB/releases/download/v1.0.0/synthstrip.1.pt

It's redistributed here for convenience from FreeSurfer, which is where it comes from and whose licence it stays under. If you cite this tool, cite SynthStrip too (Hoopes et al., NeuroImage 2022).

Run it

Name each scan <subject_id>_0000.nii.gz, put them in one folder, and:

WEIGHTS_DIR=/path/to/MedNet-CMB_weights \
INPUT_DIR=/path/to/raw_images \
OUTPUT_DIR=/path/to/output \
SYNTHSTRIP_MODEL=/path/to/synthstrip.1.pt \
bash run_MedNet-CMB.sh

This command does preprocessing and segmentation in one go.

Results

Cohort Cluster Dice Precision Sensitivity False Positives / scan
Internal (n=264) 0.82 0.88 0.77 0.58
AIBL 0.89 0.87 0.94 -
ASPREE 0.58 0.68 0.55 -
VALDO 0.70 0.76 0.69 -
External DOU (n=20) 0.76 0.83 0.79 0.95

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages