ObjectiveCone beam computed tomography (CBCT) images contain more scatter than a conventional computed tomography (CT) image and therefore provide inaccurate Hounsfield units (HUs). Consequently, CBCT images cannot be used directly for dose calculation. The aim of this study is to enable dose calculations to be performed with the use of CBCT images taken during radiotherapy and potentially avoid the necessity of re-planning.MethodologyA phantom and prostate cancer patient with a metallic prosthetic hip replacement were imaged using both CT and CBCT. The multilevel threshold algorithm was used to categorise pixel values in the CBCT images into segments of homogeneous HU. The variation in HU with position in the CBCT images was taken into consideration and the benefit of using a larger number of materials than typically used in previous work has been explored. This segmentation method relies upon the operator dividing the CBCT data into a set of volumes where the variation in the relationship between pixel values and HUs is small. A field-in-field treatment plan was generated from the CT of the phantom. An intensity-modulated radiation therapy plan was generated from CT images of the patient. These plans were then copied to the segmented CBCT datasets with identical settings and the doses were recalculated and compared.ResultsIn the phantom study,γevaluation showed that the percentage of points falling in planning target volume, rectum and bladder withγ<1 (3%/3 mm) was 100%. In the patient study, increasing the number of bins to define the material type from seven materials to eight materials required 50% more operator time to improve the accuracy by 0·01% using pencil beam and collapsed cone and 0·05% when using Monte Carlo algorithms.ConclusionThe segmentation of CBCT images using the method in this study can be used for dose calculation. For a simple phantom, 2 values of HU were needed to improve dose calculation accuracy. In challenging circumstances such as that of a prostate patient with hip prosthesis, 5 values of HU were found to be needed, giving a reasonable balance between dose accuracy and operator time.