Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
THREE-DIMENSIONAL TRACKING OF A TARGET IN A BODY
Document Type and Number:
WIPO Patent Application WO/2018/090091
Kind Code:
A1
Abstract:
Disclosed is a method and system for three-dimensional tracking of a target located within a body, the method performed using at least one processing system. A two-dimensional scanned image of the body including the target is processed to obtain a two-dimensional image of the target. A first present dataset of the target is predicted using a previous dataset of the target and a state transition model, the first present dataset includes a three- dimensional present position value of the target. A second present dataset of the target is measured by template-matching of the two-dimensional image of the target with a model of the target. A third present dataset of the target is estimated by statistical inference using the first present dataset and the second present dataset. The previous dataset of the target is updated to match the third present dataset.

Inventors:
FEAIN ILANA (AU)
SHIEH CHUN-CHIEN (AU)
DUNBAR MICHELLE (AU)
Application Number:
PCT/AU2017/051261
Publication Date:
May 24, 2018
Filing Date:
November 16, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NANO X PTY LTD (AU)
International Classes:
A61N5/10
Domestic Patent References:
WO2016141416A12016-09-15
Foreign References:
US20150314138A12015-11-05
US20150279031A12015-10-01
Other References:
LEWIS, JOHN H. ET AL.: "Markerless lung tumor tracking and trajectory reconstruction using rotational cone-beam projections: a feasibility study", PHYSICS IN MEDICINE & BIOLOGY, vol. 55, no. 9, 2010, pages 2505 - 2522, XP020171890
LOW, DANIEL A. ET AL.: "A novel CT acquisition and analysis technique for breathing motion modeling", PHYSICS IN MEDICINE & BIOLOGY, vol. 58, no. 11, 2013, pages L31 - L36, XP020245076
Attorney, Agent or Firm:
DAVIES COLLISON CAVE PTY LTD (AU)
Download PDF:
Claims:
The claims:

1. A method for three-dimensional tracking of a target located within a body, the method performed by at least one processing system, and comprising the steps of:

processing a two-dimensional scanned image of the body including the target to obtain a two-dimensional image of the target, wherein the two-dimensional scanned image is acquired from a scanning device;

predicting a first present dataset of the target by using a previous dataset of the target and a state transition model, wherein the first present dataset includes at least a three-dimensional present position value of the target, and wherein the previous dataset includes at least a three-dimensional previous position value of the target;

measuring a second present dataset of the target by template-matching of the two- dimensional image of the target with a model of the target, wherein the second present dataset includes at least a two-dimensional present position value of the target;

estimating a third present dataset of the target by statistical inference using the first present dataset and the second present dataset, wherein the third present dataset includes at least a three-dimensional present position value of the target; and

updating the previous dataset of the target to match the third present dataset.

2. The method of claim 1, wherein the position value of the target refers to a centroid position of the target.

3. The method of claim 1 or 2, wherein the statistical inference utilises Bayesian probability.

4. The method of any one of claims 1 to 3, wherein the statistical inference utilises an extended Kalman filter.

5. The method of any one of claims 1 to 4, wherein the body is a biological body.

6. The method of any one of claims 1 to 5, wherein the model of the target provides information of three-dimensional spatial distribution of the target at one or more points in time.

7. The method of any one of claims 1 to 6, wherein the model of the target is derived from one or more prior images.

8. The method of claim 7, wherein the model of the target is further derived from a surrogate signal indicative of a motion of the target.

9. The method of claim 8, wherein the surrogate signal tracks an external motion of the body.

10. The method of claim 8 or 9, wherein the surrogate signal is estimated from the two- dimensional scanned image of the body including the target.

11. The method of any one of claims 1 to 10, wherein the two-dimensional scanned image of the body including the target illustrates anatomy of the body in the vicinity of the target, and wherein processing the two-dimensional scanned image of the body including the target includes projecting a model of the body anatomy excluding the target to align with the body anatomy of the two-dimensional scanned image and subtracting the projected model of the body anatomy from the two-dimensional scanned image.

12. The method of claim 11, wherein the model of the body anatomy provides information of three-dimensional spatial distribution of the body anatomy at one or more points in time.

13. The method of claim 11 or 12, wherein the model of the body anatomy is derived from one or more prior images.

14. The method of any one of claims 11 to 13, wherein acquiring the model of the target and the model of the body anatomy comprises the steps of:

acquiring one or more prior images of the body anatomy including the target; identifying portions within the prior images relating to the target;

forming the model of the target with the identified portions;

modifying the prior images to make the identified portions transparent; and forming the model of the body anatomy, excluding the target, with the modified prior images.

15. The method of claim 14, wherein the prior images are three-dimensional images.

16. The method of claim 14, wherein the prior images are three-dimensional diagnostic images of a patient.

17. The method of any one of claims 14 to 16, wherein the prior images span different points in time.

18. The method of any one of claims 14 to 17, wherein the prior images are 4D-CBCT images.

19. The method of any one of claims 1 to 18, wherein the two-dimensional scanned image of the body including the target is an X-ray image.

20. The method of any one of claims 1 to 18, wherein the two-dimensional scanned image of the body including the target is a kV X-ray image.

21. The method of any one of claims 1 to 20, wherein the scanning device is a diagnostic medical imaging device.

22. The method of any one of claims 1 to 21, wherein the state transition model is derived from the model of the target.

23. The method of any one of claims 1 to 22, wherein each dataset of the target further includes a measure of an uncertainty in the respective position value of the target.

24. The method of claim 23, wherein the measure of the uncertainty of the first present dataset is a predicted covariance matrix of a distribution of the target's position.

25. The method of claim 24, wherein the predicted covariance matrix is a function of an uncertainty of the state transition model.

26. The method of claim 25, wherein the uncertainty of the state transition model is calculated using the target's positions tracked in a past time frame.

27. The method of claim 26, wherein the time frame spans from the present to ten seconds past.

28. The method of claim 23, wherein the present position value of the target in the first present dataset equals a mean position of the target within a same motion phase of the target in the past 10 seconds to 140 seconds, and wherein the uncertainty of the state transition model is estimated to equal a covariance matrix of the target's positions within the same motion phase in the past 10 seconds to 140 seconds.

29. The method of any one of claims 1 to 28, wherein measuring the second present dataset further comprises processing the two-dimensional image of the target prior to template-matching .

30. The method of any one of claims 1 to 29, wherein measuring the second present dataset further includes calculating a template-matching metric.

31. The method of claim 30, wherein the template matching metric is the Mattes Mutual Information (MMI) metric.

32. The method of claim 30, wherein the template matching metric is the Normalized Cross Correlation (NCC) metric.

33. The method of any one of claims 30 to 32, wherein the second present dataset further includes a measure of an uncertainty in the two-dimensional present position value of the target, and wherein the measure of the uncertainty in the two-dimensional present position value of the target is a function of the template-matching metric.

34. The method of any one of claims 1 to 33, wherein the target is a surrogate object.

35. The method of any one of claims 1 to 33, wherein the target is a soft tissue structure.

36. The method of claim 35, wherein the target is a tumour.

37. The method of claim 36, wherein the tumour is a lung tumour.

38. The method of claim 37, wherein the model of the target accounts for the periodic nature of lung tumour motion.

39. The method of claim 37 or 38, wherein predicting the first present dataset of the target further comprises accounting for the periodic nature of lung tumour motion.

40. The method of any one of claims 1 to 39, wherein the step of processing the two- dimensional scanned image of the body including the target and the step of measuring a second present dataset of the target by template matching are at least partially implemented through a graphics processing unit.

41. A system for three-dimensional tracking of a target located within a body, comprising:

a scanning device configured to acquire a two-dimensional scanned image of the body including the target; and

a processing system configured to:

receive and process the two-dimensional scanned image of the body including the target to obtain a two-dimensional image of the target;

predict a first present dataset of the target by using a previous dataset of the target and a state transition model, wherein the first present dataset includes at least a three-dimensional present position value of the target, and wherein the previous dataset includes at least a three-dimensional previous position value of the target; measure a second present dataset of the target by template-matching of the two-dimensional image of the target with a model of the target, wherein the second present dataset includes at least a two-dimensional present position value of the target;

