Open-source software for collision detection in external beam radiation therapy Vinith M. Suriyakumar, Renee Xu, Csaba Pinter, Gabor Fichtinger

Similar documents
NA-MIC National Alliance for Medical Image Computing SlicerRT Extension

Fractional labelmaps for computing accurate dose volume histograms

SlicerRT Image-guided radiation therapy research toolkit for 3D Slicer

Dynamic management of segmented structures in 3D Slicer

ADVANCING CANCER TREATMENT

ADVANCING CANCER TREATMENT

3D-printed surface mould applicator for high-dose-rate brachytherapy

CARS 2008 Computer Assisted Radiology and Surgery

NA-MIC National Alliance for Medical Image Computing Subject Hierarchy

SlicerRT radiation therapy extension for 3D Slicer DICOM aspects

Basic Radiation Oncology Physics

Real-time self-calibration of a tracked augmented reality display

State-of-the-Art IGRT

Volumetric Modulated Arc Therapy - Clinical Implementation. Outline. Acknowledgement. History of VMAT. IMAT Basics of IMAT

Initial Clinical Experience with 3D Surface Image Guidance

Dose Distributions. Purpose. Isodose distributions. To familiarize the resident with dose distributions and the factors that affect them

Virtual Phantoms for IGRT QA

Data. ModuLeaf Mini Multileaf Collimator Precision Beam Shaping for Advanced Radiotherapy

New Technology in Radiation Oncology. James E. Gaiser, Ph.D. DABR Physics and Computer Planning Charlotte, NC

Tomotherapy Physics. Machine Twinning and Quality Assurance. Emilie Soisson, MS

IAEA-TECDOC-1583 Commissioning of Radiotherapy Treatment Planning Systems: Testing for Typical External Beam Treatment Techniques

Computational modelling and analysis: IOP Medical Physics Group

PyCMSXiO: an external interface to script treatment plans for the Elekta CMS XiO treatment planning system

A NEW APPROACH IN THE DETERMINATION OF PATIENT S REFERENCE POINT IN CONFORMAL EXTERNAL RADIOTHERAPY

Real-time transverse process detection in ultrasound

THE WIRELESS PHANTOM PERFORM ACCURATE PATIENT QA IN LESS TIME THAN EVER!

Radiation therapy treatment plan optimization

IMSURE QA SOFTWARE FAST, PRECISE QA SOFTWARE

ICARO Vienna April Implementing 3D conformal radiotherapy and IMRT in clinical practice: Recommendations of IAEA- TECDOC-1588

Photon beam dose distributions in 2D

3D Slicer Overview. Andras Lasso, PhD PerkLab, Queen s University

Online External Beam Radiation Treatment Simulator

The team. Disclosures. Ultrasound Guidance During Radiation Delivery: Confronting the Treatment Interference Challenge.

Monaco VMAT. The Next Generation in IMRT/VMAT Planning. Paulo Mathias Customer Support TPS Application

Supporting information SI 0: TEM & STEM acquisition parameters, in 2D and 3D

7/31/2011. Learning Objective. Video Positioning. 3D Surface Imaging by VisionRT

URGENT IMPORTANT FIELD SAFETY NOTIFICATION

ABSTRACT 1. INTRODUCTION

Thank-You Members of TG147 TG 147: QA for nonradiographic

URGENT IMPORTANT FIELD SAFETY NOTIFICATION

VALIDATION OF DIR. Raj Varadhan, PhD, DABMP Minneapolis Radiation Oncology

REAL-TIME ADAPTIVITY IN HEAD-AND-NECK AND LUNG CANCER RADIOTHERAPY IN A GPU ENVIRONMENT

Calibration of Video Cameras to the Coordinate System of a Radiation Therapy Treatment Machine

GPU applications in Cancer Radiation Therapy at UCSD. Steve Jiang, UCSD Radiation Oncology Amit Majumdar, SDSC Dongju (DJ) Choi, SDSC

I. INTRODUCTION. Figure 1. Radiation room model at Dongnai General Hospital

Digital phantoms for the evaluation of a software used for an automatic analysis of the Winston-Lutz test in image guided radiation therapy

Table of Contents. About AQUA

Chapter 9 Field Shaping: Scanning Beam

Creating a Knowledge Based Model using RapidPlan TM : The Henry Ford Experience

