RTSTRUCT QA Toolkit: Detect Contour Errors & Missing Slices in Python
π RTSTRUCT QA Toolkit (Python)
In radiation therapy workflows, RTSTRUCT files often appear correct at first glance β
but subtle contour errors can still exist and impact downstream processes.
This toolkit helps you automatically detect two common but critical issues:
βοΈ Disconnected contour islands
βοΈ Missing contour slices in the Z-direction
π‘ Why this matters
Manual contour review is time-consuming and not always reliable.
Small geometry issues can be easily missed but may affect:
- Dose evaluation
- Plan QA workflows
- Data integrity during DICOM transfer
- Research and automation pipelines
This tool provides a fast, automated way to validate RTSTRUCT integrity.
π§ββοΈ Who this is for
- Medical physicists
- Dosimetrists
- Researchers working with DICOM RT data
- Anyone building automation pipelines in radiation oncology
π What you can do with it
- Integrate into your plan check workflow
- Use as a starting point for DICOM-based QA systems
- Demonstrate contour QA concepts (great for teaching & presentations)
- Build toward TPS-agnostic plan check tools
π Start automating your RTSTRUCT QA today and catch issues before they propagate.
π οΈπ‘ Need customization? Contact me to adapt this tool to your workflow.