### Abstract

The N-localizer enjoys widespread use in image-guided stereotactic neurosurgery and radiosurgery. This paper derives the mathematical equations that are used with the N-localizer and provides analogies and explanations in order to promote an intuitive understanding of the mathematical principles.

### Introduction

The mathematical treatment of the N-localizer has been discussed previously [1]. The N-localizer comprises a diagonal rod that extends from the top of one vertical rod to the bottom of another vertical rod (*Figure 1*). This N-shaped structure produces two circles and one ellipse in sectional images that are obtained via medical imaging technologies, such as computed tomography or magnetic resonance imaging [1-2]. In the scan image, each of the two vertical rods creates a fiducial circle and the diagonal rod creates a fiducial ellipse. The ellipse moves away from one circle and towards the other circle as the position of the scan section moves upward with respect to the N-localizer.

It is convenient to ignore the thickness of the scan section and to represent the scan section as an infinitely thin plane. This central plane lies midway between the top and bottom halves of the section, analogous to the way that a slice of cheese is sandwiched between two slices of bread.

It is also convenient to ignore the diameter of each of the three rods and to represent each rod by its long axis. The intersection of the long axis of each rod with the central plane of the scan section defines a point at the centroid of the circle or ellipse that is created by the rod (*Figure 1*). The relative spacing between the three centroids permits precise localization of the central plane of the scan section relative to the N-localizer. The distance \(d_{AB}\) between the centroids of circle \(\mathrm{A}\) and ellipse \(\mathrm{B}\) and the distance \(d_{AC}\) between the centroids of circles \(\mathrm{A}\) and \(\mathrm{C}\) are used to calculate the ratio \(f=d_{AB}/d_{AC}\). This ratio represents the fraction of the diagonal rod \(\mathrm{B}\) that extends from the top of vertical rod \(\mathrm{A}\) to the point of intersection of the long axis of rod \(\mathrm{B}\) with the central plane of the scan section. The fraction \(f\) is a dimensionless number due to the fact that the units of measurement of \(d_{AB}\) and \(d_{AC}\) are eliminated in the division of \(d_{AB}\) by \(d_{AC}\). For this reason, the distances \(d_{AB}\) and \(d_{AC}\) may be measured in any units that are convenient, e.g., millimeters, pixels, etc., so long as the same units are used to measure both \(d_{AB}\) and \(d_{AC}\).

The fraction \(f\) is used to calculate the \(\left(x,y,z\right)\) coordinates of the point of intersection between the long axis of rod \(\mathrm{B}\) and the central plane of the scan section. In Figure 2, the points \({P}'_{A}\) and \({P}'_{C}\) represent the beginning and end, respectively, of the vector that extends from the top of rod \(\mathrm{A}\) to the bottom of rod \(\mathrm{C}\). This vector coincides with the long axis of rod \(\mathrm{B}\). The \(\left(x_{A},y_{A},z_{A}\right)\) coordinates of the initial point \({P}'_{A}\) and the \(\left(x_{C},y_{C},z_{C}\right)\) coordinates of the end point \({P}'_{C}\) are known from the physical dimensions of the N-localizer. Hence, linear interpolation may be used to blend the \(\left(x_{A},y_{A},z_{A}\right)\) and \(\left(x_{C},y_{C},z_{C}\right)\) coordinates of points \({P}'_{A}\) and \({P}'_{C}\) in order to calculate the \(\left(x_{B},y_{B},z_{B}\right)\) coordinates of the point of intersection \({P}'_{B}\) between the long axis of rod \(\mathrm{B}\) and the central plane of the scan section$$\begin{matrix} {P}'_{B}={P}'_{A}+f \left({P}'_{C}-{P}'_{A} \right)=f{P}'_{C}+\left(1-f \right){P}'_{A} & \left(1\right) \end{matrix}$$The vector form of Equation 1 shows explicitly the \(\left(x_{A},y_{A},z_{A}\right)\), \(\left(x_{B},y_{B},z_{B}\right)\) and \(\left(x_{C},y_{C},z_{C}\right)\) coordinates of the respective points \({P}'_{A}\), \({P}'_{B}\) and \({P}'_{C}\)$$\begin{matrix} \begin{bmatrix} x_{B} \\ y_{B} \\ z_{B} \end{bmatrix} =f \begin{bmatrix} x_{C} \\ y_{C} \\ z_{C} \end{bmatrix} +\left(1-f \right) \begin{bmatrix} x_{A} \\ y_{A} \\ z_{A} \end{bmatrix} & \left(2\right) \end{matrix}$$Either Equation 1 or 2 may be used to calculate the \(\left(x_{B},y_{B},z_{B}\right)\) coordinates of the point of intersection \({P}'_{B}\) between the long axis of rod \(\mathrm{B}\) and the central plane of the scan section. The point \({P}'_{B}\), which lies on the long axis of rod \(\mathrm{B}\) in the three-dimensional coordinate system of the N-localizer, corresponds to an analogous point \(P_{B}\), which lies at the centroid of ellipse \(\mathrm{B}\) in the two-dimensional coordinate system of the scan image. Hence, there is a one-to-one correspondence between a point from the N-localizer and a point from the scan image.

### Technical Report

