Skip to main content
Medical Physics logoLink to Medical Physics
. 2008 Aug 14;35(9):4096–4105. doi: 10.1118/1.2968215

An energy transfer method for 4D Monte Carlo dose calculation

Jeffrey V Siebers 1,a), Hualiang Zhong 1
PMCID: PMC2663593  NIHMSID: NIHMS87849  PMID: 18841862

Abstract

This article presents a new method for four-dimensional Monte Carlo dose calculations which properly addresses dose mapping for deforming anatomy. The method, called the energy transfer method (ETM), separates the particle transport and particle scoring geometries: Particle transport takes place in the typical rectilinear coordinate system of the source image, while energy deposition scoring takes place in a desired reference image via use of deformable image registration. Dose is the energy deposited per unit mass in the reference image. ETM has been implemented into DOSXYZnrc and compared with a conventional dose interpolation method (DIM) on deformable phantoms. For voxels whose contents merge in the deforming phantom, the doses calculated by ETM are exactly the same as an analytical solution, contrasting to the DIM which has an average 1.1% dose discrepancy in the beam direction with a maximum error of 24.9% found in the penumbra of a 6 MV beam. The DIM error observed persists even if voxel subdivision is used. The ETM is computationally efficient and will be useful for 4D dose addition and benchmarking alternative 4D dose addition algorithms.

Keywords: four dimensional therapy, Monte Carlo, dose mapping

INTRODUCTION

During radiation therapy delivery, the underlying patient geometry can change on a fraction-by-fraction basis, or, during a fraction via intrafraction motion, such as that caused by respiratory motion. These changes result in a time-dependent delivered dose distribution. The introduction of image-guided techniques such as in-room computed tomography (CT) imaging, four-dimensional (4D) CT, and real-time tumor tracking coupled with deformable image registration techniques has enabled the ability to track patient geometry changes throughout the course of radiation therapy treatment. The expected cumulative response (e.g. TCP, NTCP, …) of a time dependent dose delivery can be determined by accumulating the response effect estimates on the changing patient geometry, or, for responses that are proportional to dose, by mapping the time dependent dose distributions to a common time point (on a common geometry) and then performing the response analysis. This latter method must use some form of deformable dose mapping or deformable dose addition (DDA) to determine the cumulative dose. DDA allows delivered-dose-based treatment adaptations and potentially, a more accurate assessment of the patient dose-response relationship.

Several groups have studied and used various DDA processes.1, 2, 3, 4, 5, 6, 7, 8, 9, 10 In DDA, dose delivered to a floating source image (IS) is mapped to its physical location on a fixed reference image (IR) via the use of a displacement vector field (DVF) which relates the locations of points in IS to those in IR. [Our terminology differs slightly from DIR literature where the terms “moving” (floating, source) and “fixed” (target, reference) are found. Deformable image registration (DIR) image labels refer to the DVF direction: moving image points are moved to the fixed target image. For dose mapping, the DVF direction required (hence, DIR labels of moving and fixed images) depends upon the dose mapping algorithm. In this article, IS refers to the image where radiation is delivered and IR refers to the image that dose is being mapped to.] The DVF is typically obtained by performing DIR. As will be observed below, the direction of the DVF (from IR to IS or from IS to IR) depends on the algorithm used in the dose mapping. The most common dose mapping method is to compute the dose delivered from a radiation fluence incident on IS, then map that dose to IR in a dose-calculation post processing step. For each voxel in IR, the DVF is used to identify the location in IS which corresponds with the IR voxel’s center, and the dose at IR’s voxel center is assigned to be equal to the dose at the corresponding point in IS.

A weakness of this method is that a true one-to-one correspondence between image or dose voxels in IS and IR is unlikely to exist; in reality, the tissue contents contained within IS’s voxels are rearranged (split or merged) in IR’s voxels. Consequently, some compensation mechanism must be provided in the DDA process to account for the rearrangement of the energy deposited per unit mass, particularly in dose gradient regions. For a 4D-lung case, Flampouri et al.7 employed the above approach, termed the center of mass (COM) approach, to move the dose in each voxel for one breathing phase IS to its corresponding location in a reference breathing phase IR. Rosu et al.6 observed that reducing the dose grid point spacing, subdividing IR voxels into octants, and interpolating the dose within IS prior to dose mapping reduced differences between deformed dose estimates in dose gradient regions when a trilinear interpolation method was used to evaluate the dose at the point in IR. However, although Rosu et al. showed reduced differences between the methods, they were not able to demonstrate that the method converged to the correct dose estimate since they did not have a gold standard.

For Monte Carlo (MC) dose calculations, Paganettiet al.5, 11 used GEANT4 with simulated 4D organ motion, computing the dose mapping from multiple breathing phases (IS’s) to a single IR in a single simulation. Similar to the previous works, DVF-based voxel displacement maps were used to map dose deposition per voxel to IR, effectively utilizing a COM dose mapping.

In the above approaches, the information mapped is dose, and thereby they can be regarded as dose interpolation methods (DIMs). Due to the fact that both energy deposition by the radiation source can be nonuniform and mass redistribution by the organ deformation can be nonuniform, each IS voxel in a dose mapping process can contribute a different amount of energy deposited to the dose interpreted on IR. An interpolation of the dose distribution without weighing the source voxel contributions is not sufficient to guarantee accurate deformable dose calculation (see Sec. 2A).

