李彩虹, 王沛沛, 李金凯, 曹远东, 孙新臣. 基于Python语言实现鼻咽癌放疗计划剂量学指标的自动提取和量化评价[J]. 国际放射医学核医学杂志, 2024, 48(4): 230-236. DOI: 10.3760/cma.j.cn121381-202303018-00404
引用本文: 李彩虹, 王沛沛, 李金凯, 曹远东, 孙新臣. 基于Python语言实现鼻咽癌放疗计划剂量学指标的自动提取和量化评价[J]. 国际放射医学核医学杂志, 2024, 48(4): 230-236. DOI: 10.3760/cma.j.cn121381-202303018-00404
Li Caihong, Wang Peipei, Li Jinkai, Cao Yuandong, Sun Xinchen. Application of Python language in the automatic extraction and quantitative evaluation of radiotherapy plan for nasopharyngeal carcinoma[J]. Int J Radiat Med Nucl Med, 2024, 48(4): 230-236. DOI: 10.3760/cma.j.cn121381-202303018-00404
Citation: Li Caihong, Wang Peipei, Li Jinkai, Cao Yuandong, Sun Xinchen. Application of Python language in the automatic extraction and quantitative evaluation of radiotherapy plan for nasopharyngeal carcinoma[J]. Int J Radiat Med Nucl Med, 2024, 48(4): 230-236. DOI: 10.3760/cma.j.cn121381-202303018-00404

基于Python语言实现鼻咽癌放疗计划剂量学指标的自动提取和量化评价

Application of Python language in the automatic extraction and quantitative evaluation of radiotherapy plan for nasopharyngeal carcinoma

  • 摘要:
    目的 使用Python语言和DICOM RT文件实现鼻咽癌放疗计划剂量学指标的自动提取和量化评价,为临床及科研实践提供参考。
    方法 回顾性分析2022年1至10月在南京医科大学第一附属医院行调强适形放疗的21例鼻咽癌患者的临床资料,其中男性13例、女性8例,年龄(48.7±21.6)岁。在Monaco 5.11治疗计划系统中采用人工方法统计每例患者各放疗靶区的最大剂量(Dmax)、最小剂量(Dmin)、平均剂量(Dmean),覆盖靶区98%、50%、2%体积的最小剂量(D98%、D50%、D2%),95%、100%、105%、110%处方剂量覆盖的靶区体积占其总体积的百分比(V95%、V100%、V105%、V110%),危及器官1 cm3、1%体积的最小剂量(D1cc、D1%)、Dmax、Dmean和30 Gy剂量覆盖的器官体积占其总体积的百分比(V30 Gy),并采用公式计算适形指数(CI)、均匀性指数(HI)和梯度指数(GI),然后导出RT Structure和RT Dose文件,使用Python语言(Python方法)实现放疗计划剂量学指标的自动提取和量化评价,并与人工方法的量化结果进行对比分析。2种方法的比较采用配对样本t检验。
    结果 与人工方法相比,Python方法获取到的各靶区的Dmax、Dmin、Dmean、D98%、D50%、D2%、V95%、V100%、V105%、V110%和HI等剂量学指标的差异均<3%。其中,PTV1的Dmin差异最大,为(2.21±0.17)%;PTV2的Dmin次之,为(1.75±0.13)%;PGTVnd的V105%为(1.67±0.09)%,但二者间的差异均无统计学意义(t=0.093、0.071、0.065,均P>0.05)。CI和GI的最大差值分别为0.007±0.108和0.016±3.958,二者间的差异均无统计学意义(t=0.011、−0.034,均P>0.05),但Python方法可计算出S_index和HI3。危及器官评价结果显示,Python方法统计的视神经和视交叉的Dmax较人工方法略低,差值>1 Gy,且差异均有统计学意义(t=−2.909、−3.420,均P<0.05),其余评价结果基本一致,差值均<0.5 Gy或0.5%。在放疗计划评价用时方面,Python方法对每例患者的用时仅需要1~3 min,较人工方法的30~50 min明显缩短。
    结论 Python方法自动提取到的剂量学数据与人工方法统计结果基本一致,但评估用时大幅缩短,评价指标更全面,评估方法应用更广,能为基于人工智能的放疗计划自动评价提供技术参考。

     

    Abstract:
    Objective  To automatically extract and quantitatively evaluate the dosimetric indicators of nasopharyngeal carcinoma intensity-modulated radiotherapy plans to provide reference for clinical and scientific research practice with Python language and DICOM RT files.
    Methods  A retrospective analysis was conducted on the clinical data of 21 patients (13 males and 8 females, aged (48.7±21.6) years) with nasopharyngeal carcinoma who underwent radiotherapy in the First Affiliated Hospital of Nanjing Medical University from January 2022 to October 2022. The maximum dose (Dmax); minimum dose (Dmin); mean dose (Dmean), minimum dose covering 98%, 50%, and 2% of the volume (D98%, D50%, and D2%); percentage of volume covered by 95%, 100%, 105%, and 110% of the prescribed dose to its total volume (V95%, V100%, V105%, and V110%) of each target; minimum dose covering 1 cm3 and 1% of the volume (D1cc, D1%); Dmax, Dmin and percentage of volume covered by 30 Gy dose to the total volume (V30 Gy) of the organs at risk were counted in the Monaco 5.11 system by manual methods. The conformity index (CI), homogeneity index (HI), and gradient index (GI) were calculated using corresponding formulas. RT Structure and RT Dose files were exported. The same automatic extraction and quantitative evaluation of radiotherapy plans were completed using Python language (Python methods), and the findings were compared with the quantitative results from manual methods. Data from the two methods were compared by paired samples t-test (homoscedasticity).
    Results  Compared with those obtained by manual methods, the differences in dosimetric indicators such as Dmax, Dmin, Dmean, D98%, D50%, D2%, V95%, V100%, V105%, V110%, and HI of each target region obtained by Python methods were all less than 3%. The Dmin difference in PTV1 was the largest at (2.21±0.17)%, followed by the Dmin difference in PTV2 at (1.75±0.13)% and the V105% difference in PGTVnd at (1.67±0.09)% , and the differences were not statistically significant (t=0.093, 0.071, 0.065; all P>0.05). The maximum differences in CI and GI were 0.007±0.108 and 0.016±3.958, respectively, and the differences between these two values were not statistically significant (t=0.011, −0.034; both P>0.05). Nevertheless, Python methods could calculate the S_index and HI3. The evalution results of organs at risk show that the Dmax of optic nervus and chiasma calculated by Python methods was slightly lower than that computed by manual methods, and the differences were greater than 1 Gy, and the differences were statistically significant (t=−2.909, −3.420, both P<0.05). The results of the remaining quantitative evaluations for the organs at risk obtained by the two methods were nearly the same, and the differences were less than 0.5 Gy or 0.5%. In terms of evaluation time for radiotherapy plans, Python methods only took 1–3 min for a single case, which was greatly shorter than the 30–50 min required by manual methods.
    Conclusions  The dosimetric data automatically extracted by the Python methods is basically consistent with those collected by manual methods, but the evaluation time is greatly reduced, the evaluation indicators are more comprehensive, and the evaluation methods are more widely used, which can provide technical reference for the automatic evaluation of radiotherapy plans based on artificial intelligence.

     

/

返回文章
返回