This repository is for a executable version off a SPIE paper "Automatic callosal fiber convergence plane computation through DTI-based divergence map"
/figures contains the images to the executable paper.
/data is for the project dats. It is composed of NIFTI files.
All the codes are runing in Jupyter notebooks and programmed in Python language.
I recommend installing them by using Anaconda. (You can use the latest Anaconda, but please use Python 2.7 to ensure the compatibility with my codes)
Further information about the instalation can be found here.
After instaling it, please make sure you have the depencies below:
-
Dependencies
-
If you are going to run the notebooks in, make sure you are runing Python 2.7 and have all needed packages on your machine.
- nibabel 2.1.0 ---- pip install nibabel ---- install
- DTIlib-002 ------------ pip install DTIlib-002 ------- Also available here. (This module has functions to read, manipulate, and to compute maps in DTI.)
- numpy 1.11.1
- scipy 0.18.1
- matplotlib 1.5.3
- OpenCV - cv2 - 3.1.0 ---- Windows / Ubuntu (mandatory only to run the last section of this notebook)
-
-
Database configuration
- We are using a private Database. As it is private, we are sharing only DTI data from two subjects. The spacification of the data can be found within the paper.
-
How to run tests
- The paper is Executable_Paper_06-10-17_GRP.ipynb.
- To run the code just open the Jupyter Notebook and execute the code cells. It already loads the data and imports the needed modules.
Please make sure that the folders structure is according to the repository structure.
├───ia369z
│ ├────data
│ │ ├─Centers
│ │ ├─subject001
│ │ ├─subject002
│ │ └─ ...
│ │
│ └───figures
- Any problems, bugs, or difficulties to setup or run the codes, feel free to contact me at [email protected]