A CLI tool to extract ROIs from Freesurfer segmentation file
Project description
FSMakeROI
A CLI tool to convert Freesurfer segmentations into separate NifTi files
Installation
Install this package using pip
with:
pip install fsmakeroi
Usage
The command context for running this tool is:
fsmakeroi [OPTIONS] aseg rois
Where aseg
is the path to aparc+aseg.mgz file, and rois
is the
the path to text file containing Freesurfer ROI LUT codes.
The ROI code file is a list of ROIs to extract, with each line being the code to corresponding ROI. Please refer to /examples/example_rois.txt for an example on creating the code file.
ROIs can also be applied to any images as long as they are registered
to T1 in Freesurfer space. This is done with the -i
or --image
flag:
fsmakeroi -i [PATH TO IMAGE] aseg rois
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
File details
Details for the file FSMakeROI-1.2.tar.gz
.
File metadata
- Download URL: FSMakeROI-1.2.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.0.post20200616 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a8ac09e33a9059ca40f5e39d11eceda49ce9e75143ebe1fbd655813e2622152 |
|
MD5 | 1105efd8cd5d747c0734f33d87fd0762 |
|
BLAKE2b-256 | 4d698766ec34e1ccfbe4b3f558638eb48836500c0ab34ba0ad08355d3e80d19f |