To circumvent errors introduced by mapping dose distributions computed on a regular rectilinear grid via application of the DVF, Heath et al.9 developed the MC code defDOSXYZnrc, which used a DVF to directly warp the dose grid established on IR onto IS. We call their method the voxel warping method (VWM). The VWM results in an irregular dose grid on IS composed of irregular dodecahedron voxels whose tissue contents are then the same as in IR. While the dodecahedron voxel is only an approximation of its physically deformed geometry, it generally circumvents the effects of voxel material variations that impair traditional DDA implementations (after a scaling procedure characterized by the DIR mapping is used to account for voxel mass density variation between IS and IR). This Monte Carlo specific calculation using deformed voxels was implemented by modifying the DOSXYZnrc Monte Carlo dose calculation algorithm.9 Although not reported, one can estimate that the deformed-voxel approach will take ∼2–6 times longer than a standard DOSXYZnrc dose computation due to the number of irregular boundaries that must be checked at each particle step. In addition, to prevent collapsing or merging of the dodecahedral voxels on IS due to DIR errors, the VWM voxel size must be much larger than the image registration errors.

To avoid the voxel merging related issues suffered by VWM and allow accurate high-resolution deformable dose mapping, this article presents a new method for mapping of Monte Carlo computed dose distributions. We call this the energy transfer method (ETM). In the ETM, the particle transport takes place in a typical rectilinear grid in the source image IS, however, the energy deposition events are mapped using the DVF to the reference image IR. Note, this DVF has the opposite sense of the DVF used for the DIM methods. The dose in each voxel in IR is simply defined as the ratio of the deposited energy (mapped into the voxel in the reference image from possibly various different IS’s images and image locations) and the mass of the voxel in the reference image. Conceptually, ETM’s separation of the radiation transport and energy deposition grids is similar to the Peregrine concept of using “dosels” to score the energy deposition,12 the MCNP5∕MCNPX mesh tally concept,13, 14 and the use of nonvoxelized geometries in DOSXYZnrc.15 The ETM method is free of the excessive computational burden in VWM and the dose transfer inaccuracy of DIM.

The goal of this article is to describe the implementation and testing of the ETM. The testing is performed on simple digital phantoms with invertible DVFs that are manually generated. For these test cases, the true dose mapping solution can be directly determined. The digital phantoms are specifically selected to demonstrate specific instances which may exist within a deformed image. By using digital phantoms, we demonstrate potential errors in DIM, and that the ETM agrees with the true dose. This article does not perform any clinical 4D dose calculations since doing so would require use of a DIR algorithm to generate the DVF maps between IS and IR, and the dose mapping would be dependent upon the accuracy of the DVFs. Clinical application of ETM and the evaluation of the clinical significance of DVF induced dose mapping errors are saved for future work. As developed, ETM will be useful by itself as a fast, MC specific dose mapping method as well as for a general voxel-based dose mapping QA tool.

MATERIAL AND METHODS

Begin with two (or more) presentations of the patient anatomy with IR being the fixed reference image set to which information from (multiple) source image(s) ISi=Ii will be mapped. Let x be a three-dimensional (3D) position in IR and x the corresponding location of x in Ii. The DVF mapping φiR(x) maps the coordinates of a tissue element contained at x in Ii to its location x in IR. Similarly, φRi(x) maps the coordinates x from the reference image IR to x in the source image Ii. We use ϕiR to denote φiR(x)∀x. Denote the radiation dose at x computed on Ii as d(xIii)=di(x), where Ξi represents the radiation source used to deliver the radiation. For DDA or dose mapping, di(x) needs to be interpreted at the reference image set as diR(x)=diiR(x)]=diR[x,∣IiiiR(x)], where the subscript iR is retained on the dose to indicate that it is a reinterpretation of the dose received on anatomy Ii (from source Ξi) mapped to anatomy IR. The detailed representation of diR(x) depends on different dose interpretation strategies used and will be discussed in the next section. Deformable dose addition involves determining the cumulative patient dose DR(x) by adding the dose over all presentations of the patient’s anatomy, i.e., DR(x)=∑idiR(x)=∑idiiR(x)].

Without loss of generality, in this work a single source image set is considered, therefore, i=1, and S can be substituted into the expressions to yield DR(x)=dSR(x)=dSSR(x)]. In this case, deformable dose addition is simplified to deformable dose mapping.

Analysis of dose mapping

Recall that dose is energy deposited per unit mass. In Monte Carlo simulations, dose is typically evaluated over some volume V. Physiologically, V can change without appreciable changes in mass, such as during breathing. Likewise, physical changes can result in changes in mass, including mass elements in which dose is deposited, such as in expelling the bladder or rectal contents. In this work, it is assumed that the mass in which energy depositions occurs is preserved during the image deformation process, however, if φ properly keeps track of mass changes, the ETM described below will hold.

Dose interpolation methods

Suppose a volume is deformed from IS to IR, and suppose material loss or gain during the deformation is negligible. When the dose calculated from energy deposited within the volume at the IS is warped to IR, directly mapping the dose d=dS or its spatial interpolation to the IR can be inadequate.

Consider the following example: Let v1 and v2 be two adjacent voxels from IS which, as a result of tissue deformation, are merged into a single voxel w1 on IR (see Fig. 1). A clinical example of this could result in the lung, with IS being an inhale image and IR being an exhale image. The dose interpolation method assigns dose delivered on IS to IR as

