topasmc / dicom-interface

DICOM RT Interface for TOPAS
MIT License
23 stars 8 forks source link

DICOM RT-Ion interface for MC simulation


Current version is BETA as of Aug14, 2019

DICOM RT-Ion interface, shortly RTI, is a library to convert treatment planning information in DICOM format into Monte Carlo components on-the-fly such as geometries and beam source. The RTI allows integration of DICOM-RT Ion interface within a MC engine to provide more reliable and consistent performance than with a script-based processing to interpret DICOM information. For the Monte Carlo simulation, TOPAS extensions of geometry and particle source to connect RTI are provided.

DICOM-RT objects utilized in this interface are

Beamline geometries, gantry and patient coordinate systems, and fluence map are determined from RTIP and/or RTIBTR. CT image and Dose are used only for patient dose calculations.

Getting started

Requirements

Monte Carlo

Tested operating systems

Installation

As RTI is a header only library, copy or download the files to somewhere in your system.

$ cd /<your_sw_path>/
$ git clone https://github.com/topasmc/dicom-interface rti.git

If you are compiling dicom-interface with topas releases ( not from source), you need to use same headers of gdcm that topas used.

$ cd /<your_sw_path>/rti.git
$ tar -zxf gdcm-2.6.include.tar.gz
$ ls gdcm-2.6

Then, go to the directory where your topas is installed.

$ cd /<your_topas_path>/

Add two lines in CMakeList.txt (in TOPAS) as following:

include_directories (
    ${CMAKE_BINARY_DIR}
    ${CMAKE_BINARY_DIR}/extensions
    ${PROJECT_SOURCE_DIR}/Geant4Headers
    ${PROJECT_SOURCE_DIR}/include
    /<your_sw_path>/rti.git/
    /<your_sw_path>/rti.git/gdcm-2.6
)
$ cmake -DTOPAS_EXTENSIONS_DIR=/<your_sw_path>/rti.git/rti/topas/rtion .
$ make -j4

Run a test

$ cd /your_sw_path/rti.git/topas/tutorial/
$ topas beam_view.txt

For more detail, please see this project's wiki page https://github.com/topasmc/dicom-interface/wiki.

Authors

Acknowledgements

This project is initiated by Massachusetts General Hospital and continuously supported by a NIH grant, TOPAS project (U24).

How to cite

Please cite this paper: https://doi.org/10.1016/j.ejmp.2020.04.018

License (TBD):

This project is licensed under - see the LICENSE.md file for details.