Calculating the Hausdorff distance based on the scripting in RayStation treatment planning system
10.3760/cma.j.issn.0253-3766.2017.12.012
- VernacularTitle: 应用Raystation治疗计划系统脚本实现Hausdorff距离的计算
- Author:
Feibao GUO
1
;
Chuanshu CAI
1
;
Weijian ZHANG
1
;
Jinsheng HONG
1
;
Linzhen LAN
1
;
Xiuying CHEN
1
Author Information
1. The First Affiliated Hospital of Fujian Medical University, Fuzhou 350005, China
- Publication Type:Clinical Trail
- Keywords:
Hausdorff distance calculation;
RayStation treatment planning system;
Script;
Brain stem;
Neoplasm;
IronPython
- From:
Chinese Journal of Oncology
2017;39(12):942-945
- CountryChina
- Language:Chinese
-
Abstract:
Objective:To calculate out the Hausdorff distance based on the scripting in RayStation treatment planning system, which was then applied in measuring the deformation error of brain stem during image automatic registration between CT and MR.
Methods:Scripting was edited in RayStation system (version 4.7) by using IronPython. The set of point coordinates on the contour of any two region of interest (ROI) had been found firstly, then the Hausdorff distance between the two point sets was calculated out. A graphical user interface (GUI) was designed by using XAML to acquire the visualized output of Hausdorff distance. GUI appeared when the script was run, where two ROIs was selected, then the corresponding Hausdorff distance and the running time were displayed by pressing the "Calculate" button.
Results:The mean Hausdorff distance of brain stem in 20 patients with head and neck neoplasms was 1.20 cm while the mean elapsed time was 11.01s.
Conclusions:Hausdorff distance of any two ROIs can be calculated out by using the developed method. GUI is designed to realize the visual interaction with RayStation system. Therefore, the RayStation system satisfies the demands of Hausdorff distance calculation in both clinical and research work.