estimate a third present dataset of the target by statistical inference using the first present dataset and the second present dataset, wherein the third present dataset includes at least a three-dimensional present position value of the target; and

update the previous dataset of the target to match the third present dataset.

42. The system of claim 41, wherein the scanning device is an X-ray imaging device.

43. The system of claim 41, wherein the scanning device is a kV imaging device.

44. The system of any one of claims 41 to 43, wherein the two-dimensional scanned image of the body including the target illustrates anatomy of the body in the vicinity of the target, and wherein to process the scanned image of the body including the target, the processing system projects a model of the body anatomy excluding the target to align with the body anatomy of the two-dimensional scanned image and subtracts the projected model of the body anatomy from the two-dimensional scanned image.

45. The system of any one of claims 41 to 44, wherein the processing system comprises a graphics processing unit.

46. The system of any one of claims 41 to 45, wherein the processing system comprises a memory unit for storing the model of the target.

47. The system of any one of claims 41 to 46, wherein the system further includes an apparatus operating on the target.

48. The system of claim 47, wherein the operation of the apparatus is adjusted in response to the third present dataset.

49. The system of claim 48, wherein the target is a tumour, wherein the system is a radiotherapy machine and wherein the apparatus is a treatment apparatus.

50. The system of claim 49, wherein the apparatus is a radiation source, and the direction of radiation output is adjusted in response to the third present dataset.

51. The system of claim 50, wherein the apparatus is a patient table, and the position and/or orientation of the table is adjusted in response to the third present dataset.

52. The system of any one of claims 41 to 51, configured to implement the method of any one of claims 1 to 40.

Description:
Three-Dimensional Tracking of a Target in a Body

Technical Field

[001] The present invention generally relates to a system and/or a method or process for tracking a target, and more specifically to a system and/or a method or process for three- dimensional tracking of a target located within a body. In further specific examples, a system and/or a method or process is formed or provided for markerless tracking of a target in three dimensions, using two-dimensional images of the target. Background

[002] Lung tumour motions are clinically significant and unpredictable. During lung cancer radiotherapy, tumour motion is a major challenge to accurate beam targeting of tumours. There is currently no technology able to directly track tumour motion in three dimensions during treatment.

[003] Current motion management techniques rely on pre-treatment imaging technologies such as four-dimensional computed tomography (4D-CT) and four-dimensional cone-beam computed tomography (4D-CBCT), which may not actually represent the actual tumour motion during treatment. 4D-CT-based margins have been known to underestimate lung tumour motion and to lead to significant tumour underdose for lung proton therapy.

[004] Current real-time tumour tracking technologies rely on the implantation of radiopaque fiducial markers or electromagnetic transponder beacons. However, marker or beacon implantation is an invasive and costly procedure that is not widely available. Marker-induced toxicity and surrogacy errors are also common problems.

[005] Markerless tumour tracking methods have been proposed using kilovoltage (kV) and megavoltage (MV) imaging. A major challenge of markerless tumour tracking is that tumours are rarely consistently visible on kV or MV projections due to obstruction by surrounding anatomic structures and changes in radiological depth due to gantry rotation. Obstruction by the treatment beam aperture in intensity-modulated radiation therapy (IMRT) treatments is also a common problem for MV-based methods. [006] Presently, there is insufficient tumour visibility for tracking tumours in patients using the anterior-posterior (AP) view. Other views have larger radiological depths and are generally more challenging for tracking than the AP view. Consequently, more patients are expected to be ineligible for markerless tracking during gantry rotation. Another limitation is the lack of ground truth for evaluating the accuracy of markerless tumour tracking on clinical data. Most published studies validated their tracking results by correlating the tracked trajectories with surrogate signals (e.g. abdominal or diaphragm motion) or comparing with subjective measurements of tumour positions (e.g. visual inspection and manual segmentation).

[007] Additional limitations of X-ray imaging techniques include the fact that X-ray imaging only provides two-dimensional (2D) imaging information. Motion information parallel to the X-ray beam path is not available. For this reason, tumour tracking using X- ray imaging suffers from large tracking uncertainties.

[008] There is a need for new or improved systems for tracking tumour motions and/or methods or processes of tracking tumour motions.

[009] The reference in this specification to any prior publication (or information derived from the prior publication), or to any matter which is known, is not, and should not be taken as an acknowledgment or admission or any form of suggestion that the prior publication (or information derived from the prior publication) or known matter forms part of the common general knowledge in the field of endeavour to which this specification relates.

Summary

[010] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Preferred Embodiments. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[011] According to one example aspect, there is provided a method for three-dimensional tracking of a target located within a body, the method performed by at least one processing system, and comprising the steps of: processing a two-dimensional scanned image of the body including the target to obtain a two-dimensional image of the target, wherein the two- dimensional scanned image is acquired from a scanning device; predicting a first present dataset of the target by using a previous dataset of the target and a state transition model. wherein the first present dataset includes at least a three-dimensional present position value of the target, and wherein the previous dataset includes at least a three-dimensional previous position value of the target; measuring a second present dataset of the target by template-matching of the two-dimensional image of the target with a model of the target, wherein the second present dataset includes at least a two-dimensional present position value of the target; estimating a third present dataset of the target by statistical inference using the first present dataset and the second present dataset, wherein the third present dataset includes at least a three-dimensional present position value of the target; and updating the previous dataset of the target to match the third present dataset. [012] According to another example aspect, there is provided a system for three- dimensional tracking of a target located within a body, comprising: a scanning device configured to acquire a two-dimensional scanned image of the body including the target; and a processing system configured to: receive and process the two-dimensional scanned image of the body including the target to obtain a two-dimensional image of the target; predict a first present dataset of the target by using a previous dataset of the target and a state transition model, wherein the first present dataset includes at least a three- dimensional present position value of the target, and wherein the previous dataset includes at least a three-dimensional previous position value of the target; measure a second present dataset of the target by template-matching of the two-dimensional image of the target with a model of the target, wherein the second present dataset includes at least a two- dimensional present position value of the target; estimate a third present dataset of the target by statistical inference using the first present dataset and the second present dataset, wherein the third present dataset includes at least a three-dimensional present position value of the target; and update the previous dataset of the target to match the third present dataset. Brief Description of Figures

[013] Example embodiments are apparent from the following description, which is given by way of example only, of at least one preferred but non-limiting embodiment, described in connection with the accompanying figures.

[014] Figure 1 illustrates an example method for three-dimensional tracking of a target located within a body.

[015] Figure 2 illustrates an example implementation of the method of Figure 1, where the target is a lung tumour.

[016] Figure 3 illustrates an example method for providing a model of the target and a model of the body anatomy. [017] Figure 4 illustrates an example method for acquiring a two-dimensional image of the target.

[018] Figure 5 illustrates an example system for three-dimensional tracking of a target located within a body.

[019] Figure 6 illustrates an example processing system for use in the system of Figure 5.

[020] Figure 7 illustrates an example system for tracking and interacting with a target located within a body.

[021] Figure 8 illustrates an example radiotherapy system for tracking and treating a tumour located within a body.

[022] Figure 9 illustrates example tumour trajectories tracked using the method of Figure 1. Also illustrated are the example tumour trajectories tracked using a conventional marker-based method, for comparison. [023] Figure 10 illustrates further example tumour trajectories tracked using the method of Figure 1. Also illustrated are the example tumour trajectories tracked using a conventional marker-based method, for comparison. [024] Figure 11 illustrates mean tracking errors in the left-right (LR), superior-inferior (SI), and anterior-posterior (AP) directions for 13 example cases investigated using the method of Figure 1.

[025] Figure 12 illustrates a comparison between the markerless tumour tracking method and the standard of care in terms of the margins required to encompass 95% of tumour motion plotted with respect to the 5th-to-95th motion ranges in the LR, AP, and SI directions, for the 13 example cases investigated using the method of Figure 1.

Preferred Embodiments

