项目作者: fepegar

项目描述 :
Brain vessel segmentation using 3D convolutional neural networks
高级语言: Python
项目地址: git://github.com/fepegar/vesseg.git
创建时间: 2018-11-26T23:36:52Z
项目社区:https://github.com/fepegar/vesseg

开源协议:MIT License

下载


Vesseg

Brain vessel segmentation from digital subtraction angiography (DSA) using a 3D convolutional neural network (CNN).

screenshot
(Brain parcellation performed using GIF, not included in this repository).

Installation

GPU support

This package uses NiftyNet, which is built on top of TensorFlow, so first of all you need to follow the instructions to setup your NVIDIA GPU.

While it is possible to perform a segmentation without a GPU, inference of one large volume (512 × 512 × 394 voxels) using the default parameters takes one hour using CPU only and around 90 seconds using a GPU.

vesseg package

Using conda is recommended:

  1. $ conda create -n "vesseg" python=3.6 -y # tensorflow doesn't support python 3.7 yet
  2. $ conda activate "vesseg"
  3. (vesseg) $ git clone "https://github.com/fepegar/vesseg.git" --depth 1
  4. (vesseg) $ pip install --editable "./vesseg"

Usage

  1. $ conda activate vesseg
  2. (vesseg) $ vesseg dsa_image.nii.gz dsa_vessels_seg.nii.gz
  3. (vesseg) $ bin2mesh dsa_vessels_seg.nii.gz dsa_vessels_mesh.vtp

Tested on Linux and macOS.