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

About
OPT Tumour Models provides Python scripts to generate polynomial tumour models, as commonly used in ocular proton therapy planning, from 3D tumour delineations. Starting from a delineated tumour contour, the tumour 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 tumour shape.
The repository also includes a worked example notebook that generates tumour 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 tumour base. The method and its validation are described in a manuscript by Klaassen, Rasch and Beenakker that is currently under review; we will link the publication here once it is available.
Main Contributors
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