Skip to main content
Cureus logoLink to Cureus
. 2015 Oct 2;7(10):e341. doi: 10.7759/cureus.341

The Mathematics of Three N-Localizers Used Together for Stereotactic Neurosurgery

Russell A Brown 1,
Editors: Alexander Muacevic, John R Adler
PMCID: PMC4636133  PMID: 26594605

Abstract

The N-localizer enjoys widespread use in image-guided stereotactic neurosurgery and radiosurgery. This article derives the mathematical equations that are used with three N-localizers and provides analogies, explanations, and appendices in order to promote a deeper understanding of the mathematical principles that govern the N-localizer.

Keywords: stereotactic neurosurgery, stereotactic radiosurgery, image guidance, image-guided, computed tomography, magnetic resonance imaging, positron emission tomography (pet), n-localizer, medical imaging, brain imaging

Introduction

The N-localizer is a device that may be attached to a stereotactic frame (Figure 1) in order to facilitate image-guided neurosurgery and radiosurgery using tomographic images that are obtained via computed tomography (CT), magnetic resonance (MR), or positron-emission tomography (PET) [1]. The mathematics of the N-localizer have been discussed previously [2].

Figure 1. Three N-Localizers Attached to a Stereotactic Frame.

Figure 1

Three N-localizers are attached to this stereotactic frame and are merged end-to-end such that only seven rods are present. The vertical rod at the right rear of the frame is larger in diameter than the other rods. This large rod facilitates unambiguous interpretation of the fiducial circles and ellipses that the seven rods create in a tomographic image, as explained in the legend to Figure 5.

Technical report

The N-localizer comprises a diagonal rod that extends from the top of one vertical rod to the bottom of another vertical rod (Figure 2). Assuming for the sake of simplicity that the two vertical rods are perpendicular to the tomographic section, the cross section of each vertical rod creates a fiducial circle and the cross section of the diagonal rod creates a fiducial ellipse in the tomographic image, as shown in Figure 2b. As the tomographic section moves from the top of the N-localizer towards the bottom of the N-localizer, i.e. towards its point of attachment to the stereotactic frame (Figure 1), the ellipse Inline graphic will move away from circle Inline graphic and toward circle Inline graphic. The relative spacing between these three fiducials permits precise localization of the tomographic section with respect to the N-localizer. The distance Inline graphic between the centers of circle Inline graphic and ellipse Inline graphic, and the distance Inline graphic between the centers of circles Inline graphic and Inline graphic are used to calculate the ratio Inline graphic. This ratio represents the fraction of diagonal rod Inline graphic that extends from the top of vertical rod Inline graphic to the point of intersection of rod Inline graphic with the tomographic section. These linear geometric relationships exist due to the properties of similar triangles and are valid even if the vertical rods are not perpendicular to the tomographic section [3].

Figure 2. Intersection of the Tomographic Section with the N-Localizer.

Figure 2

Inline graphic Side view of the N-localizer. The tomographic section intersects the rods Inline graphic, Inline graphic, and Inline graphic. Inline graphic Tomographic image. The intersection of the tomographic section with the rods Inline graphic, Inline graphic, and Inline graphic creates fiducial circles Inline graphic and Inline graphic and fiducial ellipse Inline graphic in the tomographic image. The distance Inline graphic between the centers of circle Inline graphic and ellipse Inline graphic and the distance Inline graphic between the centers of circles Inline graphic and Inline graphic are used to calculate the ratio Inline graphic. This ratio represents the fraction of diagonal rod Inline graphic that extends from the top of rod Inline graphic to the point of intersection of rod Inline graphic with the tomographic section.

It is convenient to ignore the thickness of the tomographic section and to approximate the tomographic section as an infinitely thin plane. This "central" plane lies midway between the top and bottom halves of the tomographic section, analogous to the way that a slice of cheese is sandwiched between two slices of bread. The central plane approximation is susceptible to error because of the partial volume effect that derives from the several-millimeter thickness of the tomographic section [4-5]. The partial volume effect prevails because any structure that passes partially into the tomographic section, but does not span the full thickness of that section, may be visible in the tomographic image. Hence, the position of that structure is determined to only a several-millimeter error that is a well-known limitation of tomographic imaging. In the following discussion, the term "tomographic section" will be used as an abbreviation for the term "central plane of the tomographic section."

The fraction Inline graphic is used to calculate the Inline graphic coordinates of the point of intersection Inline graphic between the long axis of rod Inline graphic and the tomographic section (Figure 3). In this figure, points Inline graphic and Inline graphic represent the beginning and end, respectively, of the vector that extends from the top of rod Inline graphic to the bottom of rod Inline graphic. This vector coincides with the long axis of rod Inline graphic. The Inline graphic coordinates of the beginning point Inline graphic and the Inline graphic coordinates of the end point Inline graphic are known from the physical dimensions of the N-localizer. Hence, linear interpolation may be used to blend points Inline graphic and Inline graphic to obtain the Inline graphic coordinates of the point of intersection Inline graphic between the long axis of rod Inline graphic and the tomographic section

graphic file with name M53.gif