dDIM(w1)=dSRDIM(w1)=d(v1)+d(v2)2=E(v1)M(v1)+E(v2)M(v2)2, (1)

where E(vx) and M(vx) are the energy deposited and the mass in voxel vx, respectively. However, the correct interpretation of the dose dT(w1) is

dT(w1)=E(v1)+E(v2)M(v1)+M(v2)=d(v1)+d(v2)γ1+γ, (2)
γ=M(v2)M(v1).

It follows that the dose interpolation error is

ε[dDIM(w1)]=dDIM(w1)dT(w1)=[d(v2)d(v1)](1γ)2(1+γ). (3)

If the material is homogenous, then γ=1, and ε[dDIM(w1)]=0. However, for heterogeneous regions, such as lung, if M(v1) is ICRU tissue (ρ=0.302–1.101 g∕cm3) and M(v2) is ICRU lung (ρ=0.044–0.302 g∕cm3),16, 17 γ could be large (>20), resulting in large dose mapping errors for the DIM, especially in the region with steep dose gradients [i.e., ∣d(v2)−d(v1)∣⪢0].

Figure 1.

Figure 1

An example deformation which demonstrates a failure of the DIM. In this deformation, voxel v0 is directly mapped to voxel w0, voxels v1 and v2 are merged into voxel w1, and voxel v3 is directly mapped to voxel w2.

As an example, let the voxel masses M(v0)=M(v1)=2 and M(v2)=M(v3)=1 and the energy deposited in the voxels E(v0)=E(v1)=E(v2)=E(v3)=2 for the IS indicated in Fig. 1. This results in the dose d(v0)=d(v1)=1 and d(v2)=d(v3)=2. The voxel merging that occurs in the transformation to IR results in M(w0)=2, M(w1)=3, M(w2)=1; E(w0)=E(w2)=2, E(w1)=4; yielding doses of dT(w0)=1, dT(w1)=1.33, and dT(w2)=2. However, DIM yields dDIM(w1)=1.5 with ε[dDIM(w1)]=0.17. Furthermore, it is easy to show that subdividing voxel w1 into any number of equal subdivisions (such as octant subdivisions for 3D voxels by Rosu et al.6) and averaging these subdivisions results in dDIM(w1)=1.5. Therefore, DIM has an inherent dose interpolation error for merging voxels which cannot be corrected by voxel subdivision.

Energy transfer method

The ETM directly maps each particle energy deposition occurring in IS to IR. To demonstrate, consider a deformation of two adjacent voxels from the simplified two-dimensional images given in Fig. 2. Voxel Ω1=(ABED), (Ω1IS), is mapped to φSR(Ω1)=(AB1ED), [ϕSR(Ω1)IR] which is different from the regular voxel w1=(ABED), (w1IR). Actually w1=φSR(Ω1)(B1BE) with the domain (B1BE) warped from some part of Ω2. To calculate the dose at w1 with the ETM, the particle energy deposition events (δE) occurring at point xδE within Ω1 and Ω2 are mapped to w1 and w2 using φSR(xδE).

Figure 2.

Figure 2

(a) Example voxels from source and reference images used to explain the ETM. (b) In the ETM, energy depositions occurring in IS at xδE are mapped to IR using the deformation vector field φSR(xδE) without requiring detection of the deformed boundary B1E.

After particle transport is completed for all particles, the dose in w1 is set equal to the sum of all energy depositions in w1 divided by the mass of w1.

ETM is implemented by modifying the DOSXYZnrc MC code.18 We call the modified code etmDOSXYZnrc. As input, in addition to the incident radiation source, etmDOSXYZnrc requires voxel boundary locations and materials for both IS and IR, as well as the DVF φSR to describe the coordinate deformations. Voxelized material maps m(S) and m(R), created using the CTCREATE code, are required: m(S) is utilized in the EGSnrc particle transport routine for determining cross sections during particle tracking, while m(R) is used for energy scoring and dose determination at the completion of particle transport.

The schematic flow for a particle step in ETM is given in Fig. 3.

Figure 3.

Figure 3

Schematic flow of a particle transport step for the ETM as implemented in etmDOSXYZnrc. Boxes in gray are additional steps required by the ETM. The RND1 function selects a pseudorandom number on the interval (0,1].

To accomplish dose mapping in etmDOSXYZnrc, energy deposition at each particle step in IS is directly mapped to IR and accumulated in IR’s voxel space. As a result of the DVF mapping, a particle step path that is wholly contained in a single voxel in IS can span over two or more voxels in IR. Since mapping the energy deposition at either end of each transport step will result in a systematic misaccounting of the scoring locations, a random scoring location between the starting and ending points is selected. Alternatively, one could select multiple locations along the step and distribute a fraction of the energy at each substep location, however, this would have required more computations.

In these simulations that follow, the EXACT boundary crossing algorithm is used, thus, single elastic scattering is used to cross the boundaries. This selection has no impact on the comparative results, as validated by test simulations performed (not shown).

The simulations are performed to a nominal statistical uncertainty of ∼2% of the maximum dose. However, this statistical uncertainty is not relevant to the comparison between the DIM and ETM since, for the test cases presented, the dose in IS and the energy deposited in IR are scored in a single simulation. Thus, the doses in IS and IR are fully correlated. The dose in merged and split voxels can be solved for analytically and deviations with respect to the analytic solution for each method can be attributed to errors inherent to the method.

VALIDATION PROCESSES AND RESULTS

