Automated brain and striatum segmentation from PET images using cascaded nnUNet models
Project description
Brain-Striatum Segmentation
Automated brain and striatum segmentation from PET images using cascaded nnUNet models.
🧠 Overview
This package implements a two-stage segmentation pipeline:
- Brain Extraction: Segments the brain region from PET images
- Brain Cropping: Applies the brain mask to focus on brain tissue
- Striatum Segmentation: Segments the striatum from brain-cropped images
📦 Installation
pip install brain-striatum-seg
🚀 Quick Start
Command Line Interface
# Process single file
brain-striatum-seg -i input.nii.gz -o output_dir/
# Process multiple files
brain-striatum-seg -i input_directory/ -o output_directory/
Python API
from brain_striatum_seg import brain_striatum_segmentation
# Process and save to file
brain_striatum_segmentation("input.nii.gz", "output_dir/")
# Return nibabel image
result_img = brain_striatum_segmentation("input.nii.gz")
📚 Documentation
- Input: PET images in NIfTI format (
.nii.gz) - Output: Binary segmentation masks (
.nii.gz)
📄 Citation
If you use this tool in your research, please cite our paper: [Your Citation Here]
Please also cite nnUNet: https://github.com/MIC-DKFZ/nnUNet
📜 License
Apache License 2.0
🤝 Contributing
Contributions welcome! Please open an issue or submit a pull request.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brain_striatum_seg-1.0.0.tar.gz.
File metadata
- Download URL: brain_striatum_seg-1.0.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48431cc428283a15b714c4f244a8a8f3523f0daf9110e72a7c36cb4a7ebff0e3
|
|
| MD5 |
c2a5dbe20d304ec4706ddc0dfcd78d34
|
|
| BLAKE2b-256 |
7d303407a82b55bb3bf30462a5efae7b4e52e551a22357f384cf1473e8ab2100
|
File details
Details for the file brain_striatum_seg-1.0.0-py3-none-any.whl.
File metadata
- Download URL: brain_striatum_seg-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c4cd380ad303ff1c7cb2742c47f6bf2256a0d6c7d0126ff76a2b0a9732d54fc
|
|
| MD5 |
c4797ec95b4bcd27ae5cb3092fe76ed0
|
|
| BLAKE2b-256 |
03ec8e5405c8762dc20db6ffef8ba80ef1944443576e0b60ccb79620a0a80dbb
|