Skip to main content

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

Release files for FSMakeROI 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FSMakeROI 1.2
File Size Uploaded
FSMakeROI-1.2.tar.gz 23.6 kB Details

Release files / FSMakeROI-1.2.tar.gz

Download URL FSMakeROI-1.2.tar.gz
Size 23.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5a8ac09e33a9059ca40f5e39d11eceda49ce9e75143ebe1fbd655813e2622152
BLAKE2b-256 checksum
How to use checksums
4d698766ec34e1ccfbe4b3f558638eb48836500c0ab34ba0ad08355d3e80d19f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page