OPT Tumour Models
Maintenance modeScripts to fit polynomial tumor models for ocular proton therapy planning from 3D tumor delineations.

About
OPT Tumour Models provides Python scripts to generate polynomial tumor models, as commonly used in ocular proton therapy planning, from 3D tumor delineations. Starting from a delineated tumor contour, the tumor base and thickness are extracted automatically, after which the optimal shape-factor of the parametric height model is determined. The resulting geometric model can be compared back to the original delineation to evaluate how well it represents the true tumor shape.
The repository also includes a worked example notebook that generates tumor models with different shape factors for an example delineation, together with scripts to produce variations of the standard model with added thickness or an expanded tumor base. The method and its validation are described in Klaassen et al. (2026).
Main Contributors
Publications that use this software
- Klaassen, Rasch and Beenakker
Physica Medica (2026), doi: 10.1016/j.ejmp.2026.105895
Technical Details
- License
- MIT
- Last updated
- Mar 10, 2026
- Requires Python
>=3.12
Dependencies
- alphashape
==1.3.1 - manifold3d
==3.0.1 - matplotlib
==3.9.2 - numpy
==1.26.4 - openpyxl
>=3.1.5 - pandas
==2.2.2 - pymeshfix
==0.17.0 - scikit-learn
==1.5.1 - scipy
==1.13.1 - shapely
==2.0.6 - tqdm
>=4.67.3 - trimesh
==4.5.3