We restrict the model to a fairly low-dimensional
polynomial for numerical stability. While we do not
directly model tangential distortion, we allow the cen-
tre of distortion to differ from the centre of the image,
as this is a good approximation for the decentring dis-
tortion (see (Stein, 1997)).
This base distortion model is expected to change
over time, as many events will require the cameras to
be re-adjusted in the vault. Since such changes to the
model should be small, and as removing the camera to
recalculate the model in the fixed rig is inconvenient,
we wish to update the model. Thus we mount the
pattern in Figure 3(a) on a portable planar object. This
is held so that it roughly fills the field on vision of the
camera.
By extracting the lines from the pattern, we can
test if the model is still valid. If the model is no
longer valid, we can use our knowledge of the pat-
tern to calculate an updated distortion model, (similar
to (Tamaki et al., 2002)). Since the pattern is held so
that it is approximately face-on to the camera, we can
use that and current distortion model as a reasonable
initial estimate, and the optimiser converges to the up-
dated solution quickly.
From this updated distortion model, we can then
decide whether the drift from the base model has be-
come too large, in which case we remove the camera
and recalculate the base distortion model, or else we
simply use the updated model (see (van Rooyen and
Muller, 2004) for more details).
4.2 Camera Calibration
Since we need to calibrate the cameras to the surveyed
coordinate system in the room, we use a single cube
to calibrate all the cameras. This cube is mounted on
a specially constructed jig which can be reliably posi-
tioned at the reference position. The correspondence
between the cube position and the room was obtained
by surveying the room with the cube in position, and
is known to a high degree of accuracy. The relation-
ship between the cube and the beam-line is regularly
checked using a theodolite mounted along the beam-
line. We use different cubes for each vault, and the
jig design is slightly different between each vault so
there is no possibility of using the incorrect cube.
Each face of has a large number of circular mark-
ers, whose positions are known from the surveying re-
sults. Each face also as a distinctive pattern of squares
and triangles which is used to automatically label all
the points detected on the cube (see figure 3(b)). From
the number of markers visible, we can determine if it
has an adequate view of the volume around the beam
isocenter.
The current distortion model is used to correct for
distortion before calibration, and then calibration pro-
ceeds using Tsai’s method (see (Tsai, 1987) for de-
tails).
5 POSITIONING THE PATIENT
For each target volume, several beams, each with dif-
ferent entry points are planned. To treat a beam, the
patient is positioned so that the target volume is posi-
tioned at the beam isocenter, and the entry point lies
along the beam axis, between the beam source and
the target volume. A collimator is inserted into the
beam line to shape the beam to the target volume,
and, once the patient is in position, the collimator is
rotated to match the profile of the target volume. In
a single treatment session, the patient will be treated
using multiple beams.
Before treatment, the patient is secured to the po-
sitioning system and moved to a standard reference
position. In this position, most of the markers on the
mask can be observed, and stereo vision techniques
are used to determine the 3D position of a subset of
the markers on the mask.
These markers are then registered to the marker
positions in the reference position of the CT Scan.
This determines the transformation between the CT
scanner reference position and the current patient po-
sition. From this, the current position of the target
volume and entry point can be determined. The re-
quired movement to position the patient is calculated
and sent to the positioning system.
This procedure is repeated until the patient is in
position. This final position is verified by comparing
an X-ray taken along the beam path with the predicted
X-ray view (see (van der Bijl, 2006)).
Positioning the patient for the next beam in a ses-
sion follows the same procedure, except that, since
the current position of the patient is known, there is
no need to return to the reference position.
6 MONITORING THE PATIENT
Monitoring the patient is a subset of the positioning
loop. Since the patient is monitored continually after
being positioned, and the frame-rate is high in com-
parison to the speed of the movements of interest, we
can a simple nearest neighbour comparison to track
markers.
On each iteration, the current position of the target
volume and the entry point are calculated and com-
pared to the required positions. If the differences ex-