The vector form of Equation 1 shows explicitly the Inline graphic coordinates of points Inline graphic, Inline graphic, and Inline graphic

graphic file with name M58.gif

Figure 3. Calculation of the Point of Intersection Between the Rod B and the Tomographic Section.

Figure 3

The long axis of rod Inline graphic is represented by a vector that extends from point Inline graphic at the top of rod Inline graphic to point Inline graphic at the bottom of rod Inline graphic. The Inline graphic coordinates of point Inline graphic and the Inline graphic coordinates of point Inline graphic are known from the physical dimensions of the N-localizer. Hence, the ratio Inline graphic may be used to blend the Inline graphic and Inline graphic coordinates of points Inline graphic and Inline graphic via linear interpolation as indicated by Equations 1 and 2. This interpolation calculates the Inline graphic coordinates of the point of intersection Inline graphic between the long axis of rod Inline graphic and the tomographic section.

Equation 1 or 2 may be used to calculate the Inline graphic coordinates of the point of intersection Inline graphic between the long axis of rod Inline graphic and the tomographic section. The point Inline graphic, which lies on the long axis of rod Inline graphic in the three-dimensional coordinate system of the N-localizer, corresponds to the analogous point Inline graphic, which lies at the center of ellipse Inline graphic in the two-dimensional coordinate system of the tomographic image (Figure 2b). Hence, there is a one-to-one linear mapping between a point from the N-localizer and a point from the tomographic image.

The attachment of three N-localizers to a stereotactic frame permits calculation of the Inline graphic, Inline graphic, and Inline graphic coordinates for the three respective points, Inline graphic, Inline graphic, and Inline graphic, in the three-dimensional coordinate system of the stereotactic frame (Figure 4). These three points correspond respectively to the three analogous points, Inline graphic, Inline graphic, and Inline graphic, in the two-dimensional coordinate system of the tomographic image. In the following discussion, the symbols, Inline graphic, Inline graphic, and Inline graphic, will be used as a shorthand notation for Inline graphic, Inline graphic, and Inline graphic. The symbols, Inline graphic, Inline graphic, and Inline graphic, will be used as a shorthand notation for Inline graphic, Inline graphic, and Inline graphic.

Figure 4. Representation of the Tomographic Section in the Three-Dimensional Coordinate System of the Stereotactic Frame.

Figure 4

The quadrilateral represents the tomographic section. The large oval depicts the circular base of the stereotactic frame (in perspective). The vertical and diagonal lines that are attached to the large oval represent the nine rods. The centers of the six fiducial circles and the three fiducial ellipses that are created in the tomographic image by these nine rods are shown as points that lie in the tomographic section. The tomographic section intersects the long axes of the three diagonal rods at the points Inline graphic, Inline graphic, and Inline graphic that coincide with the respective centers Inline graphic, Inline graphic, and Inline graphic of the three ellipses (Figure 6). The Inline graphic, Inline graphic, and Inline graphic coordinates of the respective points of intersection Inline graphic, Inline graphic, and Inline graphic are calculated in the three-dimensional coordinate system of the stereotactic frame using Equations 1 and 2. Because these three points determine the spatial orientation of a plane in three-dimensional space, the spatial orientation of the tomographic section is determined with respect to the stereotactic frame. The target point Inline graphic lies in the tomographic section. The Inline graphic coordinates of this target point are calculated in the three-dimensional coordinate system of the stereotactic frame using Equation 6.

The three points, Inline graphic, Inline graphic, and Inline graphic, lie on the three respective diagonal rods, Inline graphic, Inline graphic, and Inline graphic, and have respective Inline graphic coordinates, Inline graphic, Inline graphic, and Inline graphic, in the three-dimensional coordinate system of the stereotactic frame (Figure 4). The analogous three points, Inline graphic, Inline graphic, and Inline graphic, lie at the centers of the three respective ellipses, Inline graphic, Inline graphic, and Inline graphic, and have Inline graphic coordinates, Inline graphic, Inline graphic, and Inline graphic, in the two-dimensional coordinate system of the tomographic image (Figures 5-6).

Figure 5. CT Image with Three Sets of Fiducials.

Figure 5

CT image of a patient to whom a BRW CT localizer frame (Integra Radionics Inc., Burlington, MA), which comprises three N-localizers, is attached. The cross sections of the three N-localizers create three sets of fiducials Inline graphic, Inline graphic, and Inline graphic in the CT image. The cursor indicates the target point Inline graphic. The large vertical rod Inline graphic allows it to be unambiguously distinguished from the other vertical rods and provides a visual cue that this figure is rotated approximately 90 degrees clockwise relative to Figure 6 [6].

Figure 6. Representation of the Two-Dimensional Coordinate System of the Tomographic Image.

Figure 6

