Development of a test bench for Gamma Knife Optimization V ICTORIA SVEDBERG

Similar documents
Radiosurgery by Leksell gamma knife. Josef Novotny, Na Homolce Hospital, Prague

Efficient SIB-IMRT planning of head & neck patients with Pinnacle 3 -DMPO

RADIOBIOLOIGCALLY BASED TREATMENT PLANNING: THE NEXT FRONTIER. Teddy LaMaster, MS

Chapters from Clinical Oncology

Strategies and Technologies for Cranial Radiosurgery Planning: Gamma Knife

Stereotactic Radiosurgery. Extracranial Stereotactic Radiosurgery. Linear accelerators. Basic technique. Indications of SRS

A Patient s Guide to SRS

ADVANCES IN RADIATION TECHNOLOGIES IN THE TREATMENT OF CANCER

A guide to using multi-criteria optimization (MCO) for IMRT planning in RayStation

Use of radiation to kill diseased cells. Cancer is the disease that is almost always treated when using radiation.

CHAPTER TWO MECHANISMS OF RADIATION EFFECTS

Leksell Gamma Knife Icon. Treatment information

Treatment Planning Evaluation of Volumetric Modulated Arc Therapy (VMAT) for Craniospinal Irradiation (CSI)

Ranking radiotherapy treatment plans: physical or biological objectives?

Research Article A Mathematical Model of Tumor Volume Changes during Radiotherapy

First, how does radiation work?

Biological Optimization of Hadrontherapy. Uwe Oelfke

Silvia Pella, PhD, DABR Brian Doozan, MS South Florida Radiation Oncology Florida Atlantic University Advanced Radiation Physics Boca Raton, Florida

MEDICAL MANAGEMENT POLICY

Elekta - a partner and world-leading supplier

Canadian Partnership for Quality Radiotherapy. Technical Quality Control Guidelines for Gamma Knife Radiosurgery. A guidance document on behalf of:

TFY4315 STRÅLINGSBIOFYSIKK

Understanding Radiation Therapy. For Patients and the Public

Application of the concept of biologically effective dose (BED) to patients with Vestibular Schwannomas treated by radiosurgery

Helena Sandström. Master of Science Thesis Medical Radiation Physics Stockholm University 2011

Evaluation of Monaco treatment planning system for hypofractionated stereotactic volumetric arc radiotherapy of multiple brain metastases

Dosimetry and radiobiology for Peptide Receptor Radionuclide Therapy

Determination and Use of Radiobiological Response Parameters in Radiation Therapy Optimization. Panayiotis Mavroidis

Knowledge-Based IMRT Treatment Planning for Prostate Cancer: Experience with 101. Cases from Duke Clinic. Deon Martina Dick

The Impact of Cobalt-60 Source Age on Biologically Effective Dose in Gamma Knife Thalamotomy

Therapeutic Medical Physics. Stephen J. Amadon Jr., Ph.D., DABR

Dosimetry Comparison of Gamma Knife and External Beam Radiation Therapy on Brain Tumors. Research Thesis

FLUKA Monte Carlo Simulation for the Leksell Gamma Knife Perfexion TM radiosurgery system

Optimising Radiotherapy Using NTCP Models: 17 Years in Ann Arbor

Risk of secondary cancer induced by radiotherapy

Radiation Damage Comparison between Intensity Modulated Radiotherapy (IMRT) and Field-in-field (FIF) Technique In Breast Cancer Treatments

4.1.1 Dose distributions LKB effective volume or mean liver dose? The critical volume model TUMOUR CONTROL...

3T MR-based treatment planning for radiotherapy of brain lesions

A TREATMENT PLANNING STUDY COMPARING VMAT WITH 3D CONFORMAL RADIOTHERAPY FOR PROSTATE CANCER USING PINNACLE PLANNING SYSTEM *

Lung Spine Phantom. Guidelines for Planning and Irradiating the IROC Spine Phantom. MARCH 2014

An introduction to different types of radiotherapy

IMRT - the physician s eye-view. Cinzia Iotti Department of Radiation Oncology S.Maria Nuova Hospital Reggio Emilia

Brain Tumor Treatment

Dosimetry, see MAGIC; Polymer gel dosimetry. Fiducial tracking, see CyberKnife radiosurgery

HDR Applicators and Dosimetry*

A new homogeneity index based on statistical analysis of the dose volume histogram

IROC Head and Neck Phantom. Guidelines for Planning and Irradiating the IROC IMRT Phantom. Revised MARCH 2014

IMRT Planning Basics AAMD Student Webinar

Page 1. Helical (Spiral) Tomotherapy. UW Helical Tomotherapy Unit. Helical (Spiral) Tomotherapy. MVCT of an Anesthetized Dog with a Sinus Tumor

Rotating and static sources for gamma knife radiosurgery systems: Monte Carlo studies

Option D: Medicinal Chemistry

Chapter 14 Basic Radiobiology

A VMAT PLANNING SOLUTION FOR NECK CANCER PATIENTS USING THE PINNACLE 3 PLANNING SYSTEM *

Proton and heavy ion radiotherapy: Effect of LET

Radiobiological modelling applied to Unsealed Source (radio) Therapy

Dosimetry of the Gamma Knife TM

IROC Liver Phantom. Guidelines for Planning and Irradiating the IROC Liver Phantom. Revised July 2015

Chapter 7. What is Radiation Biology? Ionizing Radiation. Energy Transfer Determinants 09/21/2014

A mathematical model of tumor growth and its response to single irradiation

Gamma Knife radiosurgery with CT image-based dose calculation

Dose differences between the three dose calculation algorithms in Leksell GammaPlan

Staged-Volume Radiosurgery of Large AVMs

Gamma. Knife PERFEXION. care. World-class. The Gamma Knife Program at Washington Hospital

Beyond The Dvh - Spatial And Biological Radiotherapy Treatment Planning

Intensity modulated radiotherapy (IMRT) for treatment of post-operative high grade glioma in the right parietal region of brain

LET, RBE and Damage to DNA

Brain Tumors. What is a brain tumor?

X-Ray Guided Robotic Radiosurgery for Solid Tumors

Improved Intelligent Classification Technique Based On Support Vector Machines

Measurement of Dose to Critical Structures Surrounding the Prostate from. Intensity-Modulated Radiation Therapy (IMRT) and Three Dimensional

Joint ICTP-IAEA Advanced School on Internal Dosimetry. Trieste, April 2010

New Thinking on Fractionation in Radiotherapy

Fractionation: why did we ever fractionate? The Multiple Fractions School won! Survival curves: normal vs cancer cells

Evaluation of Whole-Field and Split-Field Intensity Modulation Radiation Therapy (IMRT) Techniques in Head and Neck Cancer

CURRICULUM OUTLINE FOR TRANSITIONING FROM 2-D RT TO 3-D CRT AND IMRT

Radiation therapy treatment plan optimization accounting for random and systematic patient setup uncertainties

Elekta Synergy Digital accelerator for advanced IGRT

A Comparison of IMRT and VMAT Technique for the Treatment of Rectal Cancer

Automatic Hemorrhage Classification System Based On Svm Classifier

Organ Contour Adaptor to create new structures to use for adaptive radiotherapy of cervix cancer using Matlab Bridge and 3DSlicer / SlicerRT

Transition to Heterogeneity Corrections. Why have accurate dose algorithms?

Radiation Safety for New Medical Physics Graduate Students

Comparing conformal, arc radiotherapy and helical tomotherapy in craniospinal irradiation planning

Brain Tumor Radiosurgery. Gabor Fichtinger, PhD

Original Article. Teyyiba Kanwal, Muhammad Khalid, Syed Ijaz Hussain Shah, Khawar Nadeem

The Four R s. Repair Reoxygenation Repopulation Redistribution. The Radiobiology of Small Fraction Numbers. The Radiobiology of Small Fraction Numbers

IROC Head and Neck Phantom. Guidelines for Planning and Irradiating the IROC IMRT Phantom. Revised April 2014

ANALYSIS AND DETECTION OF BRAIN TUMOUR USING IMAGE PROCESSING TECHNIQUES

Effect of skull contours on dose calculations in Gamma Knife Perfexion stereotactic radiosurgery

Therapeutic ratio - An Overview. Past Present Future Prof Ramesh S Bilimaga

COMPARISON OF RADIOBIOLOGICAL EFFECTS OF CARBON IONS TO PROTONS ON A RESISTANT HUMAN MELANOMA CELL LINE