The validation of etmDOSXYZnrc is performed first on a homogeneous phantom for two cases, one with a rigid shift and the other with a one-dimensional deformation. It is then evaluated with a heterogeneous material phantom for a beam parallel to the deformation direction and a beam perpendicular to the deformation direction. In this latter case, the deformation region is located within the beam penumbra. The outputs are compared with the DIM results as well as with analytic solutions. All the tests are performed using previously commissioned phase space files for 6 MV x rays from a Varian Cl2100 machine as input to the Monte Carlo simulation.19, 20, 21 BEAMnrc is used to transport the particles through the beam-defining jaws.

Validation with rigid translation

The purpose of this test is to show that the energy deposition warping operations are correct in general. A 10×10×10 cm3 digital phantom with 0.5×0.5×0.5 cm3 voxels is created. The density of each voxel is set equal to 1.0 g∕cm3, corresponding with the material water. The phantom, which is converted to a material density table, serves both as the reference image and as source image. The DVF is set to zero for all voxels to be consistent to the two identical images. The output dose distribution from etmDOSXYZnrc is the same as that from DOSXYZnrc [Figs. 4a, 4b]. In all the figures, doses are indicated at the center of voxels and lines are drawn only to guide the eye.

Figure 4.

Figure 4

Validation of the etmDOSXYZnrc implementation in a homogeneous phantom. (a) The dose lateral profiles at depth=5 cm agree; (b) the central axis depth-dose profiles agree; and (c) a DVF resulting in a 1 cm lateral shift is also correctly computed with etmDOSXYZnrc.

To validate the directions of the implemented energy deposition mapping, a DVF mimicking a 1 cm rigid shift is performed along each axis. The results verified that the warping direction and deformation amplitude are correct and its dose distribution is the same as that from the original DOSXYZnrc except for the expected shift [Fig. 4c].

Validation with a deformable homogeneous phantom

As indicated by Eq. 3, when the transport geometry material is homogeneous (γ=1), the dose discrepancy of the DIM in an exactly merged voxel should be zero. This fact is used to validate the implementation of etmDOSXYZnrc for a deforming geometry. The transport geometry is set to be equivalent to the geometry from the previous test case, a 10×10×10 cm3 digital homogeneous water phantom subdivided into 0.5×0.5×0.5 cm3 voxels. The scoring geometry, however, incorporates splitting and merging of the transport geometry voxels via manual generation of the appropriate DVF. For the sake of simplicity, a one-dimensional deformation in the vertical direction (y axis), which corresponds to the beam direction for this test case, is considered. Let the primed coordinate system () denote the voxel coordinate in IS and the unprimed system the coordinate in IR. Figure 5 shows the deformation modeled: voxels y(7) and y(8) from IS are merged to voxel y(8) in IR, while voxel y(6) is split to voxels y(6) and y(7). Similarly, y(9) and y(10) are merged to y(9), and y(11) is split to y(10) and y(11).

Figure 5.

Figure 5

A simple test phantom with a homogeneous particle transport geometry (IS) but heterogeneous particle scoring geometry (IR). The phantom is 10×10×10 cm3 subdivided into 0.5×0.5×0.5 cm3 voxels. Laterally, all voxels with a given y or y index have the same density. The vectors show the displacement vector field of the voxel edges. Upstream voxels (1–5) and downstream voxels (12–20) have a density 1.0 g∕cm3 in both IS and IR.

Recall, with the ETM, particle transport is simulated within IS but energy deposition is scored at a deformed position in IR. Figure 6 illustrates the deposited energy warped by the mapping given in Fig. 5. The mapped energy is doubled at y(8) and y(9), but halved at y(6), y(7) and y(10), y(11). The resultant dose, being energy per unit mass, does not experience the extreme undulations and is much smoother as indicated in Fig. 6.

Figure 6.

Figure 6

Central axis depth profile of the dose and energy deposited for the phantom indicated by Fig. 5. For clarity, statistical error bars are only plotted for the dose computed on IS. Error bars on the other quantities are of similar size.

The principle of energy conservation can be simply applied to check the ETM for the merged voxels:

EETM(8)=E(7)+E(8),EETM(9)=E(9)+E(10). (4)

Similarly, since y(6) and y(11) are split,

E(6)=EETM(6)+EETM(7),and (5)
E(11)=EETM(10)+EETM(11).

In Table 1, the energy E and dose d are calculated in IS, and EETM and dETM are calculated in IR using etmDOSXYZnrc. The results have validated the energy conservation principle described by Eqs. 4, 5. [Deviations in the least significant digit in these tables, e.g., for E(11)=EETM(10)+EETM(11) is due to round-off error of the values given in the table. Actual values agree to within the least significant bit of the precision used in the calculation, fortran double precision].

Table 1.

Energies and doses deposited in the voxels as calculated in IS (E and d) and IR (EETM and dETM) using etmDOSXYZnrc for irradiation of the homogeneous phantom that undergoes the non-rigid deformation indicated in Fig. 5.

Dose grid index y or y: 6 7 8 9 10 11
E in IS (μJ∕MU) 1.278 1.230 1.187 1.153 1.120 1.127
EETM in IR (μJ∕MU) 0.638 0.640 2.417 2.273 0.566 0.562
d in IS (cGy/MU) 1.023 0.984 0.950 0.923 0.896 0.901
dETM in IR (cGy/MU) 1.021 1.025 0.967 0.909 0.906 0.898