The cross sections of the three N-localizers create three sets of fiducials Inline graphic, Inline graphic, and Inline graphic in the tomographic image. Each set contains two circles and one ellipse that are collinear. For each set, the short double-ended arrows indicate the distance Inline graphic between the centers of circle Inline graphic and ellipse Inline graphic and the long double-ended arrows indicate the distance Inline graphic between the centers of circles Inline graphic and Inline graphic. The centers Inline graphic, Inline graphic, and Inline graphic of the three ellipses coincide with the respective points of intersection Inline graphic, Inline graphic, and Inline graphic of the long axes of the three diagonal rods with the tomographic section (Figure 4). The Inline graphic, Inline graphic, and Inline graphic coordinates of the centers Inline graphic, Inline graphic, and Inline graphic correspond respectively to the Inline graphic, Inline graphic, and Inline graphic coordinates of the points of intersection Inline graphic, Inline graphic, and Inline graphic. The target point Inline graphic has Inline graphic coordinates in the two-dimensional coordinate system of the tomographic image. The Inline graphic coordinates of the analogous target point Inline graphic are calculated in the three-dimensional coordinate system of the stereotactic frame using Equation 6.

In order to facilitate calculation of the Inline graphic coordinates of the target point Inline graphic, it is convenient to project the Inline graphic, Inline graphic, and Inline graphic coordinates of the three centers, Inline graphic, Inline graphic, and Inline graphic, of the ellipses onto the Inline graphic plane in three-dimensional space by appending a third coordinate Inline graphic to create Inline graphic, Inline graphic, and Inline graphic coordinates. The Inline graphic-coordinate may be set arbitrarily to any non-zero value, e.g., 1, so long as same value of Inline graphic is used for each of the three Inline graphic-coordinates. The equations that are presented in the remainder of this article assume that a value of Inline graphic has been used to project the Inline graphic, Inline graphic, and Inline graphic coordinates. If a value of Inline graphic were used instead of Inline graphic to project these coordinates, the equations that are presented in the remainder of this article would no longer apply and would require revision so that the calculations that these equations describe may produce correct results.

Because three points determine the orientation of a plane in three-dimensional space, the three coordinates, Inline graphic, Inline graphic, and Inline graphic, together with the three coordinates, Inline graphic, Inline graphic, and Inline graphic, determine the spatial orientation of the tomographic section with respect to the stereotactic frame. This spatial orientation or linear mapping is specified by the matrix elements Inline graphic through Inline graphic in the matrix equation

graphic file with name M204.gif

Equation 3 represents concisely a system of nine simultaneous linear equations that determine the spatial orientation of the tomographic section with respect to the stereotactic frame. This equation transforms the Inline graphicInline graphic, and Inline graphic coordinates from the two-dimensional coordinate system of the tomographic image to create Inline graphicInline graphic, and Inline graphic coordinates in the three-dimensional coordinate system of the stereotactic frame.

Equation 3 assumes a linear mapping from the two-dimensional coordinate system of the tomographic image to the three-dimensional coordinate system of the stereotactic frame. Magnetic resonance (MR) images are susceptible to nonlinear distortion that invalidates this linear mapping and nullifies the applicability of Equation 3. For this reason, the Brown-Roberts-Wells (BRW) stereotactic frame [7] that was used initially with computed tomography (CT) required modification to eliminate nonlinear distortion of MR images. The CT-compatible BRW frame comprised an aluminum ring in which the magnetic field that the MR scanner generated to acquire MR images induced eddy currents. Those eddy currents distorted the MR images. Replacing one section of the aluminum ring with a nonmetallic insert prevented magnetically induced circumferential eddy currents and eliminated nonlinear distortion of the MR images [8].

An analogy provides insight into how the transformation of Equation 3 operates. Consider the tomographic image to be an elastic membrane. The transformation describes the process of stretching the membrane in the plane of the tomographic image, rotating the membrane about an axis that is normal to the plane of the tomographic image, tilting the membrane, if necessary, so that it is not parallel to the base of the stereotactic frame, and lifting the membrane into place upon the scaffold of the three N-localizers, such that the three points, Inline graphic, Inline graphic, and Inline graphic, from the tomographic image precisely coincide with the respective three points, Inline graphic, Inline graphic, and Inline graphic, from the stereotactic frame. Then, any other point that lies on the membrane, e.g., the target point Inline graphic, is transformed by the same stretching, rotating, tilting, and lifting processes that transformed the three points, Inline graphic, Inline graphic, and Inline graphic. In this manner, the Inline graphic coordinates of the target point Inline graphic may be transformed from the two-dimensional coordinate system of the tomographic image into the three-dimensional coordinate system of the stereotactic frame to produce the Inline graphic coordinates of the analogous target point Inline graphic.

Equation 3 may be rewritten in more compact form as

graphic file with name M225.gif

In Equation 4, Inline graphic represents the matrix of Inline graphic, Inline graphic, and Inline graphic coordinates in the coordinate system of the stereotactic frame. Inline graphic represents the matrix of Inline graphic, Inline graphic, and Inline graphic coordinates in the coordinate system of the tomographic image. Inline graphic represents the matrix of elements, Inline graphic through Inline graphic, that defines the transformation from the two-dimensional coordinate system of the tomographic image to the three-dimensional coordinate system of the stereotactic frame.

The elements of Inline graphic and Inline graphic are known, but the elements of Inline graphic are unknown. It is possible to solve Equation 4 for the elements of Inline graphic

graphic file with name M241.gif

