|
a |
|
b/README.md |
|
|
1 |
[](https://zenodo.org/badge/latestdoi/59303623) |
|
|
2 |
|
|
|
3 |
# Segmentator |
|
|
4 |
|
|
|
5 |
<img src="visuals/logo.png" width=420 align="right" /> |
|
|
6 |
|
|
|
7 |
Segmentator is a free and open-source package for multi-dimensional data exploration and segmentation for 3D images. This application is mainly developed and tested using ultra-high field magnetic resonance imaging (MRI) brain data. |
|
|
8 |
|
|
|
9 |
|
|
|
10 |
The goal is to provide a complementary tool to the already available brain tissue segmentation methods (to the best of our knowledge) in other software packages ([FSL](https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/), [CBS-Tools](https://www.cbs.mpg.de/institute/software/cbs-tools), [ITK-SNAP](http://www.itksnap.org/pmwiki/pmwiki.php), [Freesurfer](https://surfer.nmr.mgh.harvard.edu/), [SPM](http://www.fil.ion.ucl.ac.uk/spm/software/spm12/), [Brainvoyager](http://www.brainvoyager.com/), etc.). |
|
|
11 |
|
|
|
12 |
### Citation: |
|
|
13 |
- Our paper can be accessed from __[this link.](https://doi.org/10.1371/journal.pone.0198335)__ |
|
|
14 |
- Released versions of this package can be cited by using our __[Zenodo DOI](https://zenodo.org/badge/latestdoi/59303623).__ |
|
|
15 |
|
|
|
16 |
<img src="visuals/animation_01.gif" width=840 align="center" /> |
|
|
17 |
|
|
|
18 |
## Core dependencies |
|
|
19 |
**[Python 3.6](https://www.python.org/downloads/release/python-363/)** or **[Python 2.7](https://www.python.org/download/releases/2.7/)** (compatible with both). |
|
|
20 |
|
|
|
21 |
| Package | Tested version | |
|
|
22 |
|------------------------------------------------|----------------| |
|
|
23 |
| [matplotlib](http://matplotlib.org/) | 3.1.1 | |
|
|
24 |
| [NumPy](http://www.numpy.org/) | 1.22.0 | |
|
|
25 |
| [NiBabel](http://nipy.org/nibabel/) | 2.5.1 | |
|
|
26 |
| [SciPy](http://scipy.org/) | 1.3.1 | |
|
|
27 |
| [Compoda](https://github.com/ofgulban/compoda) | 0.3.5 | |
|
|
28 |
|
|
|
29 |
## Installation & Quick Start |
|
|
30 |
- Download [the latest release](https://github.com/ofgulban/segmentator/releases) and unzip it. |
|
|
31 |
- Change directory in your command line: |
|
|
32 |
``` |
|
|
33 |
cd /path/to/segmentator |
|
|
34 |
``` |
|
|
35 |
- Install the requirements by running the following command: |
|
|
36 |
``` |
|
|
37 |
pip install -r requirements.txt |
|
|
38 |
``` |
|
|
39 |
- Install Segmentator: |
|
|
40 |
``` |
|
|
41 |
python setup.py install |
|
|
42 |
``` |
|
|
43 |
- Simply call segmentator with a nifti file: |
|
|
44 |
``` |
|
|
45 |
segmentator /path/to/file.nii.gz |
|
|
46 |
``` |
|
|
47 |
- Or see the help for available options: |
|
|
48 |
``` |
|
|
49 |
segmentator --help |
|
|
50 |
``` |
|
|
51 |
|
|
|
52 |
Check out __[our wiki](https://github.com/ofgulban/segmentator/wiki)__ for further details such as [GUI controls](https://github.com/ofgulban/segmentator/wiki/Controls), [alternative installation methods](https://github.com/ofgulban/segmentator/wiki/Installation) and more... |
|
|
53 |
|
|
|
54 |
## Support |
|
|
55 |
Please use [GitHub issues](https://github.com/ofgulban/segmentator/issues) for questions, bug reports or feature requests. |
|
|
56 |
|
|
|
57 |
## License |
|
|
58 |
Copyright © 2019, [Omer Faruk Gulban](https://github.com/ofgulban) and [Marian Schneider](https://github.com/MSchnei). |
|
|
59 |
This project is licensed under [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause). |
|
|
60 |
|
|
|
61 |
## References |
|
|
62 |
This application is mainly based on the following work: |
|
|
63 |
|
|
|
64 |
* Kniss, J., Kindlmann, G., & Hansen, C. D. (2005). Multidimensional transfer functions for volume rendering. Visualization Handbook, 189–209. <http://doi.org/10.1016/B978-012387582-2/50011-3> |
|
|
65 |
|
|
|
66 |
## Acknowledgements |
|
|
67 |
Since early 2020, development and maintenance of this project is being actively supported by [Brain Innovation](https://www.brainvoyager.com/) as the main developer ([Omer Faruk Gulban](https://github.com/ofgulban)) works there. |