For this test, the exact analytical evaluation of the dose in the merged voxels can be obtained from Eq. 2. Since the source phantom is homogeneous water, γ=1, it follows that the true dose, dT(8)=[d(7)+d(8)]∕2=0.967, and dT(9)=[d(9)+d(10)]∕2=0.909, exactly equal to the dETM values in Table 1, indicating that the ETM and the DIM based dose mapping agree for homogenous material as expected.

Heterogeneous deforming phantom I

When the phantom is heterogeneous, as indicated by Eq. 3, the DIM and ETMs are expected to differ. To test this, a phantom geometry similar to before is configured: A 10×10×10 cm3 digital phantom subdivided into 0.5×0.5×0.5 cm3 voxels with heterogeneous densities in the beam direction for both IS and IR as indicated in Fig. 7. The tissue deformation simulated is confined to the region with the y index of the dose grid being between N0=8 and N0+5=13.

Figure 7.

Figure 7

A test phantom with particle transport (IS) and particle scoring geometries (IR). The arrows show the displacement vector field of the source voxel boundaries. The density of the voxels out of the heterogeneous region, y=y<N0 and y=y>N0+5, in IS and in IR is 1.0 g∕cm3. Radiation source A, used for the test given in Table 2, has N0=8 and the source particles are nearly parallel to the deformation direction of the heterogeneous region, while source B has N0=12 and the source particle direction nearly perpendicular to the deformation of the heterogeneous region.

Figure 8 compares the depth-dose results and Table 2 summarizes the results for energy deposition and dose in this geometry for radiation source A, where the source particles are parallel to the direction of the deformation. The ETM results can be directly confirmed. Consider the voxels that merge: y(8)+y(9)→y(8) with γ=4 and y(12)+y(13)→y(13) with γ=0.25. Analytic solutions using Eq. 2 yield dT(8)=[d(8)+d(9)γ]∕(1+γ)=0.946 and dT(13)=0.831, exactly equal to dETM(8) and dETM(13), respectively. Also given in Table 2 are the doses calculated by the DIM as well as the relative error in the DIM, calculated via μDIM(y)=(∣dDIM(y)−dETM(y)∣)∕dETM(y).

Figure 8.

Figure 8

Central axis depth-dose profiles computed in the geometry indicated in Fig. 7 with source A. The deformation was confined to voxels whose centers are located at depths of 3.75–6.25 cm. One standard deviation statistical error bars are shown on the d only, statistical errors in dETM and dDIM are of the same size. However, deviations between the dETM and dDIM are not statistical due to the correlated method of scoring the data.

Table 2.

Energies and doses deposited in the voxels indicated as calculated in IS by DOSXYZnrc (E and d) and etmDOSXYZnrc (EETM and dETM) for irradiation of the heterogeneous phantom that undergoes the nonrigid deformation indicated in Fig. 7 with source A. Also shown is the dose computed by the DIM and the relative DIM error (μDIM).

Dose grid index y 8 9 10 11 12 13
E(y) in IS (μJ∕MU) 0.608 2.349 2.275 2.178 2.092 0.505
EETM(y) in IR (μJ∕MU) 2.958 1.150 1.125 1.108 1.070 2.598
d(y) in IS (cGy/MU) 0.973 0.940 0.910 0.871 0.837 0.808
dETM(y) in IR (cGy/MU) 0.946 0.920 0.900 0.886 0.856 0.831
dDIM(y) in IR (cGy/MU) 0.956 0.910 0.910 0.871 0.871 0.823
μDIM(y) (%) 1.05 1.12 1.15 1.71 1.80 1.05

The DIM dose error ranges from 1.0% to 1.8% in the deformation region for this simple test case.

Note, the randomly selection of the scoring location along the particle step has no impact on the deviations presented in these results. For the merged voxels, the DVFs are aligned to match voxel boundaries in IS and IR and particle steps in DOSXYZnrc are contained within an IS voxel. Thus, selection of any point along the particle step result in the energy deposition occurring in the same IR voxel. For IS voxels which split in IR, the randomization along the particle step will result in typical MC statistical variations, however, due to our correlated scoring in IS and IR, the comparisons with respect to the true dose deposited is unaffected. Also note, the randomization of energy deposition along a particle step will be important for cases where the DVF is not aligned to match voxel boundaries, as would occur for clinical DVFs.

Heterogeneous deforming phantom II

Equation 3 indicates that regions with steep dose gradients are susceptible to errors when the DIM is used, a fact observed by Rosu et al.6 and Heath et al.9 To quantify the DIM dose error in a dose gradient region, source B is applied to the deformation schematically presented in Fig. 7, therefore the direction of the incident beam is nearly perpendicular to the direction of the phantom deformation. For this test N0=12 with a 6×6 cm2 field size. The interface between voxel y=10 and y=11 is at the center of the beam while y=N0+4=16 and y=N0+5=17 are at the beam penumbra. These two voxels merge into voxel y=N0+5=17 in IR.

Results for this test case at a depth of 5 cm in the phantom are shown in Fig. 9. Substantial differences between the dose in the IS and IR geometries are observed for voxels that are deformed, indicating the need for performing dose warping. Furthermore, DIM errors are evident in this geometry. Specific values of the energy deposited and dose computed with each method are listed in Table 3. For the merged voxel y(16)+y(17)→y(17), γ=0.25, and the correct dose generated from Eq. 2 is dT(17)=[d(16)+d(17)γ]∕(1+γ)=0.562, exactly equal to dETM(17), but the result of the dose interpolation is dDIM(17)=0.422, resulting in μDIM(17)=24.9%. Similarly, y(12) is a merged voxel consisting of heterogeneous materials, and dETM(12)=0.831, the same as that calculated by Eq. 2. These tests have validated etmDOSXYZnrc’s correctness for dose mapping with merged voxels.