In this equation, Inline graphic represents the inverse of matrix Inline graphic. The inverse of Inline graphic is guaranteed to exist so long as the Inline graphic, Inline graphic, and Inline graphic coordinates of the centers of the three ellipses Inline graphic, Inline graphic, and Inline graphic are not collinear. This non-collinearity is enforced by careful design of the stereotactic frame, as will be explained below in the Discussion.

Once the elements of matrix Inline graphic have been calculated via Equation 5, it is possible to transform the Inline graphic coordinates of the target point Inline graphic from the two-dimensional coordinate system of the tomographic image to the three dimensional coordinate system of the stereotactic frame to obtain the Inline graphic coordinates of the analogous target point Inline graphic. In order to accomplish this transformation, the Inline graphic coordinates of Inline graphic are used to form the vector Inline graphic that is post-multiplied by matrix Inline graphic to obtain the vector Inline graphic that contains the Inline graphic coordinates of Inline graphic

graphic file with name M263.gif

Moreover, it is possible to calculate the inverse of matrix Inline graphic

graphic file with name M265.gif

The inverse matrix Inline graphic may be used perform a transformation analogous to the transformation of Equation 6 but in the reverse direction. This reverse transformation transforms the Inline graphic coordinates of a point Inline graphic from the three-dimensional coordinate system of the stereotactic frame to the two-dimensional coordinate system of the tomographic image to obtain the Inline graphic coordinates of the analogous point Inline graphic. In order to accomplish this reverse transformation, the Inline graphic coordinates of Inline graphic are used to form the vector Inline graphic that is post-multiplied by matrix Inline graphic to obtain the vector Inline graphic that contains the Inline graphic coordinates of Inline graphic

graphic file with name M278.gif

Equation 8 yields Inline graphic coordinates for Inline graphic instead of Inline graphic coordinates. The Inline graphic-coordinate Inline graphic equals 1 if and only if the point Inline graphic lies in the tomographic section that corresponds to the Inline graphic plane in three-dimensional space [2]. Similarly, Inline graphic appears in the two-dimensional tomographic image if and only if Inline graphic. In the case that Inline graphic does not lie in the tomographic section, Inline graphic so Inline graphic does not appear in the tomographic image.

One case where Inline graphic does not appear in the tomographic image occurs when the point Inline graphic and a second point Inline graphic define the intended trajectory of a surgical probe but neither Inline graphic nor Inline graphic lies in an intermediate tomographic section (Figure 7). In this case, Inline graphic and Inline graphic, so neither Inline graphic nor Inline graphic appears in the intermediate tomographic image.

Figure 7. Interpolation Within the Vector from Inline graphic to Inline graphic in Order to Obtain the Point Inline graphic that Appears in the Tomographic Image.

Figure 7

The points Inline graphic and Inline graphic are located on opposite sides of an intermediate tomographic image for which Inline graphic. The distances Inline graphic and Inline graphic are used to obtain the interpolant
graphic file with name M335.gif
This interpolant is used to calculate the Inline graphic coordinates of the point Inline graphic that appears in the tomographic image.

However, in this case, the neurosurgeon may wish to know where the intended probe trajectory would intersect the intermediate tomographic section. In order to provide this information, the points Inline graphic and Inline graphic are used to define the vector from Inline graphic to Inline graphic. This vector is then used to calculate the Inline graphic coordinates of a third point Inline graphic for which Inline graphic (Figure 7). Because Inline graphic, Inline graphic appears in the intermediate tomographic image; hence, a mark may be superimposed on that tomographic image at the Inline graphic coordinates Inline graphic to indicate where the intended probe trajectory would intersect the intermediate tomographic section [2]. It is possible to distinguish two configurations of Inline graphic and Inline graphic relative to an intermediate tomographic image: Inline graphic and Inline graphic. All other configurations can be made to conform to one of these two configurations via interchange of Inline graphic and Inline graphic and/or inverting the signs of both Inline graphic and Inline graphic. The configuration Inline graphic specifies that Inline graphic and Inline graphic are located on opposite sides of an intermediate tomographic image; thus, linear interpolation may be used to calculate Inline graphic (Figure 7). The configuration Inline graphic specifies that Inline graphic and Inline graphic are located on the same side of a non-intermediate tomographic image; thus, linear extrapolation may be used to calculate Inline graphic (Figure 8).

Figure 8. Extrapolation Beyond the Vector from Inline graphic to Inline graphic in Order to Obtain the Point Inline graphic that Appears in the Tomographic Image.

Figure 8

The points Inline graphic and Inline graphic are located on the same side of a non-intermediate tomographic image for which Inline graphic. The distances Inline graphic and Inline graphic are used to obtain the extrapolant
graphic file with name M346.gif
This extrapolant is used to calculate the Inline graphic coordinates of the point Inline graphic that appears in the tomographic image.

For either interpolation or extrapolation, the term

graphic file with name M349.gif

is used to calculate the Inline graphic coordinates of Inline graphic by blending the Inline graphic and Inline graphic coordinates of Inline graphic and Inline graphic

graphic file with name M356.gif

The vector form of Equation 10 shows explicitly the Inline graphicInline graphic, and Inline graphic coordinates of the respective points Inline graphic, Inline graphic and Inline graphic