[026] The following modes, given by way of example only, are described in order to provide a more precise understanding of the subject matter of a preferred embodiment or embodiments. In the figures, incorporated to illustrate features of an example embodiment, like reference numerals are used to identify like parts throughout the figures. [027] In one broad form, there is provided a method for tracking a target located within a body. The method includes acquiring a model of the target and a model of the body anatomy excluding the target. Then, acquiring a projected image of the target. Then, predicting a first present dataset of the target by using a previous dataset of the target and a state transition model. The method further includes measuring a second present dataset of the target by template-matching of the projected image with the model of the target. Then, estimating a third present dataset of the target by statistical inference using the first present dataset and the second present dataset. Then, updating the previous dataset. Each dataset of the target (i.e. first, second, and third) includes a position value and a measure of the uncertainty of the position value of the target.

[028] Referring to Figure 1, there is illustrated an example method 100 for three- dimensional tracking of a target located within a body, method 100 being performed by at least one processing system. Method 100 includes step 110 of processing a two- dimensional scanned image of the body including the target to obtain a two-dimensional image of the target, wherein the two-dimensional scanned image is acquired from a scanning device. At step 120, predicting a first present dataset of the target by using a previous dataset of the target and a state transition model, wherein the first present dataset includes at least a three-dimensional present position value of the target, and wherein the previous dataset includes at least a three-dimensional previous position value of the target. At step 130, measuring a second present dataset of the target by template-matching of the two-dimensional image of the target with a model of the target, wherein the second present dataset includes at least a two-dimensional present position value of the target. At step 140, estimating a third present dataset of the target by statistical inference using the first present dataset and the second present dataset, wherein the third present dataset includes at least a three-dimensional present position value of the target. Then, at step 150, updating the previous dataset of the target to match the third present dataset. [029] An example of a target is a tumour. Other examples of a target include an abnormal growth of tissue, a biological organ, or biological tissue. An example of a body is a human body. Another example of a body is an animal body.

[030] In some examples, the steps of method 100 are executed sequentially. In some examples, at least some steps of method 100 are executed in parallel.

[031] A dataset of the target describes a state of the target, which may include information on the position of the target and may further include statistical information on the position of the target. For example, the dataset may comprise a position value and a covariance value as a measure of the uncertainty of the position value. The statistical information may be obtained from present or past tracking information, present or past measurements, and/or any other knowledge on the nature of the target and of the tracking process/measurement system (e.g. random and/or systematic errors of the measurement system).

[032] In some examples, each dataset (i.e. first, second, and third datasets) further includes a measure of an uncertainty in the respective position value of the target (i.e. the two- or three-dimensional position value included in the dataset). [033] Preferably, though not necessarily, the position value in a dataset of the target refers to a centroid position of the target. The position value may be relative to the body, or relative to a portion of the body, or relative to some other coordinate system defined with reference to any point internal or external to the body.

[034] In some examples, the statistical inference utilises Bayesian probability, or a Bayesian probability approach. In some examples, the statistical inference utilises an extended Kalman filter, or an extended Kalman filter approach.

[035] Preferably, though not necessarily, method 100 implements a Bayesian framework based on the extended Kalman filter. The Kalman filter, as well as its extended version, is a statistical inference approach for updating a state variable and the covariance matrix of its distribution, by combining a prediction and a measurement of the state variable. The measurement of the state variable contains some inherent uncertainty (e.g. due to noise or due to physical limitations).

[036] In some example embodiments of method 100, the target is tracked in three- dimensional (3D) space. In such examples, the state variable, x, represents the 3D position of the target centroid, and the covariance matrix, P, describes the distribution of the target position in 3D space. Since step 130 is effectively measuring a two-dimensional position of the target from a two-dimensional image of the target, method 100 requires extrapolation of the target's position in 3D space from a 2D image. The power of a Kalman filter for statistical inference in step 140 is that covariance matrix P exploits both the uncertainties and the correlations of each motion component, making it possible to estimate the 3D position of the target based on a 2D measurement.

[037] In some examples, the target is a surrogate object, such as a radiopaque marker or a beacon implanted in a human body. In other examples, the target is a soft tissue target. In some examples, the target is a tumour. In some examples, the target is a lung tumour, moving due to a patient's breathing pattern. [038] Tracking of a moving target (such as a lung tumour) may require repeated execution of certain steps of method 100. In some examples, acquisition of a two- dimensional scanned image is repeated, or continuously executed, at multiple points in time, and steps 110, 120, 130, 140, and 150 are executed after each acquisition of the two- dimensional scanned image, to continuously track the target's position. In some examples, tracking occurs in real time, for example, during treatment such as a radiotherapy session.

[039] Method 100 may further include a step of adjusting an apparatus operating on, or interacting with, the target in response to the third present dataset. In some examples where the target is a tumour, the apparatus may be a treatment apparatus, such as a radiation source for radiotherapy, or a patient table. This apparatus should be adjusted (e.g. by varying the direction of a radiation beam) in response to the motion of the tumour. The third present dataset estimated by method 100 provides information on such motion. Therefore, the apparatus may be adjusted (either manually or automatically) following each execution of method 100, as the position of the target is tracked.

[040] Referring to Figure 2, there is illustrated an example embodiment of method 100 where the target is a lung tumour. Figure 2 further illustrates additional step 105, of acquiring a model of the target and a model of the body anatomy excluding the target. In some examples, step 105 may be computationally intensive and as such, it is advantageous that it not be repeated prior to each iteration of method 100. In some examples, step 105 is executed once for each patient, before commencement of a treatment. The acquired models of the target and of the body anatomy can then be stored on a processing system, or any memory device. Execution of method 100 may then commence, with the models of the target and of the body anatomy being accessed as required during execution of method 100.

[041] The model of the target and/or the model of the body anatomy provide information of the spatial distribution, or location, of the target and of the body anatomy at one or more points in time, or at one or more instances in a time period. The time period may span one or more cycles of a physiological process, such as a respiratory cycle. Preferably, though not necessarily, the spatial distribution information provided by the models is 3D spatial distribution information. The model of the body anatomy may provide information (e.g. location, distribution, arrangement, and motion information) on the internal structure and components of the body that contains the target.

[042] In some examples, the model of the target and/or the model of the body anatomy is any one of, or a combination of: a physical model, a scientific model, a 3D model, and a computer model. The model of the target and/or the model of the body anatomy may include one or more vectors, matrices, and/or data structures.

[043] In one example, the model of the target and/or the model of the body anatomy are derived, or built, from one or more images. These images may be acquired prior to a treatment (e.g. radiation treatment) and are therefore referred to as "prior images".

[044] In some examples, the model of the target is derived from prior images and from a surrogate signal. The surrogate signal may be indicative of a motion of the body and/or of the target. The surrogate signal may be used to augment, or enhance, the model of the target by providing further information on the target's motion. The surrogate signal may be provided, or emitted, from a beacon or probe located internally or externally to the body. In some examples, the surrogate signal tracks an external motion of the body. In some examples, the surrogate signal is estimated, detected, or measured from the projected image. The surrogate signal may be emitted by a surrogate object, such as a radiopaque marker or a beacon implanted in the body. In some examples, method 100 further comprises a step of implanting a surrogate object in the body prior to acquiring the 2D scanned image (i.e. prior to step 110). [045] In one example, the prior images are 3D images. In another example, the prior images are 3D diagnostic images of a patient. In another example, the prior images span different points in time such that their subject is illustrated in each prior image at a different point in time. In a preferred example, the prior images are four-dimensional cone beam computed tomography (4D-CBCT) images.

[046] In some examples, the prior images are X-ray images. The prior images preferably illustrate the target and its neighbouring region within the body (including anatomical features of the neighbouring regions within the body). A high-quality prior image is significant as it provides knowledge of how the target can be differentiated from surrounding objects.

[047] Referring to Figure 3, there is illustrated an example method 300 for acquiring the model of the target and the model of the body anatomy. Method 300 includes step 310 of acquiring one or more prior images of the body anatomy including the target. Then, at step 320, identifying portions within the prior images relating to the target. Then, at step 330, forming the model of the target with the identified portions. Then, at step 340, modifying the prior images to make the identified portions transparent. Then, at step 350, forming the model of the body anatomy, excluding the target, with the modified prior images.