Iterative regularization in intensity-modulated radiation therapy optimization. Carlsson, F. and Forsgren, A. Med. Phys. 33 (1), January 2006.

MR-guided radiotherapy: Vision, status and research at the UMC Utrecht. Dipl. Ing. Dr. Markus Glitzner

MapCHECK 2 & 3DVH. The Gold Standard for 2D Arrays

Intraoperative Prostate Tracking with Slice-to-Volume Registration in MR

Use of Monte Carlo modelling in radiotherapy linac design. David Roberts, PhD Senior Physicist Elekta

Automated Image Analysis Software for Quality Assurance of a Radiotherapy CT Simulator

A simple method to test geometrical reliability of digital reconstructed radiograph (DRR)

MapCHECK 2 & 3DVH The Gold Standard for 2D Arrays

Integrated proton-photon treatment planning

IMRT site-specific procedure: Prostate (CHHiP)

Machine and Physics Data Guide

An Automated Image-based Method for Multi-Leaf Collimator Positioning Verification in Intensity Modulated Radiation Therapy

Using a research real-time control interface to go beyond dynamic MLC tracking

A comparative analysis for verification of IMRT and VMAT treatment plans using a 2-D and 3-D diode array

Acknowledgments. Ping Xia, Ph.D., UCSF. Pam Akazawa, CMD, UCSF. Cynthia Chuang, Ph.D., UCSF

SlicerRT Radiation therapy research toolkit for 3D Slicer

Feasibility of 3D Printed Patient specific Phantoms for IMRT QA and Other Dosimetric Special Procedures

Real-time monitoring of linac performance using RT plans and logfiles

Conformal Radiation Therapy. with. Cobalt-60 Tomotherapy

Commissioning and quality assurance of Calypso four dimensional target localization system in linear accelerator facility

Monte Carlo methods in proton beam radiation therapy. Harald Paganetti

8/4/2016. Emerging Linac based SRS/SBRT Technologies with Modulated Arc Delivery. Disclosure. Introduction: Treatment delivery techniques

THE SIMULATION OF THE 4 MV VARIAN LINAC WITH EXPERIMENTAL VALIDATION

Volume Interaction Techniques in the Virtual Simulation of Radiotherapy Treatment Planning

Collision Detection with Bounding Volume Hierarchies

8/2/2017. PerFRACTION from Sun Nuclear Automated Transit Dosimetry for In-Vivo QA

Hugues Mailleux Medical Physics Department Institut Paoli-Calmettes Marseille France. Sunday 17 July 2016

Image Guidance and Beam Level Imaging in Digital Linacs

Implementation of the EGSnrc / BEAMnrc Monte Carlo code - Application to medical accelerator SATURNE43

Commissioning and quality assurance of Calypso four dimensional target localization system in linear accelerator facility

Image Guided Multibeam Radiotherapy

DAILY LINAC QA BEAM QA

Current state of multi-criteria treatment planning

DCMQI: An open source library for standardized. communication of quantitative image analysis results using DICOM.

Implementation of Filtered back Projection (FBP) Theory for Intensity Modulated Radiation Therapy (IMRT) Planning

TEPZZ Z754_7A_T EP A1 (19) (11) EP A1 (12) EUROPEAN PATENT APPLICATION. (51) Int Cl.: A61N 5/10 ( )

FAST, precise. qa software

The IORT Treatment Planning System. radiance. GMV, 2012 Property of GMV All rights reserved

Michael Speiser, Ph.D.

Overview. Collision detection. Collision detection. Brute force collision detection. Brute force collision detection. Motivation

TRAJECTORY- BASED TREATMENT PLANNING AND DELIVERY FOR CRANIAL RADIOSURGERY

Exploration and Study of MultiVolume Image Data using 3D Slicer

IHE Radiation Oncology Technical Framework Supplement. Treatment Delivery Plan Content (TDPC) Rev. 1.1 Trial Implementation

An Investigation of a Model of Percentage Depth Dose for Irregularly Shaped Fields

Region Asia Pacific. Ian Alexander. Executive Vice President Asia Pacific

A NEW LASER FOCUS ON PATIENT SAFETY

Collision Detection II. These slides are mainly from Ming Lin s course notes at UNC Chapel Hill