The attachment of three N-localizers to a stereotactic frame permits calculation of the \(\left(x_{B_{1}},y_{B_{1}},z_{B_{1}}\right)\), \(\left(x_{B_{2}},y_{B_{2}},z_{B_{2}}\right)\) and \(\left(x_{B_{3}},y_{B_{3}},z_{B_{3}}\right)\) coordinates for the three respective points of intersection \({P}'_{B_{1}}\), \({P}'_{B_{2}}\) and \({P}'_{B_{3}}\) in the three-dimensional coordinate system of the stereotactic frame. These three points correspond respectively to the three centroids \(P_{B_{1}}\), \(P_{B_{2}}\) and \(P_{B_{3}}\) in the two-dimensional coordinate system of the scan image. In the following mathematical development, the symbols \({P}'_{1}\), \({P}'_{2}\) and \({P}'_{3}\) will be used as a shorthand notation for \({P}'_{B_{1}}\), \({P}'_{B_{2}}\) and \({P}'_{B_{3}}\). The symbols \(P_{1}\), \(P_{2}\) and \(P_{3}\) will be used as a shorthand notation for \(P_{B_{1}}\), \(P_{B_{2}}\) and \(P_{B_{3}}\).

The three points of intersection \({P}'_{1}\), \({P}'_{2}\) and \({P}'_{3}\) lie on the long axes of the three respective diagonal rods \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) and have respective \(\left(x,y,z\right)\) coordinates \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) in the three-dimensional coordinate system of the stereotactic frame (*Figure 3*). The analogous three points \(P_{1}\), \(P_{2}\) and \(P_{3}\) lie at the centroids of the three respective ellipses \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) and have respective \(\left(u,v\right)\) coordinates \(\left(u_{1},v_{1}\right)\), \(\left(u_{2},v_{2}\right)\) and \(\left(u_{3},v_{3}\right)\) in the two-dimensional coordinate system of the scan image (*Figure 4*). Because three points determine a plane in three-dimensional space, the three coordinates \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) together with the analogous three coordinates \(\left(u_{1},v_{1}\right)\), \(\left(u_{2},v_{2}\right)\) and \(\left(u_{3},v_{3}\right)\) determine the spatial orientation of the central plane of the scan section relative to the stereotactic frame. This spatial orientation permits transformation of the \(\left(u_{T},v_{T}\right)\) coordinates of a target point \(P_{T}\) from the two-dimensional coordinate system of the scan image into the three-dimensional coordinate system of the stereotactic frame to obtain the \(\left(x_{T},y_{T},z_{T}\right)\) coordinates of the analogous target point \({P}'_{T}\).

In order to facilitate calculation of the \(\left(x_{T},y_{T},z_{T}\right)\) coordinates of the target point \({P}'_{T}\), it is convenient to project the \(\left(u_{1},v_{1}\right)\), \(\left(u_{2},v_{2}\right)\) and \(\left(u_{3},v_{3}\right)\) coordinates of the three centroids \(P_{1}\), \(P_{2}\) and \(P_{3}\) onto the \(w = 1\) plane in three-dimensional space by appending a third coordinate \(w = 1\) to create \(\left(u_{1},v_{1},1\right)\), \(\left(u_{2},v_{2},1\right)\) and \(\left(u_{3},v_{3},1\right)\) coordinates. The \(w\)-coordinate may be set arbitrarily to any non-zero value, e.g., 1, so long as same value of \(w\) is used for each of the three \(w\)-coordinates. The equations that are presented in the remainder of this paper assume that a value of \(w = 1\) has been used to project the \(\left(u_{1},v_{1}\right)\), \(\left(u_{2},v_{2}\right)\) and \(\left(u_{3},v_{3}\right)\) coordinates. If a value of \(w \neq 1\) were used instead of \(w = 1\) to project these coordinates, the equations that are presented in the remainder of this paper would no longer apply and would require revision so that the calculations that these equations describe may produce correct results.

The correspondence, or transformation, between the two-dimensional coordinate system of the scan image and the three-dimensional coordinate system of the stereotactic frame may be represented using the three pairs of coordinates \(\{\left(x_{1},y_{1},z_{1}\right):\left(u_{1},v_{1},1\right)\}\), \(\{\left(x_{2},y_{2},z_{2}\right):\left(u_{2},v_{2},1\right)\}\) and \(\{\left(x_{3},y_{3},z_{3}\right):\left(u_{3},v_{3},1\right)\}\) in the matrix equation$$\begin{matrix} \begin{bmatrix} x_1 & y_1 & z_1 \\ x_2 & y_2 & z_2 \\ x_3 & y_3 & z_3 \end{bmatrix} = \begin{bmatrix} u_1 & v_1 & 1 \\ u_2 & v_2 & 1 \\ u_3 & v_3 & 1 \end{bmatrix} \begin{bmatrix} m_{11} & m_{12} & m_{13} \\ m_{21} & m_{22} & m_{23} \\ m_{31} & m_{32} & m_{33} \end{bmatrix} & \left(3\right) \end{matrix}$$Equation 3 represents concisely a system of nine simultaneous linear equations that determine the spatial orientation of the central plane of the scan section relative to the stereotactic frame. This equation transforms coordinates from the two-dimensional coordinate system of the scan image into the three-dimensional coordinate system of the stereotactic frame.

Equation 3 assumes a linear relationship between the three-dimensional coordinate system of the stereotactic frame and the two-dimensional coordinate system of the scan image. Any non-linear distortion, such as might occur in the creation of a magnetic resonance image, would invalidate this linear relationship and nullify the applicability of Equation 3. For this reason, the Brown-Roberts-Wells (BRW) stereotactic frame that was used initially in conjunction with computed tomography imaging required modification for use with magnetic resonance imaging. This modification eliminated magnetically-induced eddy currents in the stereotactic frame that contributed to non-linear distortion of the magnetic resonance image [10].

An analogy provides insight into how the transformation of Equation 3 operates. Consider the scan image to be an elastic membrane. The transformation describes the processes of stretching the membrane in the plane of the scan image, rotating the membrane about an axis that is normal to the plane of the scan 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 centroids \(P_{1}\), \(P_{2}\) and \(P_{3}\) from the scan image precisely coincide with the respective three points \({P}'_{1}\), \({P}'_{2}\) and \({P}'_{3}\) from the stereotactic frame. Then *any* point that lies on the membrane, for example, a target point \(P_{T}\), will be transformed by the same stretching, rotating, tilting and lifting processes that transformed the three centroids \(P_{1}\), \(P_{2}\) and \(P_{3}\). In this manner, the \(\left(u_{T},v_{T}\right)\) coordinates of a target point \(P_{T}\) may be transformed from the two-dimensional coordinate system of the scan image into the three-dimensional coordinate system of the stereotactic frame to obtain the \(\left(x_{T},y_{T},z_{T}\right)\) coordinates of the analogous target point \({P}'_{T}\).

In order that Equation 3 may calculate the correct transformation, each of the three centroids \(P_{1}\), \(P_{2}\) and \(P_{3}\) from the scan image must be paired with the correct one of the three points \({P}'_{1}\), \({P}'_{2}\) and \({P}'_{3}\) from the stereotactic frame so that each of the three \(\left(u_{1},v_{1},1\right)\), \(\left(u_{2},v_{2},1\right)\) and \(\left(u_{3},v_{3},1\right)\) coordinates may be paired with the correct one of the three \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) coordinates when these pairs of coordinates are substituted into Equation 3. There are six possible pairings, or combinations, for these points, but only one of these combinations is correct. A simple solution to this pairing problem was implemented for Brown's prototype stereotactic frame (*Figure 5*) as well as for the BRW stereotactic frame [4]. One of the six vertical rods \(\mathrm{A}_1\), \(\mathrm{A}_2\), \(\mathrm{A}_3\), \(\mathrm{C}_1\), \(\mathrm{C}_2\) and \(\mathrm{C}_3\) was manufactured to a larger diameter than the other five vertical rods (*Figure 5*). This large vertical rod was labeled rod \(\mathrm{A}_1\). The diagonal rod that joined this vertical rod \(\mathrm{A}_1\) was labeled rod \(\mathrm{B}_1\). Then, proceeding sequentially around the circumference of the stereotactic frame in the same direction as the direction from rod \(\mathrm{A}_1\) to rod \(\mathrm{B}_1\), the remaining rods that were encountered in sequence were labeled \(\mathrm{C}_1\), \(\mathrm{A}_2\), \(\mathrm{B}_2\), \(\mathrm{C}_2\), \(\mathrm{A}_3\), \(\mathrm{B}_3\) and \(\mathrm{C}_3\). This ordering for the rods permitted unambiguous labeling of the three diagonal rods \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) and thereby permitted assignment of the three respective points of intersection \({P}'_{1}\), \({P}'_{2}\) and \({P}'_{3}\) between the long axes of these rods and the central plane of the scan section. This labeling was performed only once and became part of the geometric description of the BRW stereotactic frame.

In a similar manner, the large rod \(\mathrm{A}_1\) permits unambiguous labeling of the three ellipses \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) in each scan image. This large rod creates circle \(\mathrm{A}_1\) that is larger in diameter than the other five circles in the scan image. A comparison of Figure 4 to Figure 6 demonstrates that circle \(\mathrm{A}_1\) allows immediate recognition of the fact that the positions of the nine fiducial marks in Figure 6 are rotated clockwise by approximately 90 degrees relative to their positions in Figure 4. If the large circle \(\mathrm{A}_1\) were not present, it would be impossible to determine which three of the nine fiducial marks were created by a particular one of the three N-localizers. However, the presence of the large circle \(\mathrm{A}_1\) allows manual assignment of the fiducial marks as follows. The closest fiducial mark to circle \(\mathrm{A}_1\) is labeled ellipse \(\mathrm{B}_1\). Then, proceeding sequentially around the circumference of the scan image in the same direction as the direction from circle \(\mathrm{A}_1\) to ellipse \(\mathrm{B}_1\), the fiducial marks that are encountered in sequence are labeled \(\mathrm{C}_1\), \(\mathrm{A}_2\), \(\mathrm{B}_2\), \(\mathrm{C}_2\), \(\mathrm{A}_3\), \(\mathrm{B}_3\) and \(\mathrm{C}_3\). This ordering for the fiducial marks permits unambiguous labeling of the three ellipses \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) in the scan image and thereby permits assignment of the three respective centroids \(P_{1}\), \(P_{2}\) and \(P_{3}\) to these ellipses.

A computer search can automatically label the fiducial marks in the scan image using somewhat the same algorithm that has been described above. First, the computer finds the nine fiducial marks by searching the scan image for circular or elliptical shapes that are surrounded by air density. Each mark is characterized by (1) the \(\left(u,v\right)\) coordinates of its centroid; (2) its shape, i.e., circular or elliptical; and (3) its size, i.e., the number of pixels that it subtends. Then the largest circle is identified by both its circular shape and its size; this circle is labeled \(\mathrm{A}_1\). Then the Pythagorean distances between the centroid of circle \(\mathrm{A}_1\) and the eight remaining centroids are calculated to identify the closest mark to circle \(\mathrm{A}_1\); this mark is labeled ellipse \(\mathrm{B}_1\). Then, excluding circle \(\mathrm{A}_1\), the Pythagorean distances between ellipse \(\mathrm{B}_1\) and the seven remaining centroids are calculated to identify the closest mark to ellipse \(\mathrm{B}_1\); this mark is labeled circle \(\mathrm{C}_1\). Then, excluding circle \(\mathrm{A}_1\) and ellipse \(\mathrm{B}_1\), the Pythagorean distances between circle \(\mathrm{C}_1\) and the six remaining centroids are calculated to identify the closest mark to circle \(\mathrm{C}_1\); this mark is labeled circle \(\mathrm{A}_2\). This process of calculating the Pythagorean distances between the last mark identified and the remaining unidentified marks continues until all nine of the fiducial marks have been identified in the order \(\mathrm{A}_1\), \(\mathrm{B}_1\), \(\mathrm{C}_1\), \(\mathrm{A}_2\), \(\mathrm{B}_2\), \(\mathrm{C}_2\), \(\mathrm{A}_3\), \(\mathrm{B}_3\) and \(\mathrm{C}_3\). The computer can check the validity of the labels using the fact that each of the three sets of marks \(\left\{\mathrm{A}_1,\mathrm{B}_1,\mathrm{C}_1\right\}\), \(\left\{\mathrm{A}_2,\mathrm{B}_2,\mathrm{C}_2\right\}\) and \(\left\{\mathrm{A}_3,\mathrm{B}_3,\mathrm{C}_3\right\}\) must contain three collinear marks. This collinearity requirement is obvious from inspection of Figure 1(b), which suggests that the centroid of each of the three ellipses \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) is guaranteed to lie on a line that connects the centroid of the respective circle \(\mathrm{A}_1\), \(\mathrm{A}_2\) or \(\mathrm{A}_3\) to the centroid of the respective circle \(\mathrm{C}_1\), \(\mathrm{C}_2\) or \(\mathrm{C}_3\).