graphic file with name M363.gif

It is necessary to calculate only the Inline graphic coordinates of Inline graphic using Equation 11 because Inline graphic due to the definition of Inline graphic in Equation 9. It is possible to prove that Inline graphic by substituting Equation 9 into Equation 11 then expanding the resulting expression in the Inline graphic-coordinate to obtain

graphic file with name M370.gif

Discussion

The above mathematical formulation imposes some constraints on the physical design of the stereotactic frame and on the mathematical model of that frame. Specifically, Equations 5 and 7 require that the mathematical model of the frame permit the inverse matrices, Inline graphic and Inline graphic, to exist.

The inverse matrix Inline graphic exists if and only if the points Inline graphic, Inline graphic, and Inline graphic are neither collinear nor lie on a plane that passes through the origin of the Inline graphic coordinate system. Similarly, the inverse Inline graphic exists if and only if the points Inline graphic, Inline graphic, and Inline graphic are neither collinear nor lie on a plane that passes through the origin of the Inline graphic coordinate system.

The collinearity requirement is satisfied for both Inline graphic and Inline graphic by judiciously choosing the positions of the three N-localizers relative to the stereotactic frame. Because for contemporary stereotactic frames the N-localizers are positioned either around the circumference of a circle or on the faces of a cube, neither the points Inline graphic, Inline graphic, and Inline graphic nor the points Inline graphic, Inline graphic, and Inline graphic can possibly be collinear.

The requirement that the points Inline graphic, Inline graphic, and Inline graphic do not lie on a plane that passes through the origin of the Inline graphic coordinate system is satisfied by choosing Inline graphic to project the Inline graphic, Inline graphic, and Inline graphic coordinates to create Inline graphic, Inline graphic, and Inline graphic coordinates.

The requirement that the points Inline graphic, Inline graphic, and Inline graphic do not lie on a plane that passes through the origin of the Inline graphic coordinate system may be satisfied by judiciously defining the Inline graphic coordinate system of the stereotactic frame, such that the Inline graphic-coordinate cannot equal zero anywhere along the diagonal rods. Figure 3 demonstrates that Equations 1 and 2 will never produce Inline graphic along the diagonal rods so long as the interval from Inline graphic to Inline graphic does not contain zero. One way to satisfy this requirement is to define the origin of the Inline graphic coordinate system of the stereotactic frame to lie below the base of the N-localizers, such that the Inline graphic-coordinate of the origin is always less than the Inline graphic-coordinate of point Inline graphic.

When all three of the above requirements are satisfied, the matrix Inline graphic will correctly transform the Inline graphicInline graphic, and Inline graphic coordinates of points Inline graphic, Inline graphic, and Inline graphic from the two-dimensional coordinate system of the tomographic image to create the Inline graphicInline graphic, and Inline graphic coordinates of points Inline graphic, Inline graphic, and Inline graphic in the three-dimensional coordinate system of the stereotactic frame as indicated by Equation 4. Also, the inverse matrix Inline graphic will correctly perform the inverse of that transformation.

Conclusions

The N-localizer is a simple yet powerful tool for image-guided stereotactic neurosurgery and radiosurgery. The N-localizer enables the transformation of Inline graphic coordinates from the two-dimensional coordinate system of the computed tomography (CT), magnetic resonance (MR) or positron-emission tomography (PET) image to the three-dimensional coordinate system of the stereotactic frame to obtain Inline graphic coordinates. The matrix that accomplishes this transformation may be inverted; the resulting inverse matrix enables the transformation of Inline graphic coordinates from the three-dimensional coordinate system of the stereotactic frame to the two-dimensional coordinate system of the computed tomography or magnetic resonance image to obtain Inline graphic coordinates.

Appendices

Appendix 1: Derivation of Equation 3

Equation 3 transforms Inline graphic coordinates from the two-dimensional coordinate of the tomographic image to the three-dimensional coordinate system of the stereotactic frame to produce Inline graphic coordinates. Prior to use in Equation 3, the Inline graphic coordinates are projected onto the Inline graphic plane in three-dimensional space by appending a third coordinate Inline graphic to create Inline graphic coordinates. Equation 3 is derived as follows.

Transformation of coordinates from one three-dimensional coordinate system to another three-dimensional coordinate system may be accomplished via matrix multiplication that operates in a four-dimensional space [9]. However, in order that this four-dimensional space may be used to transform the two-dimensional Inline graphic coordinates into three-dimensional Inline graphic coordinates, it is necessary first to create three-dimensional Inline graphic coordinates by projecting the Inline graphic coordinates onto the Inline graphic plane in three-dimensional space by appending a third coordinate Inline graphic. Then it is necessary to create four-dimensional Inline graphic coordinates by projecting the Inline graphic coordinates onto the Inline graphic hyperplane in four-dimensional space by appending a fourth, homogenous [10] coordinate Inline graphic. The Inline graphic coordinates may be transformed to obtain Inline graphic coordinates using a four by four transformation matrix that contains the matrix elements Inline graphic through Inline graphic

graphic file with name M453.gif