Dose Calculation and Optimization Algorithms: A Clinical Perspective

8/3/2016. Image Guidance Technologies. Introduction. Outline

Position accuracy analysis of the stereotactic reference defined by the CBCT on Leksell Gamma Knife Icon

Effects of the difference in tube voltage of the CT scanner on. dose calculation

Transcription:

Open-source software for collision detection in external beam radiation therapy Vinith M. Suriyakumar, Renee Xu, Csaba Pinter, Gabor Fichtinger Laboratory for Percutaneous Surgery, Queen s University, Kingston ON, Canada ABSTRACT PURPOSE: Collision detection for external beam radiation therapy (RT) is important for eliminating the need for dryruns that aim to ensure patient safety. Commercial treatment planning systems (TPS) offer this feature but they are expensive and proprietary. Cobalt-60 RT machines are a viable solution to RT practice in low-budget scenarios. However, such clinics are hesitant to invest in these machines due to a lack of affordable treatment planning software. We propose the creation of an open-source room s eye view visualization module with automated collision detection as part of the development of an open-source TPS. METHODS: An openly accessible linac 3D geometry model is sliced into the different components of the treatment machine. The model s movements are based on the International Electrotechnical Commission standard. Automated collision detection is implemented between the treatment machine s components. RESULTS: The room s eye view module was built in C++ as part of SlicerRT, an RT research toolkit built on 3D Slicer. The module was tested using head and neck and prostate RT plans. These tests verified that the module accurately modeled the movements of the treatment machine and radiation beam. Automated collision detection was verified using tests where geometric parameters of the machine s components were changed, demonstrating accurate collision detection. CONCLUSION: Room s eye view visualization and automated collision detection are essential in a Cobalt-60 treatment planning system. Development of these features will advance the creation of an open-source TPS that will potentially help increase the feasibility of adopting Cobalt-60 RT. KEYWORDS: Radiation therapy, treatment planning, SlicerRT, Cobalt-60 1. INTRODUCTION Radiation therapy (RT) is a commonly used form of cancer treatment that uses high-energy radiation such as X-rays, gamma rays, protons or other charged particles to kill cancer cells. The goal of RT is to optimize the amount of radiation delivered to the cancerous cells while minimizing the amount delivered to surrounding healthy tissue. Most treatments use radiation delivered from an external source. This is known as external beam radiation therapy (EBRT). Currently in developing countries, only 25% of patients who require RT have access to treatment machines. Developing countries make up 85% of the world population, demonstrating a visible gap in accessible treatment 1. Cobalt-60 (Co-60) machines were used before modern linear accelerators (linac) were developed for common use. The Co-60 machines were heralded as having a simple robust design, with minimal power, maintenance, and technical expertise to operate. Healy et al. have taken a critical look at the differences between linacs and Co-60 machines. Their analysis has shown that Co-60 machines are $300 000 - $900 000 cheaper than 6MV and multi-energy linacs, require baseline staff to operate, and have relatively simple physical characteristics 2.These qualities were and still remain important for hospitals and cancer care clinics in low-income countries where it is more difficult to operate complex machines like linacs. Another important consideration that Healy et al. discuss is that choice of radiation therapy machine must be based on its sustainability in the clinic for at least 10-15 years. The benefits that Co-60 machines possess position them as the more sustainable choice in low-budget scenarios.

