An algorithm for stereotactic localization by computed tomography or magnetic resonance imaging

Similar documents
Digital phantoms for the evaluation of a software used for an automatic analysis of the Winston-Lutz test in image guided radiation therapy

Computational Algorithm for Estimating the Gradient Isocenter of an MRI Scanner

Determination of rotations in three dimensions using two-dimensional portal image registration

An Automated Image-based Method for Multi-Leaf Collimator Positioning Verification in Intensity Modulated Radiation Therapy

Spectral analysis of non-stationary CT noise

A software tool for the quantitative evaluation of 3D dose calculation algorithms

A simple method to test geometrical reliability of digital reconstructed radiograph (DRR)

Three-dimensional localisation based on projectional and tomographic image correlation: an application for digital tomosynthesis

Calibration of Video Cameras to the Coordinate System of a Radiation Therapy Treatment Machine

3.0 Trigonometry Review

C a t p h a n / T h e P h a n t o m L a b o r a t o r y

Reproducibility of interactive registration of 3D CT and MR pediatric treatment planning head images

A NEW APPROACH IN THE DETERMINATION OF PATIENT S REFERENCE POINT IN CONFORMAL EXTERNAL RADIOTHERAPY

Data. ModuLeaf Mini Multileaf Collimator Precision Beam Shaping for Advanced Radiotherapy

An Investigation of a Model of Percentage Depth Dose for Irregularly Shaped Fields

An approach for measuring the spatial orientations of a computed-tomography simulation system

State-of-the-Art IGRT

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6

Adaptive algebraic reconstruction technique

1. The Pythagorean Theorem

Image Thickness Correction for Navigation with 3D Intra-cardiac Ultrasound Catheter

PyCMSXiO: an external interface to script treatment plans for the Elekta CMS XiO treatment planning system

Example Items. Geometry

2.0 Trigonometry Review Date: Pythagorean Theorem: where c is always the.

Lucy Phantom MR Grid Evaluation

Feldkamp-type image reconstruction from equiangular data

Helical Tomotherapy Qualitative dose Delivery Verification

Advanced Image Reconstruction Methods for Photoacoustic Tomography

TomoTherapy Related Projects. An image guidance alternative on Tomo Low dose MVCT reconstruction Patient Quality Assurance using Sinogram

Accuracy study. Elekta Synergy S. High precision radiation therapy using Elekta Synergy S. UMC, Utrecht, Netherlands. Institution: Purpose:

Dose Calculation and Optimization Algorithms: A Clinical Perspective

Design and performance characteristics of a Cone Beam CT system for Leksell Gamma Knife Icon

The team. Disclosures. Ultrasound Guidance During Radiation Delivery: Confronting the Treatment Interference Challenge.

Lectures on Challenging Mathematics. Integrated Mathematics 3. Idea Math. Geometry (Part 2) Summer Internal Use

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6. ) is graphed below:

Image Registration. Prof. Dr. Lucas Ferrari de Oliveira UFPR Informatics Department

Basics of treatment planning II

Measurement of inter and intra fraction organ motion in radiotherapy using cone-beam CT projection images

Computed tomography (Item No.: P )

2D Rigid Registration of MR Scans using the 1d Binary Projections

Clinical implementation of photon beam flatness measurements to verify beam quality

Fiber Selection from Diffusion Tensor Data based on Boolean Operators

UNIVERSITY OF SOUTHAMPTON

Discrete Estimation of Data Completeness for 3D Scan Trajectories with Detector Offset

Iterative and analytical reconstruction algorithms for varying-focal-length cone-beam

7Coordinate. geometry UNCORRECTED PAGE PROOFS. 7.1 Kick off with CAS

Chapter 23. Geometrical Optics (lecture 1: mirrors) Dr. Armen Kocharian

Significance of time-dependent geometries for Monte Carlo simulations in radiation therapy. Harald Paganetti

Hidenobu Tachibana The Cancer Institute Hospital of JFCR, Radiology Dept. The Cancer Institute of JFCR, Physics Dept.

CARS 2008 Computer Assisted Radiology and Surgery

