Extract Jaw & MLC Positions from DICOM RT Plan Using Python
🚀Extract Jaw & MLC Positions from DICOM RT Plans Using Python
This Python script extracts jaw positions and MLC leaf positions from every control point inside a DICOM RT Plan.
The tool parses the Control Point Sequence and Beam Limiting Device Position Sequence to capture planned treatment delivery geometry for VMAT and dynamic IMRT plans.
The extracted data is automatically organized and exported into Excel for easy review, analysis, and future comparison against machine delivery log files.
This script is a great starting point for:
- Treatment delivery QA research
- Planned vs delivered comparison workflows
- MLC trajectory analysis
- Machine QA automation projects
- RT Plan geometry extraction studies
⚠️ Disclaimer
This script is intended for research, educational, and development purposes only. Users are responsible for independent verification and validation before any clinical use.