/deepbleed

3D Volumetric Intracerebral Hemorrhage Segmentation

Primary LanguagePython

DeepBleed

ICH volumetric estimation is a task routinely performed in clinical research. This is the first publicly available deep neural network model to perform the task of ICH segmentation and volume estimation. The model was originally developed to test the hypothesis that an ICH segmentation deep neural network could be trained in an earlier clinical trial phase (MISTIE Phase II) and validated by a later phase (MISTIE Phase III).

We provide the 3D model from our paper "3D Deep Neural Network Segmentation of Intracerebral Hemorrhage: Development and Validation within a Clinical Trial Series". This model will perform binary segmentation of ICH and will include areas of IVH if present. The original model expects non-contrast CT in NIfTI format with prior preprocessing described in our paper, including a validated brain extraction method and spatial normalization via registration to a 1.5mm x 1.5mm x 1.5mm template with a shape of (128, 128, 128) which are all provided.

The underlying workhorses are FSL (https://fsl.fmrib.ox.ac.uk/fsl/fslwiki), ANTS (http://stnava.github.io/ANTs/) and Tensorflow (https://www.tensorflow.org/) and their python interfaces which can be installed via pip on OSX and Linux:

$ pip install tensorflow-gpu==2.0.0
$ pip install fslpy
$ pip install antspy
$ pip install nibabel
$ ...

To run an ICH prediction set the path to directories for inputs, outputs and model weights:

$ python3 predict.py --indir /path/to/inputs/ --outdir /path/to/outputs/ --weights /path/to/weights

You may optionally specify the number of GPUs and CPUs to use with --gpus and --cpus.


The underlying deep neural network architecture is based on the VNet by Milletari et al. at https://github.com/faustomilletari/VNet

Authors

  • Matthew Sharrock - Study Design, Neural Network Dev/Training, Preprocessing(Python)
  • John Muschelli - Study Design, Preprocessing, Statistical Validation