Position accuracy analysis of the stereotactic reference defined by the CBCT on Leksell Gamma Knife Icon

Engineered Diffusers Intensity vs Irradiance

Intraoperative Prostate Tracking with Slice-to-Volume Registration in MR

An experimental investigation on the effect of beam angle optimization on the reduction of beam numbers in IMRT of head and neck tumors

Chapter 34. Images. In this chapter we define and classify images, and then classify several basic ways in which they can be produced.

IAEA-TECDOC-1583 Commissioning of Radiotherapy Treatment Planning Systems: Testing for Typical External Beam Treatment Techniques

FOREWORD TO THE SPECIAL ISSUE ON MOTION DETECTION AND COMPENSATION

Monte Carlo methods in proton beam radiation therapy. Harald Paganetti

Photon beam dose distributions in 2D

Year 10 Term 3 Homework

Automated Quality Assurance for Image-Guided Radiation Therapy

FAST, precise. qa software

Review of Sine, Cosine, and Tangent for Right Triangle

HS Geometry Mathematics CC

PROPERTIES OF TRIANGLES AND QUADRILATERALS (plus polygons in general)

Imaging protocols for navigated procedures

Basic Radiation Oncology Physics

On the Characteristics of Helical 3-D X-ray Dark-field Imaging

A fluence convolution method to account for respiratory motion in three-dimensional dose calculations of the liver: A Monte Carlo study

12.4 Rotations. Learning Objectives. Review Queue. Defining Rotations Rotations

Motion artifact detection in four-dimensional computed tomography images

not to be republished NCERT CONSTRUCTIONS CHAPTER 10 (A) Main Concepts and Results (B) Multiple Choice Questions

Biomedical Paper Optimization of Multiple-Isocenter Treatment Planning for Linac-Based Stereotactic Radiosurgery

NIH Public Access Author Manuscript Med Phys. Author manuscript; available in PMC 2009 March 13.

Dynalog data tool for IMRT plan verification

Unit 6: Connecting Algebra and Geometry Through Coordinates

Computational Medical Imaging Analysis Chapter 4: Image Visualization

8/3/2016. Image Guidance Technologies. Introduction. Outline

Mech. Engineering, Comp. Science, and Rad. Oncology Departments. Schools of Engineering and Medicine, Bio-X Program, Stanford University

TEAMS National Competition High School Version Photometry Solution Manual 25 Questions

The MSKCC Approach to IMRT. Outline

COMPARISON OF DOSE CALCULATION ALGORITHMS FOR LEKSELL GAMMA KNIFE PERFEXION USING MONTE CARLO VOXEL PHANTOMS

2.3 Thin Lens. Equating the right-hand sides of these equations, we obtain the Newtonian imaging equation:

Constructing System Matrices for SPECT Simulations and Reconstructions

Parallel Monte Carlo Sampling Scheme for Sphere and Hemisphere

FAST REGISTRATION OF TERRESTRIAL LIDAR POINT CLOUD AND SEQUENCE IMAGES

Investigation of tilted dose kernels for portal dose prediction in a-si electronic portal imagers

Computed tomography of simple objects. Related topics. Principle. Equipment TEP Beam hardening, artefacts, and algorithms

Math for Geometric Optics

An approximate cone beam reconstruction algorithm for gantry-tilted CT

Abstract. 1. Introduction

Chapter 7 Coordinate Geometry

Intersection of planar figures. Intersection of a parallelogram and a triangle

Image Acquisition Systems

Proton dose calculation algorithms and configuration data

CSE328 Fundamentals of Computer Graphics

SIGMI Meeting ~Image Fusion~ Computer Graphics and Visualization Lab Image System Lab

Sphere Extraction in MR Images with Application to Whole-Body MRI

CSE528 Computer Graphics: Theory, Algorithms, and Applications

CSE 252B: Computer Vision II

Transcription:

