GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BrainLesion/PredictGBM: Tools for image processing, brain segmentation and evaluation of glioblastoma growth models

BranchesTags
Open more actions menu

Latest commit

 

History

49 Commits
49 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
predict_gbm
predict_gbm
 
 
scripts
scripts
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENCE
LICENCE
 
 
README.md
README.md
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Predict-GBM

Python Versions Stable Version Documentation Status tests License

Providing a unified framework for evaluating and benchmarking glioblastoma models by assessing radiation plan coverage on recurrences observed in follow-up MRI exams.

Features

  • Easy-to-use image preprocessing and model evaluation pipeline that handles everything from DICOM conversion to registration, model prediction, radiation plan generation and evaluation.
  • Dockered versions of recent glioblastoma growth models and instructions on including novel methods
  • Access to a preprocessed glioblastoma dataset comprised of a few hundred subjects

Installation

Prerequisites:

  • Docker: Installation instructions on the official website
  • NVIDIA Container Toolkit: Refer to the NVIDIA install guide and the official GitHub page
  • dicom2niix: Required if you plan to process raw DICOM data.

The package can be installed via pypi:

pip install predict-gbm

Data and models

Preprocessed data can be obtained from huggingface.

Ready-to-use dockered versions are available for certain growth models from huggingface. Placing them in predict_gbm/data/models/ just like the test_model.tar, allows you to use them via algo_id="test_model". Alternatively, an image stored anywhere else can be passed to predict_tumor_growth via growth_model_path, in which case model_id only determines the output filename.

Use cases and tutorials

Examples can be found in /scripts:

  • single_dicom.py shows how to quickly process a single patient with DICOM files.
  • single_nifti.py shows how to quickly process a single patient with NIfTI files.
  • dataset_example.py shows how to use the PatientDataset to parse datasets.
  • stepwise_processing.py shows how to run standalone pipeline components.
  • evaluate_predict_gbm.py shows how to evaluate on the PredictGBM dataset.

Adding new growth models

This repository can be used to perform inference or benchmark with your own tumor growth model. To this end, you need to create a docker image of your growth model. The following sections serve as guideline on how the image should be created.

Directory structure

Input and output data are passed to/from the container using mounted directories:

Input:

/mlcube_io0
   ┗ Patient-00000
      ┣ 00000-gm.nii.gz
      ┣ 00000-wm.nii.gz
      ┣ 00000-csf.nii.gz
      ┣ 00000-tumorseg.nii.gz
      ┗ 00000-pet.nii.gz

Output:

/mlcube_io1
   ┗ 00000.nii.gz

Dockerfile example

Ensure the container adheres to the above I/O structure. An example Dockerfile could be:

# Image and environment variables
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04

ENV DEBIAN_FRONTEND=noninteractive
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility

# Install python
RUN apt-get update && apt-get install -y --no-install-recommends \
    python3 python3-pip python3-dev git && \
    apt-get clean && rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install --no-cache-dir --upgrade pip

WORKDIR /app

# Install requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy your code to workdir
COPY . .
ENTRYPOINT ["python3", "inference.py"]

Citation

If you use PREDICT-GBM in your research, please cite it to support the development!

Zimmer, L., Weidner, J., Balcerak, M., Kofler, F., Krupa, M., Ezhov, I., Cepeda, S., Zhang, R. Z., Lowengrub, J. S., Menze, B., & Wiestler, B. (2026). PREDICT-GBM: A multicenter platform advancing personalized glioblastoma radiotherapy planning. npj Digital Medicine, 9, 686. https://doi.org/10.1038/s41746-026-03194-0

@article{zimmer2026predictgbm,
      title={PREDICT-GBM: A multicenter platform advancing personalized glioblastoma radiotherapy planning},
      author={Lucas Zimmer and Jonas Weidner and Michal Balcerak and Florian Kofler and Mara Krupa and Ivan Ezhov and Santiago Cepeda and Ray Zirui Zhang and John S. Lowengrub and Bjoern Menze and Benedikt Wiestler},
      journal={npj Digital Medicine},
      volume={9},
      number={1},
      pages={686},
      year={2026},
      publisher={Nature Publishing Group},
      doi={10.1038/s41746-026-03194-0},
      url={https://www.nature.com/articles/s41746-026-03194-0},
}

Acknowledgements

This project builds on and uses components from the following repositories:

  • BrainLesion/preprocessing
  • BrainLesion/BraTS
  • cwmok/DIRAC

Reporting Bugs, Feature Requests and Questions

Please open a new issue here.

Code contributions

Nice to have you on board! Please have a look at our CONTRIBUTING.md file.

About

Tools for image processing, brain segmentation and evaluation of glioblastoma growth models

www.nature.com/articles/s41746-026-03194-0

Topics

brainglioblastomamedical-image-processingmri

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

14 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Contributors

Languages

Generated from BrainLesion/brainles-template
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.