In Equation 13, the third row of the transformation matrix includes elements Inline graphic, Inline graphic, and Inline graphic and the fourth row includes elements Inline graphic, Inline graphic, and Inline graphic. This non-standard numbering convention for these matrix elements is convenient to the remainder of this derivation of Equation 3. Also, the matrix elements in the fourth column of this transformation matrix have the values of 0, 0, 0 and 1 because Equation 13 expresses an affine transformation that comprises only scale, rotate and translate operations [9]. These operations accomplish the stretching, rotating, tilting and lifting processes that were described for the membrane analogy in association with Equation 3.

Equation 13 may be rewritten in more compact form as

graphic file with name M460.gif

In Equation 14, Inline graphic represents the matrix of Inline graphic, Inline graphic, and Inline graphic coordinates. Inline graphic represents the matrix of Inline graphic, Inline graphic, and Inline graphic coordinates. Inline graphic represents the transformation matrix of elements Inline graphic through Inline graphic that defines the transformation from the two-dimensional coordinate system of the tomographic image to the three-dimensional coordinate system of the stereotactic frame.

A comparison of Equations 3 and 13 reveals that both equations produce identical results for the Inline graphic, Inline graphic, and Inline graphic coordinates. The third column of Inline graphic and the third row of Inline graphic do not affect the Inline graphic, Inline graphic, and Inline graphic coordinates. The fourth column of Inline graphic affects only the fourth column of Inline graphic but does not affect the Inline graphic, Inline graphic, and Inline graphic coordinates. Hence, these columns and this row may be removed from Inline graphicInline graphic, and Inline graphic without affecting the result of Equation 13. Their removal yields Equation 3, thus completing the derivation of Equation 3.

There is a significant difference between Equations 3 and 13. None of the matrices in Equation 13 have an inverse because neither Inline graphic nor Inline graphic is a square matrix. In contrast, the matrices Inline graphicInline graphic, and Inline graphic in Equation 3 potentially have inverses because these matrices are square matrices. Equations 5, 7, and 8 require that these matrices have inverses. Hence, in order to express the transformation from the two-dimensional coordinate system of the tomographic image to the three-dimensional coordinate system of the stereotactic frame and vice versa, Equation 3 must be used instead of Equation 13.

Appendix 2: Derivation of the Distance \begin{document}w-1\end{document}

Equation 9 calculates the interpolant or extrapolant Inline graphic in the Inline graphic coordinate system of the tomographic image. This interpolant or extrapolant is calculated in terms of the perpendicular distance Inline graphic from a point Inline graphic to the plane of the tomographic image. The distance Inline graphic is derived as follows.

In the three-dimensional Inline graphic coordinate system of the stereotactic frame, the equation for the central plane of the tomographic section is given by the following equation that involves a determinant [11-12]

graphic file with name M499.gif

Expanding this determinant using the cofactors [12] of the elements Inline graphic, Inline graphic, Inline graphic, and 1 in the first row of the determinant yields

graphic file with name M503.gif

Equation 16 may be rewritten in more compact form as

graphic file with name M504.gif

where Inline graphic, Inline graphic, Inline graphic, and Inline graphic represent the determinants in Equation 16. The determinants Inline graphic, Inline graphic, and Inline graphic may be expanded using the cofactors of the elements in their third columns as follows

graphic file with name M512.gif

The normalized perpendicular distance Inline graphic from a point Inline graphic, which has coordinates Inline graphic, to the central plane of the tomographic section may be calculated as [11]

graphic file with name M516.gif

This equation for the normalized perpendicular distance will be compared to the equation for the distance Inline graphic that is derived below.

In order to calculate the distance Inline graphic, the Inline graphic coordinates of the point Inline graphic that corresponds to the point Inline graphic are obtained by transforming the Inline graphic coordinates of the point Inline graphic via Equation 8 then by substituting the definitions of matrices Inline graphic, Inline graphic, and Inline graphic from Equation 3

graphic file with name M527.gif

Substituting the inverse of the matrix Inline graphic, which is defined as its adjoint [12] divided by its determinant, into Equation 20 yields

graphic file with name M529.gif

Transformation of the Inline graphic coordinates of the point Inline graphic to obtain only the Inline graphic-coordinate of the point Inline graphic requires only the vector from the third column of Inline graphic. Hence, keeping only the third column of the matrix that results from the post-multiplication of Inline graphic by Inline graphic produces the following expression for Inline graphic that contains a three-element column vector

graphic file with name M538.gif

Rewriting Equation 22 in more compact form using the definitions of Inline graphic, Inline graphic, Inline graphic, and Inline graphic from Equation 18 yields

graphic file with name M543.gif

Performing the vector multiplication of Equation 23 produces the Inline graphic-coordinate of the point Inline graphic

graphic file with name M546.gif

The perpendicular distance from the point Inline graphic to the plane of the tomographic image is given by Inline graphic

graphic file with name M549.gif