INSTITUTE OF PHYSICS PUBLISHING PHYSICS IN MEDICINE AND BIOLOGY Phys. Med. Biol. 46 (2001) N1 N7 www.iop.org/journals/pb PII: S0031-9155(01)14678-6 NOTE An algorithm for stereotactic localization by computed tomography or magnetic resonance imaging Jianrong Dai 1, Yunping Zhu 1, Huamin Qu 2 and Yimin Hu 3 1 Department of Radiation Oncology, St Jude Children s Research Hospital, Memphis, TN 38105, USA 2 Center for Visual Computing and Department of Computer Science, State University of New York at Stony Brook, Stony Brook, NY 11794, USA 3 Department of Radiation Oncology, Cancer Hospital (Institute), Chinese Academy of Medical Sciences, Beijing 100021, People s Republic of China E-mail: jianrong.dai@stjude.org Received 13 June 2000 Abstract Stereotactic localization of an intracranial lesion by computed tomography or magnetic resonance imaging requires the use of a head frame that is fixed to the skull of the patient. To such head frames are attached either N- shaped or V-shaped localization rods. Because of patient positioning, the transverse imaging slices may not be parallel to the frame base; a coordinate transformation algorithm that takes this possibility into consideration is crucial. Here we propose such an algorithm for a head frame with V-shaped localization rods. Our algorithm determines the transformation matrix between the image coordinate system of a transverse image and the frame coordinate system. The determining procedure has three steps: (a) calculation of the oblique angles of a transverse image relative to the head frame and calculation of the image magnification factor; (b) determination of the coordinates of four central markers in both coordinate systems; and (c) determination of the 3 3 transformation matrix by using the coordinates of the four markers. This algorithm is robust in principle and is useful for improving the accuracy of localization. 1. Introduction The purpose of stereotactic radiosurgery or radiotherapy is to deliver a highly focused dose of radiation to a target volume while sparing surrounding normal tissues. Achieving this purpose requires accurate localization of the target volume and accurate alignment of the prescribed dose distribution to the localized target volume (Serago et al 1991, Hartmann et al 1994, Yeung et al 1994). For a patient with an intracranial lesion, these requirements are usually satisfied by using a head localization frame (Leksell 1983, Hartmann et al 1985, Lutz et al 1988). Working as a coordinate system, the localization frame is fixed to the skull of the patient during 0031-9155/01/010001+07$30.00 2001 IOP Publishing Ltd Printed in the UK N1

N2 J Dai et al computed tomography (CT) or magnetic resonance (MR) imaging or angiography. For CT or MR imaging, N-shaped (e.g. Radionics, Burlington, USA) or V-shaped (e.g. Fischer, Freiburg, Germany) localization rods are attached to the frame, whereas for angiography, small radioopaque balls are attached. These localization rods and radio-opaque balls create markers on the images. Once the positions of the markers on an image have been detected, a coordinate transformation matrix between the image coordinate system (ICS) and the frame coordinate system (FCS) can be determined. The use of this matrix allows determination of the coordinates of the target and of other critical organs in the FCS from their coordinates in the ICS. Without mechanical adjustment, the coordinate transformation includes three freedoms of rotation and three freedoms of translation. Through repeatedly adjusting the position of the localization frame, the three freedoms of rotation can be eliminated and the transformation is simplified to include only three freedoms of translation. However, the adjustment is labour intensive. A more desirable method is to develop robust algorithms that can deal with both rotations and translations. Three such algorithms have been proposed for a frame with N-shaped localization rods (Brown et al 1980, Saw et al 1987, Grunert and Maurer 1995), and one such algorithm has been proposed for target localization with biplanar angiographic imaging (Siddon and Barth 1987). Here we propose a corresponding robust algorithm for a frame with V-shaped localization rods. To our knowledge, this algorithm is the first to be developed for the V-shaped frame. 2. Methods 2.1. CT or MR imaging Our algorithm is based on the geometry of the head frame of Fischer. The head frame has four localization planes, each of which contains three localization rods that form a V shape (figure 1(a)). The half angle of V is arctan(0.5) (e.g. 26.565 ). The base of the frame is a square. The FCS is set up as follows: the origin is at the centre of the frame base; the X-axis points to the right side of the patient s head, the Y -axis points toward the front of the patient, and both axes are on the plane of the frame base; and the Z-axis points in the supracranial direction. In the following description, a point is represented by a capital letter in the FCS and a lower case letter in the ICS; a line section is represented by two capital letters in the FCS and two lower case letters in the ICS; and the half angle of V is represented by a symbol v (e.g. v = 26.565 ). The coordinates of points and the lengths of line sections are in millimetres in the FCS and in image pixels in the ICS. If transverse CT or MR images are parallel to the frame base, we observe the following four characteristics (figure 1(b)): (a) Symmetrical distribution of 12 markers. Lines drawn through three markers of each localization plane result in a square. (b) Equal distance between the ith and the jth markers when i is equal to 1, 2, 4, 5, 7, 8, 10 or 11, and j is equal to i +1. (c) Equal Z coordinates in the FCS. The Z coordinate of an arbitrary point is equal to the distances between the ith and the jth markers when i is equal to 1, 4, 7 or 10, and j is equal to i +2. (d) Translation, but no rotation, in the coordinate transformation between the ICS and the FCS. In this case, the procedure to determine the coordinate transformation between the ICS and the FCS is so simple that no references exist to support it. To be clear, here we use the