Thus, Co-60 units are being proposed as an effective option to improve this shortage. Unfortunately, many clinics are hesitant to purchase these machines due to fear of the technology being outdated and unable to provide similar quality of treatment as modern linear accelerators. Medical physicists from the Cancer Center of Southeastern Ontario and Queen s University are researching the ability to use Co-60 intensity-modulated RT (IMRT) as an alternative to linac IMRT. Their initial studies have shown that known issues with Co-60 machines are negligible when using rotational RT 3. Computerized treatment planning systems (TPS) have been developed by medical technology companies to assist radiation oncology teams in determining proper radiation doses and visualizing the treatment plan and machine. However, these commercial systems are expensive, proprietary, and only support linac treatment workflows. A shortcoming for the Co- 60 units is that there is no commercially available TPS that is comparable to those offered for linac RT 3. An important component of these systems is the room s eye view (REV) that is a visualization of the EBRT machine based on the International Electrotechnical Commission (IEC) standard to help visualize the treatment process and eliminate the need for dry-runs that aim to prevent machine-patient collisions and confirm that the chosen beam angles will interact with the patient as intended. REV software modules have been developed by research groups to properly model the EBRT machine that commercial systems are offering. Hamza-Lup et al. created a standalone free web-based 3D visual simulator with accurate modeling of the IEC movements of the gantry and patient couch and verified their collision detection was accurate within 5-10 mm 4. We propose a complete open-source TPS for Co-60 treatments, part of this effort is developing the visualization and safety features. Collision detection is an essential part of these safety features to eliminate the need for dry-runs. They are manual tests performed by the radiation oncology team where patients are taken into the treatment room and the machine is run through all of the chosen angles without the radiation being turned on. This results in additional time and resources being used by clinics, which could be used to treat additional patients. Often times if angles are not chosen carefully then collisions can occur between machine components which can cause irreparable damage to the EBRT machines. More importantly, patient-machine collisions can also occur which cause unintended injuries. Several research groups have worked to improve collision detection using a variety of methods. Becker developed collision indicator charts specifying gantry and patient support angle combinations that typically result in collisions 5. The charts make it efficient for radiation oncology teams to verify whether chosen angles will result in collisions between those two parts of the machine and the patient only. This leaves possible collisions between the table top and additional treatment devices that may be used unchecked. Software applications with REV visualizations and automated collision detection have become a main focus of numerous research groups. Szarmes et al. have developed a software tool to demonstrate patient-linac collisions visually and have included patient modelling using the Xbox Kinect 6. Our collision detection aims to work with typical treatment scenarios and those that are used in RT research. Some of these scenarios may involve the use of additional treatment devices such as electron applicators which will be included in our automated collision detection. The room s eye view module aims to provide these essential components for the proposed TPS. Our aspiration is that the development of a fully usable open-source TPS with these features will encourage hospitals and clinics in developing countries to invest in Co-60 machines to help reduce the shortage of accessible RT. 2.1 RT treatment machine geometric model 2. METHODS The open-source TPS being developed is meant to be extensible and will support multiple modalities and machines while mainly focusing on Co-60 RT. Thus the goal is to be able to model any machine. We used the treatment machine model for the Varian TrueBeam STx system, because it is a prevalent linac machine worldwide, and because its model was freely accessible, thus allowing the development of a proof-of-concept module that is later to be extended to contain Co- 60 models. The linac model was downloaded from 3D Warehouse 7 in SketchUp (.skp) format and then converted to the stereolithography (.stl) format for compatibility with 3D Slicer (www.slicer.org) 8, our application platform of choice. 3D Slicer is a widely used medical image analysis and visualization platform, and acts as the base platform for the SlicerRT radiation therapy research toolkit 9. SlicerRT is the environment based on which the proposed open-source TPS is being developed. The original machine model was separated into the linear accelerator, gantry, collimator, table top, patient support, and imaging panels using Microsoft 3D Builder (illustrated in Figure 1). The separated pieces were then loaded

into 3D Slicer and translated to ensure that the isocenter of the treatment machine was at the origin. A partial patient model (head, neck, and shoulders) was created in 3D Slicer using the CT data of a head and neck phantom. Figure 1. Splicing of the linac model into different hardware pieces using Microsoft 3D Builder (left) which were then loaded into 3D Slicer (right). 2.2 Room s eye view and beam visualization The IEC standard specifies the set of coordinate systems and movements to be used by all RT machines, helping to reduce ambiguities during treatment planning and simulation (illustrated in Figure 2). The coordinate systems are organized in hierarchies where each major hardware component is assigned a right-handed coordinate system. These coordinate systems are derived from one another with the fixed reference being the common mother system. The transformation hierarchies were developed in compliance with the standard, ensuring compatibility with all treatment machines that follow the standard. The range of motion for each piece of the machine were based on measurements taken by the movements of a Varian Truebeam STx linear accelerator at Kingston General Hospital and those specified in the standard. The module follows the rotation scale defined in the standard which is between 0-359.

