mhaft / DeepVess

Apache License 2.0
29 stars 12 forks source link

DeepVess

DeepVess is a 3D CNN segmentation method with essential pre- and post-processing steps, to fully automate the vascular segmentation of 3D in-vivo MPM images of murine brain vasculature using TensorFlow.

Additionally, The topological loss directory has the code and model related to the Topological Encoding CNN paper.

How to use DeepVess

First, see Installing TensorFlow for instructions on how to install TensorFlow.

Second, run prepareImage in MATLAB. (See Help prepareImage)

>> prepareImage()

Third, run DeepVess in Terminal or Python. You can add the address of the output of prepareImage (e.g. ../image3D.h5) as the argument. Otherwise, code will ask you to input it later.

$ python DeepVess.py ../image3D.h5

Finally, run postProcess in MATLAB.

>> postProcess()

Note that prepareImage and postProcess accepts arguments to avoid input request. For more information look at their helps in MATLAB. The most important argument is saturated_prctile that depends on the micrscope.

>> help prepareImage
>> help postProcess

You can send me a sample image and I run DeepVess for you to see if this model works on your images.

Requirements

Publication

License

Apache License 2.0