Skip to main content

BraTS Orchestrator

Python Versions Stable Version Documentation Status tests codecov License

______         _____ _____
| ___ \       |_   _/  ___|
| |_/ /_ __ __ _| | \ `--.
| ___ \ '__/ _` | |  `--. \
| |_/ / | | (_| | | /\__/ /
\____/|_|  \__,_\_/ \____/


 _____          _               _             _
|  _  |        | |             | |           | |
| | | |_ __ ___| |__   ___  ___| |_ _ __ __ _| |_ ___  _ __
| | | | '__/ __| '_ \ / _ \/ __| __| '__/ _` | __/ _ \| '__|
\ \_/ / | | (__| | | |  __/\__ \ |_| | | (_| | || (_) | |
 \___/|_|  \___|_| |_|\___||___/\__|_|  \__,_|\__\___/|_|

Providing the top-performing algorithms from the Brain Tumor Segmentation (BraTS) challenges, through an easy-to-use Python API.

Documentation

Quickstart
Get up and running in minutes.
Go to Quickstart
Segmentation
Adult glioma, meningioma, metastases, and more.
Go to Segmentation
Inpainting
Synthesize healthy tissue in tumor regions.
Go to Inpainting
Missing MRI
Generate missing MRI sequences.
Go to Missing MRI

Installation

pip install brats
# Python >= 3.10 required for preprocessing:
pip install brats[preprocessing]

[!IMPORTANT] BraTS Orchestrator requires Docker or Singularity to run algorithm containers. Most algorithms also need GPU support (NVIDIA Container Toolkit). See the installation docs for full setup instructions.

Quick Example

from brats import AdultGliomaPreAndPostTreatmentSegmenter

segmenter = AdultGliomaPreAndPostTreatmentSegmenter(cuda_devices="0")
segmenter.infer_single(
    t1c="path/to/t1c.nii.gz",
    t1n="path/to/t1n.nii.gz",
    t2f="path/to/t2f.nii.gz",
    t2w="path/to/t2w.nii.gz",
    output_file="segmentation.nii.gz",
)

Citation

If you use BraTS Orchestrator in your research, please cite:

Kofler, F., et al. (2025). BraTS orchestrator: Democratizing and Disseminating state-of-the-art brain tumor image analysis. arXiv:2506.13807

@misc{kofler2025bratsorchestratordemocratizing,
      title={BraTS orchestrator: Democratizing and Disseminating state-of-the-art brain tumor image analysis},
      author={Florian Kofler and others},
      year={2025},
      eprint={2506.13807},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2506.13807},
}

Contributing

We welcome contributions! Please open a new issue here or have a look at our CONTRIBUTING.md.

License

Apache 2.0

Release files for brats 0.1.9

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

Source distribution (sdist)

Source distribution for brats 0.1.9
File Size Uploaded
brats-0.1.9.tar.gz 309.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brats 0.1.9
File Interpreter ABI Platform
brats-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 360.5 kB

Release files / brats-0.1.9.tar.gz

Download URL brats-0.1.9.tar.gz
Size 309.4 kB
Tags Source
SHA-256 checksum
How to use checksums
43942ebaac22f7f15fe272d1e867fa94602539a33e9453133eb6c9385be2ab21
BLAKE2b-256 checksum
How to use checksums
d954e335217313e68d429dbecb449fa020bdf6f2441f7f4d30f13cf85118edc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / brats-0.1.9-py3-none-any.whl

Download URL brats-0.1.9-py3-none-any.whl
Size 51.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5e36fc6d2496a99668bc5a9f3368cdcda2a78b85a180d591fb64d0aa7a9c539
BLAKE2b-256 checksum
How to use checksums
8ba2190afe41c352dac0760890dd3799c326e4f9b1b5801df28c2b233d5f019a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

0.1.11

2 release files

0.1.10

2 release files

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.31

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

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