[048] Referring to Figure 2, there is illustrated an example embodiment of step 105, where a lung tumour (i.e. target) model 220 and a body anatomy model 230 of a patient are built from a pre-treatment 4D-CBCT image 210. This is done by separating, or extracting, the tumour image from the 4D-CBCT image. The resulting 4D tumour image is tumour model 220, while the 4D anatomic body image (without the tumour) is anatomic body model 210.

[049] In one example, the process of separating the tumour image from the 4D-CBCT image is done by first warping a gross tumour volume (GTV) contour onto the 4D-CBCT image using deformable image restoration. The GTV contour may be acquired by contouring the tumour on a planning CT. For each phase of the 4D-CBCT, the image pixels within the warped contour are exported, or extracted, to form a tumour image. Similarly, for each phase of the 4D-CBCT, the values of the image pixels within the warped contour are set to zero attenuation, to form a "tumour-removed" body anatomy image. Multiple phases of the tumour images and the body anatomy images forms are used to generate 4D tumour images and 4D anatomic body images, and hence the tumour model and the body anatomy model, respectively. [050] The qualities of both models are highly dependent on the quality of the 4D-CBCT prior images. Different methodologies can be utilised to acquire the prior image. For example, a 4D-CBCT prior image may be constructed using the anatomical-adaptive image regularisation technique of Shieh et al (Shieh C C, Kipritidis J, O'Brien R T, Cooper B J, Kuncic Z and Keall P J 2015 Improving thoracic four-dimensional cone-beam CT reconstruction with anatomical-adaptive image regularization (AAIR) Phys. Med. Biol. 60(2), 841) to reduce noise and streaking artifacts while preserving image sharpness. A prior-image-constrained-compressed- sensing (PICCS) algorithm, such as that provided by Chen et al (Chen G H, Tang J and Leng S 2008 Prior image constrained compressed sensing (PICCS): A method to accurately reconstruct dynamic CT images from highly undersampled projection data sets Med. Phys. 35(2), 660-663), may further be used to improve the contrast of a bony anatomy. [051] In another example, sets of tomographic images of the patient that are typically acquired for patient setup immediately before radiotherapy treatment, are suitable prior images because they very closely represent the patient anatomy during the treatment.

[052] More details on the steps of method 100 as illustrated in Figure 2 are provided below.

Step 110

[053] Referring to Figure 4, there is illustrated an example method for processing a two- dimensional scanned image of the body including the target to obtain a two-dimensional image of the target. Method 400 includes step 410 of acquiring a two-dimensional scanned image of the body including the target. The two-dimensional scanned image of the body including the target preferably illustrates anatomical features of the body (i.e. body anatomy) in the vicinity of the target. Then, at step 420, projecting the model of the body anatomy to align with the body anatomy of the two-dimensional scanned image. Then, at step 430, subtracting the projected model of the body anatomy from the two-dimensional scanned image.

[054] In some examples, the two-dimensional scanned image of the body including the target is acquired by a diagnostic medical imaging modality. In some examples, the scanning device is a diagnostic medical imaging device. In some examples, the two- dimensional scanned image further includes a surrogate signal. In some examples, the two- dimensional scanned image is an X-ray image projection. In more specific examples, the two-dimensional scanned image is a kV X-ray image projection. [055] A short imaging arc may be used to acquire the kV projection for a two- dimensional scanned image. In some examples, an arc size of nine degrees may be chosen. Experiments have found that nine degrees is the smallest arc size that renders successful tracking. Compared to using a single projection, a nine-degree arc exploits the 3D information of the tumour in multiple views, making it possible to track cases that would otherwise be challenging, e.g. tumours attached to neighbouring structures. In addition, a nine-degree imaging arc can be acquired in 1.5-9 seconds with a typical gantry speed of 1- 6 deg/s, which is in general a sufficiently short time interval for the time resolution required for treatment guidance. A larger arc of thirty degrees was tested and found to slightly improve tumour localisation, but at the same time further degrade the time resolution, leading to overall similar tracking performance. In practice, the optimal arc size may depend on multiple factors such as the visibility, size, and location of the tumour, and gantry speed.

[056] In some examples, method 400 is at least partially implemented, or run, through a graphics processing unit (GPU).

[057] Referring to Figure 2, there is illustrated an example embodiment of step 1 10, showing a two-dimensional scanned image which is a kV projection 240 of the body anatomy including the lung tumour (i.e. target). Also shown is a projection, or forward- projection, 250 of the model of the body anatomy to align with the body anatomy in kV projection 240. [058] For acquiring model projection 250, the respiratory phase in kV projection 240 is first determined, for example, by using the projection intensity analysis method of Kavanagh et al (Kavanagh A, Evans P M, Hansen V N and Webb S 2009 Obtaining breathing patterns from any sequential thoracic x-ray image set Phys. Med. Biol. 54(16), 4879). In other examples, the real-time phase can be calculated using the method proposed by Ruan et al (Ruan D, Fessler J A, Baiter J M and Keall P J 2009 Real-time profiling of respiratory motion: baseline drift, frequency variation and fundamental pattern change Phys. Med. Biol. 54(15), 4777-4792). Preferably, the body anatomy model used has the same phase as the phase of kV projection 240. For example, where the body anatomy model is generated using 4D-CBCT, an image having the same phase as kV projection 240 may be selected for producing model projection 250. In the example embodiment of Figure 2, this is done by forward projecting the tumour-removed 4D-CBCT image of the same phase as kV projection 240 to generate tumour-removed digitally reconstructed radiographs (DRRs) at the gantry angles used to acquire kV projection 240.

[059] Finally, a two-dimensional, or projected, image 260 of the tumour is generated by subtracting model projection 250 (i.e. the DRR image) from kV projection 240. The difference projection thus acquired is assumed to contain only attenuation contributed from the tumour, therefore the tumour position can be measured by matching the tumour model with two-dimensional image 260. In practice however, exact subtraction of anatomies from the projections might not possible, or might be difficult, due to the change in body anatomy during treatment and due to approximation errors from the reconstructed 4D- CBCT images and DRRs.

Step 120

[060] Prediction step 120 estimates the likely tumour position prior to measurement using a state transition model. The state transition model describes how the tumour position is likely to evolve from a previous frame (k— 1) to a current frame k based on some prior knowledge of the nature of the motion to be tracked. The state transition model may be derived from the model of the target, from the model of the body anatomy, and/or from any other information that is available regarding the target and the body (e.g. information from a surrogate signal). [061] Where information on the motion of the target is available (e.g. through prior images and/or a surrogate signal) prediction step 120 may take this information into account to provide a more accurate estimate of the first present dataset of the target. Therefore, the motion information may be incorporated in the model of the target or in the state transition model.

[062] In cases where the target is a lung tumour, in some examples the model of the target accounts for the periodic (or quasiperiodic) nature of lung tumour motion (e.g. due to respiration). In some examples, predicting the first present dataset of the target further comprises accounting for the periodic nature of lung tumour motion.

[063] Referring to Figure 2, there is illustrated an example embodiment of prediction step 120. For lung tumour motion, which is periodic or quasiperiodic due to respiration, the state transition model can be built using the 4D-CBCT prior image and the respiratory phases of the (k— l)'th and /c'th frame. The model of the target and/or the model of the body anatomy may be used to calculate the displacements in tumour position from one phase bin I to another phase bin m, ά . In some examples, the prior images, such as 4D- CBCT images, may be used to calculate ά .

[064] The predicted tumour position for the current frame, x k \ k _ , may then be estimated to be the prior displacement vector between the previous and the current phase bin,

The d ¾ a 5 esin ¾ 1 term incorporates the periodic nature of the respiratory motion into the prediction while the x^^^ term takes the baseline shifts into account. For the example illustrated in Figure 2, the respiratory phase bin for each frame may be calculated retrospectively by the projection intensity analysis method. In one example the projection intensity analysis method is that of Kavanagh et al (Kavanagh A, Evans P M, Hansen V N and Webb S 2009 Obtaining breathing patterns from any sequential thoracic x-ray image set Phys. Med. Biol. 54(16), 4879).

[065] Preferably, though not necessarily, the measure of the uncertainty of the first present dataset is a predicted covariance matrix of a distribution of the target's position. In some examples, the predicted covariance matrix is a function of an uncertainty of the state transition model (i.e. matrix Q k below). The uncertainty of the state transition model may be attributed to the respiratory-correlated prediction model. In some examples, the uncertainty of the state transition model is calculated using the target's positions tracked in a past time frame. In some examples, the past time frame spans from the present to ten seconds in the past. In other examples, other time frame lengths may be selected (e.g. 1, 2, 3, or more seconds). [066] The use of a limited time frame for calculating, or estimating, the uncertainty of the state transition model is different from past methods which made use of all previously tracked positions. A limited, or shorter, time frame is important for cases where the motion pattern changes constantly.

[067] The predicted covariance matrix, is predicted from the previous covariance update, P^^, by:

Q k is the prediction covariance matrix that describes the uncertainty of the state transition model, which can be estimated by the covariance matrix of the distribution of previously tracked tumour positions. In some examples, tracked tumour positions within the past ten seconds are empirically chosen to estimate Q k . In other examples, prediction covariance matrix Q k may be estimated using any number of past tracked target positions. is the Jacobian of the right-hand side of Equation 1. Since the ά displacement vectors are calculated prior to treatment and are independent of tracking, reduces to the identity matrix / for all k. Equation 2 thus simplifies to:

[068] To initialise Equations 1 and 3 for the first tracking frame, ¾ 0 | 0 may be set to the tumour position at any arbitrary phase of the 4D-CBCT. Q 0 may be set to equal the covariance matrix of the distribution of tumour positions observed from all phases of the 4D-CBCT.

[069] In some examples, the state transition model predicts the target position to be the mean position within the same motion phase within the past 10-140 seconds, and the uncertainty of the state transition model is estimated to be the covariance matrix of the target positions within the same motion phase within the past 10-140 seconds. That is, in some examples, the present position value of the target in the first present dataset equals a mean position of the target within a same motion phase of the target in the past 10 seconds to 140 seconds, and wherein the uncertainty of the state transition model is estimated to equal a covariance matrix of the target' s positions within the same motion phase in the past 10 seconds to 140 seconds. Step 130

[070] Measurement of the second present dataset is performed on the two-dimensional image of the target. Measurement is done by template-matching the two-dimensional image of the target with the model of the target. In some examples, the two-dimensional image is processed prior to template-matching. Preferably, though not necessarily, a template-matching metric is calculated, or estimated, in measurement step 130, either during or after template-matching has occurred. In some examples, the template matching metric is the Mattes Mutual Information (MMI) metric of Mattes et al (Mattes D, Haynor D, Vesselle H, Lewellen T and Eubank W 2001 Nonrigid multimodality image registration MEDICAL IMAGING: 2001: IMAGE PROCESSING, PTS 1-3 4322, 1609-1620. Medical Imaging 2001 Conference, SAN DIEGO, CA, FEB 18-22, 2001). In other examples, the template matching metric is the Normalized Cross Correlation (NCC) metric. In some examples, the measure of the uncertainty of the second present dataset is a function of the template-matching metric.

[071] In some examples, step 130 involves taking some form of measurement, z k , that can be related to the state variable by z k = h k (x k ) + v k , where ( ) is the measurement response function and v k is the measurement noise. For kV-based tumour tracking, z k is the 2D tumour position measured on the kV detector plane, or on the imaging plane of the scanning device. ( ) is the 3D-to-2D forward-projection transformation that converts a 3D position in the patient coordinate space to its corresponding 2D position in the kV detector coordinate space for the current kV angle. [072] To measure z k , the tumour model of the current phase bin is forward-projected and aligned with the anatomy- subtracted two-dimensional image by template matching. The template matching is performed using the Mattes Mutual Information (MMI) metric of Mattes et al (Mattes D, Haynor D, Vesselle H, Lewellen T and Eubank W 2001 Nonrigid multimodality image registration MEDICAL IMAGING: 2001: IMAGE PROCESSING, PTS 1-3 4322, 1609-1620. Medical Imaging 2001 Conference, SAN DIEGO, CA, FEB 18-22, 2001), with a higher MMI value indicating a better match. In some examples, a 20 mm by 20 mm search window centred at the forward-projected position of the predicted 3D tumour centroid is used. In other examples, other search window sizes may be used. [073] Preferably, the second present dataset further includes a measure of an uncertainty in the two-dimensional present position value of the target. In some examples, the measure of the uncertainty in the two-dimensional present position value of the target is a function of the template-matching metric.

[074] The measure of the uncertainty of the measurement process, i.e. 2D template matching, is described by the 2-by-2 measurement covariance matrix, R k . In this work, R k is estimated to be a diagonal matrix, because the template matching errors in the kV-lateral and kV- vertical directions are generally independent of each other. For MMI values higher than a fixed threshold, both diagonal entries are set to the square of the kV projection pixel size. For MMI values lower than a given threshold, both diagonal entries are set to be the square of the size of the search window (e.g. 20 mm). In some examples, the value of the MMI threshold is empirically set to be 0.4. In other examples, the MMI threshold may be set to any other value, such as 0.1, 0.2, or 0.3.

[075] The fact that the measure of the uncertainty of the measurement process takes into account, or incorporates, the template-matching metric (e.g. the MMI value) is advantageous for markerless tumour tracking because template-matching in markerless tracking suffers from significantly larger uncertainty than marker tracking due to the inferior visibility of the tumour on 2D images (e.g. kV projections).

[076] In some examples, template-matching is implemented, or run, through a GPU. Steps 140 and 150

[077] Step 140 combines the prediction and the measurement of steps 120 and 130, respectively, to estimate both x and P according to the following equations:

k\k = k\k-l + Kk [ z k ~ (4)

At step 150, equations 4 and 5 further update the values of the previous dataset whereby a next iteration (k + 1) of method 100 will rely on x k \ k and P k \ k as the previous dataset in prediction step 130. [078] The [z k — ^ (^/ci/c-i)] term in Equation 4 represents the discrepancy between the prediction and the measurement. The Kalman gain, K k , describes how much each component of the prediction state needs to be corrected towards the measurement, and is calculated by:

where H k is the Jacobian of ½ ( )· It can be seen from Equation 6 that the Kalman gain takes into account the angular-dependent 3D-to-2D geometry via H k , the distribution of tumour 3D positi and the reliability of the template matching result via R k . The inclusion of the correlations between motion components in different directions, making 3D tracking possible even though the measurement vector z k contains only information on the kV detector plane (i.e. 2D information of tumour position projected on the kV detector plane).

[079] The implementation of a Bayesian framework (or an extended Kalman filter based on the same) for markerless tumour tracking is advantageous for several reasons. Firstly, conventional template-matching -based tracking methods are rarely able to continuously track the tumour due to inferior tumour visibility. By combining motion prediction and measurement uncertainty estimation with template matching, method 100 is able to track the tumour even when a good template match is not possible. Secondly, the use of the covariance matrix of tumour position distribution is advantageous for estimating the motion component along the measurement beam (e.g. X-ray or kV beam) direction, i.e. the direction of the beam scanning device used to acquire the two-dimensional image of the body including the target, enabling 3D tumour tracking using only 2D imaging. Although the example of Figure 2 illustrates an example implementation of method 100 for the purpose of tumour tracking, method 100 and the above framework may be used for any 3D target localisation application that relies on 2D imaging.

[080] In some examples, provisions may be taken to speed up the execution of method 100. In some examples, the real-time respiratory phase calculation method proposed by Ruan et al (Ruan D, Fessler J A, Baiter J M and Keall P J 2009 Real-time profiling of respiratory motion: baseline drift, frequency variation and fundamental pattern change Phys. Med. Biol. 54(15), 4777-4792) may be used in prediction step 120 to replace retrospective phase calculation. In some examples, the processing of the two-dimensional image of the body including the target in step 110 (e.g. through method 400) and template- matching in step 130 may contribute to about 95% of the computation time of method 100. Both of these steps are highly parallelisable and can be significantly sped up through GPU implementation.

[081] In some examples, step 110 of processing the two-dimensional scanned image of the body including the target and step 130 of measuring a second present dataset of the target by template matching are executed in parallel. In some examples, step 110 of processing the two-dimensional scanned image of the body including the target and/or step 130 of measuring a second present dataset of the target by template matching are at least partially implemented through a GPU. In some cases, GPU implementation of steps 110 and 130 provides a computation time of less than 1 second, which is advantageous for realtime applications. In some examples, step 120 is executed in parallel to step 110. In some examples, step 120 is executed in parallel to step 130.

[082] In some examples, method 100 is implemented using the Insight Toolkit (ITK) of Johnson et al (Johnson H J, McCormick M, Ibanez L and Consortium T I S 2015 The ITK Software Guide Kitware, Inc. ISBN 1-930934-27-0) and/or the Reconstruction Toolkit (RTK) of Rit et al (Rit S, Oliva M V, Brousmiche S, Labarbe R, Sarrut D and Sharp G C 2014 The Reconstruction Toolkit (RTK), an open-source cone-beam CT reconstruction toolkit based on the Insight Toolkit (ITK) J. Phys.: Conf. Ser. 489(1), 012079-012079).

[083] In some examples, there is provided a method for three-dimensional tracking of a target within a body. The method includes the step of acquiring, by a scanning device, a two-dimensional image of the body including the target. The method further includes the step of processing, by a processing system and/or a graphics processing unit, the two- dimensional image of the body including the target to obtain a two-dimensional image of the target (i.e. a two-dimensional image illustrating only the target). The method further includes the step of predicting, by the processing system, a first present dataset of the target by using a previous dataset of the target and a state transition model, wherein the first present dataset includes at least a three-dimensional present position value of the target, and wherein the previous dataset includes at least a three-dimensional previous position value of the target. The method further includes the step of measuring a second present dataset of the target by template-matching, by the processing system and/or the graphics processing unit, of the two-dimensional image of the target with a model of the target, wherein the second present dataset includes at least a two-dimensional present position value of the target. The method further includes the step of estimating, by the processing system, a third present dataset of the target by statistical inference using the first present dataset and the second present dataset, wherein the third present dataset includes at least a three-dimensional present position value of the target. The method further includes the step of updating, by the processing system, the previous dataset of the target to match the third present dataset.

[084] Referring to Figure 5, there is illustrated an example system 500 for three- dimensional tracking of a target located within a body, including a scanning device 510 configured to acquire a two-dimensional scanned image of the body including the target. System 500 further includes a processing system 520. Processing system 520 is configured to receive and process the two-dimensional scanned image of the body including the target to obtain a two-dimensional image of the target. Processing system 520 is further configured to predict a first present dataset of the target by using a previous dataset of the target and a state transition model. The first present dataset includes at least a three- dimensional present position value of the target. The previous dataset includes at least a three-dimensional previous position value of the target. Processing system 520 is further configured to measure a second present dataset of the target by template-matching of the two-dimensional image of the target with a model of the target. The second present dataset includes at least a two-dimensional present position value of the target. Processing system 520 further estimates a third present dataset of the target by statistical inference using the first present dataset and the second present dataset. The third present dataset includes at least a three-dimensional present position value of the target. Processing system 520 further updates the previous dataset of the target to match the third present dataset.

[085] Scanning device 510 may be an X-ray imaging device, or a kV imaging device, including an X-ray source and an X-ray detector. In some examples, scanning device 510 is a CT scanner or a diagnostic imaging device. In some examples, scanning device 510 is any device able to acquire a two-dimensional, or projected, image of the target located within the body. Scanning device 510 may further include a detector for detecting a surrogate signal. In some examples, scanning device 510 may include one or more (e.g. two, three, four or more) of any of the above-mentioned scanning devices. The scanned image of the body including the target may be an X-ray image, a kV image, a CT scan or any other type of image or set of images illustrating the target within the body, in accordance with scanning device 510.

[086] Scanning device 510 may be in communication with processing system 520. Communication between scanning device 510 and processing system 520 may occur either through a wired or wireless connection. Each of scanning device 510 and processing system 520 may include further apparatus necessary for communication (e.g. transmitter and receiver). Preferably, though not necessarily, system 500 further includes a communication link 515 between scanning device 510 and processing system 520. Communication link 515 may be wired or wireless. Processing system 520 may be located within scanning device 510, or in proximity of scanning device 510, or remotely of scanning device 510. Communication link 515 allows transmission of the scanned image from scanning device 510 to processing system 520. Communication link 515 may further allow for transmission of any other data between scanning device 510 and processing system 520 (e.g. data from a surrogate signal). [087] In some examples, the two-dimensional scanned image of the body including the target illustrates anatomy of the body in the vicinity of the target. In those examples, in order to obtain the two-dimensional image of the target (excluding the body anatomy), processing system 520 may process the two-dimensional scanned image to remove the images of the body anatomy and isolate the image of the target. To this end, processing system 520 may project a model of the body anatomy excluding the target to align with the body anatomy of the two-dimensional scanned image and subtract the projected model of the body anatomy from the two-dimensional scanned image.

[088] In some examples, processing system 520 further includes a graphics processing unit (GPU) or a visual processing unit (VPU). The GPU may be used to accelerate the measurement of the second present dataset by accelerating the template-matching process. In some examples, processing system 520 comprises a memory unit. The memory unit may store the model of the target and/or the model of the body anatomy excluding the target. [089] Referring to Figure 6, there is illustrated an example processing system 520. In particular, the processing system 520 generally includes at least one processor 602, or processing unit or plurality of processors, memory 604, at least one input device 606 and at least one output device 608, coupled together via a bus or group of buses 610. In certain embodiments, input device 606 and output device 608 could be the same device. An interface 612 can also be provided for coupling the processing system 520 to one or more peripheral devices, for example interface 612 could be a PCI card or PC card. At least one storage device 614 which houses at least one database 616 can also be provided. The memory 604 can be any form of memory device, for example, volatile or non- volatile memory, solid state storage devices, magnetic devices, etc. The processor 602 could include more than one distinct processing device, for example to handle different functions within the processing system 600.

[090] Input device 606 receives input data 618 and can include, for example, a data receiver or antenna such as a modem or wireless data adaptor, data acquisition card, etc. Input data 618 could come from different sources, for example scanning device 510 and/or with data received via a network. Output device 608 produces or generates output data 620, for example representing position values, two-dimensional images and/or three- dimensional images, and can include, for example, a display device or monitor in which case output data 620 is visual, a printer in which case output data 620 is printed, a port for example a USB port, a peripheral component adaptor, a data transmitter or antenna such as a modem or wireless network adaptor, etc. Output data 620 could be distinct and derived from different output devices, for example a visual display on a monitor in conjunction with data transmitted to a network. A user could view data output, or an interpretation of the data output, on, for example, a monitor or using a printer. The storage device 614 can be any form of data or information storage means, for example, volatile or non-volatile memory, solid state storage devices, magnetic devices, etc. [091] In use, the processing system 520 is adapted to allow data or information to be stored in and/or retrieved from, via wired or wireless communication means, the at least one database 616. The interface 612 may allow wired and/or wireless communication between the processing unit 602 and peripheral components that may serve a specialised purpose. The processor 602 receives instructions as input data 618 via input device 606 and can display processed results or other output to a user by utilising output device 608. More than one input device 606 and/or output device 608 can be provided. It should be appreciated that the processing system 520 may be any form of terminal, server, specialised hardware, or the like.

[092] In some examples, system 500 is configured to implement method 100.

[093] System 500 may further include an apparatus for interacting with, or operating on, the target. Referring to Figure 7, there is illustrated a system 700 for tracking and interacting with a target located within a body. System 700 includes a scanning device 710, a processing system 720, and an apparatus 730. Scanning device 710 acquires a two- dimensional scanned image of the body including the target. Processing system 720 receives the two-dimensional scanned image and executes, or implements, method 100, outputting a third present dataset that includes at least a three-dimensional present position value of the target. Apparatus 730 interacts with, or operates on the target and is adjusted, or its operation is adjusted, in response to, or based on, the third present dataset. In some examples, system 700 may further include one or more controllers for adjusting the operation of apparatus 730.

[094] In some examples, where the target is a tumour or lung tumour, system 700 is a radiotherapy system. In some examples, apparatus 730 is a treatment apparatus. In some examples, apparatus 730 is a therapeutic radiation source. In some examples, the direction of radiation output is adjusted in response to, or based on, the third present dataset. In some examples, apparatus 730 is a patient table. In some examples, the position and/or orientation of the table is adjusted in response to, or based on, the third present dataset. In other examples, apparatus 730 is any type of device that is part of a radiotherapy system and whose operation would need to be adjusted in response to tumour motion. [095] With reference to Figure 8, there is illustrated an example radiotherapy system 800 for tracking and treating a tumour located within a body (e.g. patient 801). Radiotherapy system 800 includes a scanning device 810, a processing system 820, a therapeutic radiation source 831, and a patient table or couch 833. Any one or more of scanning device 810, processing system 820, radiation source 831, and patient table 833 may be integrated, or in-built, into a radiotherapy system (i.e. a radiotherapy machine), or they may be provided as separate elements in radiotherapy system 800. [096] During treatment, scanning device 810 continuously, or repeatedly, acquires two- dimensional kV X-ray scanned images of the patient and sends each scanned image (or a processed version of said scanned image) to processing system 820. Processing system 820 executes method 100 for each scanned image received, and estimates a third present dataset, which includes a three-dimensional position of the tumour.

[097] In some examples, processing system 820 is configured to adjust radiation source 831 and/or patient table 833 in response to the tumour's motion indicated by the third present dataset. In other examples, the estimated third present dataset is sent, transmitted, or transferred to another processing system (not shown) or to a human operator who may then determine how to adjust radiation source 831 and/or patient table 833.

[098] In some examples, adjustment of radiation source 831 may include adjustment of the direction of radiation output to redirect a treatment beam to follow the tumour motion. In some examples, adjustment of radiation source 831 may further include pausing, stopping, or reducing radiation output if the tracked three-dimensional position of the tumour exceeds a certain prescribed range, and resuming the treatment beam when the three-dimensional position of the tumour returns within the prescribed range. In some examples, adjusting patient table 833 includes adjusting a position and/or orientation of patient table 833 to maintain the tumour position in a path of therapeutic radiation from radiation source 831.

[099] Adjustment of radiation source 831 and/or patient table 833 may be done by controllers (not shown). In some examples the controllers are electrical controllers. In some examples, the controllers are mechanical controllers. The controllers may be electrically or mechanically controlled by processing system 820, or by any other processing system, or by a human operator in response to the third present dataset estimated through method 100 or by system 800. [0100] Adjustment of a treatment apparatus (e.g. a therapeutic radiation source and/or a patient table) in response to tumour motion tracked by method 100 or by system 700 is advantageous since it enables continuous, uninterrupted treatment. In some cases, adjustment of treatment apparatus further enables tailoring of treatment to suit the conditions of a moving tumour, and it may further minimise radiation damage to tissue surrounding the tumour. These advantages provide an improved treatment method and/or system due to reduce treatment time and recovery time.

Further examples

[0101] The following examples provide more detailed discussion of particular embodiments. The examples are intended to be merely illustrative and not limiting to the scope of the present invention.

Example 1 : Patient data

[0102] The proposed method was retrospectively validated on a total of 13 clinical cases from two different sets of patient data:

[0103] (i) The CBCT cases (11 cases): CBCT projections from an NCI-sponsored trial with locally advanced lung cancer patients. This dataset was included and described in a previous publication (Shieh C C, Keall P J, Kuncic Z, Huang C

Y and Feain I 2015 Markerless tumor tracking using short kilovoltage imaging arcs for lung image-guided radiotherapy Phys. Med. Biol. 60(24), 9437). More details on the datasets can be found in Roman et al (Roman N O, Shepherd W, Mukhopadhyay N, Hugo G D andWeiss E 2012 Interfractional positional variability of fiducial markers and primary tumors in locally advanced non- small-cell lung cancer during audiovisual biofeedback radiotherapy Int. J. Radiat. Oncol. 83(5), 1566-1572).

[0104] (ii) The SABR cases (2 cases): kV images during MV beam-on from a lung SABR trial (NCT02514512).

[0105] The CBCT cases included 11 CBCT scan pairs from four locally advanced lung cancer patients with central tumours, which often suffer from inferior adjacent contrast on kV images due to being attached to the mediastinum and are challenging to track. The sizes of the tumours ranged from 30.2 cm 3 to 88.9 cm 3. Each patient was implanted with 2-4 fiducial markers around the tumour, the trajectories of which were used as ground truths to quantify the errors of markerless tumour tracking implemented through method 100.

[0106] Each CBCT scan pair contained two CBCT scans that were acquired within the same day. The first scan in the pair was used as the pre-treatment CBCT to build the tumour and body anatomy models, while markerless tumour tracking was performed on the second scan. The tumour positions between some of the scan pairs were misaligned as the time gap between the two scans ranged from a half to a couple of hours.

[0107] To simulate pre-treatment patient alignment, the pre-treatment CBCT as well as the tumour and body anatomy models were rigidly shifted to align with the mean tumour position within the first 10 seconds of the second scan. Markers were removed from the projection images to avoid biasing the markerless tracking results. Each CBCT scan contained either 1200 or 2400 half-fan projections acquired with a frame rate of about 5 Hz from the Varian on-board kV imaging device (Varian Medical Systems, Palo Alto, CA). The size of each projection was 1024 pixels by 768 pixels, with a pixel spacing of 0.388 mm. The pre-treatment 4D-CBCT (10 bins) was reconstructed using the anatomical - adaptive image regularisation (AAIR) technique (Shieh C C, Kipritidis J, O'Brien R T, Cooper B J, Kuncic Z and Keall P J 2015 Improving thoracic four-dimensional cone-beam CT reconstruction with anatomical-adaptive image regularization (AAIR) Phys. Med. Biol. 60(2), 841) combined with the prior-image-constrained-compressed-sensing (PICCS) algorithm (Chen G H, Tang J and Leng S 2008 Prior image constrained compressed sensing (PICCS): A method to accurately reconstruct dynamic CT images from highly undersampled projection data sets Med. Phys. 35(2), 660-663). Audiovisual biofeedback breathing guidance was performed during both CT and CBCT acquisitions.

[0108] Two patients (one fraction each) from a lung SABR trial (NCT02514512) designed to investigate the benefits of real-time adaptive treatment and kV imaging were included. The SABR cases represent realistic clinical scenarios for validating markerless tumour tracking for two main reasons. Firstly, the in-treatment kV images for tracking were acquired with the presence of MV scatter noise. Secondly, the pre-treatment CBCT scan was acquired with a standard protocol of one-minute scan time and around 680 half-fan projections. The first patient had a 7.4 cm tumour attached to the chest wall, while the second patient had a 13 cm tumour near the diaphragm. Each patient was implanted with three electromagnetic transponder beacons, the motions of which were sent to the multileaf-collimator to enable real-time treatment beam adaptation. The trajectories of the beacons were used as the ground truths to quantify the errors of markerless tumour tracking. The patients were treated on a Varian Triology (Varian Medial Systems, Palo Alto, CA). A one-minute pre-treatment CBCT scan was acquired for each fraction, and was reconstructed into a 10-bin 4D-CBCT using the PICCS algorithm (see, for example, Chen G H, Tang J and Leng S 2008 Prior image constrained compressed sensing (PICCS): A method to accurately reconstruct dynamic CT images from highly undersampled projection data sets Med. Phys. 35(2), 660-663) for building the tumour and anatomic models. Prior to treatment the patient was shifted such that the tumour was around the isocenter. The same shift was applied to the tumour and anatomic models. kV images were continuously acquired during treatment with a frame rate of about 5 Hz and pixel spacing of 0.388 mm. The field of view of the kV images was cropped to approximately 20 cm by 20 cm to reduce imaging dose. Beacons were removed from the kV images to avoid biasing the markerless tracking results. Audiovisual biofeedback breathing guidance was performed during CT, CBCT, and treatment.

Example 1 : Electrochemical measurements

[0109] The ground truth for evaluating tracking error was built from the trajectory of the fiducial marker (CBCT cases) or the electromagnetic beacon (SABR cases) that was closest to the tumour centroid. The trajectories of the fiducial markers were obtained using a robust template-based segmentation method (Poulsen P R, Fledelius W, Keall P J, Weiss E, Lu J, Brackbill E and Hugo G D 2011 A method for robust segmentation of arbitrarily shaped radiopaque structures in cone -beam CT projections Med. Phys. 38(4), 2151-2156) and a probability-density-function based on 2D-to-3D conversion (Poulsen P R, Cho B and Keall P J 2008 A method to estimate mean position, motion magnitude, motion correlation, and trajectory of a tumor from cone-beam CT projections for image-guided radiotherapy Int. J. Radiat. Oncol. 72(5), 1587-1596). The trajectories of the electromagnetic beacons were recorded by the Calypso Tracking System (Varian Medical Systems, Palo Alto, CA). [0110] To relate marker/beacon positions to tumour position, a reference-to-tumour vector is calculated for each respiratory phase bin of the pre-treatment 4D-CBCT as the displacement from the mean marker/beacon centroid to the tumour centroid. The ground truth position at imaging frame k, g k , is then the trajectory of the marker/beacon centroid plus the reference-to-tumour vector of the corresponding phase bin at frame k.

[0111] The tracking error at frame k, e k , was defined by:

Tracking

where x k \ k is the 3D tumour position as estimated by the proposed markerless tumour tracking method 100. For each tracking fraction, the means and standard deviations of the left-right (LR), superior- inferior (SI), and anterior-posterior (AP) components of e k s

Tracking

were calculated. The mean and standard deviation of the 3D error, 'k was also calculated.

[0112] To compare markerless tumour tracking with the current standard of care, i.e. a single estimation of tumour position based on the pre-treatment 3D CBCT, the standard-of- care error was defined by:

-Standard _ v „ so\ ek — -^DCBCT 3k > W where 3DCBCT is the tumour position estimated from the pre-treatment 3D CBCT. Similarly to e ^ rackin S 5 me me an and standard deviation of e tandard 's in each direction as well as its 3D norm were calculated for every fraction.

Example 1 : Results

[0113] For imaging frames where the tumour can be visually identified, visual inspection suggested that the proposed markerless tumour tracking method was able to continuously track the tumours at every imaging angle for all 13 cases investigated. The mean and standard deviation of the 3D tracking error ranged from 1.55-2.88 mm and 0.63-1.46 mm, respectively. The 95th percentile of the 3D tracking error ranged from 2.62-5.77 mm. The 5th-to-95th percentile motion range observed from the ground truths was 1.38-5.51 mm for LR, 4.40-15.26 mm for SI, and 1.99-7.91 mm for AP. [0114] Figure 9 illustrates the markerless tumour tracking trajectories of cases with the lowest 3D tracking error, where the mean values of the LR, SI, and AP trajectories were shifted for display to 10 mm, 0 mm, and -10 mm. Figure 10 illustrates the markerless tumour tracking trajectories of cases with the highest 3D tracking errors, where the mean values of the LR, SI, and AP trajectories were shifted for display to 20 mm, 0 mm, and -20 mm.

[0115] The lowest mean 3D tracking error was found for the first scan pair of patient 2 of the CBCT cases, with a mean 3D error of 1.55 + 0.63 mm (shown in Figure 9). Overall the tracking trajectory agreed closely with the ground truth, except for around t = 60 s, where LR errors of about 3 mm were observed. The highest mean 3D tracking error was found for patient 2 of the SABR cases, with a mean 3D error of 2.88 + 1.43 mm (shown in Figure 10). The larger tracking errors are likely attributed to the presence of MV scatter in the kV images and the lower quality of the tumour and anatomic models due to the limited amount of pre-treatment CBCT projections. The tumour motion range was also considerably larger for this case. Nevertheless, even in this challenging case the pattern of the motion was consistently tracked at every imaging angle.

[0116] Figure 11 illustrates a comparison of the mean tracking errors in LR, SI, and AP to the standard-of-care errors for all 13 cases investigated. The standard deviations of the errors were plotted as error bars. Cases marked with asterisks indicate that the proposed markerless tumour tracking method resulted in significantly smaller errors than the standard of care. [0117] The mean tracking errors were always closer to 0 mm than the mean standard-of- care errors in every direction, indicating the ability of the proposed method to track baseline shifts. The proposed markerless tumour tracking approach was found to perform the best in the SI direction. Tracking errors were significantly smaller than the standard-of- care errors for all cases in the SI direction (p-value less than 0.02 for patient 4 scan 1 of the CBCT cases and p-value less than 10 "4 for all other cases), while only for 10 and 6 cases in the LR and AP directions, respectively (p-value less than 10 "4 ). [0118] To investigate the benefits to patients of markerless tumour tracking over the standard of care, Figure 12 compares the margins required with or without tracking to cover 95% of tumour motion in the LR, SI, and AP directions. Markerless tumour tracking always resulted in smaller margins in the SI directions with one exception.

[0119] Considerable reduction in SI margin was found for cases with greater than 10 mm 5th-to-95th SI motion range. For patient 2 of the SABR cases, the reduction in SI margin was as large as 9.5 mm (from 13.9 mm to 4.4 mm). Margin reduction in the LR and AP directions was less pronounced. Generally with markerless tumour tracking, a margin of 3 mm, 6 mm, and 4.5 mm in the LR, SI, and AP directions were sufficient to encompass 95% of tumour motion for all 13 cases investigated.

[0120] Results on the SABR cases demonstrated the ability of the proposed approach to handle practical challenges such as MV scatter and low CBCT image quality, and thus its practical feasibility. The benefits to patients of markerless tumour tracking over the standard of care was highlighted for patients with greater than 10 mm 5th-to-95th SI motion ranges, with up to 9.5 mm reduction in SI margin. The clinical implementation of the proposed method enables more accurate and precise lung radiotherapy using existing hardware and workflow.

[0121] There are however a number of limitations in the example implementation of method 100. A first limitation is that, while fiducial marker or beacon motions were used as the ground truths, these can have differential motions with the tumour. Hardcastle et al (Hardcastle N, Booth J, Caillet V, O'Brien R, Haddad C, Crasta C, Szymura K and Keall P 2016 Electromagnetic beacon insertion in lung cancer patients and resultant surrogacy errors for dynamic MLC tumour tracking The 58th Annual Meeting of the American Association of Physicists in Medicine, Washington DC) has reported 0-3 mm deviations between beacon and tumour motion. Another limitation is the inferior quality of the tumour and anatomic models for the SABR cases due to the challenge in reconstructing 4D-CBCT images using a one-minute scan. In practice, other improved algorithms for iterative 4D-CBCT reconstruction (see, for example, Schmidt M L, Poulsen P R, Toftegaard J, Hoffmann L, Hansen D and Srensen T S 2014 Clinical use of iterative 4D- cone beam computed tomography reconstructions to investigate respiratory tumor motion in lung cancer patients Acta Oncol. 53(8), 1107-1113. PMID: 24957556. URL: http://dx.doi.org/10.3109/0284186X.2014.927585) will likely further improve the performance of the proposed method for cases with one-minute pre-treatment CBCT scans as the prior images.

[0122] Optional embodiments may also be said to broadly include the parts, elements, steps and/or features referred to or indicated herein, individually or in any combination of two or more of the parts, elements, steps and/or features, and wherein specific integers are mentioned which have known equivalents in the art to which the invention relates, such known equivalents are deemed to be incorporated herein as if individually set forth.

[0123] Although a preferred embodiment has been described in detail, it should be understood that many modifications, changes, substitutions or alterations will be apparent to those skilled in the art without departing from the scope of the present invention.

[0124] Throughout this specification and the claims which follow, unless the context requires otherwise, the word "comprise", and variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated integer or step or group of integers or steps but not the exclusion of any other integer or step or group of integers or steps.