Independent of whether assignment of the fiducial marks occurs manually or automatically, the large rod \(\mathrm{A}_1\) facilitates unambiguous pairing of each of the three ellipses \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) with the correct one of the three diagonal rods \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\), and thereby permits unambiguous pairing of each of the three centroids \(P_{1}\), \(P_{2}\) and \(P_{3}\) with the correct one of the three points \({P}'_{1}\), \({P}'_{2}\) and \({P}'_{3}\). Hence, each of the three \(\left(u_{1},v_{1},1\right)\), \(\left(u_{2},v_{2},1\right)\) and \(\left(u_{3},v_{3},1\right)\) coordinates may be paired with the correct one of the three \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) coordinates, thus allowing Equation 3 to calculate the correct transformation from the two-dimensional coordinate system of the scan image into the three-dimensional coordinate system of the stereotactic frame.

Equation 3 may be rewritten in more compact form as$$\begin{matrix} \mathrm{\textbf{F}}=\mathrm{\textbf{SM}} & \left(4 \right ) \end{matrix}$$In Equation 4, \(\mathrm{\textbf{F}}\) represents the matrix of \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) coordinates from the coordinate system of the stereotactic frame. \(\mathrm{\textbf{S}}\) represents the matrix of \(\left(u_{1},v_{1},1\right)\), \(\left(u_{2},v_{2},1\right)\) and \(\left(u_{3},v_{3},1\right)\) coordinates from the coordinate system of the scan image. \(\mathrm{\textbf{M}}\) represents the matrix of elements \(m_{11}\) through \(m_{33}\) that defines the transformation from the two-dimensional coordinate system of the scan image into the three-dimensional coordinate system of the stereotactic frame. \(\mathrm{\textbf{SM}}\) represents the post-multiplication of \(\mathrm{\textbf{S}}\) by \(\mathrm{\textbf{M}}\) and relies on the fact that multiplication of one matrix by another matrix is a defined algebraic operation. However, the multiplication of matrices is not commutative, so \(\mathrm{\textbf{SM}}\) should be described as either post-multiplication of \(\mathrm{\textbf{S}}\) by \(\mathrm{\textbf{M}}\) or pre-multiplication of \(\mathrm{\textbf{M}}\) by \(\mathrm{\textbf{S}}\).

