3D Dose Computation Algorithms
3D Dose Computation Algorithms
T Knöös1,2
1
Department of Haematology, Oncology and Radiation Physics, Skåne University
Hospital, SE-205 02 Malmö, Sweden
2
Department of Medical Radiation Physics, Clinical Sciences, Lund University,
SE-221 85 Lund, Sweden
Email: [email protected]
Abstract. The calculation of absorbed dose within patients during external photon beam
radiotherapy is reviewed. This includes the modelling of the radiation source i.e. in most cases a
linear accelerator (beam modelling) and examples of dose calculation algorithms applied within
the patient i.e. the dose engine. For the first part - the beam modelling, the different sources in
the treatment head as target, filters and collimators etc are discussed as well as their importance
for the photon and electron fluence reaching the patient. The consequences of removing the
flattening filter, which several vendors now have made commercially available, is also shown.
The pros and cons regarding different dose engines ability to consider density changes within
the patient will is covered (type a and b models). Engines covered are, for example, pencil-beam
models, collapsed cone superposition/-convolution models and combinations of these, as well as
a glimpse on Monte Carlo methods for radiotherapy. The different models’ ability to calculate
dose to medium (tissue) and or water is. Finally, the role of commissioning data especially
measurements in today’s model based dose calculation is presented.
1. Introduction
Clinically used dose planning systems have for many years used calculation algorithms for X-rays and
γ-beams, which make use of empirically, determined inhomogeneity corrections. These corrections have
been applied to either measured dose distributions using e.g. film or simple analytical models describing
the distribution in homogeneous water. Modelling of the dose distribution has not relied on basic photon
and electron interaction (basic principles). The methods in use today are often model based algorithms
where one separates the modelling of the radiation source from the in-patient dose calculation, the so-
called dose engine [1].
2. Historical algorithms
A short description of older algorithms seems to be in place and we divide then depending on their
ability to model scattered radiation. These models can be summarised as correction models applied to
the dose distribution in water.
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037
methods only account for inhomogeneities with respect to their density along the fan line. A better
method was introduced with the algorithm by Batho where the position of the inhomogeneity also is
considered [3]
These methods were all, in principle, developed prior to the use of CT. The resulting dose
distributions from these models can in some clinical cases differ up to 20 % from measurements,
especially in low density media irradiated with narrow (5 x 5 cm2) high energy photons beams [4].
Deviations of the same magnitude between measurements and calculations were found for a tangential
beam geometry using the effective attenuation method. Of these methods, the Batho method estimates
the absorbed dose with the highest accuracy. Lulu and Bjärngard have extended the Batho algorithm to
account also for the lateral extension of inhomogeneities [5, 6].
2
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037
The differential in energy has been excluded for clarity, the integral has to be performed over all
energies. It is, however, quite common to perform the integral over energy before the convolution, thus
only one TERMA matrix and one single point kernel is required.
3
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037
This time-consuming integral can be solved using Fourier transforms where the convolution
integral is replaced by the inverse Fourier transform of the product between the transforms of T and P.
This approach is fundamental in the work by Boyer who used Fast Fourier Transform (FFT) to solve the
convolution of dose distribution kernels with photon fluence distributions to give the final dose in 3D
[13, 14]. However, if the kernel function P varies with position due to changes in density, an analytical
superposition integral has to be solved instead.
The point dose kernels used, which includes electrons released in the first interaction as well as
single and multiple scattered photons, are generally calculated using Monte Carlo simulations but
analytical methods are also applicable.
4
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037
1.0
0.9
0.8
Relative fluence
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
0 10 20 30 40 50
Depth (cm)
Figure 3. Illustration of the principle of pencil beams showing creation of pencil beams by
convolving/integrating TERMA along a ray with the point kernel describing the energy transport and
absorption. Left panel - TERMA along the central ray of a very narrow photon beam, middle panel - point
kernel and right panel - the resulting pencil beam.
Pencil beams have been created in various ways for example from measurements by radial
differentiation of relative dose on central axis from broad beam dosimetric quantities [19]. Another
method was the differentiation of radial beam data [20]. Monte Carlo methods have also been used to
calculate pencil beam kernels in water [16, 21, 22]. Usually the pencil beams are parametrized and the
actual values of these are found by a fitting process to measured data [22].
Applying the pencil beam convolution is described in principle by the following equation:
Here the energy fluence distribution Ψ at a certain specified plane is convolved with the pencil
beam kernel P. In heterogeneous media, the pencil beam kernel is scaled along the propagation direction
by replacing the z with the radiological depth zradiol considering the density of the voxels along the ray.
No scaling is performed, in the initial implementations, perpendicular to the propagation direction. Thus,
the pencil beam convolution is a so-called type a algorithm [23]. There is, however, today one pencil
beam model where a lateral scaling of the kernel has been added [24]. The commercial implementation
is the analytical anisotropic algorithm (AAA) [25, 26]. The performance of pencil beams algorithms
have been reported in several reports [27-32].
Figure 4. Illustration of the 2D energy fluence distribution (left) convolved with the pencil beam (middle) to
get the dose distribution represented by a tranvese plane (right).
5
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037
When collapsing the energy in the cone into the central ray the inverse square dependence is
removed. The distribution of cones is not isotropic, instead a higher density is used in the forward
direction because the majority of energy in high energy beams is transported in this direction. A few
cones take care of the backscatter. Density of cones should be high enough where significant amount of
energy is deposited such that each voxel is passed by one or more collapsed cones.
The convolution integral is commutative thus changing the order of the functions does not change
the result
𝐷𝐷(𝒓𝒓) = ∫ 𝑇𝑇(𝒓𝒓′ ) ∙ 𝑃𝑃(𝒓𝒓 − 𝒓𝒓′ )𝑑𝑑𝒓𝒓 is equal to 𝐷𝐷(𝒓𝒓) = ∫ 𝑃𝑃(𝒓𝒓′ ) ∙ 𝑇𝑇(𝒓𝒓 − 𝒓𝒓′ )𝑑𝑑𝒓𝒓
Figure 6. Illustration of the commutative property of the convolution integral. The left panel shows the "dose
deposition view" and the right panel the "interaction view" [4].
6
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037
For the dose deposition view, energy or TERMA from the surrounding voxels is summed up to
the deposition voxel. When all contributions are summed up, the total dose in the voxel is determined.
In the interaction view, the TERMA in a voxel is spread out to the surrounding voxels and all
contributions from interaction points have to be covered. In principle, the first approach can be used to
calculate the absorbed dose in a single point/voxel only. The implementations based on this approach
utilize the possibility to have a dose grid with different spacing to speed up calculations. For example,
in areas with small gradients in TERMA or patient density a coarse grid can be used and in high gradients
a finer one.
Another approach used to efficiently perform the convolution is to align the point kernels such
that the cones in the same direction overlaps. This makes it possible to ray trace through the TERMA
matrix along each cone direction and recursively pick up energy from each traversed voxel, transport,
attenuate and then deposit energy along the axis of the cone [33].
7
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037
Considering the kernel approaches, pencil beam and point kernels, are all determined in water,
analytical, MC or from experiments. Looking in detail to pencil beam algorithms, scaling according to
the transversed density (radiological depth scaling) assumes all media is water and no corrections are
performed during dose deposition. Thus pencil beam models transports and deposit dose in water, Dw,w.
For the point kernel models available, no consistent handling exists. In principle, the TERMA or
equivalent can be ray-traced considering the medias physical properties or not. The kernels are
determined in water but when dose deposition occurs a correction using mass stopping power ratio
between medium and water may be applied. No single conclusion on what is reported can be given,
however, we probably have one of the following situations: Dw,w, Dm,m or Dm,w.
MC models have the possibility to transport in water or medium and the same is valid for dose
deposition. Most common is to transport in medium and deposit in medium. If the user want dose to
water, a mass stopping power ratio between water and medium is applied to each voxel [48]. Thus we
have Dm,m or Dm,w. When applying the mass stopping power ratio one usually have to use a macroscopic
value for the energy deposit in the voxel since the electron energy fluence differentiated in energy in the
voxel is not known. Alternatively, this could be done microscopically if done for each single energy
deposition.
The discrete ordinate solvers for the LBTE determines the electron energy fluence differentiated
in energy for each voxel and either the mass stopping power for the medium or for water is used to
determine the absorbed dose. All transport is accomplished in the medium thus we have Dm,m or Dm,w.
The choice is user selectable in the only existing commercial implementation [49, 50].
5. Summary
Today we have very accurate tools available for estimating the absorbed dose within the patient during
radiotherapy [51-57]. We still have, however, several problems to solve. The models discussed here are
in principle for static patients without movements i.e. intrafractional and/or interfractional movements.
The latter can probably be solved by daily imaging and adapting the today’s plan. This can be
accomplished by e.g. a library of plans or on-line re-optimisation and calculation. For intrafractional
movements, we have used PTV, ITV etc. and margin recipes to assure that the target get the correct
dose. This will in many cases lead to an over-irradiation of healthy tissues surrounding the tumour.
Techniques with synchronisation of the patient with the treatment delivery e.g. gating and tracking is
close to be clinical routine at many departments.
Another problem that has been noticed when introducing more accurate algorithms is a tendency
of optimizers to put in too much dose in the vicinity of the tumour to assure an adequate dose in the
whole tumour. This is especially noted when working with the PTV concept and tumours in low density
regions such as the lung. In these cases, one should probably use a combination of the type a and b
algorithms where optimisation is performed using type a and then followed by a recalculation with an
appropriate type b model. More physically one can describe this as an optimisation based on energy
fluence (pencil beam model) followed by dose calculation with full lateral electron modelling.
6. References
[1] Ahnesjö A and Aspradakis M A 1999 Phys. Med. Biol. 44 R99-155
[2] ICRU 1976 24 Bethesda, Maryland, USA
[3] Batho H F 1964 J. Canadian Ass. Radiologists 15 79-83
[4] Mackie T R et al 1985 Med. Phys. 12 188-96
[5] Lulu B A and Bjärngard B E 1982 Med. Phys. 9 372-7
[6] Lulu B A and Bjärngard B E 1982 Med. Phys. 9 907-9
[7] Sontag M R and Cunningham J R 1978 Radiology 129 787-94
[8] O'Connor J E 1957 Phys. Med. Biol. 1 352-69
[9] O'Connor J E 1984 Med. Phys. 11 678-80
[10] Wong J W and Henkelman R M 1983 Med. Phys. 10 199-208
[11] Mackie T R et al 1985 Med. Phys. 12 327-32
[12] Mohan R et al 1986 Med. Phys. 13 64-73
8
9th International Conference on 3D Radiation Dosimetry IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1234567890
847 (2017) 012037 doi:10.1088/1742-6596/847/1/012037