Identification of Tissue Independent Cancer Driver Genes

RADIATION SAFETY. Junior Radiology Course

Corporate Medical Policy

Evaluation of Normal Tissue Complication Probability and Risk of Second Primary Cancer in Prostate Radiotherapy

Implementing New Technologies for Stereotactic Radiosurgery and Stereotactic Body Radiation Therapy

Biological/Clinical Outcome Models in RT Planning

Background Principles and Technical Development

Prostate Phantom. Guidelines for Planning and Treating the IMRT Prostate Phantom. Revised March 2014

Is dosimetry of multiple mets radiosurgery vendor platform dependent? Y. Zhang

Transcription:

Development of a test bench for Gamma Knife Optimization V ICTORIA SVEDBERG Master of Science Thesis Stockholm, Sweden 2014

Development of a test bench for Gamma Knife Optimization VICTORIA SVEDBERG Master s Thesis in Optimization and Systems Theory (30 ECTS credits) Master Programme in Mathematics (120 credits) Royal Institute of Technology year 2014 Supervisor at KTH was Johan Karlsson Examiner was Johan Karlsson TRITA-MAT-E 2014:02 ISRN-KTH/MAT/E--14/02--SE Royal Institute of Technology School of Engineering Sciences KTH SCI SE-100 44 Stockholm, Sweden URL: www.kth.se/sci

Abstract The dose distribution in the Gamma Knife is optimized over the weights (or Beam-on time) using different models other than the radiosurgical one used in Leksell Gamma Plan R. These are based on DVH, EUD, TCP and NTCP. Also adding hypoxic regions are tested in the Gamma Knife to see whether or not the dose can be guided to these areas. This is done in two ways. For the DVH and EUD model the hypoxic area is regarded as a organ by itself and higher constraints is defined on it. In the TCP case blood vessels are outlined and the α and β parameters are perturbed to describe a hypoxic area. The models are tested in two cases. The first one is one tumour close to the brainstem and the second case is two tumours located far away from each other. Finally the results are compared to the dose distribution computed by the Gamma Knife. i

CONTENTS Contents CONTENTS 1 Introduction 1 2 Background 2 2.1 Radiosurgery........................................... 2 2.1.1 Leksell Gamma Knife.................................. 2 2.1.2 The Gamma Knife Treatment Plan........................... 3 2.1.3 Leksell Gamma Plan R.................................. 5 2.2 Radiotherapy........................................... 5 2.2.1 Dose-Volume Histogram................................. 6 2.3 Radiobiology........................................... 8 2.3.1 What happens in an irradiated cell........................... 8 2.3.2 LQ-model......................................... 10 2.3.3 TCP and NTCP..................................... 11 2.3.4 Equivalent Uniform Dose................................ 12 2.3.5 Hypoxia.......................................... 12 2.4 Comparison between DVH, EUD, TCP and NTCP...................... 14 3 Optimization of the Beam-on time 15 3.1 Problem set-up.......................................... 15 3.2 The Radiotherapeutical model-based on DVH......................... 15 3.2.1 Maximum and minimum dose-constraints....................... 15 3.2.2 Dose-Volume constraints................................. 16 3.2.3 The resulting DVH model................................ 16 3.3 The Radiobiological model.................................... 16 3.3.1 geud-based objective.................................. 16 3.3.2 TCP/NTCP-based objective.............................. 17 3.4 GUI................................................ 17 4 Results and Discussion 20 4.1 Case 1: One tumour....................................... 20 4.1.1 Results DVH without hypoxic region.......................... 21 4.1.2 Results DVH with hypoxic region............................ 25 4.1.3 Results EUD without hypoxic region.......................... 27 4.1.4 Results EUD with hypoxic region............................ 30 4.1.5 Results TCP without hypoxic region.......................... 31 4.1.6 Results TCP with hypoxic region............................ 36 4.1.7 Comments......................................... 38 4.2 Case 2: Two tumours...................................... 39 4.2.1 Results DVH without hypoxic area........................... 40 4.2.2 Comments......................................... 42 5 Conclusion 43 5.1 Future work............................................ 43 A Optimization algorithms 44 A.1 Active-set algorithm....................................... 44 A.2 Sequential Quadratic Programming............................... 45 A.3 Interior-point method...................................... 45 A.4 Trust-region-reflective...................................... 46 ii

1 INTRODUCTION 1 Introduction The Leksell Gamma Knife (developed and produced by Elekta) is an instrument for treating braintumors and various malfunctions in the brain. To optimize the given dose in a treatment using the Leksell Gamma Knife, a radiosurgical model is used. In radiosurgery, high-energy radiation is aimed at the target (most often a tumour) in order to destroy the target cells. The radiosurgical model is based on coverage, selectivity and gradient index to achieve the aim, which is to cover the target (and only the target) with the planned dose and make the dose drop rapidly outside the target for it to quickly drop, thus harming the healthy tissue outside the target as little as possible. In this model no account is taken for the riskstructures in the brain and if the target is big, the planning-time tends to become large due to the large number of degrees of freedom. The goal when using radiotherapy when treating a tumour is to destroy the DNA, which In radiotherapy, the models which are based on the Dose Volume Histograms (DVH), are the most common for optimizing a treatment plan. DVH describes the percentage of a target or a risk-structure which achieves a certain dose. Because of the non-convexity of the DVH and in order to use fast optimization techniques, simplifications have to be done. These simplifications are called DVH-surrogates and are widely used in the field of radiotherapy, e.g. at Princess Margaret Hospital (PMH) in Toronto, researchers have replaced the radiosurgical treatment plans in the Gamma Knife with DVH-surrogates. Radiobiology aims to explain the biological response in the tumor tissue and in the organs at risk when irradiatated with high-intensity ionizing radiation [12]. Radiobiological models are more and more common in cancertreatment devices. These models are usually based on Tumour Control Probability (TCP), Normal Tissue Complication Probability (NTCP) and Equivalent Uniform Dose (EUD). One problem using radiobiological models is the large uncertainties in the parameters. Along with the number of parameters used these models may become very uncertain in predicting the outcome of the treatment. In some tumours there may arise areas where there are less molecular oxygen than in the rest of the tissue. These areas are called hypoxic areas and are more resistant to radiation and higher dose must be given in these areas to achieve tumour control. The model parameters for TCP change for it to express the stronger radio resistance. Since combination treatments using the Gamma Knife and radiotherapy is likely to grow, having both models available in the Gamma Knife and also testing and comparing the radiotherapeutical model in the Gamma Knife against the radiosurgical one, will give an important aspect of the dose planning in the future. Also, since radiobiological models become more common, using these models in the Gamma Knife is also an important future aspect to consider. 1

2 BACKGROUND 2 Background In this thesis, models based on Radiobiology and Radiotherapy are tested in the Radiosurgical instrument, the Gamma Knife. Therefore, a brief introduction into Radiosurgery, Radiotherapy and Radiobiology will be given and along witg a technical overview of the Gamma Knife. 2.1 Radiosurgery Börje Larsson (professor in Radiobiology at Uppsala University) and Lars Leksell (neurosurgeon at Karolinska University Hospital) developed the concept of radiosurgery in 1951 [19]. This concept was to direct a single high dose of radiation to the intracranial region of interest stereotacticly. The word stereotactic is commonly used as a prefix to radiosurgery and refers to the three-dimensional coordinate system which makes it possible for the treatment planner to identify and use the coordinate systems of the diagnostic images and the actual position of the patient, thus simplifying the treatment and raising the accuracy of hitting the planned shot position (also called isocenter). The treatment plan is done in the Leksell Gamma Plan. The fundamental principle of radiosurgery is that of ionization of target tissue (for instance a tumour), by means of high-energy radiation, usually gamma radiation. By ionization the tissue, the number of ions and free radicals (an atom, molecule or ion with unpaired valence electrons) which are harmful to the cells increase (more about this in Section 2.3.1). These ions and radicals can produce irreparable damage to DNA, proteins, and lipids, resulting in the cell s death. Thus, biological inactivation is carried out in a volume of the treated tissue. The radiation dose is usually measured in Grays, where one Gray (Gy) is the absorption of one joule per kilogram of mass. Radiosurgery is performed by a team of neurosurgeons, radiation oncologists, and medical physicists to operate and maintain very sophisticated, accurate and complex instruments. The precise irradiation of targets within the brain (and upper part of the spine) is planned using information from diagnistic images which are obtained via computed tomography, magnetic resonance imaging, positron emisson tomography and angiography. An advantage of stereotactic treatments is the delivery of the right amount of radiation to the tumour in one or a few fractions compared to traditional treatments, which is often delivered in 30 fractions over a timeperiod up to 10 weeks. Also, treatments are given with extreme high accuracy, which limits the effect of the radiation on the surrounding healthy tissues due to the sharp dose gradients. One problem with stereotactic treatments is that they are only suitable for small and medium sized tumors, since the treatment time may increase considerably for large tumours. 2.1.1 Leksell Gamma Knife The Leksell Gamma Knife (or shortly the Gamma Knife) is a medical device for treatment of brain tumours, developed by the company Elekta AB. The Gamma Knife was first developed by Börje Larsson, Ladislau Steiner and Lars Leksell in 1967 and is based on the concept of radiosurgery. The most recent model is Leksell Gamma Knife PERFEXION R presented in Figure 1. It was introduced in 2006. in this section a small technical overview of the Gamma Knife is given. Figure 1: The Gamma Knife PERFEXION R 2