Figure 2. The coordinate systems and movements of each piece in the linear accelerator defined in the IEC standard 10. The transform hierarchies were implemented using matrices representing rigid transformations. In accordance with the hierarchy described in the IEC standard each transform was set as a parent of another transform until the fixed reference coordinate system was reached (illustrated in Figure 3). This ensured that any change applied to one transform was also applied to its child transforms which is important for pieces of the machine such as the gantry, collimator, and the beam which move simultaneously when the gantry is rotated. Figure 3. The transform hierarchy for EBRT machines defined in the IEC standard implementation in 3D Slicer using the matrices representing rigid transformations. 2.3 Collision detection Commercial TPSs include automated collision detection to verify the usability of the beam angles, which affect the treatment machine geometry, and to ensure patient safety. An open-source software library known as vtkbioeng 11 was used

as a basis to implement automated collision detection in our module. The vtkcollisiondetectionfilter class determines collisions between two polygonal objects using oriented bounding box trees (OBB trees). They create an oriented bounding box, which is a bounding box that doesn t line up exactly with the coordinate axes 12. The class creates a tree that defines larger spaces of regions at nodes closer to the root and smaller regions of spaces at nodes deeper in the tree. Each polygon provided as inputs to the collision detection class is used to create their own OBB trees. Then each edge of the first polygon is checked against the second polygon for intersections. Within each check, tests for parallel, coplanar, and overlapping edges are made. Afterwards, each edge of the second polygon is checked against the first polygon. The class returns the first test that results in an overlapping pair of edges. The collision detection class was applied between the collimator and the table top, the collimator and the patient support, the collimator and the patient, the gantry and the table top, the gantry and the patient support, and between the gantry and the patient. These machine component pairs were chosen as they encompass the possible collisions between different parts of the treatment machine. The collision detection logic determines collisions between two models by checking for intersecting triangles between the bounding boxes of the models. 3. RESULTS AND DISCUSSION We implemented the treatment machine visualization and collision detection as a Room s Eye View C++ module within SlicerRT. The translations and rotations of the treatment machine were verified using two RT treatment plans, one for a prostate tumor and another for a head and neck tumor. The angles (gantry and collimator) from the beam described in the RT plan were used and manually entered into the module for the purpose of testing with the RT plans. The treatment machine will automatically be transformed based on the beam angles when the module is integrated into the proposed open-source TPS. The module accurately models the movements of the treatment machine in accordance with the IEC standard (illustrated in Figure 3). The success of these tests indicates that the module can verify geometric parameters chosen during both forward and inverse treatment planning. Figure 4. Successful modeling of treatment machine, radiation beam, and room based on geometric parameters (gantry and collimator angle) for both prostate (left) and head and neck (right) RT treatment plans. The automated collision detection component serves as a safety feature for the open-source TPS. The feature was tested by changing the geometric parameters of the pieces of the treatment machine to cause collisions between each pair of components. A notification label in the UI was used for each collision to verify whether the detection was correct. Each

test was successfully completed and tests combining possible collisions were performed together to guarantee the accuracy of simultaneous collision detection between multiple parts of the machine (illustrated in Figure 5). Figure 5. Successful simultaneous collision detection between table top and collimator and the gantry and table top indicated by the red text notification. This REV module will be integrated into the open-source TPS called External Beam Planning (illustrated in Figure 6) that is being developed as part of SlicerRT. It will provide essential visualization and safety features that will assist in the treatment planning process, and help confirm the usability of selected beam angles. Instead of the initially used Varian TrueBeam linac model, a more specific model will be used to provide an exact replication of the Co-60 units, which will enable real collision detection in Co-60 treatments. Additional treatment device models will also be created to provide further accuracy in collision detection for research treatment plans that use devices such as electron applicators. This will provide accuracy in collision detection that is not currently provided by commercial TPSs as they do not include additional treatment devices in their visualizations. The implemented Room s Eye View module successfully models the IEC standard and provides accurate collision detection, enhancing the visualization and safety features of the open-source TPS being developed. Figure 6. Current open-source TPS being developed in SlicerRT focusing on Co-60 that will integrate the visualization and safety features necessary developed in our REV module.