Algorithm for stereotactic localization by CT or MRI N3 (a) (b) Figure 1. The structure of a head frame with V-shaped localization rods (a) (viewed from in front of a patient) and the distribution of localization markers in a transverse image (b) when the image is scanned while parallel to the frame base. The square ABCD is the scanning position of this image and corresponds to the square abcd in the image. Symbols m 1,m 2,...,m 11 and m 12 are markers. following equation to represent this coordinate transformation: ( ) ( )/ X x x0 Y = y y 0 k (1) Z z where (x, y) are the coordinates of a point in the ICS and (X,Y,Z) are the corresponding coordinates of the point in the FCS; z is equal to m 1 m 3, m 4 m 6, m 7 m 9 or m 10 m 12 ; (x 0,y 0 ) are the coordinates of the centre of the square abcd in the ICS; and k is the image magnification factor, which is equal to the ratio of ab to AB, bc to BC, cd to CD and da to DA. However, when transverse images are scanned obliquely, we do not observe these characteristics. Lines drawn through three markers of each localization plane result in a parallelogram (figure 2). The coordinate transformation between the ICS and the FCS includes not only translations but also rotations. In this case, the procedure for determining the coordinate transformation matrix can be divided into three steps. 2.1.1. Step 1: Calculate the oblique angles and the magnification factor. The obliqueness of one transverse image relative to the frame base can be quantified by two angles. One angle, designated α, is between line BA (or CD) and the frame base. The other angle, designated β, is between line CB (or DA) and the frame base. Figure 3 shows the right localization plane of the head frame. On the basis of the design of the head frame M 1 EM 2 = M 2 EM 3 = v M 2 M 1 E = π/2 v + β M 2 M 3 E = π/2 v β. (2a) (2b) (2c)

N4 J Dai et al (a) (b) Figure 2. The structure of a head frame with V-shaped localization rods (a) and the distribution of localization markers in a transverse image (b) when this image is scanned obliquely. The parallelogram ABCD is the scanning position of this image and corresponds to the parallelogram abcd in the image. Symbols m 1,m 2,...,m 11 and m 12 are markers. Figure 3. The right localization plane of the head frame. Symbols M 1, M 2 and M 3 are the intersection points of the scanned transverse plane and the right localization plane and correspond to markers m 1, m 2 and m 3 (shown in figure 2) respectively. By using the law of sines, we determine that M 2 E sin(π/2 v + β) = M 1M 2 (3a) sin(v) M 2 E sin(π/2 v β) = M 2M 3 sin(v). (3b) By dividing equation (3a) by equation (3b) we obtain the equation for the angle β, i.e. ( ) 2(1 β = tan 1 M1 M 2 /M 2 M 3 ). (4) 1+M 1 M 2 /M 2 M 3