2.1 Radiosurgery 2 BACKGROUND The most recent model is Leksell Gamma Knife PERFEXION R presented in Figure 1. It was introduced in 2006. The Gamma Knife treats benign and malignant tumours and malfunctions in the brain by aiming gamma radiation on the tumour cells. The radiation source in the Gamma Knife PERFEXION R is Cobalt-60 and each of the sources is distributed in five circular rings in the device which is divided into 8 sectors. By radiating from each sector the gamma radiation is aimed at a target in the brain, hence focusing the rays to a so called isocenter as in Figure 2. The isocenters may have different shapes. The Gamma Knife is heavily shielded by lead, iron and tungsten to avoid leakage of gamma radiation. To avoid errors from patient movement during the treatment an aluminum frame is surgically fixed to the skull. This frame is fixated to the Gamma Knife in order for the head to remain stationary during the treatment. The frame becomes a reference for the coordinate system when calculating dose (hence a Stereotactic frame). Figure 2: Conceptual picture of the Gamma Knife. Focusing the radiation to an isocenter is the most important objective of the Gamma Knife (and in radiosurgery overall). By focusing the radiation, the intensity outside the focus point can be low enough to spare the tissue from any severe damage, but in the focus point become high enough to kill the tumour cells. Hence, the tumour cells die while the healthy tissue are relatively spared. This can result in shrinkage or a complete disappearance of the tumour. Gamma Knife radiosurgery has proven effective for patients with benign or malignant brain tumors up to 4 centimeters in size, vascular malformations such as an arteriovenous malformation (AVM), pain or other functional problems [11], [17], [14], [25]. The risks of gamma knife treatment are very low, and complications are most often related to the condition being treated. 2.1.2 The Gamma Knife Treatment Plan It is physically impossible to find an ideal treatment plan in any cancer treatment systems, giving no dose to the organs at risk and healthy tissue and 100% to the tumour. Hence one has to create a plan, where considerations of the importance between the different organs at risk and healthy tissue are taken. The tumour and organs at risk are outlined by a clinician, who also sets the constraints in the optimization problem and the importance of the organs to give a desired plan. A desired plan is a plan giving a high dose in the target and a low dose to the risk-structures. In order to automatically plan the optimal dose delivery in the Gamma Knife, a possible solution strategy is solving the following two problems: 3

2.1 Radiosurgery 2 BACKGROUND Isocenter-packing Full optimization Solving the isocenter-packing problem 1 gives the positions of the isocenters (the coordinates where the gamma rays are converging as well as their shape) and hence the initial number of isocenters are given. The algorithm is constructed as follows: first the target is covered by as large shot as possible and the isocenters are placed so that it touches the target volume periphery, without overlapping other shots too much. When no more shot positions exists, even for the smallest volume, the volume covered so far is treated as non-target and the algorithm is repeated with the reduced target volume starting with the largest shot. Thus the target is filled from the surface and inwards [9]. A short graphical description of this algorithm i given in Figure 3. Only a subset of all isocenter shapes (isocenter states) are used and a shape of an isocenter is defined by {x x R 3, D(p, x) 0.5D max }, where p is the isocenter position, D is the dose and depends on the size of the shot and D max is the maximal dose. Figure 3: Illustration of the isocenter packing. A subset of all isocenter shots are used. The aim is to fill out the boundary as much as possible, then remove the isocenters, and fill the new volume. In the first (left) isocenter-packing, all isocenter shapes are allowed on the first boundary. In the right one the largest shot is not allowed on the first boundary. Image from [9] Now the optimization problem may be solved. It is based on coverage, selecticity, gradient index and Beam-on time. These are stated in Equations 1, 2, 3 and 4. Here PIV is Planning Isodose Volume, the tissue covered by the planned isodose, and TV is Target Volume, i.e. the volume of the target (for example a tumour). ISO is the level of the isodose in percentage. Now, isocenter positions, isocenter-states and weights are varied freely. Figure 4: Wenn-diagram of PTV and TV. Image from [9] Coverage: C = V (P IV T V ) V (T V ) (1) 1 More info http://www.elekta.com/dms/elekta/elekta-assets/elekta-neuroscience/gamma-knife-surgery/pdfs/lgp- Inverse-Planning-white-paper Art-No 018880-02-/White%20Paper%3A%20Inverse%20Planning%20in%20Leksell%20GammaPlan%C2%AE% 4

2.2 Radiotherapy 2 BACKGROUND Selectivity: S = V (P IV T V ) V (P IV ) Gradient index: GI = V (P IV ISO/2) V (P IV ISO ) Beam-on Time: T beam on = N iso i=1 CostF unc = Cmin(2α,1) S min(2(1 α),1) + βgrad + γt ime 1 + β + γ where α, β, γ [0, 1] are the weights befined by the user. (2) (3) T beam on,i (4) Here V (A) is the volume of the set A, N iso is the number of isocenters and T beam on,i is the beam-on time from isocenter i. The objective is demonstrated in Equation 5 where Grad is ae function of the gradient index and T ime is a function of the beam on times. Organ at risk are not being considered in the objective function. Instead poor selectivity is penalized so all tissue outside the target volume is treated as risk structures. A poor gradient index can also be penalized to create a steeper fall off of lower isodoses. For the dose calculations two different calculations are performed. Those are Convolution algorithm TMR-10 model TMR-10 algorithm 2 models all tissue in head as water [10]. This is proven to be good for targets in center of brain, but less accurate for heterogenities in the brain and peripheral regions. The convolution algorithm 3 takes tissue heterogenities into account in the dose calculation [8] and is only used to check the dose plan. However both give a mutually consistent result in a water phantom. During the optimization in the Gamma Knife, only the TMR-10 algorithm is used. 2.1.3 Leksell Gamma Plan R The Leksell Gamma Plan R is the software for the treatment planning system for the Gamma Knife. It provides a user friendly work system to the planner where all diagnostic images of the patient are collected and the dose delivery is planned. Using the CT-scan, the MR-image is fitted into the coordinates of the Gamma Knife and slices of the head are displayed. In these it s possible to outline the tumour and organs at risk and perform an isocenter-placement (organs at risk are only consider in the isocenterplacement). Then an optimization of the dose-distribution is performed, during which one may place out extra isocenters or remove an isocenter until a good plan is created. To investigate a plan isodoses and DVH:s are displayed. This plans are usually done by a neurosurgeon, or a medical physicist, but the plan must be approved by a neurosurgeon or an oncologist. When a plan is approved, the plan is sent to the Gamma Knife and executed. 2.2 Radiotherapy Radiotherapy, similar to radiosurgery, also utilizes ionizing radiation to kill cells by focusing one or more beams to a planning target volume. In Conventional Radiationtherapy (CRT) the beams have a uniform intensity field which makes it harder to shape the field to avoid organs at risk (OARs). A progress was made in the 3D treatment planning by the introduction of Multileaf Collimators (MLC:s) to radiotherapy (first proposed by Brahme [3]). This was the beginning of Intensity-Modulated Radiotherapy (IMRT) where the radiation intensity across the beams can be modulated. This allows a better possibility of shaping the dose distribution of the planning target volume and sparing the OARs and normal tissue. The difference in dose shaping between CRT and IMRT is demonstrated in Figure 5. 2 More info http://www.elekta.com/dms/elekta/elekta-assets/elekta-neuroscience/gamma-knife-surgery/pdfs/lgp- TMR-dose-algorithm-white-paper/White%20Paper%3A%20A%20new%20TMR%20dose%20algorithm%20in%20Leksell%20GammaPlan%C2% 3 More info http://www.elekta.com/dms/elekta/elekta-assets/elekta-neuroscience/gamma-knife-surgery/pdfs/lgp- Convolution-white-paper Art-No 018881-02/White%20Paper%3A%20Convolution%20Algorithm%20in%20Leksell%20GammaPlan%C2%AE% (5) 5