The elements of \(\mathrm{\textbf{F}}\) and \(\mathrm{\textbf{S}}\) are known, but the elements of \(\mathrm{\textbf{M}}\) are unknown. It is possible to invert Equation 4 to obtain the elements of \(\mathrm{\textbf{M}}\)$$\begin{matrix} \mathrm{\textbf{M}}=\mathrm{\textbf{S}}^{-1}\mathrm{\textbf{F}} & \left(5\right) \end{matrix}$$In this equation, \(\mathrm{\textbf{S}}^{-1}\) represents the inverse of matrix \(\mathrm{\textbf{S}}\). Division of one matrix by another matrix is not a defined algebraic operation, so multiplication of one matrix by the inverse of another matrix is used in place of division. Hence, pre-multiplication of \(\mathrm{\textbf{F}}\) by \(\mathrm{\textbf{S}}^{-1}\) is equivalent to dividing \(\mathrm{\textbf{F}}\) by \(\mathrm{\textbf{S}}\). The inverse of \(\mathrm{\textbf{S}}\) is guaranteed to exist so long as the \(\left(u_{1},v_{1},1\right)\), \(\left(u_{2},v_{2},1\right)\) and \(\left(u_{3},v_{3},1\right)\) coordinates of the centroids of the three ellipses \(\mathrm{B}_1\), \(\mathrm{B}_2\) and \(\mathrm{B}_3\) are not collinear and their \(w\)-coordinates are non-zero.

Once the elements of matrix \(\mathrm{\textbf{M}}\) have been calculated via Equation 5, it is possible to transform the \(\left(u_{T},v_{T}\right)\) coordinates of a target point \(P_{T}\) from the two-dimensional coordinate system of the scan image into the three dimensional coordinate system of the stereotactic frame to obtain the \(\left(x_{T},y_{T},z_{T}\right)\) coordinates of the analogous target point \({P}'_{T}\). In order to accomplish this transformation, the \(\left(u_{T},v_{T}\right)\) coordinates of \(P_{T}\) are used to form the vector \(\left [ u_{T}\; v_{T}\; 1 \right ]\) that is post-multiplied by matrix \(\mathrm{\textbf{M}}\) to obtain the vector \(\left [ x_{T}\; y_{T}\; z_{T}\right ]\) that contains the \(\left(x_{T},y_{T},z_{T}\right)\) coordinates of \({P}'_{T}\)$$\begin{matrix} \left [ x_{T}\; y_{T}\; z_{T}\right ] = \left [ u_{T}\; v_{T}\; 1 \right ] \mathrm{\textbf{M}} & \left(6\right) \end{matrix}$$Moreover, it is possible to use the inverse of matrix \(\mathrm{\textbf{M}}\)$$\begin{matrix} \mathrm{\textbf{M}}^{-1}=\mathrm{\textbf{F}}^{-1}\mathrm{\textbf{S}} & \left(7\right) \end{matrix}$$to perform a similar transformation in the reverse direction. This reverse transformation transforms the \(\left(x_{Q},y_{Q},z_{Q}\right)\) coordinates of a point \({P}'_Q\) from the three-dimensional coordinate system of the stereotactic frame into the two-dimensional coordinate system of the scan image to obtain the \(\left(u_Q, v_Q\right)\) coordinates of the analogous point \(P_Q\). In order to accomplish this reverse transformation, the \(\left(x_{Q},y_{Q},z_{Q}\right)\) coordinates of \({P}'_Q\) are used to form the vector \(\left [ x_{Q}\; y_{Q}\; z_{Q}\right ]\) that is post-multiplied by matrix \(\mathrm{\textbf{M}}^{-1}\) to obtain the vector \(\left [ u_{Q}\; v_{Q}\; w_{Q}\right ]\) that contains the \(\left(u_{Q},v_{Q},w_{Q}\right)\) coordinates of \(P_Q\)$$\begin{matrix} \left [ u_{Q}\; v_{Q}\; w_{Q}\right ] = \left [ x_{Q}\; y_{Q}\; z_{Q}\right ] \mathrm{\textbf{M}}^{-1} & \left(8\right) \end{matrix}$$Equation 8 yields \(\left(u_{Q},v_{Q},w_{Q}\right)\) coordinates for \(P_Q\) instead of \(\left(u_{Q},v_{Q},1\right)\) coordinates. The \(w\)-coordinate \(w_Q\) equals 1 if and only if the point \({P}'_Q\) lies in the central plane of the scan section that corresponds to the \(w=1\) plane in three-dimensional space; similarly, \(P_Q\) appears in the two-dimensional scan image if and only if \(w_Q=1\). In the case that \({P}'_Q\) does not lie in the central plane of the scan section, \(w_Q \neq 1\) so \(P_Q\) does not appear in the scan image.

