Skip to content

Code and data used in publication "Accurate and robust segmentation of neuroanatomy in T1-weighted MRI by combining spatial priors with deep convolutional neural networks." (https://doi.org/10.1002/hbm.24803)

Notifications You must be signed in to change notification settings

philnovv/CNN_NeuroSeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Code and data used in publication Accurate and robust segmentation of neuroanatomy in T1-weighted MRI by combining spatial priors with deep convolutional neural networks

Prerequisites

Example code

Train a network:

python train_cnn.py -tr_ima yourTrainingImages.txt -tr_mask yourTrainingMasks.txt -model_name yourModelName -sampling_mask yourSamplingMask.mnc -num_labels yourLabelNumber

Apply it:

python apply_cnn.py -te_ima yourTrainingImages.txt -output_dir yourOutputDir -model_name yourModelName -sampling_mask yourSamplingMask.mnc -num_labels yourLabelNumber -positive_mask yourPositiveMask.mnc

Details

Images should be intensity-normalized and registered in a common space. Make sure your label images are integer-valued (background should have a value of 0). See paper and code comments for further details.

About

Code and data used in publication "Accurate and robust segmentation of neuroanatomy in T1-weighted MRI by combining spatial priors with deep convolutional neural networks." (https://doi.org/10.1002/hbm.24803)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages