Geant4 for Brachytherapy Simulation

Slides:



Advertisements
Similar presentations
F. Foppiano3, S. Guatelli2, J. Moscicki1, M.G. Pia2 CERN1 INFN Genova2
Advertisements

Technology transfer from HEP computing to the medical field
1 COMPARISON BETWEEN PLATO ISODOSE DISTRIBUTION OF A 192 IR SOURCE AND THOSE SIMULATED WITH GEANT4 TOOLKIT F. Foppiano 1, S. Agostinelli 1, S. Garelli.
Precision validation of Geant4 electromagnetic physics Katsuya Amako, Susanna Guatelli, Vladimir Ivanchenko, Michel Maire, Barbara Mascialino, Koichi Murakami,
F. Foppiano, M.G. Pia, M. Piergentili Medical Linac IEEE NSS, October 2004, Rome, Italy
Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
Maria Grazia Pia, INFN Genova 1 Part V The lesson learned Summary and conclusions.
Monte Carlo simulation for radiotherapy in a distributed computing environment S. Chauvie 2,3, S. Guatelli 2, A. Mantero 2, J. Moscicki 1, M.G. Pia 2 CERN.
Geant4-Genova Group Validation of Susanna Guatelli, Alfonso Mantero, Barbara Mascialino, Maria Grazia Pia, Valentina Zampichelli INFN Genova, Italy IEEE.
Other GEANT4 capabilities Event biasing Parameterisation (fast simulation) Persistency Parallelisation and integration in a distributed computing environment.
A general purpose dosimetric system for brachytherapy
14 User Documents and Examples II SLAC Geant4 Tutorial 17 May 2007 Dennis Wright Geant4 V8.3.
Maria Grazia Pia, INFN Genova Distributed Processing, Monte Carlo and CT interface for Medical Treatment Plans F. Foppiano 3, S. Guatelli 2, J. Moscicki.
Maria Grazia Pia, INFN Genova CERN, 26 July 2004 Background of the Project.
1 M.G. Pia et al. The application of GEANT4 simulation code for brachytherapy treatment Maria Grazia Pia INFN Genova, Italy and CERN/IT
Maria Grazia Pia, INFN Genova Low Energy Electromagnetic Physics Maria Grazia Pia INFN Genova
Geant4-INFN (Genova-LNS) Team Validation of Geant4 electromagnetic and hadronic models against proton data Validation of Geant4 electromagnetic and hadronic.
The brachytherapy advanced example Susanna Guatelli (CERN/INFN)
Maria Grazia Pia Systematic validation of Geant4 electromagnetic and hadronic models against proton data Systematic validation of Geant4 electromagnetic.
Budker Inst. of Physics IHEP Protvino MEPHI Moscow Pittsburg University.
Particle Physics Software aids Medicine Accurate geometry and material modeling in the fight against cancer Precise physics models for radiation interactions.
Summary of Work Zhang Qiwei INFN - CIAE. Validation of Geant4 EM physics for gamma rays against the SANDIA, EPDL97 and NIST databases.
Maria Grazia Pia, INFN Genova Particle Physics Software and the Fight against Cancer Maria Grazia Pia INFN Genova Seminar at DESY 9 February 2004
M.G. Pia et al. Brachytherapy at IST Results from an atypical Comparison Project Stefano Agostinelli 1,2, Franca Foppiano 1, Stefania Garelli 1, Matteo.
F. Foppiano, B. Mascialino, M. G. Pia, M. Piergentili Geant4 Simulation of an Accelerator Head for Intensity Modulated RadioTherapy Monte Carlo 2005 Topical.
OOAD… LowE Electrons From HEP computing to medical research and vice versa Bidirectional From HEP computing to medical research and vice versa Bidirectional.
S. Guatelli, CPS Innovations, Knoxville, 13 th -21 st January Brachytherapy exercise.
A General Purpose Brachytherapy Software Simulation + Analysis (isodose calculation) 2/10/2002 Geant4 Workshop CERN Susanna Guatelli Univ. and INFN Genova.
S. Guatelli, M.G Pia, INFN Genova G. Cosmo, S. Guatelli, M.G Pia Salamanca, July 2002
Medical Accelerator F. Foppiano, M.G. Pia, M. Piergentili
Susanna Guatelli & Barbara Mascialino G.A.P. Cirrone (INFN LNS), G. Cuttone (INFN LNS), S. Donadio (INFN,Genova), S. Guatelli (INFN Genova), M. Maire (LAPP),
Geant4 Space User Workshop 2004 Maria Grazia Pia, INFN Genova Proposal of a Space Radiation Environment Generator interfaced to Geant4 S. Guatelli 1, P.
Geant4 DICOM Interface Susanna Guatelli INFN Genova, Italy 8 th March 2004 How to model human anatomy in a Geant4 application.
Technological Transfer from HEP to Medical Physics How precise Brachytherapy MonteCarlo simulations can be applied in Clinics Reality Problem: How to achieve.
S. Guatelli, A. Mantero, J. Moscicki, M. G. Pia Geant4 medical simulations in a distributed computing environment 4th Workshop on Geant4 Bio-medical Developments.
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
Precision Validation of Geant4 Electromagnetic Physics Geant4 DNA Project Meeting 26 July 2004, CERN Michela.
IRCC & Mauriziano Hospital & INFN & S Croce e Carle Hospital
F. Foppiano, M.G. Pia, M. Piergentili
N 0 primary photons generated N d primary photons detected Determination of the photon mass attenuation coefficients Check on ParentID( ) Energy value.
P. Rodrigues, A. Trindade, L.Peralta, J. Varela GEANT4 Medical Applications at LIP GEANT4 Workshop, September – 4 October LIP – Lisbon.
Susanna Guatelli Geant4 in a Distributed Computing Environment S. Guatelli 1, P. Mendez Lorenzo 2, J. Moscicki 2, M.G. Pia 1 1. INFN Genova, Italy, 2.
Geant4 Training 2004 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Giuseppe Daquino (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki.
Maria Grazia Pia, INFN Genova and CERN1 Geant4 highlights of relevance for medical physics applications Maria Grazia Pia INFN Genova and CERN.
AIDA Workshop, 3/6/2002S. Guatelli Overview of AIDA in Geant4 bio-medical applications A collection of contributions from various user groups AIDA Workshop.
Implementation of a New Monte Carlo Simulation Tool for the Development of a Proton Therapy Beam Line and Verification of the related Dose Distributions.
F. Foppiano3, S. Guatelli2, J. Moscicki1, M.G. Pia2 CERN1 INFN Genova2
Simulation in a Distributed Computing Environment
Geant4 REMSIM application
A Brachytherapy Treatment Planning Software Based on Monte Carlo Simulations and Artificial Neural Network Algorithm Amir Moghadam.
F. Foppiano, S. Guatelli, B. Mascialino, M. G. Pia, M. Piergentili
Gamma Ray Satellites Simulations with Geant4
Overview of Geant4 applications in Medical Physics
Other GEANT4 capabilities
B.Mascialino, A.Pfeiffer, M.G.Pia, A.Ribon, P.Viarengo
Introductory Course PTB, Braunschweig, June 2009
Hadronic physics validation of Geant4
Simulation in a Distributed Computing Environment
Short Course Siena, 5-6 October 2006
The Hadrontherapy Geant4 advanced example
An update on the Goodness of Fit Statistical Toolkit
Introductory Course ORNL, May 2008
Geant4 at IST Applications in Brachytherapy
Short Course IEEE NSS/MIC 2003 Katsuya Amako (KEK) Makoto Asai (SLAC)
P. Rodrigues, A. Trindade, L.Peralta, J. Varela
Advanced Examples Alex Howard, Imperial College, UK
Simulation in a Distributed Computing Environment
Precision validation of Geant4 electromagnetic physics
G. A. P. Cirrone1, G. Cuttone1, F. Di Rosa1, S. Guatelli1, A
The Geant4 Hadrontherapy Advanced Example
Presentation transcript:

Geant4 for Brachytherapy Simulation http://www.ge.infn.it/geant4/talks F. Foppiano3, S. Guatelli2, J. Moscicki1, M.G. Pia2 CERN1 INFN Genova2 National Institute for Cancer Research, IST Genova3 MMD 2005 Workshop Wollongong, 5 November 2005 Including contributions from: P. Mendes Lorenzo (CERN) S. Agostinelli, S. Garelli (IST Genova) L. Archambault, L. Beaulieu, J.-F. Carrier, V.-H. Tremblay (Univ. Laval) M.C. Lopes, L. Peralta, P. Rodrigues, A. Trindade (LIP Lisbon) G. Ghiso (S. Paolo Hospital, Savona)

The goal of radiotherapy Delivering the required therapeutic dose to the tumor area with high precision, while preserving the surrounding healthy tissue Accurate dosimetry is at the basis of radiotherapy treatment planning Dosimetry system precision accurate model of the real configuration (from CT) speed adequate for clinical use user-friendly interface for hospital usage Calculate the dose released to the patient by the radiotherapy system

The reality Open issues Precision Cost Treatment planning is performed by means of commercial software The software calculates the dose distribution delivered to the patient in a given source configuration Open issues Precision Cost Commercial systems are based on approximated analytical methods, because of speed constraints Approximation in geometry modeling Approximation in material modeling Each treatment planning software is specific to one technique and one type of source Treatment planning software is expensive

Monte Carlo methods in radiotherapy Monte Carlo methods have been explored for years as a tool for precise dosimetry, in alternative to analytical methods de facto, Monte Carlo simulation is not used in clinical practice (only side studies) The limiting factor is the speed Other limitations: reliable? for “software specialists only”, not user-friendly for general practice requires ad hoc modeling

Challenge dosimetric system precise general purpose realistic geometry Develop a general purpose realistic geometry and material modeling with the capability of interface to CT images with a user-friendly interface low cost at adequate speed for clinical usage performing at

Prototype A simulation system for brachytherapy Activity initiated at IST Genova, Natl. Inst. for Cancer Research (F. Foppiano et al.) hosted at San Martino Hospital in Genova (the largest hospital in Europe) Collaboration with San Paolo Hospital, Savona (G. Ghiso et al.) a small hospital in a small town Techniques: endocavitary lung, vagina, uterus interstitial prostate superficial skin

The software process The project is characterized by a rigorous software process The process follows an iterative and incremental model Process based on the Unified Process, especially tailored to the specific context of the project RUP used as a practical guidance to the process

Accurate model of the real experimental set-up Requirements Calculation of 3-D dose distribution in tissue Determination of isodose curves Based on Monte Carlo methods Accurate description of physics interactions Experimental validation of physics involved Precision Accurate model of the real experimental set-up Realistic description of geometry and tissue Possibility to interface to CT images Simple user interface + Graphic visualisation Elaboration of dose distributions and isodoses Easy configuration for hospital usage Parallelisation Access to distributed computing resources Speed Transparent Open to extension and new functionality Publicly accessible Other requirements

Precision Based on Monte Carlo methods Accurate description of physics interactions Extension of electromagnetic interactions down to low energies (< 1 keV) Experimental validation of physics involved Microscopic validation of the physics models Comparison with experimental data specific to the brachytherapic practice

(1 million lines of code squeezed into 5 slides…) Functionality What Geant4 can do (1 million lines of code squeezed into 5 slides…)

Run, Event and Track management PDG-compliant Particle management Geometry and Materials Tracking Detector response User Interface Visualisation Persistency Physics Processes Code and documentation publicly distributed from web 1st production release: end 1998 2 new releases/year since then Developed and maintained by an international collaboration of physicists and computer scientists

Detailed detector description and efficient navigation Geometry Detailed detector description and efficient navigation Multiple representations Same abstract interface CSG (Constructed Solid Geometries) simple solids BREPS (Boundary REPresented Solids) volumes defined by boundary surfaces polyhedra, cylinders, cones, toroids etc. Boolean solids union, subtraction… ATLAS CAD exchange: ISO STEP interface Fields: variable non-uniformity and differentiability BaBar

Electromagnetic Physics Transparency Tracking independent from physics Use of public evaluated databases Physics exposed through OO design Object Oriented technology Implement or modify any physics process without changing other parts of the software Open to extension and evolution Electromagnetic Physics Multiple scattering Bremsstrahlung Ionisation Annihilation Photoelectric effect Compton scat tering Rayleigh effect g conversion e+e- pair production Synchrotron radiation Transition radiation Cherenkov Refraction Reflection Absorption Scintillation Fluorescence Auger effect electrons and positrons, photons, muons, charged hadrons, ions High energy extensions needed for LHC experiments, cosmic ray experiments… Low energy extensions fundamental for space and medical applications, dark matter and n experiments, antimatter spectroscopy etc. Alternative models for the same process Hadronic physics Data-driven, Parameterised and Theoretical models the most complete hadronic simulation kit on the market alternative and complementary models

Low Energy Electromagnetic Physics A set of processes extending the coverage of electromagnetic interactions in Geant4 down to “low” energy 250 eV (in principle even below this limit) for electrons and photons down to approximately the ionisation potential of the interacting material for hadrons and ions Processes based on detailed models shell structure of the atom precise angular distributions Specialised models depending on particle type data-driven models based on the Livermore Libraries for e- and photons analytical models for e+, e- and photons (reengineering of Penelope into Geant4) parameterised models for hadrons and ions (Ziegler 1977/1985/2000, ICRU49) original model for negative hadrons

Interface to external tools Through abstract interfaces Anaphe no dependence minimize coupling of components Similar approach Visualisation (G)UI Persistency Analysis DAWN The user is free to choose the concrete system he/she prefers for each component OpenGL OpenInventor X11 Postscript DAWN OPACS HepRep VRML… Anaphe JAS Open Scientist AIDA (analysis) command-line X11/Motif GAG MOMO OPACS… UI Visualisation drivers

Comparison with commercial radiotherapy treatment planning systems Central-Axis depth dose M. C. Lopes IPOFG-CROC Coimbra Oncological Regional Center L. Peralta, P. Rodrigues, A. Trindade LIP - Lisbon Geant4: c2/ndof = 0.52 TMS: c2/ndof = 0.81 PLATO: c2/ndof = 6.71 CT-simulation with a Rando phantom Experimental data with TLD LiF dosimeter Profile curves at 9.8 cm depth PLATO overestimates the dose at ~ 5% level CT images used to define the geometry: a thorax slice from a Rando anthropomorphic phantom

Validation Microscopic validation: Dosimetric validation: verification of Geant4 physics Dosimetric validation: in the experimental context

Geant4 electromagnetic physics models are accurate “Comparison of Geant4 electromagnetic physics models against the NIST reference data” IEEE Transactions on Nuclear Science, vol. 52 (4), pp. 910-918, 2005 Geant4 electromagnetic physics models are accurate Compatible with NIST data within NIST accuracy (LowE p-value > 0.9) Geant4 LowE Penelope Geant4 Standard Geant4 LowE EPDL NIST - XCOM Compton interaction coefficient in Ag p-value stability study H0 REJECTION AREA Results All Geant4 models compatible with NIST Best agreement: Geant4 LowE models

Dosimetric validation Comparison to manufacturer data, protocol data, original experimental data Distance along Z (mm) Simulation Nucletron Data F. Foppiano et al., IST Genova experimental mesurements G. Ghiso, S. Guatelli S. Paolo Hospital Savona Ir-192 I-125

General purpose system For any brachytherapy technique Object Oriented technology Software system designed in terms of Abstract Interfaces For any source type Abstract Factory design pattern Source spectrum and geometry transparently interchangeable

Flexibility of modelling Configuration of any brachytherapy technique any source type through an Abstract Factory to define geometry, primary spectrum Abstract Factory CT DICOM interface through Geant4 parameterised volumes parameterisation function: material Phantom various materials water, soft tissue, bone, muscle etc. General purpose software system for brachytherapy No commercial general software exists!

of the experimental set-up Realistic model of the experimental set-up Radioactive source Spectrum (192Ir, 125I) Geometry Patient Phantom with realistic material model Possibility to interface the system to CT images

Modeling the source geometry Precise geometry and material model of any type of source Iodium core Air Titanium capsule tip Titanium tube Iodium core I-125 source for interstitial brachytherapy Iodium core: Inner radius: 0 Outer radius: 0.30mm Half length: 1.75mm Titanium tube: Outer radius: 0.40mm Half length: 1.84mm Air: Outer radius: 0.35mm Half length: 1.84mm Titanium capsule tip: Box Side: 0.80mm Ir-192 source + applicator for superficial brachytherapy

Effects of source anisotropy Plato-BPS treatment planning algorithm makes some crude approximation ( dependence, no radial dependence) Distance along X (mm) Simulation Plato Data Rely on simulation for better accuracy than conventional treatment planning software Distance along Z (mm) Effects of source anisotropy Simulation Plato Transverse axis of the source Comparison with experimental data Longitudinal axis of the source Difficult to make direct measurements

Modeling the patient Modeling a phantom Modeling geometry and materials from CT data source of any material (water, tissue, bone, muscle etc.) thanks to the flexibility of Geant4 materials package

Geant4-DICOM interface DICOM image 3-D view Reading image information Transformation of pixel data into densities Association of densities to a list of materials Defining the voxels Geant4 parameterised volumes parameterisation function: material L. Archambault, L. Beaulieu, V.-H. Tremblay

User-friendly interface to facilitate the usage in hospitals Dosimetric analysis Graphic visualisation of dose distributions Elaboration of isodose curves Web interface Application configuration Job submission

Dosimetry Simulation of energy deposit through Geant4 Low Energy Electromagnetic package to obtain accurate dose distribution Production threshold: 100 mm 2-D histogram with energy deposit in the plane containing the source Analysis of the energy deposit in the phantom resulting from the simulation Dose distribution Isodose curves AIDA + Anaphe/PI Python for analysis for interactivity may be any other AIDA-compliant analysis system

MicroSelectron-HDR source IST Genova and Ospedale S. Paolo Savona Dosimetry Endocavitary brachytherapy Dosimetry Interstitial brachytherapy MicroSelectron-HDR source Dosimetry Superficial brachytherapy Bebig Isoseed I-125 source Leipzig applicator F. Foppiano, IST and Susanna Guatelli, INFN Genova

Speed adequate for clinic use Parallelisation Transparent configuration in sequential or parallel mode Access to distributed computing resources Transparent access to the GRID through an intermediate software layer

Performance Endocavitary brachytherapy Superficial brachytherapy 1M events 61 minutes Superficial brachytherapy 1M events 65 minutes Interstitial brachytherapy 1M events 67 minutes on an “average” PIII machine, as an “average” hospital may own Monte Carlo simulation is not practically conceivable for clinical application, even if more precise

Access to distributed computing DIANE Parallelisation Access to the GRID Transparent access to a distributed computing environment prototype for an intermediate layer between applications and the GRID Developed by J. Moscicki, CERN http://cern.ch/DIANE Master-Worker model

Running in a distributed environment The application developer is shielded from the complexity of underlying technology via DIANE Not affecting the original code of Geant4 application standalone and distributed case is the same code Good separation of the subsystems the application does not know whether it runs in distributed environment the distributed framework (DIANE) does not need to care about what actions an application performs internally

Performance: parallel mode, local PC farm old results… complete study ready to be submitted for publication Performance: parallel mode, local PC farm Endocavitary brachytherapy 1M events 4 minutes 34’’ Superficial brachytherapy 1M events 4 minutes 25’’ Interstitial brachytherapy 5M events 4 minutes 36’’ on up to 50 workers, LSF at CERN, PIII machine, 500-1000 MHz Performance adequate for clinical application, but… it is not realistic to expect any hospital to own and maintain a PC farm

Ian Foster and Carl Kesselman's book: Grid Wave of interest in grid technology as a basis for “revolution” in e-Science and e-Commerce Ian Foster and Carl Kesselman's book: ”A computational Grid is a hardware and software infrastructure that provides dependable, consistent , pervasive and inexpensive access to high-end computational capabilities”". An infrastructure and standard interfaces capable of providing transparent access to geographically distributed computing power and storage space in a uniform way Many GRID R&D projects, many related to HEP US projects European projects

advanced software technologies and tools for radiotherapy Running on the GRID Via DIANE Same application code as running on a sequential machine or on a dedicated cluster completely transparent to the user A hospital would not be required to own and maintain extensive computing resources to exploit the scientific advantages of Monte Carlo simulation for radiotherapy Any hospital – even small ones, or in less wealthy countries, that cannot afford expensive commercial software systems – may have access to advanced software technologies and tools for radiotherapy

Traceback from a run on CrossGrid testbed Resource broker running in Portugal Current #Grid setup (computing elements): 5000 events, 2 workers, 10 tasks (500 events each) - aocegrid.uab.es:2119/jobmanager-pbs-workq - bee001.ific.uv.es:2119/jobmanager-pbs-qgrid - cgnode00.di.uoa.gr:2119/jobmanager-pbs-workq - cms.fuw.edu.pl:2119/jobmanager-pbs-workq - grid01.physics.auth.gr:2119/jobmanager-pbs-workq - xg001.inp.demokritos.gr:2119/jobmanager-pbs-workq - xgrid.icm.edu.pl:2119/jobmanager-pbs-workq - zeus24.cyf-kr.edu.pl:2119/jobmanager-pbs-infinite - zeus24.cyf-kr.edu.pl:2119/jobmanager-pbs-long - zeus24.cyf-kr.edu.pl:2119/jobmanager-pbs-medium - zeus24.cyf-kr.edu.pl:2119/jobmanager-pbs-short - ce01.lip.pt:2119/jobmanager-pbs-qgrid Spain Poland Greece Portugal matchmaking CrossGrid computing elements

Publication in preparation - winter 2006 Results Publication in preparation - winter 2006 G4Brachy executed on the GRID nodes located in Spain, Russia, Italy, Germany, Switzerland The GRID is still a R&D environment The load of the GRID varies with time The conditions of the test are not reproducible Execution on the GRID, without DIANE Worker number Time (seconds) Execution on the GRID through DIANE, 20 M events,180 tasks, 30 workers Worker number Time (seconds)

How the GRID load changes Execution time of G4Brachy in two different conditions of the GRID DIANE used as intermediate layer Worker number Worker number Time (seconds) Time (seconds) 20 M events, 60 workers initialized, 360 tasks

Transparency Medical physics does not only require fast simulation and fancy analysis… Advanced functionality in geometry, physics, visualisation etc. A rigorous software process Specific facilities controlled by a friendly UI Quality Assurance based on sound software engineering Extensibility to accomodate new user requirements What in HEP software is relevant to the bio-medical community? Independent validation by a large user community worldwide Transparency of physics User support from experts Adoption of standards wherever available Use of evaluated data libraries

Technology transfer Particle physics software aids space and medicine June 2002 Particle physics software aids space and medicine “Geant4 is a showcase example of technology transfer from particle physics to other fields such as space and medical science” http://www.cerncourier.com

Summary A precise dosimetric system, based on Geant4 Accurate physics, geometry and material modeling, CT interface Full dosimetric analysis AIDA + Anaphe/PI Fast performance parallel processing Access to distributed computing resources GRID Beware: R&D prototype!