Figure 9.

Figure 9

Dose profile results at a depth of 5 cm for irradiation of the deformation indicated in Fig. 7 by source B, where the deformation is nearly perpendicular to the source particle directions. Monte Carlo statistical errors are not included on this plot since the correlated scoring method results in the fact that differences with respect to the DIM error are not statistical in nature.

Table 3.

Energies and doses deposited in the voxels indicated as calculated in IS (E and d) and (EETM and dETM) using etmDOSXYZnrc for irradiation of the heterogeneous phantom that undergoes the nonrigid deformation indicated in Fig. 7 with N0=12 and source B. Also shown is the dose computed by the DIM, and percentage DIM error (μDIM).

Dose grid y or y 12 13 14 15 16 17
E in IS (μJ∕MU) 0.605 1.991 1.956 1.865 1.637 0.119
EETM in IR (μJ∕MU) 2.596 0.980 0.975 0.931 0.933 1.756
d in IS (cGy/MU) 0.968 0.797 0.782 0.746 0.655 0.190
dETM in IR (cGy/MU) 0.831 0.784 0.780 0.744 0.747 0.562
dDIM in IR (cGy/MU) 0.882 0.782 0.782 0.746 0.746 0.422
μDIM (%) 6.2 0.18 0.27 0.19 0.10 24.9

Note in IS image, the material density at the voxel y=12 is 0.5 g∕cm3, less than its neighboring voxels at y=11 and y=13 with densities of 1.0 and 2.0 g∕cm3, respectively. On IS, the dose at voxel y=12 is elevated due to photons streaming from the source down the low density region. The dose interpolation error at this point is μDIM(12)=5.7%, even though this point is not in a steep dose gradient or beam penumbra region. Similar to the above case, Heath et al.9 compared a trilinear DIM to their VWM for a 0.5 cm voxel under 50% compression and found DIM had an average of 8% dose error in non-penumbra regions.

DISCUSSION

The ETM presented in this article functions by separating the radiation transport and energy scoring grids for a Monte Carlo dose computation. ETM treats the energy deposited in each voxel as a pseudocontinuous distribution instead of the dose accumulated at the voxel center of mass as in the center of mass or subdivisions thereof, such as octants for Rosu’s trilinear method.6 The infinitesimal particle-based energy deposition mapping provides a natural and accurate way to map dose.

For the merged voxels shown in Fig. 7, the outputs of ETM exactly match their analytic solutions, while DIM demonstrated errors as high as 24.9% errors for a deformed voxel within the beam penumbra. In these tests, the material heterogeneity ratio of two adjacent voxels is 4, which is not as large as what could be observed clinically, where adjacent voxels in lung could have a density ratio of up to 20. As illustrated in Eq. 3, the high contrast in two adjacent voxels’ densities in a deforming region could result in a large discrepancy.

In the test cases presented, the registration error is zero via the use of manually generated hypothetical DVFs. As a result, each dose voxel is exactly recovered from voxels in the source image. This results in the warped source image identical to the reference image. Consequently, for the test cases presented, the difference between DIM and ETM is due entirely to DIM’s equal weighting of the dose deposition to the reference volume elements instead of the variable energy deposition weighting that naturally occurs with ETM.

As is the case for DIM, use of ETM for clinical cases will require use of DIR algorithms to determine the DVF mappings between IS and IR. Both DIM and ETM will propagate errors in the DVFs, however, they may propagate the errors differently. This analysis is left to future work. For ETM, evaluation is required to see if mass of the reference (target) image, mass of the deformed source image (with or without density corrections9, 10), or some other method should be used to determine the mass that the mapped energy should be divided by to get the dose.

By using simple known DVFs that match on voxel boundaries, this study also avoided inaccuracies inherent to three-dimensional interpolation.22

The GEANT4 4D MC implemented by Paganetti, which allows the ability for pseudocontinuous geometry changes5, 11 currently maps particle dose using a COM method.7 Therefore, one would expect that it would be susceptible to the DIM errors demonstrated here.

The ETM and VWM of Heath et al.9 differ in the information they map and in the particle transport. The VWM maps the dose at an irregularly shaped voxel in the warped source image to a regularly shaped voxel in the reference image. As a result, the irregular boundaries of the dodecahedral voxels must be detected for each particle transport step. The ETM simulates the particle transport within the source image, but scores the energy deposition at its warped location in the reference image. Therefore, no irregular boundary detection is required, and the dodecahedral approximation is unnecessary. For the test cases presented here, we would expect the VWM to give identical results to the ETM method. In general cases, we would expect the ETM to be faster and possibly more accurate since ETM does not require the (arbitrary) selection of which voxel corners are coplanar in the generation of planes to create the dodecahedral voxels. ETM’s separation of the particle transport and the energy deposition grids allows the dose scoring or reference grids to be higher resolution (e.g., the same as its image resolution) than the VWM allows if an appropriate image registration can be made. Recall, the VWM method used fairly coarse voxel sizes to prevent merging of adjacent voxels (due to DIR errors) when creating the dodecahedral voxels.

