METHODS AND MATERIALS: A MATLAB algorithm was developed to extract the setup errors in three translational directions (x, y, and z) from the data logged by the CBCT system during treatment delivery. The algorithm also calculates the resulted population setup error and PTV margin based on the van Herk margin recipe and subsequently estimates their respective values for no action level (NAL) and extended no action level (eNAL) offline correction protocols. The algorithm was tested on 25 head and neck cancer (HNC) patients treated using IG-IMRT.
RESULTS: The algorithms calculated that the HNC patients require a PTV margin of 3.1, 2.7, and 3.2 mm in the x-, y-, and z-direction, respectively, without IGRT. The margin can be reduced to 2.0, 2.2, and 3.0 mm in the x-, y-, and z-direction, respectively, with NAL and 1.6, 1.7, and 2.2 mm in the x-, y-, and z-direction, respectively, with eNAL protocol. The results obtained were verified to be the same with the margins calculated using an Excel spreadsheet. The algorithm calculates the weekly offline setup error correction values automatically and reduces the risk of input data error observed in the spreadsheet.
CONCLUSIONS: In conclusion, the algorithm provides an automated method for optimization and reduction of PTV margin using logged setup errors from CBCT-based IGRT.