Comparison of Equation 25 to Equation 19 reveals that the numerators of these equations are identical but their denominators differ, as can be demonstrated by expanding the determinants Inline graphic, Inline graphic, Inline graphic, and Inline graphic then showing that Inline graphic. Thus, the distance that is calculated using Equation 25 differs by a factor of Inline graphic from the normalized distance that is calculated using Equation 19. However, this factor is not relevant to the interpolant or extrapolant Inline graphic that is calculated via Equation 9 because Equation 9 calculates a ratio of distances that eliminates this factor. Hence, Inline graphic may be used to construct the interpolant or extrapolant Inline graphic according to Equation 9.

Appendix 3: Transformation of the Target Point \begin{document}P_T\end{document} and the Analogous Target Point \begin{document}{P}'_T\end{document}

Equation 3 expresses the transformation of points Inline graphic, Inline graphic, and Inline graphic from the two-dimensional coordinate system of the tomographic section to obtain the analogous points Inline graphic, Inline graphic, and Inline graphic in the three-dimensional coordinate system of the stereotactic frame. However, the above discussion of the membrane analogy asserts that any point that lies in the plane of points Inline graphic, Inline graphic, and Inline graphic may be transformed from the two-dimensional coordinate system of the tomographic section to the three-dimensional coordinate system of the stereotactic frame via the same transformation that transforms points Inline graphic, Inline graphic, and Inline graphic. This assertion obtains due to the principles of linear algebra and is proved as follows.

Equation 3 transforms en masse the Inline graphicInline graphic, and Inline graphic coordinates of the three points Inline graphic, Inline graphic, and Inline graphic to create the Inline graphicInline graphic, and Inline graphic coordinates of the three points Inline graphic, Inline graphic, and Inline graphic. An alternative is to transform separately the Inline graphicInline graphic, and Inline graphic coordinates of the three points Inline graphic, Inline graphic, and Inline graphic to obtain the Inline graphicInline graphic, and Inline graphic coordinates of the three points Inline graphic, Inline graphic, and Inline graphic, respectively

graphic file with name M595.gif
graphic file with name M596.gif
graphic file with name M597.gif

Equation 26 produces the same result for the Inline graphicInline graphic, and Inline graphic coordinates of points Inline graphic, Inline graphic, and Inline graphic as does Equation 3.

It is possible to represent any point that lies in a plane defined by three other points as a linear combination of those three points using the barycentric coordinates Inline graphic, Inline graphic, and Inline graphic that satisfy the condition Inline graphic [13]. For example, with reference to Figure 9, the target point Inline graphic may be represented as a linear combination of the three points Inline graphic, Inline graphic, and Inline graphic

graphic file with name M612.gif

Figure 9. Representation of the Tomographic Section in the Three-Dimensional Coordinate System of the Stereotactic Frame.

Figure 9

The quadrilateral represents the tomographic section. The large oval depicts the circular base of the stereotactic frame (in perspective). The vertical and diagonal lines that are attached to the large oval represent the nine rods. The centers of the six fiducial circles and the three fiducial ellipses that are created in the tomographic image by these nine rods are shown as points that lie in the tomographic section. The tomographic section intersects the long axes of the three diagonal rods at points Inline graphic, Inline graphic, and Inline graphic that coincide with the respective centers Inline graphic, Inline graphic, and Inline graphic of the three ellipses (Figure 10). The target point Inline graphic lies in the plane of the triangle Inline graphic. Hence, its Inline graphic coordinates may be expressed as a linear combination of the Inline graphic, Inline graphic, and Inline graphic coordinates of the points Inline graphic, Inline graphic, and Inline graphic using barycentric coordinates as indicated by Equation 27.

Similarly, with reference to Figure 10, the analogous target point Inline graphic may be represented as a linear combination of the three points Inline graphic, Inline graphic, and Inline graphic.

graphic file with name M632.gif

Figure 10. Representation of the Two-Dimensional Coordinate System of the Tomographic Image.

Figure 10

The cross sections of the three N-localizers create three sets of fiducials Inline graphic, Inline graphic, and Inline graphic in the tomographic image. Each set contains two circles and one ellipse that are collinear. The centers Inline graphic, Inline graphic, and Inline graphic of the three ellipses coincide with the respective points of intersection Inline graphic, Inline graphic, and Inline graphic of the long axes of the three diagonal rods with the tomographic section (Figure 9). The Inline graphic, Inline graphic, and Inline graphic coordinates of the centers Inline graphic, Inline graphic, and Inline graphic correspond respectively to the Inline graphic, Inline graphic, and Inline graphic coordinates of the points of intersection Inline graphic, Inline graphic, and Inline graphic. The target point Inline graphic lies in the plane of the triangle Inline graphic. Hence, its Inline graphic coordinates may be expressed as a linear combination of the Inline graphic, Inline graphic, and Inline graphic coordinates of the points Inline graphic, Inline graphic, and Inline graphic using barycentric coordinates as indicated by Equation 28.

Because the matrix Inline graphic that transforms Inline graphic into Inline graphic via Equation 4 describes a linear transformation, the barycentric coordinates Inline graphic, Inline graphic, and Inline graphic apply to both Inline graphic and Inline graphic. Hence, these barycentric coordinates may be used in both Equation 27 and Equation 28. These equations describe interpolation in a plane that is analogous to the interpolation along a line that is expressed by Equation 1.