Compared with the VWM, the ETM handles the case of voxel merging in a natural way, and consequently it is computationally efficient. As implemented, the ETM increases DOSXYZnrc’s computation time by ∼10% (from 250.7 to 275.6 s for a sample test case), but allows an accurate dose addition on any deformable anatomies. The etmDOSXYZnrc implementation was not optimized for speed. Furthermore, it should be noted that for the ETM test cases, the incident particles in each voxel are warped with the same displacement field; hence, no interpolation of the DVF is required. In clinical cases, interpolation of the DVF for each energy deposition may be required unless the DVF is saved with sufficiently high resolution to merit errors introduced by assigning the DVF from a nearest neighbor voxel as negligible. If repeated DVF interpolation is required, it will degrade the efficiency of the ETM.

In ETM, since the energy transport and energy scoring grids are separate, it is immediately apparent that the ETM method is applicable to MC implementations which merge neighboring voxels or use nonvoxelized geometries for code speed up.15 For ETM, there is no requirement that the transport and scoring grids be of the same resolution or of the same shape.

Although implemented in DOSXYZnrc in which charged particle steps are contained within a given voxel, the ETM approach is general and could be applied to MC codes in which charged particle steps span over several voxels. For algorithms that have large electron steps which span multiple voxels, it may be more efficient to deposit a fraction of the step energy deposition at multiple random locations along the particle step than to use a single random location as is done in this study.

With the ETM it would be possible to map energy depositions from multiple different source anatomies to multiple different “reference” anatomies simultaneously. An example where this could be useful is in 4D IMRT optimization for 4D lung cases. In this case, beam intensities are simultaneously optimized on multiple breathing phases, thus, accurate dose evaluation is desired not only at a reference phase, but also at each phase of the breathing cycle. The alternative, mapping dose to a common reference phase then remapping that dose using a DIM, could introduce dose evaluation errors.

While MC dose algorithms are “volumetric” dose computations, integrating the energy deposition over the volume of the voxels, non-MC dose algorithms are typically point-based computations, with the point separation indicated by the voxel coordinates and spacing. Errors in the DIM method shown in this work suggest that the proper way to do 4D dose addition or 4D dose mapping for non-MC dose algorithms is not by interpolating dose at points, but instead by mapping the energy deposited and voxel mass. If this method were applied to the test case of Fig. 1, integrating the energy deposited within the bounds of voxel w1 mapped from image IS would have resulted in correct mapping of the dose. In realistic cases, where voxel boundaries do not exactly match on IS and IR, the integration can be complex. In this case, it may be beneficial to compute the dose at each point in IS with the point-based dose computation instead of interpolating the dose and to use multiple points in the integration. These issues will be studied further in future studies.

CONCLUSION

Deformable dose calculation may provide an accurate evaluation of the delivered dose on a deforming anatomy for adaptive treatment planning and for treatment outcomes analysis. In this article, a new Monte Carlo dose calculation scheme is implemented and validated with different tissue deformation cases. Its separate treatment of particle transport and energy deposition within the dose mapping process eliminates the inaccuracy inherent to dose interpolation methods as illustrated in Eq. 3. The ETM method is computationally efficient. In general, given a correct DVF, the MC-based ETM could achieve better accuracy than a voxel-based dose interpolation approach for heterogeneous geometries. While dose interpolation methods are applicable to arbitrary dose calculation algorithms, accuracy would be improved by integrating the mapped energy deposited and mass.

Compared with VWM, the ETM does not require the dodecahedral voxel approximation and is time efficient. ETM increases DOSXYZnrc’s computation time by about 10%. Additionally, it allows for arbitrary image registration resolution while avoiding voxel merging issues. However, like other methods, the ETM accuracy will be degraded by inaccuracies in image registration, which requires further investigation.

ACKNOWLEDGMENTS

The authors would like to thank Dr. Paul Keall, Dr. Iwan Kawrakow, and Dr. Mihaela Rosu for insightful discussions regarding 4D dose computations. This study is supported by NIH P01 CA 116602.

