Automatic segmentation of epilepsy neurosurgery resection cavity.
Project description
# RESSEG
Automatic segmentation of postoperative brain resection cavities.
## Installation
It’s recommended to use conda and install your desired PyTorch version before installing resseg. A 6-GB GPU is large enough to segment an image in the MNI space.
`shell conda create -n resseg python=3.8 ipython -y && conda activate resseg # recommended pip install resseg `
## Usage examples
### BITE
Example using an image from the [Brain Images of Tumors for Evaluation database (BITE)](http://nist.mni.mcgill.ca/?page_id=672).
`shell BITE=`resseg-download bite` resseg $BITE -o bite_seg.nii.gz tiohd --plot bite_seg.nii.gz `
### EPISURG
Example using an image from the [EPISURG dataset](https://doi.org/10.5522/04/9996158.v1). Segmentation works best when images are in the MNI space, so resseg includes a tool for this purpose (requires [ANTsPy](https://antspyx.readthedocs.io/en/latest/?badge=latest)).
`shell EPISURG=`resseg-download episurg` resseg-mni $EPISURG -t episurg_to_mni.tfm resseg $EPISURG -o episurg_seg.nii.gz -t episurg_to_mni.tfm tiohd --plot episurg_seg.nii.gz `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file resseg-0.3.2.tar.gz
.
File metadata
- Download URL: resseg-0.3.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c1ec134132630d583db5f213b88d8ddc121cdd234c2e0c754442b9d5df2c6e |
|
MD5 | 626c27c3112f962aa778224dfdc9755d |
|
BLAKE2b-256 | 6fe687d7224ea52317ab5ef255f5e68129094e65c725f9837bd8f6b9cfe8bdf1 |
File details
Details for the file resseg-0.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: resseg-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a67ad08be162d149c2b0f106899cddda9212d740d56c5957c731cdbb18fa1828 |
|
MD5 | 555a49d11885f5ff05356d6f5e085022 |
|
BLAKE2b-256 | d4c7b6fee412dc6f14e2c22f0f1f39af7fcd7230b94cd919dd8c433e585b7b1b |