Using the matrix Inline graphic to transform the point Inline graphic as shown in Equation 6 and substituting Equations 26-28 yields

graphic file with name M673.gif

Eliminating the intermediate steps from Equation 29 and showing explicitly the Inline graphic coordinates of Inline graphic and the Inline graphic coordinates of Inline graphic yields 

graphic file with name M678.gif

Equation 30 proves that any point Inline graphic that lies in the tomographic image may be transformed from the two-dimensional coordinate system of that image to the three-dimensional coordinate system of the stereotactic frame to obtain the analogous point Inline graphic.

Using the inverse matrix Inline graphic to transform the point Inline graphic as shown in Equation 8 and substituting Equations 26-28 yields

graphic file with name M683.gif

Eliminating the intermediate steps from Equation 31 and showing explicitly the Inline graphic coordinates of Inline graphic and the Inline graphic coordinates of Inline graphic yields

graphic file with name M688.gif

Equation 32 proves that any point Inline graphic that lies in the plane of the tomographic section may be transformed from the three-dimensional coordinate system of the stereotactic frame to the two-dimensional coordinate system of the tomographic image to obtain the analogous point Inline graphic.

The content published in Cureus is the result of clinical experience and/or research by independent individuals or organizations. Cureus is not responsible for the scientific accuracy or reliability of data or conclusions published herein. All content published within Cureus is intended only for educational, research and reference purposes. Additionally, articles published within Cureus should not be deemed a suitable substitute for the advice of a qualified health care professional. Do not disregard or avoid professional medical advice due to content published within Cureus.

The authors have declared that no competing interests exist.

Human Ethics

Consent was obtained by all participants in this study

Animal Ethics

Animal subjects: This study did not involve animal subjects or tissue.

References

  • 1.Invention of the N-localizer for stereotactic neurosurgery and its use in the Brown-Roberts-Wells stereotactic frame. Brown RA, Nelson JA. Neurosurgery. 2012;70:0–76. doi: 10.1227/NEU.0b013e318246a4f7. [DOI] [PubMed] [Google Scholar]
  • 2.A stereotactic head frame for use with CT body scanners. Brown RA. Invest Radiol. 1979;14:300–304. doi: 10.1097/00004424-197907000-00006. [DOI] [PubMed] [Google Scholar]
  • 3.A computerized tomography-computer graphics approach to stereotaxic localization. Brown RA. J Neurosurg. 1979;50:715–720. doi: 10.3171/jns.1979.50.6.0715. [DOI] [PubMed] [Google Scholar]
  • 4.Small hemorrhages vs. small calcifications in brain tumors: Difficulty in differentiation by computed tomography. Dohrmann GJ, Geehr RB, Robinson F, Allen WE 3rd, Orphanoudakis Orphanoudakis, SC SC. Surg Neurol. 1978;10:309–312. [PubMed] [Google Scholar]
  • 5.Phantom measurements of spatial resolution and the partial-volume-effect in computer tomography. Schultz E, Felix R. Fortschr Röntgenstr. 1978;129:673–678. doi: 10.1055/s-0029-1231185. [DOI] [PubMed] [Google Scholar]
  • 6.Simplified CT-guided stereotaxic biopsy. Brown RA, Roberts T, Osborn AG. AJNR Am J Neuroradiol. 1981;2:181–184. [PMC free article] [PubMed] [Google Scholar]
  • 7.Stereotaxic frame and computer software for CT-directed neurosurgical localization. Brown RA, Roberts TS, Osborn AE. Invest Radiol. 1980;15:308–312. doi: 10.1097/00004424-198007000-00006. [DOI] [PubMed] [Google Scholar]
  • 8.Brown-Roberts-Wells stereotactic frame modifications to accomplish magnetic resonance imaging guidance in three planes. Heilbrun MP, Sunderland PM, McDonald PR, Wells TH Jr, Cosman E, Ganz E. Appl Neurophysiol. 1987;50:143–152. doi: 10.1159/000100700. [DOI] [PubMed] [Google Scholar]
  • 9.Newman WM, Sproull RF. Principles of Interactive Computer Graphics. New York: McGraw-Hill Book Company; 1979. Transformations; pp. 333–336. [Google Scholar]
  • 10.Newman WM, Sproull RF. Principles of Interactive Computer Graphics. New York: McGraw-Hill Book Company; 1979. Homogeneous coordinate representations of projective transformations; pp. 363–364. [Google Scholar]
  • 11.Kindle JH. Schaum’s Outline of Theory and Problems of Plane and Solid Analytic Geometry. New York: McGraw-Hill Book Company; 1950. The plane; pp. 115–117. [Google Scholar]
  • 12.Wylie CR Jr. Advanced Engineering Mathematics, 3rd Edition. New York: McGraw-Hill Book Company; 1966. Determinants and matrices; pp. 400–465. [Google Scholar]
  • 13.Barnhill RE. Mathematical Software III. New York: Academic Press; 1977. Representation and approximation of surfaces; pp. 69–120. [Google Scholar]

Articles from Cureus are provided here courtesy of Cureus Inc.

RESOURCES