Algorithm for stereotactic localization by CT or MRI N5 Because M 1 M 2 /M 2 M 3 = m 1 m 2 /m 2 m 3, equation (4) is transformed into β = tan 1 ( 2(1 m1 m 2 /m 2 m 3 ) 1+m 1 m 2 /m 2 m 3 ). (5a) Similarly, by using all the markers in the other three localization planes, we obtain another equation for the angle β and two equations for the angle α, i.e. ( ) 2(1 β = tan 1 m8 m 9 /m 7 m 8 ) (5b) 1+m 8 m 9 /m 7 m 8 ( ) 2(1 α = tan 1 m5 m 6 /m 4 m 5 ) (5c) 1+m 5 m 6 /m 4 m 5 α = tan 1 ( 2(1 m10 m 11 /m 11 m 12 ) 1+m 10 m 11 /m 11 m 12 ). (5d) Just as β may be determined by equation (5a) or (5b), α may be determined by equation (5c) or (5d), we may use both equations and average the results. In case we encounter difficulty in identifying the image points, we can use one of the two equations. The physical lengths of all four sides of the parallelogram ABCD are represented by AB = CD = S/cos α, BC = DA = S/cos β (6) where S is the distance between each of two opposite localization planes. Because the image magnification factor is defined as k = ab/ab = bc/bc = cd/cd = da/da (7) we substitute equation (6) into equation (7) and obtain the equation for calculating the image magnification factor: k = ab cos α/s = bc cos β/s = cd cos α/s = da cos β/s. (8) Again, we can use any or all of the equations (by averaging the results) to calculate the magnification factor. 2.1.2. Step 2: Determine the coordinates of four markers. We should use the coordinates of the second, fifth, eighth and eleventh markers to determine the coordinate transformation matrix between the ICS and the FCS as there are no simple ways to use other markers for such a purpose. The coordinates of these four markers in the ICS can be detected manually or automatically. On the basis of the design of the head frame, the X, Y coordinates of the four markers in the FCS are given as X 2 = S/2 Y 2 = 0 X 5 = 0 Y 5 = S/2 X 8 = S/2 Y 8 = 0 X 11 = 0 Y 11 = S/2. (9) The Z coordinates of the four markers in the FCS are equal to the lengths of lines M 2 E, M 5 F, M 8 G and M 11 H respectively. By using equations (3a) and (3b) we obtain M 2 E = M 1 M 2 sin(π/2 v + β)/sin(v) = M 2 M 3 sin(π/2 v β)/sin(v). (10) Substituting Z 2 for M 2 E, m 1 m 2 /k for M 1 M 2 and m 2 m 3 /k for M 2 M 3, we obtain Z 2 = 2.236m 1 m 2 sin(π/2 v + β)/k = 2.236m 2 m 3 sin(π/2 v β)/k. (11a)

N6 J Dai et al Similarly, the Z coordinates of the fifth, eighth and eleventh markers in the FCS can be represented by Z 5 = 2.236m 4 m 5 sin(π/2 v α)/k = 2.236m 5 m 6 sin(π/2 v + α)/k (11b) Z 8 = 2.236m 7 m 8 sin(π/2 v β)/k = 2.236m 8 m 9 sin(π/2 v + β)/k (11c) Z 11 = 2.236m 10 m 11 sin(π/2 v + α)/k = 2.236m 11 m 12 sin(π/2 v α)/k. (11d) 2.1.3. Step 3: Determine the coordinate transformation. According to the principle of rigid body transformation, the coordinate transformation between the ICS and the FCS can be represented by X = a 1 x + b 1 y + c 1 Y = a 2 x + b 2 y + c 2 Z = a 3 x + b 3 y + c 3. (12) We can rewrite equation (12) in a matrix form, ( ) ( )( ) ( ) X a1 b 1 c 1 x x Y = a 2 b 2 c 2 y = MIF y (13) Z a 3 b 3 c 3 1 1 where a i, b i and c i are constants to be determined (i = 1, 2, and 3). The abbreviation MIF is the coordinate transformation matrix from the ICS to the FCS. Substituting the coordinates of the second, fifth, eighth, and eleventh markers into equation (12), we obtain three groups of linear equations. Because each group has four equations and three variables (a i, b i and c i ), the groups are over-determined. This problem can be solved by the linear least square method (Stanek 1996). The transformation matrix in equation (13) is valid only for the image slice under consideration and must be recalculated for all other image slices. 3. Discussion As shown in equations (5), (6) and (9), we can calculate the oblique angles and the image magnification factor for each slice. In clinical practice, all slices imaged are usually parallel to each other, in the same spatial resolution. Therefore, the oblique angles and the image magnification factor should be the same for all slices. Disagreement in the values of these three parameters from different slices suggests potential errors in detecting the positions of the markers on some slices. The possibility of error in detecting the positions of the markers is the same for all slices, and the distance between any two of the three markers of a localization plane increases when the slice to be scanned is farther away from the frame base. Therefore, the accuracy of calculating these three parameters also increases. This fact suggests that it is better to use the values of the three parameters that are determined for those slices farther away from the frame base than those that are determined for those slices near the frame base. As shown in equation (13), there are nine unknown variables, but these variables are not all independent. In fact, they can be represented as trigonometric functions of three translation variables and three rotation variables. Because there is no simple method for solving groups of trigonometric equations, we choose to solve groups of linear equations instead at a cost of three additional variables.