2.2 Radiotherapy 2 BACKGROUND Figure 5: Difference in dose shaping between CRT and IMRT. Image from IAEA.org Figure 6: Illustration of MLC:s in operation. Before radiation from a beam reaches the patient it has to pass through a MLC. The MLC consist of a number of pairs of metal leaves, usually made of tungsten, which can move and position itself into different shapes in order to block the radiation passing through the metal leaves and hence shape it. In Figure 6, the idea of dose shaping using multileaf colimators is presented. In order to model the beam intensities mathematically one discretize the beam into small bixels or beamlets. There is a close resemblance between radiosurgery and radiotherapy but is in a fundamental plan not based on the same concepts. The aim of stereotactic radiosurgery is to kill target tissue with high dose while preserving the surrounding normal tissue utilizinf the sharp gradients of the Gamma Knife, where fractionated radiotherapy with less sharp gradients relies on a different sensitivity of radiation of the target and the surrounding normal tissue to the total accumulated radiation dose. 2.2.1 Dose-Volume Histogram Dose Volume Histograms, abbreviated a DVH is a commonly used in clinical practice in Radiotherapy and Radiosurgery due to its economical and easy way to represent the entire dose distribution in a structure. The lost information is the spatial resolution of the dose distribution. It was first suggested by Bortfeld [1] and it is based on the physical dose. The planning structure considered (target or organ at risk) is divided into a number of voxels. The set of all voxels v in the planning structure S which attains dose d can be calculated using Equation 6. vol : d p(d ) := V ({v : d v = d }) V (S) In other words the DVH provides the volume percentage of the planning structure in which at least the dose d is attained, i.e. the DV H(d) can calculated using Equation 7. DV H(d) = V ({v : d v d }) V (S) (6) = d d p(d ) (7) 6

2.2 Radiotherapy 2 BACKGROUND The DVH is highly non-convex and non-convave. A simple example is that if x,y is the value of the dose in two voxels repsresenting the planning structure S. If x d and y d then 1 2 (x + y) d. If x d and y d then 1 2 (x + y) d. But what is the case of 1 2 (x + y) d when x d and y d or the opposite x d and y d. Convex optimization is not applicable in this case. Because of this, transferring the DVH into more computationally desirable properties is an important field of ongoing research. There are some ways to control the DVH. Firstly, one simple possibility is to add a maximum or minimum dose constraint in the target and/or in the organs at risk. In Figure 7 a maximum and minimum constraint on the dose is demonstrated in a DVH-curve. Figure 7: A maximum and minimum constraint on the DVH-curve. Image from [1] For some organs maximum dose constraints is not meaningful at all. Organs like lungs and kidneys don t have a large volume effect. If a part of these organs fail to function, the other part can still function without any major problem. In other words the tolerance dose in lungs and kidneys are not very dependent on the irradiated volume percentage. In the organs with a large volume effect, for instance the eye nerve, if a small piece of volume is irradiated, the tolerance dose is considerably lower than for larger irradiated volumes. In the organs with a large volume effect one can utilize the properties of Dose Volume Constraints, or DVC is also a common way to put a constraint on a DVH. The constraint is that no more than V max of the volume should receive more than a dose D max. In Figure 8 this is visualized as a barrier with a corner at the point (D max, V max ). Figure 8: Visualization of a DV-constraint. Image from [1] Unfortunately DVC-constraints lead to non-convex objective function [7][29]. Although it is shown that the resulting local minima in the overall objective function in simulations are of minor practical relevance [20]. When the constraints is set, one can decide the importance of the constraints. The more important it is that a constraints is fulfilled the higher penalty factor is put on it. A graphical illustration of this is presented in Figure 9 7

2.3 Radiobiology 2 BACKGROUND Figure 9: By using a small penalty factor on the maximum constraints some excess dose is allowed beyond the constraint. By a larger penalty factor prevents any larger dose than D max. Image from [1] 2.3 Radiobiology The aim of radiobiology is to describe what happens when a cell is irradiated. Reasearch is made on this area today since it can contribute to the development of radiotherapy and radiosurgery in three important ways. It may provide an extended conceptual basis for radiotherapy and radiosurgery, by identifying mechanisms and processes that underlie the response for tumours and normal tissue to radiation and help to explain observed phenomena. Examples are knowledge about hypoxia, reoxygeniation and repair of DNA-damage (all these are explained later in Section 2.3.1). Development of treatment plans for radiotherapy and radiosurgery, for instance hypoxic cell sensitizers, to decrease the effect of an hypoxic environment (more in Section 2.3.5). Advice on the choice of schedules for radiotherapy and radiosurgery. For instance conversion formulas for changes in fractionation or dose rate. It may also provide a method for predicting the best treatment for the individual patient. The role of oxygen is one positive example that has led to benefits in treatments today. The current method is empirical and further knowledge about cellular and molecular nature of radiation effects will lead to further development of the radiotherapy and radiosurgery [12]. 2.3.1 What happens in an irradiated cell When a cell is irradiated a number of processes commence. In Figure 10 the different phases and the time-period when they occur is graphically illustrated. Figure 10: The three different phases occuring after irradiation. Image from [12] 8

2.3 Radiobiology 2 BACKGROUND At first there is a physical phase where interactions occur between charged particles and the atoms of which the tissue is composed. A charged particle passes some living tissue and as it does, it interacts with the orbital electrons. Some is ejected from the atom (ionization) and some is raised to a higher energy level (excitation). If these are sufficiently energetic, these secondary electrons may excite or ionize other atoms near which they pass, giving rise to cascade of ionizing events. The damage to the cell is either direct or indirect ionization of the atoms which make up the DNA chain If there is molecular oxygen nearby the damage to the DNA-strand may be fixed. This phase is illustrated in Figure 11. Figure 11: Direct and indirect action of charged particles. Image from [12] Secondly there is a chemical phase. This is the period when these damage atoms and molecules interact with other cellular components in rapid chemical reactions. Ionization and excitation lead to the breakage of chemical bonds and formation of broken molecules known as free radicals. These are very reactive and start a series of reaction which damage the DNA. Last there is a biological phase, which includes all subsequent processes. These begin with enzymatic reactions that acts on the residual chemical damage. The vast majority of lesions in for instance DNA are successfully repaired. Non-cancerous cells are able to reproduce even with slightly damaged DNA. The excited state of reproduction that cancerous cells are in means that a small amount of DNA-damage renders them incapable of reproducing. Some rare lesions fail to repair and these eventually lead to cell death (or mutation), a phenomenon used in radiotherapy. A cell takes time to die. After being irradiated they may undergo a number of mitotic diversions before dying. The radiation may also give rise to cell proliferation (increase in number of cells) and a very late effect is the appearance of a second tumour (called radiation carconogenesis). In the brain the injury in the central nervous system develop a few months to several years after therapy[12]. By illustrating dose response curves for both probability of tumour control and normal tissue complication in the same graph one can see therapeutic window as in Figure 12. In this area, there is a high probability that the dose is high enough to kill the tumour cells but not high enough to cause any big damages to the normal tissue. Hence the dose for the treatment plan should occur in this area. 9

2.3 Radiobiology 2 BACKGROUND Figure 12: The area between the two curves are called the therapeutic window. Another factor to take into considerations is the volume effect of the organ, or the seriality i.e. how the functional subunits is arranged. This effect is already mentioned in section 2.2.1. In the context of seriality, an organ is usually described as a series and parallel circuits. For instance the optic nerve is an organ with a high seriality, which would fit into the description of a series circuit. If tissue is destroyed so that the nerve is unconnected, the patient is likely to lose its sight. The lung is an organ with low seriality. If a part of it is destroyed there is still a probability that the function is maintained. Figure 13: Figure illustrating the seriality. If a link is broken the first chain is no longer connected, but the second one is. Image from [23] 2.3.2 LQ-model The LQ-model, or Linear Quadratic model is the most widespread model used to estimate the cell survival after radiation. This model is based on the assumption that there is a linear and a quadratic component of the cell survival vs. the dose as demonstrated in Figure 14. 10

2.3 Radiobiology 2 BACKGROUND Figure 14: Explanatory LQ-plots. Image from [12] According to the LQ-model, the surviving fraction of target cells after a dose per fraction d, (SF d ), is given as. SF d = exp( αd βd 2 ) (8) where α and β is parameters fitted into the graph. An example of one such graph is in the left picture in Figure??. One may compare the α β -ratio between tissues. A high α β -ratio implies that the tissue is early responding to radiation, while a low α β -ratio implies that the radiation effects comes after some time. In the right picture in Figure?? a comparison between the LQ-curves of a structure with early responding tissue and late responding tissue is made. One limitation of the LQ-model is that it works well for doses employed by conventional fractionated radiotherapy. For higher doses per fraction, as in stereotactic radiosurgery, the LQ-model is less accurate. 2.3.3 TCP and NTCP Two common radiobiological models are TCP (Tumor Control Probability) and NTCP (Normal-Tissue Complication Probability). TCP and NTCP describe probability that the cells of the tumour or normal tissue dies under the radiation treatment dose. Brahme [2] came up with the Poisson-based TCP-function. T CP ( d) m T ( ) = P i where P i = exp N o exp( (αd i + βd 2 i ) i=1 Here N 0 is the number of chlonogenic cells (a simplification is made assuming that the number of chlonogens in each voxel is the same), α and β is derived from the LQ-model in Section 2.3.2, m T is the number of voxels in the tumour, d i is the dose in the i:th voxel and d is the vector of all the d i s. The TCP function is strictly concave and thus convenient to use in optimization [5]. The NTCP function is in Källman [18] described by NT CP ( d) ( m R 1/s ( = 1 (1 Pi s ) R) 1/m where Pi = exp i=1 ) N o exp( (αd i + βd 2 i ) where d i is the dose in voxel i, s (0, 1] is the relative seriality of the tissue, m R is the number of voxels in the organ at risk and N 0, α and β have the same function as in the TCP case. One issue with the TCP and NTCP models is that there are many parameters and the value of these parameters are uncertain [26]. (9) (10) 11

2.3 Radiobiology 2 BACKGROUND 2.3.4 Equivalent Uniform Dose Niemerko [21] made an assumption that two dose distributions are equivalent if they cause the same probability for tumor control, as demonstrated in Figure 15. Using this assumption and the TCP model as a basis he developed the Equivalent Uniform Dose-model, abbreviated as the EUD and defined in Equation 11. It reduces the complex three-dimensional dose distribution into a singe number. The EUD is essentially a norm [5] which takes the radiationsensitivity of the tissue into account. EUD( d) = 1 a ln 1 V e adi (11) V Here, V is the set of all voxels in the structure of interest, a is a parameter specified for type of structure depending on the radiation response of the tissue (a 0 for risk structures and a < 0 for target structures) and d i is the dose in the i:th voxel. Originally the EUD dealt with the effect of radiation in tumour structure only. This was later simplified and extended to deal with organs at risk as well, by developing the generalized Equivalent Uniform Dose, the geud [22]. geud( d) = 1 V i=1 V d a i i=1 The geud is a convex function for a 1 (concave for a 1) [5] and is thus more efficient to work with in optimization problems. While TCP and NTCP have many uncertain parameters, the EUD only has one parameter (although still uncertain). The EUD is based on both physical (dose) and biological criterias. 1 a (12) Figure 15: The EUD simplifies the dose distribution into one value. All distributions giving the same EUD are equivalent. Image from [23] 2.3.5 Hypoxia The response of cells to ionizing radiation depends strongly upon the supply of oxygen [12]. Tumous may outgrow their blood supply. If a blood vessel is further away than the diffusion distance from a cell, this cell becomes more resistant to lack of molecular oxygen. A state known as Hypoxia. 12

2.3 Radiobiology 2 BACKGROUND Figure 16: Acute hypoxic, chronic hypoxic and oxic regions. Image from [12] Oxygen makes the tumours more sensitive to radiation, i.e. it s a strong radiosensitizer. It increases the effectiveness of a given dose of radiation by forming DNA-damaging free radicals. Tumor cells in a hypoxic environment may be as much as 2 to 3 times more resistant to radiation damage than those in a normal oxygen environment [12]. In Figure 17 one can see the increases resistance of the cells in a Hypoxic environment using the LQ-model. Figure 17: Survival curve for cultured mammalian cells exposed to x-rays under oxic and hypoxic conditions. Image from [12] To incorporate the resistance in the hypoxic cells one can modify the α and β parameter in the LQ-model and take into account the distance to molecular oxygen and the tissue sensitivity [27]. By calculating the OER as in Equation 13 one may assess the effect molecular oxygen has on the irradiated tissue, i.e. the enhancement of radiation damage. Radiation dose in hypoxia Radiation dose in air Based on the OER, the dose modification factor may be calculated. Oxygen Enhancement Ratio = f (r) = OERmax (k + po2 (r)) k + OERmax po2 (r) (13) (14) Here OERmax is the maximum effect achieved in the absence of oxygen, k is the reaction constant and po2 is the local oxygen tension, which depends on the distance r to oxygen. Oxygen effect only occurs if oxygen is present either during irradiation of within a few milliseconds after irradiation. By performing a Positron Emission Tomography (PET) scan, the local oxygen tension in the brain can be found. Now the modified α and β can be calculated as in Equation 15. 13

2.4 Comparison between DVH, EUD, TCP and NTCP 2 BACKGROUND The modified TCP then becomes as in Equation 16. i=1 α(r) = α oxic f(r), β(r) = β oxic (f(r)) 2 (15) T CP ( d) m T ( ) = P i where P i = exp N 0 exp( (α(r)d i + β(r)d 2 i ) The only difference to the TCP stated in Equation 9 is the dependence of r in the α and β parameters. 2.4 Comparison between DVH, EUD, TCP and NTCP How is then DVH, EUD, TCP and NTCP connected? Will a good result when optimizing a DVH-based model automatically yield a good result of the EUD, TCP and NTCP and vice versa? Recall that the DVH is based solely on the physical property, the dose, and EUD, TCP and NTCP are based on both dose and parameters derived to explain the biological response in the tissue. In these models, aspects of how fast the tissue responds to radiation and how many chlonogens there are in each voxel. One might say that a planning isodose of minimum 15 Gy are good inside the target when using DVH-based model, however in this case no regard of the density of chlongens in each voxel is taken. This number can vary a lot in magnitude. It may even vary in powers of 10. A large number of chlonogens will also yield a higher dose to tumour control and a small number of chlonogens will yield a lower dose to tumour control. TCP and NTCP also take the seriality and the speed of tissue response to radiation into account, hence making them into very thorough models. EUD is somewhat of a simplification to both NTCP and TCP. Here a concludes all the properties described by the parameters of TCP and NTCP, hence making it a bit less accurate. Overall, TCP and NTCP with the correct parameters, gives a good description on the magnitude of dose to control the tumour, keeping the spatial information, while the DVH is based on experience. (16) 14

3 Optimization of the Beam-on time 3.1 Problem set-up 3 OPTIMIZATION OF THE BEAM-ON TIME The problem of finding the optimal treatment plan was divided into three parts. 1. Find the isocenter positions in the tumour. 2. Perform a dose calculation in order to find the dose rates in each voxel for a specific sector in a specific state. 3. Optimize the Beam-on time. To find the isocenter position the grassfire-algorithm is applied and, when the isocenters are found, a simplified version of the TMR10 algorithm is used for the dose calculation. The grass-fire algorithm starts at the surface of the volume and goes inward to some sort of center, defined by being most far away from the surface. When this center is found, the coordinates becomes the first isocenter. The volume covered by the isocenter is subtracted and the procedure is iterated. This is done until almost the entire volume is covered. Since it may be described as putting fire to the verge of a lawn, it s named the grassfire-algoritm. Some other simplifications were that the number of isocenters and the isocenter positions were fixed throughout the optimization process. Also only the three of the different shapes of the isocenters were used in the procedure. All of them were spheres with a radius of either 4 mm, 8 mm or 16 mm. Fixating the positions in the isocenters renders a convex problem assuming the cost function is convex. All this was done to make the problem convex and decrease the number of degrees of freedom. The organs at risk and tumours were also divided into voxels to speed up the computations. To calculate the dose in voxel i, d i the sum below is used. This is a discretized version of the Fredholm integral [6] and is similar the one used in Section 2.2. d i ( ω) = J K j=1 k=1 l=1 L ω jkl d i,jkl (17) Here ω is the vector of all the beam-on times, j is an index over the isocenterpositions, k is a index over the sectors in the Gamma Knife (in total 8 sectors) and l is a index over the three collimator sizes. d i,jkl is the doserate in voxel i from sector k using collimatorsize l when the isocenter is in position j and ω jkl is the beam-on time of sector k using collimatorsize l when the isocenter is in position j. Using this estimation of the dose the treatment plan will be found by optimizing over ω jkl. The problem will have JKL degrees of freedom where J = 3, K = 8 and L is the total number of isocenters. Throughout this thesis, the sum in Equation 17 wil be written as d i ( ω) = µ ω µd i,µ, where µ = 1, 2, 3,... JKL. 3.2 The Radiotherapeutical model-based on DVH A DVH-based objective function is hard to solve due to the non-convexity of the DVH. Instead a simplification of the description of the DVH is made by using a nonlinear penalty function penalizing when the dose does not fulfill the constraints. Three such constraints are implemented. 3.2.1 Maximum and minimum dose-constraints To penalize when the dose exceeds the maximum dose, d max, the function m i=1 (d i( ω) d max ) 2 + is implemented in the objective, where (x) + = max(x, 0), m is the number of voxels in the structure and d i is calculated as in Equation 17. The objective is to push the dose down to d max using a squared penalization factor over all the voxels in the structure. The minimum dose constraint is treated similarly. which penalizes doses below d min. m (d min d i ( ω)) 2 + i=1 15

3.3 The Radiobiological model 3 OPTIMIZATION OF THE BEAM-ON TIME 3.2.2 Dose-Volume constraints The Dose-Volume constraints, or DV-constraints, are specified as V ({v : d v d r }) < V r, or the volume receiving the dose d r should be less than V r. To implement this one needs to find d p such that V (d p ) = V r. Hence we have first the required dose d r and the present dose d p at V r. This is illustrated in Figure 18. By penalizing all doses between d r and d p as in Equation 18 one may pull the curve closer to d r. This method was first suggested by Bortfeld [1]. H(d i ( ω) d r )H(d p d i ( ω))(d i ( ω) d r ) 2 (18) where H( ) is the Heaviside function. This is done similarly for each DV-constraint. This type of constraints are at the moment the most clinically used one. Figure 18: Illustration of how d p is found. 3.2.3 The resulting DVH model The resulting and somewhat complicated model is then: (NLP ) min t T λ t ( mt m t i=1 (d min d i ( ω)) 2 + + p DV C H(d i( ω) d p )H(d r d i ( ω))(d i ( ω) d p ) 2 + ) (d i ( ω) d max ) 2 + + λ r ( mr r R m r i=1 (d i ( ω) d max ) 2 ) ++ p DV C H(d i( ω) d p )H(d r d i ( ω))(d i ( ω) d p ) 2 + λ µ ω µ s.t. d i ( ω) = µ ω µd i,µ, i = 1, 2, 3,... ω µ 0 (19) where the λ s is the weight on the treatment time, organ or tumour, H( ) is the Heaviside function T are the tumours, R are the riskorgans and (x) + = max(x, 0). In short, a minimum dose and a DV-constraint is implemented for the tumours and a maximum dose and DV-constraint is implemented for each organ at risk. Also, the total treatment time is penalized by the last term in the objective function. There is also a possibility to specify the importance of each organ by using the λ s to weight the organs between one another. If a part of the tumour is hypoxic, this are is treated as a separate tumour with other constraints. The square term is chosen mostly because the full objective function remains convex[28]. One may also penalize the constraints harder by changing the quadratic penalization function into an exponential function, ( ) 4 or another convex function. 3.3 The Radiobiological model 3.3.1 geud-based objective Due to the convexity of the geud it s easy to construct constraints and objective function based on it. A similar approach as in Section 3.2.3 is made. 16

3.4 GUI 3 OPTIMIZATION OF THE BEAM-ON TIME min (NLP ) t T λ t(geud 0 geud( ω)) 2 + + r R λ r(geud( ω) geud 0 ) 2 + + λ µ ω µ s.t. geud( ω) = ( V i=1 d i( ω) a ) 1 a d i = µ ω µd i,µ, i = 1, 2, 3,... ω µ 0 Since the geud isn t very intuitive, geud 0 is derived from the desired DVH-curve. The value of the parameter a is uncertain, hence the model is solved and tested for the a parameter in an interval of 20% around the mean to study the robustness of the optimized plan. 3.3.2 TCP/NTCP-based objective The TCP has a great advantage of being concave, which is not the case for the NTCP function. Although by applying the transformation h(z) = ln(1 z) yields a convex NTCP [15], [24]. λ min t t T T CP 0 (T CP 0 T CP ( ω)) 2 + + λ r r R ln(1 NT CP ( ln(1 NT CP ( ω)) + ln(1 NT CP o) 0)) 2 + + λ (NLP ) T µ ω µ s.t. d i ( ω) = µ ω µd i,µ, i = 1, 2, 3,... ω µ 0 (21) Here T is a normalizing constant, which is the time it takes to irradiate the tumour with just the 8mm collimator, serving the purpose of making the cost function dimensionless. Also here, the parameters are uncertain so a sensitivity analysis is performed for a 20% interval around the mean. The model is very sensitive to the initial solution. In order to give an initial estimate, an absolute value of a plot is chosen using a simple solution to the DVH-model as an initial estimate. 3.4 GUI The goal of this thesis is to construct a GUI and connect it to a optimization engine. Here one should be able to open a DICOM-folder, containing structure sets of outlined target and riskorgans as well as a complete set of images of the head of the patient, outline the hypoxic areas in the tumours and chose a subset of organs at risk, solve the isocenterplacement problem and the optimization problem with the chosen algorithm and optimization model and compare the resulting dose distribution to the already planned treatment made in the Gamma Knife. Also plots of the isodose, tumours, OARs and DVH-plots should be presented. In the Figure below is a picture of the interface. (20) Figure 19: The interface of the GUI. 17

3.4 GUI 3 OPTIMIZATION OF THE BEAM-ON TIME To be able to optimize in the gui some initial steps have to be taken. The first one is made in the Considered organs panel. By clicking the button New Patient a window pops up containing the names of all the outlined structures in the patient and an individual number to each structure. By writing a vector in the editbox containing the numbers to the target structures and clicking Ready, the program starts to take the info from the DICOM-structures and create all the info needed to continue with the initial steps and the optimization and saving the info as s.mat in the patient folder. Hence, the program can only upload the file s.mat the next time one wishes to investigate the patient, to gain speed. When this is done, one needs to define organs at risk and which target to consider. This is done by clicking the New System button. A plot is displayed with first all the targets (to chose targets), then all the outlined organs (to chose organs at risk). Then if there is a large problem with many tumours one can split them into smaller subsytems by clicking the target and organs at risk and pressing Next Sytem. This division will later affect the dose-matrix by making it sparse to speed up calculations during the optimization. If one wishes to add a hypoxic area in the tumour, one can outline it by pressing Add hypoxic area. In the isocenter-panel the isocenters are defined. First the Cut-off distance is specified. The Cut-off distance is the smallest distance to another isocenter and in this case a sort of tolerance. When pressing Pack spheres the grassfire-algorithm starts to calculate the isocenters. To gain degrees of freedom only the 4mm spheres are used. The number of isocenters will be displayed in the black box and they will be plotted in the tumour in the graph. Options for optimization, such as maximum number of iterations and function evaluations along with the tolerance, can then be specified. To speed up the calculations decreasing tolerances may be specified in a vector. MATLAB then solves the optimization for each tolerance using the results from the previous as an inittial solution to the next. This is in many cases preferred to make computations faster. By pressing the Set parameters button a window will pop-up with a button for each target and organ at risk in the problem. There is also a box for specifying the weight on the time and a button for showing some parameters for different organs in the brain. By pressing the button for each organ parameters will show up. One may also specify model and algorithm in the pop-up boxes. The model TCP hypoxia is a bit different from the others. Here one can instead outline blood vessels and the parameters α and β is then perturbed according to Equation 15. The p0(r) is, for simplicity assumed to be a linear function, where p0(0) is the oxygen tension in blood (p 0 =100mmHg), and r such that p0(r) = 0 is the diffusion distance of blood in a muscle (r d = 39µm). The equation approximating the oxygen tension is displayed below. Other parameters used when perturbing α and β is OER max and k, which is set to 3 and 2.5mmHg respectively. { p 0 (1 r p0(r) = r d ) if r r d (22) 0 if r > r d Then every initial step is made and one can proceed to optimization by clicking Start Optimization. Then dose-calculation is initiated. When this is done a simplified system is constructed containing only targets and organs at risk and the simplified dose-matrix. The assumption is made that a irradiating a target in a subsystem doesn t affect the dose in other subsystems considerably. The dose-matrix (d iµ ) i=1,..,m,µ=1,...,jkl used when calculating the dose in the voxels (in Equation 17) is made sparse by taking the mean over a specified amount of rows in the columns describing the doserate from the isocenters in the other systems. This makes calculations faster during the optimization. Every step in the optimization is displayed in the MATLAB command window. When the optimization has terminated a DVH plot will show along with the beam-on time. A histogram of the weights will also pop-up. By specifying a number in the editbox under the isodosesurface a plot of the dose above this value will be plotted along with targets and organs at risk. If more such areas are of interest to see one may enter more numbers in a vector. Also other Pareto-optimal solutions can be investigated and the DVH and isodosesurface for all organs. Figure 20 shows the interface for investigating the isodoses in 2D. Here the countours of the target, organs at risk and dose is plotted, and ine can scroll through the head in z-direction. In DVH using LGK a plot will be displayed showing the resulting DVH using the Gamma Knife. 18

3.4 GUI 3 OPTIMIZATION OF THE BEAM-ON TIME Figure 20: The interface of the GUI for isodoseareas. The N 0 -parameter may be estimated by first enter the values for α and β in the target and then pressing DVH using LGK. N 0 is then calculated assuming the Gamma Knife treatment killed 90% of the tumour. Also the EUD 0 may be estimated two approaches. First options is to set EUD 0 to zero before optimizing the EUD-model an estimate is calculated using the constraints set in maximum and minimum dose along with the DV-constraints. The second option is to first solve the DVH-model. The EUD is calculated using the result and set as EUD 0. 19

4 RESULTS AND DISCUSSION 4 Results and Discussion Some test-cases were provided and two of them are presented here. These cases are patients already treated in the Gamma Knife. The plans were derived using the interior-point algorithm and all three models. The DVH and EUD-based models were also solved in the case of adding a hypoxic region in the tumour, and the TCP-model, which takes hypoxia into account by perturbing the α and β-parameters where solved. 4.1 Case 1: One tumour The first test-case is a tumour located close to the brainstem and the cochlea. The target and the organs at risk and the resulting DVH from the Gamma Knife is below. EUD 0 is estimated using the results from solving the DVH-based model. Figure 21: Mesh of the head, where tumour and organs at risk are outlined and the DVH from the resulting Gamma Knife dose distribution. The constraints and the parameters used is displayed in the table below. 20

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Parameter Tumour Brainstem Cochlea λ 1 0.5 0.1 d min 14 - - d max 28 15 10 DVC (18, 0.7), (23, 0.3) (8, 0.2) - a -8 7 5 EUD 0 18.01 8.772 8.351 α 0.22 0.0491 0.0878 β 0.0272 0.0234 0.0293 s - 1 0.64 N 0 10 5 5 T CP 0 100% - - NT CP 0-1% 1% The Cut-off distance 1.5 mm generated 14 isocenters. Below is a plot of the chosen hypoxic area. This hypoxic area has the same constraints as the tumour only the value of d min is set to 25Gy. The tumour size is 4.9cm 3 and the hypoxic region is placed at the top of the tumour. The hypoxic region is usually in the center of the target, but is placed in the top here to display more clearly if there will be any difference in the dose in the lower and upper part of the tumour. Figure 22: The hypoxic region of the tumour 4.1.1 Results DVH without hypoxic region In this case λ time is set to 10 4. Solving the optimization problem yields a value of first order optimality of 1.296 10 2. 1004 iterations were made and the total iteration-time was 152 seconds. The solver stopped because a local minimum was found and the constraints were satisfied. The total beam-on time is 54 minutes. The beam-on time is calculated by summing the beam-on times from each collimator and then take the maximum beam-on time from each sector and finally summing the time contribution from every sector in every isoposition. 21

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 23: DVH of the target and organs at risk where each constraints is plotted. Above is a plot of the DVH. The thicker lines are the results from the DVH model and the thinner lines is the results from Leksell Gamma Plan R. The horizontal lines and dots are the constraints set. The result follow the defined soft constraints as one can see in the DVH above and there is a coverage of 100%. Also the gradient of the dose in the normal tissue is steep and organs at risk are steep. The dose in the normal tissue is much higher than en the Leksell Gamma Plan R plan due the the fact that it is not penalized. Figure 24: Histogram of the Beam-on times. The histogram is over the resulting vector of all the Beam-on times. many of the smaller entries will not contribute to the beam-on time. 22

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 25: Isodose of the resulting values. In the isodoseplot the contours of the dose above 14 and 20 Gy is plotted along with contours of the organs and for the target. One can clearly see that most of the dose is distributed so that the brainstem and the cochlea are minimally affected. One can also see this behavior in the isosurfaceplot in Figure 26. Figure 26: Isodosesurface of the resulting weights. Testing robustness in λ Also the robustness was tested by varying λ below. To stress the problem further the maximum dose constraint is set to 10Gy in the Brainstem. 23

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 27: The DVH for the different values of the parameter λ T arget. Here the DVH from the previously solved plan is the thin line. One can see that the model is fairly robust when varying λ T arget. Testing the algorithms To test the other algorithms the DVH-problem was solved for the three other algorithms as well. Figure 28: Results using the active-set algorithm. The resulting function value was 1.48 10 2 24

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 29: Results using the SQP algorithm. The resulting function value was 1.08 10 2 Figure 30: Results using the trust-region reflective algorithm. The resulting function value was 6.12 10 3 All algorithms give similar results. By comparing the function value (SQP gave a function value of 1.08 10 2 ) the trust-region reflective provided the best result, although this algorithm is very slow (total iteration-time was 3366 seconds compared to the other algorithms which solved the problem in around a couple of minutes). The SQP and the interior-point algorithm also have the advantage that it can recover from infinite and not defined values of the objective function, which is needed in the TCP-model. 4.1.2 Results DVH with hypoxic region λ Hypoxicregion was set to 0.2 and the minimum constraint in the hypoxic region, d min was set to 25 Gy. The number of iterations made was 1930 and the value of first order optimality was 9.119 10 6. The 25

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION calculation took 287 seconds and the beam-on time was 114 minutes. Figure 31: DVH-curve of the target and organs at risk where each constraints is plotted. The coverage was 100% of the target and the fall-off dose of the gradients are steep. One can also clearly see the small bump in the DVH for the tumour due to the influence from the hypoxic region. The coverage of the hypoxic region is 87%. By penalizing this higher one may achieve a better coverage, but there will be a trade-off between the minimum dose in the hypoxic region and of the maximum dose in the tumour and organs at risk as well as the normal tissue. The integral dose in the target is 205mJ, compared to the non-hypoxic case when it was 186mJ. Figure 32: Isodose of the result. Comparing the the non-hypoxic case the dose is higher in the upper part of the tumour. By looking at the isodoses in the plot above one can see a higher dose is concentrated to the top of the tumour (in the first subplot). Also by looking at the isodose surface one can see that the dose is a bit higher around the hypoxic region. 26

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 33: Isodosesurfaces for the dose above 14 and 10 Gy. One remarkable observation here is the increased beam-on time. Setting the weights for all the organs at risk to 0 and redo the calculations yields a beam-on time of 66 minutes and the DVH below. Figure 34: DVH of the resulting Beam-on times in the case when no weight is put on the organs at risk. Due to the constraints on the organs at risk, less contribution will be given from the sectors, whose beams pass through the organs at risk. Due to the increased beam-on time when giving higher dose to a part of the tumour which is just in the vicinity of these organs at risk a lot less contribution will be given, hence the beam-on time increases drastically. 4.1.3 Results EUD without hypoxic region The iterations stopped after 1167 iterations because a minimum was found and the constraints were satisfied. The first order optimality was 2.727 10 3. The total iterationtime was 154 seconds and the resulting EUD is shown in the table below. Total beam-on time was 54 minutes. Below is a table displaying the resulting EUD for each organ. 27

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Organ EUD Tumour 18.01 Cochlea 8.76 Brainstem 8.35 Figure 35: DVH of the resulting weights. Here the resulting dose is somewhat lower then in the previous case due to he fact that either the maximum nor minimum dose is controlled. Even though minimum and maximum doses aren t taken into consideration in this case, the plan fulfills the DVH-constraints reasonably well. Figure 36: Isodoses of the target and organs at risk There is a bit less opportunity to control the dose but still the fall-off dose is steep and comparing the the DVH-constraints the difference to he DVH-case is not large. 28

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 37: Isodosesurfaces of the target and organs at risk. Testing robustness in a The parameter a was varied in an interval of 20% around the nominal value and solved in the optimization for the target and brainstem to test the robustness. The basic case was when all parameters were set to the nominal value of the parameter, i.e. the case previously solved. Figure 38: The DVH for the different values of the parameter a. The thin line is the original result. There are small deviations from the original solution when changing the a-values. 29

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION 4.1.4 Results EUD with hypoxic region Due to the hypoxic region being a part of the tumour and they will be regarded as two seperate organs the EUD 0 will be modified. The EUD 0 for the tumour and hypoxic area was set to 19.19 and 26.03 respectively. The number of iterations was 1145 and the first order optimality of 1.47 10 2. The calculation time was 142 seconds and the beam-on time was 50 minutes. The resulting EUD is displayed in the table below. Organ EUD Tumour 19.18 Hypoxic area 26.02 Cochlea 8.77 Brainstem 8.35 One can see here that no resulting EUD deviates much from the target EUD. Figure 39: DVH of the resulting weights. The deviations to the DVH-constraints are large. Here, the highest dose is given to the target and not to the hypoxic region. This occurs due to the lack of isocenters in the hypoxic region and the fact that the hypoxic region lies at the surface. Because of this, isocenters in the center of the tumour and close to the hypoxic area will be more irradiated. 30

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 40: Isodoses of the target and organs at risk. Here one may notice a higher dose in the upper part of the tumour when comparing subplot one and two with the non-hypoxic case, which is the hypoxic region. Figure 41: Isodosesurfaces of the target and organs at risk. 4.1.5 Results TCP without hypoxic region Here λ T umour was set to 100. The number of iteration needed to solve the problem was 2631 and it took 317 seconds. The value of first order optimality was 1.786 10 1 and the total beam-on time was 492 minutes. The resulting value of TCP and NTCP is shown in the table below. Organ TCP Tumour 99% Organ NTCP Cochlea 3.6% Brainstem 7.8% 31

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 42: DVH of the resulting weights. The coverage was at 95%. Even thought the dose in the organs at risk is less then in the previous cases the dose in the tumour is very high (even too high). The same phenomenon is mentioned in [16]. Since the TCP don t have any constraints on the maximum dose at all, the dose can grow very high. It will change if the healthy tissue is taken into account in the optimization. Figure 43: Isodosearea of the result were doses above 14 and 10 Gy are marked. The high dose is also seen in the isodose surface and in the isodoseplot. Due to the fact that the healthy tissue considered in the calculations is only the tissue in the vicinity to the tumour (made to speed up the dose calculations) and the very high dose these plot may be deceptive. 32

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 44: Isodosesurfaces of the result were doses above 14 and 10 Gy are marked. Including normal tissue in optimization The theory about including the healthy tissue to avoid a too high dose in the target is tested. The parameters for the healthy tissue is set to α = 0.0499, β = 0.0238, s = 0.64 and λ = 0.1. An increase was made in λ time to 0.05. Below is the DVH of the resulting plan. Figure 45: DVH when including the normal tissue. 918 iterations were performed and it took 132 seconds to solve the problem. The resulting optimality was 1.98 10 3 and total treatment time was 82 minutes. Now the high doses in the tumour are diminished as expected. 33

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 46: Isodoses of the results. The table below displays the resulting TCP and NTCP. The NTCP in the healthy tissue and in the organs at risk is very high due to some parameters having erroneous values. Organ TCP Tumour 76% Organ NTCP Cochlea 32% Brainstem 28% Normal tissue 80% Testing robustness in α, β and N 0 Also here a robustness check were performed giving the following results. α and β were varied using three values, one for 0.8 and one for 1.2 of the value and one using the expected value. For N 0, N 0,T umour varied between 100 and 1000 number of chlonogenes keeping N 0 for organs at risk at 5, and N 0,Cochlea and N 0,Brainstem varied between 10 and 100 number of chlonogens keeping N 0,T umour at 1000 number of chlonogenes. 34

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 47: The DVH for the different values of the parameter α. The thin line is the original result. Figure 48: The DVH for the different values of the parameter β. The thin line is the original result. 35

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 49: The DVH for the different values of the parameter N 0. The thin line is the original result. 4.1.6 Results TCP with hypoxic region In this case no hypoxic region is outlined. Instead blood vessels are painted in the tumour. If one would have a PET image or an angiogram one could use this to find the oxygen pressure in different parts of the tumour. Such information was not used here, hence a simplification was made. Due to the capillaries the diffusion distance in a cell is 39µm. In this case, when an angiogram on the tumour is not available, the absence of capillaries will cause the entire tumour being hypoxic. Thus, just to show that this model works, the diffusion distance is set to 5mm and only one major blood vessel is marked. This bloodvessel is placed at the lower part of the tumour, causing to upper part to become more hypoxic. 36

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 50: DVH of the resulting weights. To solve the problem 1815 iteration were performed and took 498 seconds. The first order optimality was 0.52 10 6 and the total beam-on time was 259 minutes. The λ s was same as in the TCP-problem without hypoxic region. Organ TCP Tumour 99% Organ NTCP Cochlea 2.8% Brainstem 5.3% Figure 51: DVH of the resulting weights. The coverage here were also at 99% and the doses in the organs at risk is equal to that in the non-hypoxic case. 37

4.1 Case 1: One tumour 4 RESULTS AND DISCUSSION Figure 52: Isodose of the result were doses above 14 and 20 Gy are marked. The isodose plots also show no bigger difference between this case an the non-hypoxic case. Also here they may be deceptive. Figure 53: Isodosesurfaces of the result were doses above 14 and 10 Gy are marked. 4.1.7 Comments The models are solved quickly and a minimum is found in each problem. Also the DVH and EUD models works well when adding a hypoxic region and the largely increased beam-on time is when treating these areas is expected. By penalizing organs at risk harder or setting larger constraints the models can be controlled. The TCP-model is a bit harder to control. When testing the robustness one can see that the DVH-model is fairly robust in λ. The EUD model varied a little when changing the a-parameters. The TCP model varied a lot between the different values, making it the least robust model (if robust at all). One other problem with the TCP-model is the therapeutic window, or the non-existance of it. If the graph of TCP and NTCP looks like the figure below the problem will iterate down to ω = 0. This is because an initial estimate where one of the NTCP is very close to one will yield an infinite initial guess (due to the convexifiation). Also giving a too small initial estimate will result in the TCP ending up in a region where it s constantly close to 0 and the gradient to be almost 0, hence the solver will regard the TCP-part of the model as a constant and iterate down to 0. 38

4.2 Case 2: Two tumours 4 RESULTS AND DISCUSSION Figure 54: A TCP and NTCP graph. However, when an initial estimate can return a value of NTCP and TCP both much larger than zero (as in the figure below), the optimization will work as it should. This is also just a numerical problem due to the theoretical fact that these curves are not likely to reflect the true clinical situation. The tumour is in general more sensitive to irradiation than the healthy tissue and it s always the tumour which is irradiated with the highest dose. 4.2 Case 2: Two tumours Here a number of organs have been specified and not all are necessarily at risk. The chosen organs at risk are the right Thamalic F and the nerve which controls the foot. 39

4.2 Case 2: Two tumours 4 RESULTS AND DISCUSSION Figure 55: Mesh of the head, where tumour and organs at risk are outlined and the DVH from the resulting Gamma Knife dose distribution. Parameter Right Frontal Me Left Parietal Po Right Thamalic F Foot λ 1 1 0.5 1 d min 15 15 - - d max 30 30 15 15 DV C (20 0.3),(17 0.7) (20 0.3),(17 0.7) (10, 0.5) (10, 0.5) The estimate if N 0 yields a value below 1. Instead in these calculations N 0 is set to 10 for the tumours and 5 for the organs at risk. Here EUD 0 is calculated as in Case 1, and λ time is set to 10 4. 33 isocenter is distributed using the grassfire-algorithm with cut-off distance of 1.7mm. 4.2.1 Results DVH without hypoxic area λ T ime = 5 10 5. The optimization took 1051 seconds and 1709 iterations. The value of the first order optimality was 1.98 10 2 and the iterations stopped because a minimum was found. The total beam-on time was 114 minutes. 40