Ex) Article Title, Author, Keywords
Ex) Article Title, Author, Keywords
Progress in Medical Physics 2022; 33(4): 172-179
Published online December 31, 2022
https://doi.org/10.14316/pmp.2022.33.4.172
Copyright © Korean Society of Medical Physics.
Se Hyung Lee1,2 , Bo-Wi Cheon3 , Chul Hee Min3 , Haegin Han1 , Chan Hyeong Kim1 , Min Cheol Han4 , Seonghoon Kim5
Correspondence to:Min Cheol Han
(mchan@yuhs.ac)
Tel: 82-2-2228-8105
Fax: 82-2-2227-7823
This is an Open-Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/4.0) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.
Recently, tetrahedral phantoms have been newly adopted as international standard mesh-type reference computational phantoms (MRCPs) by the International Commission on Radiological Protection, and a program has been developed to convert them to computational tomography images and DICOM-RT structure files for application of radiotherapy. Through this program, the use of the tetrahedral standard phantom has become available in clinical practice, but utilization has been difficult due to various library dependencies requiring a lot of time and effort for installation. To overcome this limitation, in this study a newly developed TET2DICOM-GUI, a TET2DICOM program based on a graphical user interface (GUI), was programmed using only the MATLAB language so that it can be used without additional library installation and configuration. The program runs in the same order as TET2DICOM and has been optimized to run on a personal computer in a GUI environment. A tetrahedron-based male international standard human phantom, MRCP-AM, was used to evaluate TET2DICOM-GUI. Conversion into a DICOM-RT dataset applicable in clinical practice in about one hour with a personal computer as a basis was confirmed. Also, the generated DICOM-RT dataset was confirmed to be effectively implemented in the radiotherapy planning system. The program developed in this study is expected to replace actual patient data in future studies.
KeywordsTetrahedral-mesh phantom, DICOM, Voxelization, Computational tomography, RT structure
The computational human phantom is a virtual computer model created to reflect the anatomical elements of the human body. The International Commission on Radiological Protection (ICRP) is developing a reference computational human phantom through periodic studies. The reference phantom has the advantage of evaluating a patient’s irradiation dose without any ethical problems and is thereby actively used in the field of radiotherapy [1-4].
In order to utilize computational phantoms in the field of radiation therapy, Griffin et al. [5] developed a DICOM-RT generator that converts them into a clinical-only DICOM-RT format. The DICOM-RT generator is a program that converts voxel computational phantoms into DICOM-RT format within minutes developed to run on various treatment planning systems (TPS), and has been used in various studies till date due to its convenient accessibility with a MATLAB-based graphical user interface (GUI) that is user-friendly [6-10].
Recently, ICRP published a tetrahedral-mesh (TM)-based tetrahedral phantom through the ICRP publication 145 [11]. Compared to the voxel geometry used in conventional reference phantoms, TM geometry has the advantage that it facilitates posture and organ deformation and can express thin organs (e.g., skin) because there is no definition of thickness like in voxels [11-13]. Based on these advantages, the TM phantom can handle anatomical information of the human body with greater precision than the conventional voxel phantom.
Recently, various studies using conventional voxel phantoms have led to efforts to migrate to TM phantoms [14-22]. Research on converting tetrahedral phantoms to DICOM-RT format has been conducted, resulting in the development of TET2DICOM by Cheon et al. in 2022 [23]. TET2DICOM is a command-based program that converts TM phantom to DICOM-RT dataset based on the C++ language in a Linux environment, providing format conversion from TM phantom to DICOM computed tomography (CT) image and DICOM-RT structure files. However, there are various library dependencies (i.e., VTK, Geant4, GDCM, Tetgen) to use TET2DICOM, and it is therefore difficult for researchers to utilize from initial installation to configuration and use.
In this study, TET2DICOM’s GUI environment was developed to compensate for these limitations and develop it into a user-friendly program. The developed GUI-based TET2DICOM program was installed and tested on a personal computer, and its availability was evaluated by implementing it to a TPS used in clinical practice.
The TET2DICOM-GUI was built using MATLAB Appdesigner (MathWorks Inc., Natick, MA, USA). The GUI configuration consists of the sequence performed by the TET2DICOM user, i.e., (1) importing tetrahedral phantom data (*.ele, *.node, *.density) (or voxelized phantom with previous voxelization), (2) voxelization, (3) CT image file generation, (4) organ outline information extraction, and (5) DICOM-RT-structure file generation. As in the existing TET2DICOM, it was developed to allow configuration of FOV, pixel size, slice thickness, random points (RPs), etc. directly in the GUI, and input of Hounsfield unit (HU) to density curve for the density to HU value. All field values have default settings so that users do not have to enter them every time. The table for converting density to HU values allows 11 conversion points to be set. In addition, when users select *.contour to be converted to DICOM-RT-Structure, a visualization function and a visualization function to check the appearance of the phantom were added separately to reduce errors in loading incorrect data.
As mentioned earlier, the program developed in the previous study [23] required the installation and interlocking of additional libraries for (1) voxelization, (2) CT image file generation, (3) organ outline information extraction, and (4) DICOM-RT-structure file generation. In this GUI program, functions that require a separate library were re-implemented only in MATLAB code for the convenience of the users.
First, voxelization for CT image generation was implemented in MATLAB using libraries from existing Geant4 code in the following process:
(1) Create a boundary box (BoxPhantom) containing the entire phantom and then divide it into the size of the VoxelPhantom designated by the user.
(2) Create a tetrahedral boundary box (BoxTet).
(3) Generate a predefined number of RPs in BoxTet.
(4) Only the points generated in the tetrahedron within the RPs are given a weight of the same density value as the tetrahedron.
(5) Repeat the same process for all tetrahedrons. For reference, in this process, the “parfor” function, a function for parallel computation in MATLAB, was programmed to enable the maximum use of the resources.
(6) Define the density of each VoxelPhantom by calculating the weight average of the points accumulated on all VoxelPhantoms in the BoxPhantom.
(7) The user converts the density of VoxelPhantom to the HU value using the predefined Density to HU table in the program.
(8) The voxels that were not assigned a density information due to being outside the phantom or generating insufficient number of RPs were assigned a HU value of −1,000 for air.
The Tetgen library was used to convert from TM to polygon-surface mesh (PM) so as to extract organ contour information, which was implemented in MATLAB. For reference, one facet of the outermost tetrahedron of the tetrahedrons that constitute an organ is not shared with another tetrahedron within the same organ. In this study, PM was produced by extracting only triangle facets that do not share face within one organ. Contour data was then obtained using an interpolation method to connect the triangle facets constituting the PM and the points that converge at specific craniocaudal axis coordinates.
Finally, the two processes of storing the acquired voxel phantom and contour coordinates in DICOM format (i.e., DICOM CT image and DICOM-RT-Structure) used the “dicomwrite” function included in the Image Processing Toolbox in MATLAB. When saving, among the DICOM metadata corresponding to DICOM CT image and DICOM-RT-Structure, Patient Name, Patient ID, Pixel Spacing, Slice Thickness, etc., can be stored based on the parameters entered by the user at the beginning, and StudyInstanceUID, SeriesInstanceUID, SOPClassUID, etc., are automatically generated and stored.
For evaluation of the developed TET2DICOM-GUI, the conversion was performed using the mesh-type reference computational phantom (MRCP)-AM tetrahedral phantom, an ICRP reference male phantom. For reference, the MRCP-AM tetrahedral phantom consists of a total of 8,229,597 tetrahedrons. The specification of the computer used for conversion was Intel(R) Core(TM) i7-6700HQ @ 2.60GHz CPU (4 Core) and 16 GB RAM, and measurement time was evaluated according to RP and number of cores. Then, the DICOM-RT dataset, which was converted using TET2DICOM-GUI, was evaluated for clinical applicability using EclipseTM version 10.0 (Varian Medical Systems, Palo Alto, CA, USA), one of the Radiation TPS.
Fig. 1 shows the MRCP-AM loaded after running the developed TET2DICOM-GUI. The values shown in Fig. 1 are the default settings provided in the program, with FOV designated as 600 mm, number of pixels as 512 (512×512), sliced thickness as 2 mm, RP as 10, and the core used for calculation as 1. When MRCP-AM was converted using these, a total of 882 CT images and RT-structure files containing contour information corresponding to 28 organs were generated.
Fig. 2 shows the result of importing the generated DICOM-RT dataset from Eclipse. It was confirmed that DICOM metadata such as pixel resolution, slice thickness, and position were well applied, and each contour also marked the outline of the relevant organ and proceeded well without any major problems in establishing a treatment plan.
In this evaluation, how the image changes was evaluated according to the number of RPs, factors affecting image quality in TET2DICOM-GUI. First, the same parameters as in the previous process were set, and the CT image was generated by changing only the number of RPs to 1, 4, 7, and 10. Fig. 3 shows the quality of the CT image according to the change in the number of RPs. As shown in Fig. 3a and b, when one or four RPs were used, it was confirmed that artifacts occurred due to voxels that did not acquire sufficient density information. But, as shown in Fig. 3c and d, it was confirmed that voxelization was performed without data loss when seven or more RPs were used.
The result of this RP difference is defined according to the relationship between the volume of the tetrahedron constituting the tetrahedron phantom and the voxelized volume (i.e., pixels and slice thickness). Table 1 shows the average volume of the tetrahedron that make up each organ and the number of air pixels in the organ according to RP. For reference, the Cranium, which itself contains an air layer, and the Eye and the Heart, organs close to the outside and the airway, were excluded from the data because air pixels may be included in the contour. It can be confirmed that only four RPs were insufficient for the organs (e.g., lungs and liver) with relatively higher tetrahedron volume than voxel volume (approx. 2.75 mm3). However, four RPs were sufficient for organs with relatively small tetrahedron volumes (e.g., salivary and prostate).
Table 1 Average volume of the tetrahedrons constituting an organ and the number of air pixels in an organ as a function of the number of random points
Organ name | Aeravge volume (mm3) | Random points | |||
---|---|---|---|---|---|
1 | 4 | 7 | 10 | ||
LungRT | 158.23 | 36,651 | 12 | 0 | 0 |
LungLT | 153.16 | 30,831 | 12 | 0 | 0 |
Pancreas | 52.81 | 3,951 | 0 | 0 | 0 |
Bladder | 22.85 | 5,665 | 1 | 0 | 0 |
Brain | 87.38 | 34,149 | 6 | 0 | 0 |
Pituitary | 0.21 | 12 | 0 | 0 | 0 |
Lens_LT | 0.04 | 1 | 0 | 0 | 0 |
Lens_RT | 0.04 | 4 | 0 | 0 | 0 |
Thymus | 4.92 | 574 | 0 | 0 | 0 |
Thyroid | 2.42 | 514 | 0 | 0 | 0 |
Liver | 177.09 | 51,990 | 13 | 0 | 0 |
Gall_bladder | 12.19 | 1,635 | 0 | 0 | 0 |
Prostate | 9.89 | 384 | 0 | 0 | 0 |
SpinalCord | 6.02 | 909 | 1 | 0 | 0 |
Stomach | 6.99 | 10,056 | 3 | 0 | 0 |
Colon | 8.17 | 16,688 | 3 | 0 | 0 |
Adrenal_LT | 3.13 | 197 | 0 | 0 | 0 |
Adrenal_RT | 3.14 | 184 | 0 | 0 | 0 |
Kidney_LT | 11.73 | 4,594 | 1 | 0 | 0 |
Kidney_RT | 17.90 | 4,653 | 1 | 0 | 0 |
Small_Bowel | 1.94 | 26,952 | 3 | 0 | 0 |
Oesophagus | 2.07 | 1,649 | 0 | 0 | 0 |
Salivary_LT | 6.36 | 1,042 | 0 | 0 | 0 |
Salivary_RT | 7.18 | 1,019 | 0 | 0 | 0 |
In conclusion, it was confirmed that MRCP-AM required at least seven RPs to normally produce all organs as CT images.
The factors that affect the calculation speed are the number of RPs and cores. A speed evaluation was performed on them when all variables were set to default setting values, (1) when RP was changed to 1, 4, 7, and 10, and (2) when the core number was set to 1, 2, 3, and 4. Speed evaluation was performed only for voxelization, which is the most time-consuming of all processes.
For reference, all processes other than voxelization time took less than one minute. Fig. 4 shows the change in voxelization time depending on the number of RPs and the number of cores, respectively. It was confirmed that the time calculated using 10 RPs (62.1 min) in the test environment took about 2.84 times longer than the time using 1 RP (21.9 min). When checking the increasing number of cores, it was found that using all four cores was about 1.51 times faster than using only one. The authors of this study determined that there was a limit in speed improvement because minimal parallelization works based on shared memory were carried out to minimize memory usage.
It is expected that this problem can be improved through optimization work considering memory utilization in the future.
In this study, TET2DICOM-GUI, a GUI-based program that converts tetrahedral meshed phantoms into DICOM-RT datasets, was developed. The developed program is easy to use because it eliminates the dependency of the library used in TET2DICOM, and it has been confirmed that tetrahedral phantoms can be converted into DICOM-RT datasets in about an hour on a personal computer. For reference, the CPU used in this study was released in 2015, and it is predicted that there will be a dramatic performance improvement when using the recently released CPU for personal computers (e.g., i9-12900F).
However, the efficiency of the MATLAB-based parallel computation itself supported in the voxelization process was low, and thus optimization is necessary in the future. Currently, researchers involved in radiation oncology require approval from the Medical Research Ethics Committee (Institutional Review Board) in accordance with the Bioethics and Safety Act when conducting research using CT images of real patients. However, by using the DICOM CT image and DICOM-RT-Structure acquired through TET2DICOM-GUI, it is expected that rapid research can be carried out without such a process. In addition, it can be used instead of patients in schools and industries where it is difficult to use actual patient data, so it is expected to be used in many clinical-related research activities.
Finally, TET2DICOM-GUI is expected to be useful for irradiation dosimetry and image algorithm research because images and RT structures can be produced from reference phantoms that have accurate anatomical information of the interior of the human body.
This work was supported by the Basic Science Research Program through the Nation Research Foundation of Korea (NRF) funded by the Ministry of Education (No. 2021R1I1A1A01057995).
The authors have nothing to disclose.
The data that support the findings of this study are available on request from the corresponding author.
Conceptualization: Min Cheol Han and Chan Hyeong Kim. Data curation: Se Hyung Lee. Formal analysis: Se Hyung Lee, Bo-Wi Cheon, and Min Cheol Han. Funding acquisition: Min Cheol Han. Investigation: Bo-Wi Cheon and Seonghoon Kim. Methodology: Se Hyung Lee and Min Cheol Han. Project administration: Min Cheol Han. Resources: Haegin Han and Chan Hyeong Kim. Software: Se Hyung Lee. Supervision: Min Cheol Han and Chan Hyeong Kim. Validation: Se Hyung Lee, Bo-Wi Cheon, Chul Hee Min, and Min Cheol Han. Visualization: Se Hyung Lee. Writing - original draft: Se Hyung Lee. Writing - review & editing: Min Cheol Han, Chul Hee Min, Chan Hyeong Kim, and Seonghoon Kim.
Progress in Medical Physics 2022; 33(4): 172-179
Published online December 31, 2022 https://doi.org/10.14316/pmp.2022.33.4.172
Copyright © Korean Society of Medical Physics.
Se Hyung Lee1,2 , Bo-Wi Cheon3 , Chul Hee Min3 , Haegin Han1 , Chan Hyeong Kim1 , Min Cheol Han4 , Seonghoon Kim5
1Department of Nuclear Engineering, Hanyang University, 2Department of Radiation Oncology, Samsung Medical Center, Seoul, 3Department of Radiation Convergence Engineering, Yonsei University, Wonju, 4Department of Radiation Oncology, Yonsei University College of Medicine, 5Department of Radiation Oncology, Hanyang University Medical Center, Seoul, Korea
Correspondence to:Min Cheol Han
(mchan@yuhs.ac)
Tel: 82-2-2228-8105
Fax: 82-2-2227-7823
This is an Open-Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/4.0) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.
Recently, tetrahedral phantoms have been newly adopted as international standard mesh-type reference computational phantoms (MRCPs) by the International Commission on Radiological Protection, and a program has been developed to convert them to computational tomography images and DICOM-RT structure files for application of radiotherapy. Through this program, the use of the tetrahedral standard phantom has become available in clinical practice, but utilization has been difficult due to various library dependencies requiring a lot of time and effort for installation. To overcome this limitation, in this study a newly developed TET2DICOM-GUI, a TET2DICOM program based on a graphical user interface (GUI), was programmed using only the MATLAB language so that it can be used without additional library installation and configuration. The program runs in the same order as TET2DICOM and has been optimized to run on a personal computer in a GUI environment. A tetrahedron-based male international standard human phantom, MRCP-AM, was used to evaluate TET2DICOM-GUI. Conversion into a DICOM-RT dataset applicable in clinical practice in about one hour with a personal computer as a basis was confirmed. Also, the generated DICOM-RT dataset was confirmed to be effectively implemented in the radiotherapy planning system. The program developed in this study is expected to replace actual patient data in future studies.
Keywords: Tetrahedral-mesh phantom, DICOM, Voxelization, Computational tomography, RT structure
The computational human phantom is a virtual computer model created to reflect the anatomical elements of the human body. The International Commission on Radiological Protection (ICRP) is developing a reference computational human phantom through periodic studies. The reference phantom has the advantage of evaluating a patient’s irradiation dose without any ethical problems and is thereby actively used in the field of radiotherapy [1-4].
In order to utilize computational phantoms in the field of radiation therapy, Griffin et al. [5] developed a DICOM-RT generator that converts them into a clinical-only DICOM-RT format. The DICOM-RT generator is a program that converts voxel computational phantoms into DICOM-RT format within minutes developed to run on various treatment planning systems (TPS), and has been used in various studies till date due to its convenient accessibility with a MATLAB-based graphical user interface (GUI) that is user-friendly [6-10].
Recently, ICRP published a tetrahedral-mesh (TM)-based tetrahedral phantom through the ICRP publication 145 [11]. Compared to the voxel geometry used in conventional reference phantoms, TM geometry has the advantage that it facilitates posture and organ deformation and can express thin organs (e.g., skin) because there is no definition of thickness like in voxels [11-13]. Based on these advantages, the TM phantom can handle anatomical information of the human body with greater precision than the conventional voxel phantom.
Recently, various studies using conventional voxel phantoms have led to efforts to migrate to TM phantoms [14-22]. Research on converting tetrahedral phantoms to DICOM-RT format has been conducted, resulting in the development of TET2DICOM by Cheon et al. in 2022 [23]. TET2DICOM is a command-based program that converts TM phantom to DICOM-RT dataset based on the C++ language in a Linux environment, providing format conversion from TM phantom to DICOM computed tomography (CT) image and DICOM-RT structure files. However, there are various library dependencies (i.e., VTK, Geant4, GDCM, Tetgen) to use TET2DICOM, and it is therefore difficult for researchers to utilize from initial installation to configuration and use.
In this study, TET2DICOM’s GUI environment was developed to compensate for these limitations and develop it into a user-friendly program. The developed GUI-based TET2DICOM program was installed and tested on a personal computer, and its availability was evaluated by implementing it to a TPS used in clinical practice.
The TET2DICOM-GUI was built using MATLAB Appdesigner (MathWorks Inc., Natick, MA, USA). The GUI configuration consists of the sequence performed by the TET2DICOM user, i.e., (1) importing tetrahedral phantom data (*.ele, *.node, *.density) (or voxelized phantom with previous voxelization), (2) voxelization, (3) CT image file generation, (4) organ outline information extraction, and (5) DICOM-RT-structure file generation. As in the existing TET2DICOM, it was developed to allow configuration of FOV, pixel size, slice thickness, random points (RPs), etc. directly in the GUI, and input of Hounsfield unit (HU) to density curve for the density to HU value. All field values have default settings so that users do not have to enter them every time. The table for converting density to HU values allows 11 conversion points to be set. In addition, when users select *.contour to be converted to DICOM-RT-Structure, a visualization function and a visualization function to check the appearance of the phantom were added separately to reduce errors in loading incorrect data.
As mentioned earlier, the program developed in the previous study [23] required the installation and interlocking of additional libraries for (1) voxelization, (2) CT image file generation, (3) organ outline information extraction, and (4) DICOM-RT-structure file generation. In this GUI program, functions that require a separate library were re-implemented only in MATLAB code for the convenience of the users.
First, voxelization for CT image generation was implemented in MATLAB using libraries from existing Geant4 code in the following process:
(1) Create a boundary box (BoxPhantom) containing the entire phantom and then divide it into the size of the VoxelPhantom designated by the user.
(2) Create a tetrahedral boundary box (BoxTet).
(3) Generate a predefined number of RPs in BoxTet.
(4) Only the points generated in the tetrahedron within the RPs are given a weight of the same density value as the tetrahedron.
(5) Repeat the same process for all tetrahedrons. For reference, in this process, the “parfor” function, a function for parallel computation in MATLAB, was programmed to enable the maximum use of the resources.
(6) Define the density of each VoxelPhantom by calculating the weight average of the points accumulated on all VoxelPhantoms in the BoxPhantom.
(7) The user converts the density of VoxelPhantom to the HU value using the predefined Density to HU table in the program.
(8) The voxels that were not assigned a density information due to being outside the phantom or generating insufficient number of RPs were assigned a HU value of −1,000 for air.
The Tetgen library was used to convert from TM to polygon-surface mesh (PM) so as to extract organ contour information, which was implemented in MATLAB. For reference, one facet of the outermost tetrahedron of the tetrahedrons that constitute an organ is not shared with another tetrahedron within the same organ. In this study, PM was produced by extracting only triangle facets that do not share face within one organ. Contour data was then obtained using an interpolation method to connect the triangle facets constituting the PM and the points that converge at specific craniocaudal axis coordinates.
Finally, the two processes of storing the acquired voxel phantom and contour coordinates in DICOM format (i.e., DICOM CT image and DICOM-RT-Structure) used the “dicomwrite” function included in the Image Processing Toolbox in MATLAB. When saving, among the DICOM metadata corresponding to DICOM CT image and DICOM-RT-Structure, Patient Name, Patient ID, Pixel Spacing, Slice Thickness, etc., can be stored based on the parameters entered by the user at the beginning, and StudyInstanceUID, SeriesInstanceUID, SOPClassUID, etc., are automatically generated and stored.
For evaluation of the developed TET2DICOM-GUI, the conversion was performed using the mesh-type reference computational phantom (MRCP)-AM tetrahedral phantom, an ICRP reference male phantom. For reference, the MRCP-AM tetrahedral phantom consists of a total of 8,229,597 tetrahedrons. The specification of the computer used for conversion was Intel(R) Core(TM) i7-6700HQ @ 2.60GHz CPU (4 Core) and 16 GB RAM, and measurement time was evaluated according to RP and number of cores. Then, the DICOM-RT dataset, which was converted using TET2DICOM-GUI, was evaluated for clinical applicability using EclipseTM version 10.0 (Varian Medical Systems, Palo Alto, CA, USA), one of the Radiation TPS.
Fig. 1 shows the MRCP-AM loaded after running the developed TET2DICOM-GUI. The values shown in Fig. 1 are the default settings provided in the program, with FOV designated as 600 mm, number of pixels as 512 (512×512), sliced thickness as 2 mm, RP as 10, and the core used for calculation as 1. When MRCP-AM was converted using these, a total of 882 CT images and RT-structure files containing contour information corresponding to 28 organs were generated.
Fig. 2 shows the result of importing the generated DICOM-RT dataset from Eclipse. It was confirmed that DICOM metadata such as pixel resolution, slice thickness, and position were well applied, and each contour also marked the outline of the relevant organ and proceeded well without any major problems in establishing a treatment plan.
In this evaluation, how the image changes was evaluated according to the number of RPs, factors affecting image quality in TET2DICOM-GUI. First, the same parameters as in the previous process were set, and the CT image was generated by changing only the number of RPs to 1, 4, 7, and 10. Fig. 3 shows the quality of the CT image according to the change in the number of RPs. As shown in Fig. 3a and b, when one or four RPs were used, it was confirmed that artifacts occurred due to voxels that did not acquire sufficient density information. But, as shown in Fig. 3c and d, it was confirmed that voxelization was performed without data loss when seven or more RPs were used.
The result of this RP difference is defined according to the relationship between the volume of the tetrahedron constituting the tetrahedron phantom and the voxelized volume (i.e., pixels and slice thickness). Table 1 shows the average volume of the tetrahedron that make up each organ and the number of air pixels in the organ according to RP. For reference, the Cranium, which itself contains an air layer, and the Eye and the Heart, organs close to the outside and the airway, were excluded from the data because air pixels may be included in the contour. It can be confirmed that only four RPs were insufficient for the organs (e.g., lungs and liver) with relatively higher tetrahedron volume than voxel volume (approx. 2.75 mm3). However, four RPs were sufficient for organs with relatively small tetrahedron volumes (e.g., salivary and prostate).
Table 1 . Average volume of the tetrahedrons constituting an organ and the number of air pixels in an organ as a function of the number of random points.
Organ name | Aeravge volume (mm3) | Random points | |||
---|---|---|---|---|---|
1 | 4 | 7 | 10 | ||
LungRT | 158.23 | 36,651 | 12 | 0 | 0 |
LungLT | 153.16 | 30,831 | 12 | 0 | 0 |
Pancreas | 52.81 | 3,951 | 0 | 0 | 0 |
Bladder | 22.85 | 5,665 | 1 | 0 | 0 |
Brain | 87.38 | 34,149 | 6 | 0 | 0 |
Pituitary | 0.21 | 12 | 0 | 0 | 0 |
Lens_LT | 0.04 | 1 | 0 | 0 | 0 |
Lens_RT | 0.04 | 4 | 0 | 0 | 0 |
Thymus | 4.92 | 574 | 0 | 0 | 0 |
Thyroid | 2.42 | 514 | 0 | 0 | 0 |
Liver | 177.09 | 51,990 | 13 | 0 | 0 |
Gall_bladder | 12.19 | 1,635 | 0 | 0 | 0 |
Prostate | 9.89 | 384 | 0 | 0 | 0 |
SpinalCord | 6.02 | 909 | 1 | 0 | 0 |
Stomach | 6.99 | 10,056 | 3 | 0 | 0 |
Colon | 8.17 | 16,688 | 3 | 0 | 0 |
Adrenal_LT | 3.13 | 197 | 0 | 0 | 0 |
Adrenal_RT | 3.14 | 184 | 0 | 0 | 0 |
Kidney_LT | 11.73 | 4,594 | 1 | 0 | 0 |
Kidney_RT | 17.90 | 4,653 | 1 | 0 | 0 |
Small_Bowel | 1.94 | 26,952 | 3 | 0 | 0 |
Oesophagus | 2.07 | 1,649 | 0 | 0 | 0 |
Salivary_LT | 6.36 | 1,042 | 0 | 0 | 0 |
Salivary_RT | 7.18 | 1,019 | 0 | 0 | 0 |
In conclusion, it was confirmed that MRCP-AM required at least seven RPs to normally produce all organs as CT images.
The factors that affect the calculation speed are the number of RPs and cores. A speed evaluation was performed on them when all variables were set to default setting values, (1) when RP was changed to 1, 4, 7, and 10, and (2) when the core number was set to 1, 2, 3, and 4. Speed evaluation was performed only for voxelization, which is the most time-consuming of all processes.
For reference, all processes other than voxelization time took less than one minute. Fig. 4 shows the change in voxelization time depending on the number of RPs and the number of cores, respectively. It was confirmed that the time calculated using 10 RPs (62.1 min) in the test environment took about 2.84 times longer than the time using 1 RP (21.9 min). When checking the increasing number of cores, it was found that using all four cores was about 1.51 times faster than using only one. The authors of this study determined that there was a limit in speed improvement because minimal parallelization works based on shared memory were carried out to minimize memory usage.
It is expected that this problem can be improved through optimization work considering memory utilization in the future.
In this study, TET2DICOM-GUI, a GUI-based program that converts tetrahedral meshed phantoms into DICOM-RT datasets, was developed. The developed program is easy to use because it eliminates the dependency of the library used in TET2DICOM, and it has been confirmed that tetrahedral phantoms can be converted into DICOM-RT datasets in about an hour on a personal computer. For reference, the CPU used in this study was released in 2015, and it is predicted that there will be a dramatic performance improvement when using the recently released CPU for personal computers (e.g., i9-12900F).
However, the efficiency of the MATLAB-based parallel computation itself supported in the voxelization process was low, and thus optimization is necessary in the future. Currently, researchers involved in radiation oncology require approval from the Medical Research Ethics Committee (Institutional Review Board) in accordance with the Bioethics and Safety Act when conducting research using CT images of real patients. However, by using the DICOM CT image and DICOM-RT-Structure acquired through TET2DICOM-GUI, it is expected that rapid research can be carried out without such a process. In addition, it can be used instead of patients in schools and industries where it is difficult to use actual patient data, so it is expected to be used in many clinical-related research activities.
Finally, TET2DICOM-GUI is expected to be useful for irradiation dosimetry and image algorithm research because images and RT structures can be produced from reference phantoms that have accurate anatomical information of the interior of the human body.
This work was supported by the Basic Science Research Program through the Nation Research Foundation of Korea (NRF) funded by the Ministry of Education (No. 2021R1I1A1A01057995).
The authors have nothing to disclose.
The data that support the findings of this study are available on request from the corresponding author.
Conceptualization: Min Cheol Han and Chan Hyeong Kim. Data curation: Se Hyung Lee. Formal analysis: Se Hyung Lee, Bo-Wi Cheon, and Min Cheol Han. Funding acquisition: Min Cheol Han. Investigation: Bo-Wi Cheon and Seonghoon Kim. Methodology: Se Hyung Lee and Min Cheol Han. Project administration: Min Cheol Han. Resources: Haegin Han and Chan Hyeong Kim. Software: Se Hyung Lee. Supervision: Min Cheol Han and Chan Hyeong Kim. Validation: Se Hyung Lee, Bo-Wi Cheon, Chul Hee Min, and Min Cheol Han. Visualization: Se Hyung Lee. Writing - original draft: Se Hyung Lee. Writing - review & editing: Min Cheol Han, Chul Hee Min, Chan Hyeong Kim, and Seonghoon Kim.
Table 1 Average volume of the tetrahedrons constituting an organ and the number of air pixels in an organ as a function of the number of random points
Organ name | Aeravge volume (mm3) | Random points | |||
---|---|---|---|---|---|
1 | 4 | 7 | 10 | ||
LungRT | 158.23 | 36,651 | 12 | 0 | 0 |
LungLT | 153.16 | 30,831 | 12 | 0 | 0 |
Pancreas | 52.81 | 3,951 | 0 | 0 | 0 |
Bladder | 22.85 | 5,665 | 1 | 0 | 0 |
Brain | 87.38 | 34,149 | 6 | 0 | 0 |
Pituitary | 0.21 | 12 | 0 | 0 | 0 |
Lens_LT | 0.04 | 1 | 0 | 0 | 0 |
Lens_RT | 0.04 | 4 | 0 | 0 | 0 |
Thymus | 4.92 | 574 | 0 | 0 | 0 |
Thyroid | 2.42 | 514 | 0 | 0 | 0 |
Liver | 177.09 | 51,990 | 13 | 0 | 0 |
Gall_bladder | 12.19 | 1,635 | 0 | 0 | 0 |
Prostate | 9.89 | 384 | 0 | 0 | 0 |
SpinalCord | 6.02 | 909 | 1 | 0 | 0 |
Stomach | 6.99 | 10,056 | 3 | 0 | 0 |
Colon | 8.17 | 16,688 | 3 | 0 | 0 |
Adrenal_LT | 3.13 | 197 | 0 | 0 | 0 |
Adrenal_RT | 3.14 | 184 | 0 | 0 | 0 |
Kidney_LT | 11.73 | 4,594 | 1 | 0 | 0 |
Kidney_RT | 17.90 | 4,653 | 1 | 0 | 0 |
Small_Bowel | 1.94 | 26,952 | 3 | 0 | 0 |
Oesophagus | 2.07 | 1,649 | 0 | 0 | 0 |
Salivary_LT | 6.36 | 1,042 | 0 | 0 | 0 |
Salivary_RT | 7.18 | 1,019 | 0 | 0 | 0 |
pISSN 2508-4445
eISSN 2508-4453
Formerly ISSN 1226-5829
Frequency: Quarterly