4. CONCLUSIONS A room s eye view visualization module with automated collision detection was developed as a component of an opensource TPS in the SlicerRT toolkit to facilitate improvements to Co-60 IMRT treatments. More specific patient modeling based on patient CTs and exact Co-60 machine models will be added to enhance visualization and collision detection accuracy. Additional treatment devices such as electron applicators will also be modeled through visits to Kingston General Hospital which will further improve the collision detection. These devices are not included in commercial TPSs, albeit being prevalent in research settings. Thus, we will be creating generic 3D models of these treatment devices using CAD software to provide an additional level of collision detection. This will ensure that the open-source TPS can support multiple modalities and treatment types. Another important visualization offered by TPSs is known as the Beam s Eye View (BEV). This visualization places the point of view at the beam source position and directs it towards the isocenter of the beam. BEV helps radiation oncology teams ensure that the beam aperture follows the planned shape and conforms to the shape of the tumor ensuring that all of the cancerous tissue is being irradiated while sparing the surrounding healthy tissue. The BEV visualization will include a digitally reconstructed radiograph (DRR).The treatment machine will be used as an orientation marker in the module to enhance the REV visualization features further. This visualization module will be integrated into the External Beam Planning module, the open-source treatment planning system being developed in SlicerRT. Geometric parameters from loaded treatment plans will be used to automatically transform the pieces of the treatment machine eliminating the need for manual entering. This open-source TPS will provide complete support for Co-60 RT treatments, which will potentially facilitate more accessible treatment planning for clinics in low-budget scenarios, including clinics in developing countries. We aim to encourage more of these clinics to invest in Co-60 RT as a sustainable way to bridge the visible gap in accessible RT treatment. ACKNOWLEDGEMENTS This work was supported in part Discovery Grants Program of the Natural Sciences and Engineering Research Council of Canada (NSERC) and the Applied Cancer Research Unit program of Cancer Care Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care. Gabor Fichtinger was supported as a Cancer Care Ontario Research Chair in Cancer Imaging. Vinith M. Suriyakumar was supported by the Summer Work Experience Program (SWEP) at Queen s University. REFERENCES [1] International Atomic Energy Agency. AGaRT The Advisory Group on increasing access to Radiotherapy Technology in low and middle income countries. (2013). [2] Healy, B.J., van der Mewe D., Christaki K.E., Meghzifene A., Cobalt-60 Machines and Medical Linear Accelerators: Comparing Technologies for External Beam Radiotherapy. Clinical Oncology. (2016 ). [3] Dhanesar, S.K.. The Role of Cobalt-60 Source in Intensity Modulated Radiation Therapy: From Modeling Finite Sources to Treatment Planning and Conformal Dose Delivery. Doctoral dissertation to Queen s University. (2013). [4] Hamza-Lup, F. G., Farrar S., Leon E. Interactive X-ray and Proton Therapy Training and Simulation. Computer Assisted Radiology and Surgery. (2015). [5] Becker, S.J. Collision indicator charts for gantry-couch position combinations for Varian linacs. Journal of Applied Clinical Medical Physics. (2011). [6] Szarmes, D., Bartha L., Murray G., Rajapakshe R., Patient-Linac Collision Detection Tool for Radiation Therapy. http://www.earlydetection.ca/index.php/projects/clinical-developments/111-patient-linac-collision-detection-toolfor-radiation-therapy.(as of January 2017). [7] External beam RT treatment machine model. https://3dwarehouse.sketchup.com/model.html?id=u9d9c8922-fce6-4f94-8483-0c0b7bad6c39. (as of July 2016). [8] Fedorov, A., Beichel R., Kalpathy-Cramer J., Finet J., Fillion-Robin J-C., Pujol S., Bauer C., Jennings D., Fennessy F., Sonka M., Buatti J., Aylward S.R., Miller J.V., Pieper S., Kikinis R. 3D Slicer as an Image Computing Platform for the Quantitative Imaging Network. Magn Reson Imaging. (2012).

[9] Pinter, C., Lasso, A., Wang, A., Sharp, G. C., Alexander, K., Jaffray, D., & Fichtinger, G. Performing radiation therapy research using the open-source SlicerRT toolkit. In World Congress on Medical Physics and Biomedical Engineering, June 7-12, (2015). [10] Radiotherapy equipment Coordinates, movements, and scales. IEC Standard 61217. (2002). [11] vtkbioeng. http://www.bioengineering-research.com/software/vtkbioeng. (as of December 2016). [12] Gottschalk, S., Lin M.C., Manocha D., OBBTree: A Hierarchical Structure for Rapid Interference Detection. ACM Siggraph. (1996).