References

  1. Yan D., Jaffray D. A., and Wong J. W., “A model to accumulate fractionated dose in a deforming organ,” Int. J. Radiat. Oncol., Biol., Phys. 10.1016/S0360-3016(99)00007-3 44, 665–675 (1999). [DOI] [PubMed] [Google Scholar]
  2. Schaly B., Kempe J. A., Bauman G. S., Battista J. J., and Van Dyk J., “Tracking the dose distribution in radiation therapy by accounting for variable anatomy,” Phys. Med. Biol. 10.1088/0031-9155/49/5/010 49, 791–805 (2004). [DOI] [PubMed] [Google Scholar]
  3. Keall P. J., Siebers J. V., Joshi S., and Mohan R., “Monte Carlo as a four-dimensional radiotherapy treatment-planning tool to account for respiratory motion,” Phys. Med. Biol. 10.1088/0031-9155/49/16/011 49, 3639–3648 (2004). [DOI] [PubMed] [Google Scholar]
  4. Olivera G., Lu W., Kapatoes J., Ruchala K., Jeraj R., Ramsey C., and Mackie T. R., “Deformable Dose Registration,” The XIVth International Conference on the Use of Computers in Radiation Therapy, Seoul, Korea, 2004.
  5. Paganetti H., Jiang H., Adams J. A., Chen G. T., and Rietzel E., “Monte Carlo simulations with time-dependent geometries to investigate effects of organ motion with high temporal resolution,” Int. J. Radiat. Oncol., Biol., Phys. 10.1016/j.ijrobp.2004.06.024 60, 942–950 (2004). [DOI] [PubMed] [Google Scholar]
  6. Rosu M., Chetty I. J., Balter J. M., Kessler M. L., McShan D. L., and Ten Haken R. K., “Dose reconstruction in deforming lung anatomy: dose grid size effects and clinical implications,” Med. Phys. 10.1118/1.1949749 32, 2487–2495 (2005). [DOI] [PubMed] [Google Scholar]
  7. Flampouri S., Jiang S. B., Sharp G. C., Wolfgang J., Patel A. A., and Choi N. C., “Estimation of the delivered patient dose in lung IMRT treatment based on deformable registration of 4D-CT data and Monte Carlo simulations,” Phys. Med. Biol. 10.1088/0031-9155/51/11/006 51, 2763–2779 (2006). [DOI] [PubMed] [Google Scholar]
  8. Coolens C., Evans P. M., Seco J., Webb S., Blackall J. M., Rietzel E., and Chen G. T., “The susceptibility of IMRT dose distributions to intrafraction organ motion: an investigation into smoothing filters derived from four dimensional computed tomography data,” Med. Phys. 10.1118/1.2219329 33, 2809–2818 (2006). [DOI] [PubMed] [Google Scholar]
  9. Heath E. and Seuntjens J., “A direct voxel tracking method for four-dimensional Monte Carlo dose calculations in deforming anatomy,” Med. Phys. 10.1118/1.2163252 33, 434–445 (2006). [DOI] [PubMed] [Google Scholar]
  10. Heath E., Seco J., Wu Z., Sharp G. C., Paganetti H., and Seuntjens J., “A comparison of dose warping methods for 4D Monte Carlo dose calculations in lung,” J. Phys.: Conf. Ser. 10.1088/1742-6596/102/1/012013 102, 012013 (2008). [DOI] [Google Scholar]
  11. Paganetti H., “Four-dimensional Monte Carlo simulation of time-dependent geometries,” Phys. Med. Biol. 10.1088/0031-9155/49/6/N03 49, N75–N81 (2004). [DOI] [PubMed] [Google Scholar]
  12. Hartmann Siantar C. L., Walling R. S., Daly T. P., Faddegon B., Albright N., Bergstrom P., Bielajew A. F., Chuang C., Garrett D., House R. K., Knapp D., Wieczorek D. J., and Verhey L. J., “Description and dosimetric verification of the PEREGRINE Monte Carlo dose calculation system for photon beams incident on a water phantom,” Med. Phys. 10.1118/1.1381551 28, 1322–1337 (2001). [DOI] [PubMed] [Google Scholar]
  13. Brown F. B., Barrett R. F., Booth T. E., Bull J. S., Cox L. J., Forster R. A., Goorely J. T., Mosteller R. D., Post S. E., Prael R. E., Selcow E. C., Sood A., and Sweezy J., “MCNP Version 5,” LA-UR-02-3935, Los Alamos Noational Laboratory, 2003.
  14. Hendricks J. S., McKinney G. W., Trellue H. R., Durkee J. W., Roberts T. L., Egdorf H. W., Finch J. P., Fensin M. L., James M. R., and Pelowitz D. B., “MCNPX, Version 2.6. A,” Los Alamos National Laboratory Report LA-UR-05-8225 (2005).
  15. Babcock K., Cranmer-Sargison G., and Sidhu N., “Increasing the speed of DOSXYZnrc Monte Carlo simulations through the introduction of nonvoxelated geometries,” Med. Phys. 10.1118/1.2829874 35, 633–644 (2008). [DOI] [PubMed] [Google Scholar]
  16. ICRU-44, “Tissue Substitutes in Radiation Dosimetry and Measurement,” International Commission on Radiation Units and Measurements, 1989.
  17. ICRU-46, “Photon, Electron, Proton, and Neutron Interaction Data for Body Tissues,” International Commission on Radiation Units and Measurements, 1992.
  18. Walters B., Kawrakow I., and Rogers D. W. O., “DOSXYZnrc Users Manual,” PIRS 794, National Research Council of Canada, 2007.
  19. Libby B., Siebers J., and Mohan R., “Validation of Monte Carlo generated phase-space descriptions of medical linear accelerators,” Med. Phys. 10.1118/1.598643 26, 1476–1483 (1999). [DOI] [PubMed] [Google Scholar]
  20. Siebers J. V., Keall P. J., Libby B., and Mohan R., “Comparison of EGS4 and MCNP4b Monte Carlo codes for generation of photon phase space distributions for a Varian 2100C,” Phys. Med. Biol. 10.1088/0031-9155/44/12/311 44, 3009–3026 (1999). [DOI] [PubMed] [Google Scholar]
  21. Keall P. J., Siebers J. V., Libby B., and Mohan R., “Determining the incident electron fluence for Monte Carlo-based photon treatment planning using a standard measured data set,” Med. Phys. 10.1118/1.1561623 30, 574–582 (2003). [DOI] [PubMed] [Google Scholar]
  22. Lehmann T. M., Gonner C., and Spitzer K., “Survey: Interpolation methods in medical image processing,” IEEE Trans. Med. Imaging 10.1109/42.816070 18, 1049–1075 (1999). [DOI] [PubMed] [Google Scholar]

Articles from Medical Physics are provided here courtesy of American Association of Physicists in Medicine

RESOURCES