One case where \(P_Q\) does not appear in the scan image occurs when the point \({P}'_Q\) and a second point \({P}'_R\) define the intended trajectory of a surgical probe but neither \({P}'_Q\) nor \({P}'_R\) lies in the central plane of an intermediate scan section (*Figure 7*). In this case, \(w_Q \neq 1\) and \(w_R \neq 1\) so neither \(P_Q\) nor \(P_R\) appears in the intermediate scan image.

However, in this case, the neurosurgeon may wish to know where the intended probe trajectory intersects the intermediate scan section. In order to provide this information, the points \(P_Q\) and \(P_R\) are used to define the vector from \(P_Q\) to \(P_R\). This vector is then used to calculate the \(\left(u_S,v_S\right)\) coordinates of a third point \(P_S\) for which \(w_S=1\) (*Figure 7*). Because \(w_S=1\), \(P_S\) appears in the intermediate scan image; hence, a mark may be superimposed on that scan image at the \(\left(u_S,v_S\right)\) coordinates \(P_S\) to indicate where the intended probe trajectory intersects the intermediate scan section[1].

It is possible to distinguish two configurations of \(P_Q\) and \(P_R\) relative to an intermediate scan image: \(w_Q > 1 > w_R\) and \(w_Q > w_R > 1\). All other configurations can be made to conform to one of these two configurations via interchange of \(P_Q\) and \(P_R\) and/or inverting the signs of both \(w_Q\) and \(w_R\). The configuration \(w_Q > 1 > w_R\) specifies that \(P_Q\) and \(P_R\) are located on opposite sides of an intermediate scan image; thus, linear interpolation may be used to calculate \(P_S\) (*Figure 7*). The configuration \(w_Q > w_R > 1\) specifies that \(P_Q\) and \(P_R\) are located on the same side of a non-intermediate scan image; thus, linear extrapolation may be used to calculate \(P_S\) (*Figure 8*).

For either interpolation or extrapolation, the term$$\begin{matrix} t=\frac{w_Q-1}{w_Q-w_R} & \left(9 \right ) \end{matrix}$$is used to calculate the \(\left(u_S,v_S\right)\) coordinates of \(P_S\) by blending the \(\left(u_Q,v_Q\right)\) and \(\left(u_R,v_R\right)\) coordinates of \(P_Q\) and \(P_R\)$$\begin{matrix} P_S=P_Q+t\left(P_R-P_Q\right)=t\,P_R+\left(1-t\right)P_Q & \left(10 \right ) \end{matrix}$$The vector form of Equation 10 shows explicitly the \(\left(u_{Q},v_{Q},w_{Q}\right)\), \(\left(u_{R},v_{R},w_{R}\right)\) and \(\left(u_{S},v_{S},w_{S}\right)\) coordinates of the respective points \(P_{Q}\), \(P_{R}\) and \(P_{S}\)$$\begin{matrix} \begin{bmatrix} u_{S} \\ v_{S} \\ w_{S} \end{bmatrix} = t \: \begin{bmatrix} u_{R} \\ v_{R} \\ w_{R} \end{bmatrix} +\left(1-t \right) \: \begin{bmatrix} u_{Q} \\ v_{Q} \\ w_{Q} \end{bmatrix} & \left(11\right) \end{matrix}$$It is necessary to calculate only the \(\left(u_S,v_S\right)\) coordinates of \(P_S\) using Equation 11 because \(w_S=1\) due to the definition of \(t\) in Equation 9. It is possible to prove that \(w_S=1\) by substituting Equation 9 into Equation 11 then expanding the resulting expression in the \(w\)-coordinate to obtain$$\begin{matrix} w_S=\left(\frac{w_Q-1}{w_Q-w_R}\right)w_R+\left(1-\frac{w_Q-1}{w_Q-w_R}\right)w_Q=\frac{\left(w_Q-1\right)w_R+\left(1-w_R\right)w_Q}{{w_Q-w_R}}=1 & \left(12 \right ) \end{matrix}$$

### Discussion

#### Derivation of equation 3

Equation 3 transforms \(\left(u,v \right )\) coordinates from the two-dimensional coordinate of the scan image into the three-dimensional coordinate system of the stereotactic frame to produce \(\left(x,y,z \right )\) coordinates. Prior to use in Equation 3, the \(\left(u,v \right )\) coordinates are projected onto the \(w=1\) plane in three-dimensional space by appending a third coordinate \(w=1\) to create \(\left(u,v,1 \right )\) coordinates.

Equation 3 is derived as follows:

Transformation of coordinates from one three-dimensional coordinate system into another three-dimensional coordinate system may be accomplished via matrix multiplication that operates in a four-dimensional space [5]. However, in order that this four-dimensional space may be used to transform the two-dimensional \(\left(u,v \right )\) coordinates into three-dimensional \(\left(x,y,z \right )\) coordinates, it is necessary to create three-dimensional \(\left(u,v,0\right )\) coordinates by projecting the \(\left(u,v \right )\) coordinates onto the \(h=0\) plane in three-dimensional space by appending a third coordinate \(h=0\). Then it is necessary to create four-dimensional \(\left(u,v,0,1\right )\) coordinates by projecting the \(\left(u,v,0\right )\) coordinates onto the \(w=1\) hyperplane in four-dimensional space by appending a fourth, homogenous [6] coordinate \(w=1\). The \(\left(u,v,0,1\right )\) coordinates may be transformed to obtain \(\left(x,y,z,1\right )\) coordinates using a four by four transformation matrix that contains the matrix elements \(m_{11}\) through \(m_{43}\)$$\begin{matrix} \begin{bmatrix} x_1 & y_1 & z_1 & 1 \\ x_2 & y_2 & z_2 & 1 \\ x_3 & y_3 & z_3 & 1 \end{bmatrix} = \begin{bmatrix} u_1 & v_1 & 0 & 1 \\ u_2 & v_2 & 0 & 1 \\ u_3 & v_3 & 0 & 1 \end{bmatrix} \begin{bmatrix} m_{11} & m_{12} & m_{13} & 0 \\ m_{21} & m_{22} & m_{23} & 0 \\ m_{41} & m_{42} & m_{43} & 0 \\ m_{31} & m_{32} & m_{33} & 1 \end{bmatrix} & \left(13\right) \end{matrix}$$In Equation 13, the third row of the transformation matrix includes elements \(m_{41}\), \(m_{42}\) and \(m_{43}\) and the fourth row includes elements \(m_{31}\), \(m_{32}\) and \(m_{33}\). 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 a transformation that comprises only scale, rotate and translate operations [6]. These operations accomplish the stretching, rotating, tilting and lifting processes that were described in association with Equation 3.

Equation 13 may be rewritten in more compact form as$$\begin{matrix} \mathbb{F}=\mathbb{SM} & \left(14 \right ) \end{matrix}$$In Equation 14, \(\mathbb{F}\) represents the matrix of \(\left(x_{1},y_{1},z_{1},1\right)\), \(\left(x_{2},y_{2},z_{2},1\right)\) and \(\left(x_{3},y_{3},z_{3},1\right)\) coordinates. \(\mathbb{S}\) represents the matrix of \(\left(u_{1},v_{1},0,1\right)\), \(\left(u_{2},v_{2},0,1\right)\) and \(\left(u_{3},v_{3},0,1\right)\) coordinates. \(\mathbb{M}\) represents the transformation matrix of elements \(m_{11}\) through \(m_{43}\) that defines the transformation from the two-dimensional coordinate system of the scan image into 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 \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) coordinates. The third column of \(\mathbb{S}\) and the third row of \(\mathbb{M}\) do not affect the \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) coordinates. The fourth column of \(\mathbb{M}\) affects only the fourth column of \(\mathbb{F}\) but does not affect the \(\left(x_{1},y_{1},z_{1}\right)\), \(\left(x_{2},y_{2},z_{2}\right)\) and \(\left(x_{3},y_{3},z_{3}\right)\) coordinates. Hence, these columns and this row may be removed from \(\mathbb{F}\), \(\mathbb{S}\) and \(\mathbb{M}\) without affecting the result of Equation 13. Their removal yields Equation 3, thus completing the derivation of this equation.

There is a significant difference between Equations 3 and 13. None of the matrices in Equation 13 have an inverse because neither \(\mathbb{F}\) nor \(\mathbb{S}\) is a square matrix. In contrast, the matrices \(\mathrm{\textbf{F}}\), \(\mathrm{\textbf{S}}\) and \(\mathrm{\textbf{M}}\) 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 scan image into the three-dimensional coordinate system of the stereotactic frame and *vice* *versa*, Equation 3 must be used instead of Equation 13.

#### Derivation of the distance w-1

Equation 9 calculates the interpolant or extrapolant \(t\) in the \(\left(u,v,w\right)\) coordinate system of the scan image. This interpolant or extrapolant is calculated in terms of the perpendicular distance \(w-1\) from a point \(P\) to the plane of the scan image. The distance \(w-1\) is derived as follows:

In the three-dimensional \(\left(x,y,z\right)\) coordinate system of the stereotactic frame, the equation for the central plane of the scan section is given by the following equation that involves a determinant [7]$$\begin{matrix} \begin{vmatrix} x & y & z & 1 \\ x_1 & y_1 & z_1 &1 \\ x_2 & y_2 & z_2 & 1 \\ x_3 & y_3 & z_3 & 1 \end{vmatrix} = 0 & \left(15 \right ) \end{matrix}$$Expanding this determinant using the cofactors [8] of the elements \(x\), \(y\), \(z\) and 1 in the first row of the determinant yields$$\begin{matrix} x\:\begin{vmatrix} y_1 & z_1 & 1\\ y_2 & z_2 & 1\\ y_3 & z_3 & 1 \end{vmatrix} - y\:\begin{vmatrix} x_1 & z_1 & 1\\ x_2 & z_2 & 1\\ x_3 & z_3 & 1 \end{vmatrix} + z\:\begin{vmatrix} x_1 & y_1 & 1\\ x_2 & y_2 & 1\\ x_3 & y_3 & 1 \end{vmatrix} - \begin{vmatrix} x_1 & y_1 & z_1\\ x_2 & y_2 & z_2\\ x_3 & y_3 & z_3 \end{vmatrix} = 0 & \left(16 \right) \end{matrix}$$Equation 16 may be rewritten in more compact form as$$\begin{matrix} Ax + By+Cz+D = 0 & \left(17 \right ) \end{matrix}$$where \(A\), \(B\), \(C\) and \(D\) represent the determinants in Equation 16. The determinants \(A\), \(B\) and \(C\) may be expanded using the cofactors of the elements in their third columns as follows$$\begin{matrix} A= \begin{vmatrix} y_1 & z_1 & 1\\ y_2 & z_2 & 1\\ y_3 & z_3 & 1 \end{vmatrix}= \begin{vmatrix} y_2 & z_2\\ y_3 & z_3 \end{vmatrix}-\begin{vmatrix} y_1 & z_1\\ y_3 & z_3 \end{vmatrix}+\begin{vmatrix} y_1 & z_1\\ y_2 & z_2 \end{vmatrix} & \left(18a \right ) \\ B= -\begin{vmatrix} x_1 & z_1 & 1\\ x_2 & z_2 & 1\\ x_3 & z_3 & 1 \end{vmatrix} = -\begin{vmatrix} x_2 & z_2\\ x_3 & z_3 \end{vmatrix}+\begin{vmatrix} x_1 & z_1\\ x_3 & z_3 \end{vmatrix}-\begin{vmatrix} x_1 & z_1\\ x_2 & z_2 \end{vmatrix} & \left(18b \right ) \\ C= \begin{vmatrix} x_1 & y_1 & 1\\ x_2 & y_2 & 1\\ x_3 & y_3 & 1 \end{vmatrix} = \begin{vmatrix} x_2 & y_2\\ x_3 & y_3 \end{vmatrix}-\begin{vmatrix} x_1 & y_1\\ x_3 & y_3 \end{vmatrix}+\begin{vmatrix} x_1 & y_1\\ x_2 & y_2 \end{vmatrix} & \left(18c \right ) \\ D= - \begin{vmatrix} x_1 & y_1 & z_1\\ x_2 & y_2 & z_2\\ x_3 & y_3 & z_3 \end{vmatrix} & \left(18d \right ) \end{matrix}$$The normalized perpendicular distance from a point \({P}'\), which has coordinates \(\left(x,y,z\right)\), to the central plane of the scan section may be calculated as [7]$$\begin{matrix} \frac{Ax+By+Cz+D}{\sqrt{A^2+B^2+C^2}} & \left(19 \right ) \end{matrix}$$This equation for the normalized perpendicular distance will be compared to the equation for the distance \(w-1\) that is derived below.

In order to calculate the distance \(w-1\), the \(\left(u,v,w\right)\) coordinates of the point \(P\) that corresponds to the point \({P}'\) are obtained by transforming the \(\left(x,y,z\right)\) coordinates of \({P}'\) via Equations 7 and 8 then by substituting the definitions of the matrices \(\mathrm{\textbf{F}}\), \(\mathrm{\textbf{S}}\) and \(\mathrm{\textbf{M}}\) from Equation 3$$\begin{matrix} \left[u\;v\;w\right] = \left[x\;y\;z \right ] \mathrm{\textbf{M}}^{-1} = \left[x\;y\;z \right ] \mathrm{\textbf{F}}^{-1} \mathrm{\textbf{S}} = \left[x\;y\;z \right ] \begin{bmatrix} x_1 & y_1 & z_1\\ x_2 & y_2 & z_2\\ x_3 & y_3 & z_3 \end{bmatrix}^{-1} \begin{bmatrix} u_1 & v_1 & 1 \\ u_2 & v_2 & 1 \\ u_3 & v_3 & 1 \end{bmatrix} & \left(20 \right ) \end{matrix}$$Substituting the inverse of the matrix \(\mathrm{\textbf{F}}\), which is defined as its adjoint [9] divided by its determinant, into Equation 20 yields$$\begin{matrix} \left[u\;v\;w \right ] = \left[x\;y\;z \right ] \frac{ \begin{bmatrix} \begin{vmatrix} y_2 & z_2\\ y_3 & z_3 \end{vmatrix} & -\begin{vmatrix} y_1 & z_1\\ y_3 & z_3 \end{vmatrix} & \begin{vmatrix} y_1 & z_1\\ y_2 & z_2 \end{vmatrix} \\ -\begin{vmatrix} x_2 & z_2\\ x_3 & z_3 \end{vmatrix} & \begin{vmatrix} x_1 & z_1\\ x_3 & z_3 \end{vmatrix} & -\begin{vmatrix} x_1 & z_1\\ x_2 & z_2 \end{vmatrix} \\ \begin{vmatrix} x_2 & y_2\\ x_3 & y_3 \end{vmatrix} & -\begin{vmatrix} x_1 & y_1\\ x_3 & y_3 \end{vmatrix} & \begin{vmatrix} x_1 & y_1\\ x_2 & y_2 \end{vmatrix} \end{bmatrix}^{-1} }{ \begin{vmatrix} x_1 & y_1 & z_1\\ x_2 & y_2 & z_2\\ x_3 & y_3 & z_3 \end{vmatrix} } \begin{bmatrix} u_1 & v_1 & 1 \\ u_2 & v_2 & 1 \\ u_3 & v_3 & 1 \end{bmatrix} & \left(21 \right) \end{matrix}$$Transformation of the \(\left(x,y,z\right)\) coordinates of the point \({P}'\) to obtain only the \(w\)-coordinate of the point \(P\) requires only the vector from the third column of \(\mathrm{\textbf{M}}^{-1}\). Hence, keeping only the third column of the matrix that results from the post-multiplication of \(\mathrm{\textbf{F}}^{-1}\) by \(\mathrm{\textbf{S}}\) produces the following expression for \(w\) that contains a three-element column vector$$\begin{matrix} w = \left[x\;y\;z \right ] \frac{ \begin{bmatrix} \begin{bmatrix} y_2 & z_2\\ y_3 & z_3 \end{bmatrix} -\begin{vmatrix} y_1 & z_1\\ y_3 & z_3 \end{vmatrix} + \begin{vmatrix} y_1 & z_1\\ y_2 & z_2 \end{vmatrix} \\ -\begin{vmatrix} x_2 & z_2\\ x_3 & z_3 \end{vmatrix} + \begin{vmatrix} x_1 & z_1\\ x_3 & z_3 \end{vmatrix} -\begin{vmatrix} x_1 & z_1\\ x_2 & z_2 \end{vmatrix} \\ \begin{vmatrix} x_2 & y_2\\ x_3 & y_3 \end{vmatrix} -\begin{vmatrix} x_1 & y_1\\ x_3 & y_3 \end{vmatrix} + \begin{vmatrix} x_1 & y_1\\ x_2 & y_2 \end{vmatrix} \end{bmatrix} }{ \begin{vmatrix} x_1 & y_1 & z_1\\ x_2 & y_2 & z_2\\ x_3 & y_3 & z_3 \end{vmatrix} } & \left(22 \right) \end{matrix}$$Rewriting Equation 22 in more compact form using the definitions of \(A\), \(B\), \(C\) and \(D\) from Equation 18 yields$$\begin{matrix} w = \left[ x\;y\;z \right ] \frac{ \begin{bmatrix} A \\ B \\ C \end{bmatrix} } { -D } & \left(23 \right ) \end{matrix}$$Performing the vector multiplication of Equation 23 produces the \(w\)-coordinate of the point \(P\)$$\begin{matrix} w = \frac{Ax + By + Cz}{-D}& \left(24 \right )\end{matrix}$$The perpendicular distance from the point \(P\) to the plane of the scan image is given by \(w-1\)$$\begin{matrix} w-1 = \frac{Ax + By + Cz + D}{-D}& \left(25 \right )\end{matrix}$$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 \(A\), \(B\), \(C\) and \(D\) then showing that \(D^2 \neq A^2 + B^2 + C^2\). Thus, the distance that is calculated using Equation 25 differs by a factor of \(-\sqrt{A^2 + B^2 + C^2} / D\) from the normalized distance that is calculated using Equation 19. However, this factor is not relevant to the interpolant or extrapolant \(t\) that is calculated via Equation 9 because Equation 9 calculates a ratio of distances that eliminates this factor. Hence, \(w-1\) may be used to construct the interpolant or extrapolant \(t\) according to Equation 9.

Although it is not necessary to normalize the distance \(w-1\) for use in Equation 9, it may be desirable to normalize this distance for other reasons. Normalization may be accomplished by dividing the expression for \(w-1\) from Equation 25 by \(-\sqrt{A^2 + B^2 + C^2} / D\) because the equation that results is identical to Equation 19$$\begin{matrix} \frac{w-1}{\frac{-\sqrt{A^2+B^2+C^2}}{D}} = \frac{\frac{Ax+By+Cz+D}{-D}}{\frac{-\sqrt{A^2+B^2+C^2}}{D}} = \frac{Ax+By+Cz+D}{\sqrt{A^2+B^2+C^2}}& \left(26 \right ) \end{matrix}$$Equations 21, 22 and 23 suggest that the normalization may be accomplished using the elements from the third column of the inverse matrix \(\mathrm{\textbf{M}}^{-1}\) that is used to transform the \(\left(x,y,z\right)\) coordinates of \({P}'\) to obtain the \(\left(u,v,w\right)\) coordinates of \(P\). These matrix elements may be used for the normalization because$$\begin{matrix} \frac{\sqrt{A^2+B^2+C^2}}{D} = \sqrt{\left(\frac{-A}{D} \right )^2 +\left(\frac{-B}{D} \right )^2 +\left(\frac{-C}{D} \right )^2 } & \left(27 \right )\end{matrix}$$where \(-A/D\), \(-B/D\) and \(-C/D\) are suggested by Equation 23 and defined by Equation 18.

### Conclusions

The N-localizer is a simple yet powerful tool for image-guided stereotactic neurosurgery and radiosurgery. The N-localizer enables the transformation of \(\left ( u,v \right )\) coordinates from the two-dimensional coordinate system of the computed tomography or magnetic resonance image into the three-dimensional coordinate system of the stereotactic frame to obtain \(\left ( x,y,z \right )\) coordinates. The matrix that accomplishes this transformation may be inverted; the resulting inverse matrix enables the transformation of \(\left ( x,y,z \right )\) coordinates from the the three-dimensional coordinate system of the stereotactic frame into the two-dimensional coordinate system of the computed tomography or magnetic resonance image to obtain \(\left(u,v\right)\) coordinates. The mathematical equations that express these two transformations may be derived using the principles of analytic geometry and linear algebra.

### References

- Brown RA: A stereotactic head frame for use with CT body scanners. Investigative Radiology. 1979, 14:300-304. 10.1097/00004424-197907000-00006
- Brown RA: A computerized tomography-computer graphics approach to stereotaxic localization. Journal of Neurosurgery. 1979, 50:715-720. 10.3171/jns.1979.50.6.0715
- Brown RA, Roberts TS, Osborn AG: Stereotaxic frame and computer software for CT-directed neurosurgical localization. Investigative Radiology. 1980, 15:308-311. 10.1097/00004424-198007000-00006
- Brown RA, Roberts TS, Osborn AG: Simplified CT-guided stereotaxic biopsy. American Journal of Neuroradiology. 1981, 2:181-184.
- Newman WM, Sproull RF: Principles of interactive computer graphics. Stewart CD, Neal FA (ed): McGraw-Hill Book Company, New York; 1976. 363-364.
- Newman WM, Sproull RF: Principles of interactive computer graphics. Stewart CD, Neal FA (ed): McGraw-Hill Book Company, New York; 1976. 333-336.
- Kindle JH: Schaum’s outline of theory and problems of plane and solid analytic geometry. McGraw-Hill Inc., New York; 1950. 115-117.
- Wylie CR Jr.: Advanced engineering mathematics. McGraw-Hill Book Company, New York; 1966. 401-412.
- Wylie CR Jr: Advanced engineering mathematics. McGraw-Hill Book Company, New York; 1966. 429-435.
- Heilbrun MP, Sunderland PM, McDonald PR, Wells TH, Cosman E, Ganz E: Brown-Roberts-Wells stereotactic frame modifications to accomplish magnetic resonance imaging guidance in three planes. Applied Neurophysiology. 1987, 50:143-152. 10.1159/000100700

### Related articles

#### The Mathematics of the N-Localizer for Stereotactic Neurosurgery

###### Ethics Statement and Conflict of Interest Disclosures

**Conflicts of interest:** The authors have declared that no conflicts of interest exist.

### Article Information

###### DOI

10.7759/cureus.142

###### Cite this article as:

Brown R A (2013-10-25 15:03:35 UTC) The Mathematics of the N-Localizer for Stereotactic Neurosurgery. Cureus 5(10): e142. doi:10.7759/cureus.142

###### Publication history

Received by Cureus: October 14, 2013

Peer review began: October 21, 2013

Peer review concluded: October 25, 2013

Published: October 25, 2013

###### Copyright

**© Copyright **2013

Brown. This is an open access article distributed under the terms of the Creative Commons Attribution License CC-BY 3.0., which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

###### License

This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.