Algorithm for stereotactic localization by CT or MRI N7 4. Conclusion Our proposed algorithm can be used to determine the coordinate transformation for stereotactic localization in CT or MR transverse imaging. The algorithm takes into consideration the fact that the positioning of a patient may result in transverse images that are not parallel to the frame base. Thus there is no need to adjust the position of the localization frame manually before CT or MR imaging is performed. Therefore, this algorithm is robust in principle and is useful for improving the accuracy and efficiency of localization. Acknowledgments This investigation was supported in part by a cooperative grant from CREAT Electronic Technology Inc.; by a Whitaker Foundation Biomedical Engineering grant; by grant R29 CA65606 and Cancer Center Support (CORE) grant P30 CA 21765 from the National Cancer Institute; and by the American Lebanese Syrian Associated Charities (ALSAC). The authors thank Chen-Shou Chui, PhD, for a critical reading of the manuscript. References Brown R A, Roberts T S and Osborn A G 1980 Stereotaxic frame and computer software for CT-directed neurosurgical localization Invest. Radiol. 15 308 12 Grunert P and Maurer J 1995 Target point calculation in the computerized tomography. Comparison of different stereotactic methods Neurosurg. Rev. 18 15 24 Hartmann G H, Bauer-Kirpes B, Serago C F and Lorenz W J 1994 Precision and accuracy of stereotactic convergent beam irradiations from a linear accelerator Int. J. Radiat. Oncol. Biol. Phys. 28 481 92 Hartmann G H, Schlegel W, Sturm V, Kober B, Pastyr O and Lorenz W J 1985 Cerebral radiation surgery using moving field irradiation at a linear accelerator facility Int. J. Radiat. Oncol. Biol. Phys. 11 1185 92 Leksell L 1983 Stereotactic radiosurgery J. Neurol. Neurosurg. Psych. 46 797 803 Lutz W, Winston K R and Maleki N 1988 A system for stereotactic radiosurgery with a linear accelerator Int. J. Radiat. Oncol. Biol. Phys. 14 373 81 Saw C B, Ayyangar K and Suntharalingam N 1987 Coordinate transformations and calculation of the angular and depth parameters for a stereotactic system Med. Phys. 14 1042 4 Serago C F, Lewin A A, Houdek P V, Gonzalez-Arias S, Hartmann G H, Abitbol A A and Schwade J G 1991 Stereotactic target point verification of an X-ray and CT localizer Int. J. Radiat. Oncol. Biol. Phys. 20 517 23 Siddon R L and Barth N H 1987 Stereotactic localization of intracranial targets Int. J. Radiat. Oncol. Biol. Phys. 13 1241 6 Stanek G 1996 Scientific computing Standard Mathematical Tables and Formulae 30th edn, ed D Zwillinger, K H Rosen and S Z Krantz (Boca Raton, FL: CRC) pp 681 2 Yeung D, Palta J, Fontanesi J and Kun L 1994 Systematic analysis of errors in target localization and treatment delivery in stereotactic radiosurgery (SRS) Int. J. Radiat. Oncol. Biol. Phys. 28 493 8