[Calculating the Hausdorff distance based on the scripting in RayStation treatment planning system]
F B Guo1, C S Cai1, W J Zhang1
1The First Affiliated Hospital of Fujian Medical University, Fuzhou 350005, China.
Zhonghua Zhong Liu Za Zhi [Chinese Journal of Oncology]
|December 21, 2017
Summary
This study developed a scripting method in RayStation to calculate Hausdorff distance, effectively measuring brain stem deformation errors in image registration. The approach provides accurate and efficient results for clinical and research applications.
Area of Science:
- Medical Physics
- Radiotherapy Planning
- Image Analysis
Background:
- Accurate measurement of anatomical changes is crucial in radiotherapy.
- Image registration between CT and MR images aids in precise treatment planning.
- Quantifying deformation errors, such as for the brain stem, is essential for patient safety.
Purpose of the Study:
- To develop and validate a scripting-based method for calculating Hausdorff distance within the RayStation treatment planning system.
- To apply this method for measuring brain stem deformation errors during automatic image registration (CT-MR).
Main Methods:
- Utilized IronPython scripting in RayStation (v4.7) to compute Hausdorff distance between regions of interest (ROIs).
- Developed a graphical user interface (GUI) using XAML for visualized output and user interaction.
- Automated the selection of ROIs and calculation of Hausdorff distance and processing time.
Main Results:
- The mean Hausdorff distance for the brain stem in 20 patients with head and neck neoplasms was 1.20 cm.
- The average computation time for the Hausdorff distance calculation was 11.01 seconds.
- The developed GUI facilitated visual interaction and display of results within the RayStation system.
Conclusions:
- The developed scripting method enables accurate Hausdorff distance calculation for any two ROIs in RayStation.
- The integrated GUI enhances usability for both clinical and research purposes.
- RayStation system, with this enhancement, meets the demands for Hausdorff distance computation in radiotherapy.
Related Concept Videos
The Distance Formula
665
In geometry, measuring the direct distance between two points on a plane is essential in various practical and theoretical applications. Whether in navigation, engineering, or computer graphics, determining the shortest path between two locations involves using the distance formula. This formula is derived from the Pythagorean Theorem, which relates the lengths of the sides of a right triangle. On a coordinate plane, the horizontal and vertical distances between two points serve as the legs of...
665
Areas Within Irregular Boundaries
388
Calculating areas within irregular boundaries, such as along rivers or curved roads, is crucial in various fields, including surveying, engineering, and environmental management. Surveyors often begin by creating a traverse, a connected series of straight lines approximating the area's boundary. The coordinates of each traverse point are essential for calculating the enclosed area. The double meridian distance formula is a widely used technique for this purpose. This method utilizes the...
388
Trapezoidal Rule
74
Estimating the distance traveled by a vehicle using its recorded velocity over time is a common problem in physics and engineering. When velocity data is available at discrete time intervals, rather than as a continuous function, numerical integration methods such as the trapezoidal rule are often employed to approximate the total displacement.The trapezoidal rule works by dividing the total time interval into several equal segments. Within each segment, the recorded velocities at the endpoints...
74
Distance Corrections
306
To achieve precise distance measurements, especially in surveying and construction, certain corrections must be applied to account for potential sources of error like the standardization errors, temperature variations, and slope adjustments.Standardization error emerges when measurement equipment undergoes changes, such as wear, repairs, or weather impacts. To address this, surveyors compare the equipment’s readings to a standard. This process identifies any deviation that might lead to...
306
Distance Problem
89
When an object's velocity changes over time, the total distance traveled can be determined by summing small displacement intervals over short increments. This approach approximates the true distance through numerical summation and the use of integral calculus. An estimate of the total displacement can be obtained by measuring velocity at regular intervals and multiplying each value by the corresponding time step.If a runner accelerates over the first three seconds of a race, speed measurements...
89


