Open Access
28 June 2017 Optical surgical instrument tracking system based on the principle of stereo vision
Zhentian Zhou, Bo Wu, Juan Duan, Xu Zhang, Nan Zhang, Zhiyuan Liang
Author Affiliations +
Abstract
Optical tracking systems are widely adopted in surgical navigation. An optical tracking system is designed based on the principle of stereo vision with high-precision and low cost. This system uses optical infrared LEDs that are installed on the surgical instrument as markers and a near-infrared filter is added in front of the Bumblebee2 stereo camera lens to eliminate the interference of ambient light. The algorithm based on the region growing method is designed and used for the marker’s pixel coordinates’ extraction. In this algorithm, the singular points are eliminated and the gray centroid method is applied to solve the pixel coordinate of the marker’s center. Then, the marker’s matching algorithm is adopted and three-dimensional coordinates’ reconstruction is applied to derive the coordinates of the surgical instrument tip in the world coordinate system. In the simulation, the stability, accuracy, rotation tests, and the tracking angle and area range were carried out for a typical surgical instrument and the miniature surgical instrument. The simulation results show that the proposed optical tracking system has high accuracy and stability. It can meet the requirements of surgical navigation.

1.

Introduction

An image-guided surgical navigation system breaks through the limits of the traditional surgical operation and extends the doctors’ limited vision scope.1,2 Tracking and positioning are the key techniques of an image-guided surgical navigation system. The accuracy of the tracking method directly determines the accuracy of the image-guided surgical navigation system. An optical tracking system is designed, using light-emitting markers, combined with self-developed image processing methods and an easy-to-implement three-dimensional (3-D) space tracking algorithm, which achieves the high tracking accuracy of surgical instruments.

The tracking methods most widely adopted in image-guided surgical navigation systems include articulated arms, active or passive optical tracking systems, sonic digitizers, and electromagnetic sensors.25 Nowadays, the most promising tracking methods are optical and electromagnetic tracking. However, compared with optical tracking, electromagnetic navigation has less precision and its magnetic field is prone to distortion by large metal objects which bring measurement errors to the system.3,6 The commercial optical tracking systems currently used in surgical navigation products mainly include micron tracker (Claron Technology Inc., Canada),7 polaris optical tracking systems (Northern Digital Inc., Canada),8 StealthStation system (Medtronic Inc., United States),9 etc. Unfortunately, these products are always expensive and they are not convenient for further development and customization due to proprietary techniques.

Based upon stereotactic surgery principles, this paper proposes an optical tracking system with low cost and high precision. In the proposed optical tracking system, three optical LEDs are used as the markers that are installed on the surgical instrument. This system uses the Bumblebee2 binocular camera to capture the images of markers. To eliminate the interference of ambient light, a near-infrared filter is added in front of the camera lens. To extract the pixel coordinate of a marker’s center, the region growing (RG) method is used to eliminate the singular point and then the gray centroid (GC) method is adopted to obtain the pixel coordinate of the marker’s center. This image processing method greatly enhances the antijamming capability and improves the accuracy of the system. Next, the algorithm matches the markers in the left and right camera images based on the sequence of its spatial positions. As a last step, it derives the coordinates of the surgical instrument tip by 3-D coordinates reconstruction of markers and realizes the tracking system. Through simulation, the accuracy and stability of system has been verified and can meet the needs of surgical navigation.

2.

Methods

2.1.

Framework

The framework of the proposed optical tracking system, which includes the main and auxiliary processes, is shown in Fig. 1. The auxiliary processes consist of the camera calibration and surgical instruments’ calibration that are denoted within the dotted line. This helps the main process obtain the parameters for calculating the coordinates of the markers and the surgical instrument’s tip. For the main process, the stereo camera first captures the binocular images of the surgical instrument. Next, the markers’ extraction, markers’ matching, distortion correction, and 3-D coordinates’ reconstruction procedures are applied to calculate the world coordinates of markers. Finally, the world coordinates of the surgical instrument’s tip can be deduced by the world coordinates of the markers.

Fig. 1

Framework of optical tracking system. The solid line represents the main process and the dotted line represents auxiliary processes that provide several parameters before the main process.

JBO_22_6_065005_f001.png

2.2.

Camera Calibration

Zhang’s calibration method10 is widely used in camera calibration in recent years and is mature. It is a compromise method for traditional camera calibration and self-calibration. This method is robust and it is not necessary to develop a high-precision positioning reference. More importantly, as the calibration accuracy can meet the requirements, Zhang’s method is used to calibrate cameras. The specific calibration tool is the camera calibration toolbox.11 A 5×8 chessboard is designed as the calibration board; as shown in Fig. 2, the size of each square is 30×30  mm2.

Fig. 2

Calibration board.

JBO_22_6_065005_f002.png

2.3.

Binocular Image Capture

A Bumblebee2 stereo camera12 is the binocular vision acquisition device adopted in this system. As shown in Fig. 3, two near-infrared filters are installed in front of the camera lens to remove the interference of ambient light.

Fig. 3

Acquisition device of binocular vision.

JBO_22_6_065005_f003.png

According to the practical requirements,2 two kinds of surgical instruments are designed and employed in the proposed system. They are typical surgical instrument (TSI) and miniature surgical instrument (MSI). TSI is suitable for most cases, while the MSI is suitable for surgeries with limited operation space. In the simulation, these two kinds of surgical instruments are tested separately. For each surgical instrument, three 850-nm near-infrared LEDs are installed and used as the markers, as shown in Fig. 4.

Fig. 4

Two kinds of surgical instruments (a) TSI and (b) MSI.

JBO_22_6_065005_f004.png

The luminance of the three markers is captured by the Bumblebee2 camera and the background is completely filtered out by the near-infrared filter. The visual effects of the captured image with and without the near-infrared filter are shown in Fig. 5. From Fig. 5, it can be seen that the ambient light has been effectively filtered out.

Fig. 5

Effect of the near-infrared filter (a) acquisition image without near-infrared filter and (b) acquisition image with near-infrared filter.

JBO_22_6_065005_f005.png

2.4.

Markers Extraction

In an optical tracking system, the pixel coordinate of the marker’s center affects the accuracy of the 3-D space coordinates and the coordinate of the surgical instrument tip directly. In the captured images, the markers are the highlighted regions. The pixel coordinate of the marker’s center is the center of the highlighted region and they are used to calculate the world coordinate of surgical instrument tip. So, an effective algorithm is proposed to extract the pixel coordinate of marker’s center from the highlighted region. This algorithm is based on RG and GC methods as shown in Fig. 6.

Fig. 6

Flowchart of markers extraction algorithm based on the RG and GC method.

JBO_22_6_065005_f006.png

First, the RG method is used to seek all highlighted connected regions in the image. In this step, a threshold is used to determine the seed and region growth criterion. Its value is set to half of the maximum pixel in the proposed experience. In order to avoid duplication of the seed search, a flag matrix is adopted. Next, the highlighted connected region is compared with the range of the marker’s area (MAR) to determine whether it is noise or the marker. The noise of the CCD sensor is inevitable.13 Noise is usually scattered and is shown as small highlighted regions whose areas are much smaller than the marker in the captured image. Through the pre-experiment, the MAR is set as: [11,74] if the area of a highlighted region is less than 11, it is considered to be a noise. Finally, the GC method is applied to calculate the pixel coordinate of the marker’s center. The equation for the GC method is

Eq. (1)

{u=i=1nui·f(ui,vi)i=1nf(ui,vi)v=i=1nvi·f(ui,vi)i=1nf(ui,vi),
where (ui,vi) is the i’th pixel coordinate in the markers’ area, whose gray value is f(ui,vi), and (u,v) is the derived pixel coordinate of the marker’s center.

The procedures of the markers’ extraction algorithm are as follows:

  • 1. Read the captured marker image.

  • 2. Initialize the flag matrix to 0, whose size is the same as the marker image.

  • 3. Select a pixel pij from the marker image in raster scan order. If the flag of pij is 0 and the value of pij is greater than the threshold, pij is set as the seed sk. Otherwise, go to step (3) and select the next pixel.

  • 4. Use the RG method to find the highlighted connected region around the seed sk. If the values of pixels are larger than the threshold which is the same as that in step (3), the flags of those pixels are set to 1 and those pixels are defined as the highlighted connected region.

  • 5. After step (4), if the number of pixels in the highlighted connected region is within the MAR, this region is considered to be a marker. The GC method is then adopted to calculate the pixel coordinate of the marker’s center. The pixel coordinate of the marker’s center is denoted as (u,v). Otherwise, go to step (3) until all of the pixels are selected.

2.5.

Markers Matching

The proposed optical tracking system is based on a binocular camera. According to the model for 3-D coordinates reconstruction of markers (Sec. 2.6), the spatial positions of a pair of matched markers are required. There are three markers in each of the left and right images, respectively. The marker pairs at the same location in the left and right images must be matched before 3-D reconstruction. The spatial positions of markers are used for matching. The positions of the markers on the surgical instrument are fixed, so the positions of the markers on the image are also fixed. The three markers in the left and right images are sorted according to their positions from top to bottom and left to right. Next, the marker pairs can be matched by matching their sorted order number.

2.6.

Three-Dimensional Coordinates Reconstruction of Markers

The mathematical model14,15 of the camera is as follows, which establishes the relationship between the pixel coordinate of the marker’s center and its 3-D spatial world coordinates

Eq. (2)

[uv1]=1ZC·I·E·[XWYWZW1],
where (u,v) is the pixel coordinate of the marker’s center, ZC are the Z coordinates of markers in the camera coordinate system, and (XW,YW,ZW) are the coordinates of markers in the world coordinate system (WCS), respectively. I and E are the internal and the external parameters of the camera that can be obtained by camera calibration.

Two equations of Eq. (2) can be established for the binocular stereo camera, as shown in Eq. (3). The world coordinates of markers can be derived from

Eq. (3)

{[uleftvleft1]=1ZCleft·Ileft·Eleft·[XWYWZW1][urightvright1]=1ZCright·Iright·Eright·[XWYWZW1].

2.7.

Distortion Correction

The pinhole imaging mathematical model used in this paper is an ideal linear mathematical model. In the process of manufacturing and installation, camera lens distortion is inevitable.16 In order to eliminate the influence of lens distortion on the positioning accuracy, the lens distortion must be corrected. According to the camera model based on Heikkilä and Silvén,17 the distortion model adopted in this paper is as

Eq. (4)

{u=u+u(k1r2+k2r4+k3r6)+p1(3u2+v2)+2p2uvv=v+v(k1r2+k2r4+k3r6)+2p1uv+p2(u2+3v2),
where (u,v), (u,v) are the actual and the ideal pixel coordinates of a marker’s center, r2=u2+v2. k1, k2, and k3 are the radial distortion coefficients, and p1, p2 are the centrifugal distortion coefficients.

To verify the effect of the camera lens distortion correction module in the proposed optical tracking system, an experiment is carried out. Three kinds of distances, which are short, medium, and long, are measured by the proposed tracing system. For each kind of distance, the endpoints’ coordinates are measured using the distortion correction model and the nondistortion correction model. Each distance is measured 50 times and the average value is calculated. The actual distance is measured by using a Vernier caliper. The distances measured by the tracking system are compared with the actual distances. The error is the difference between them as shown in Table 1.

Table 1

Comparison of the results of distortion correction and nondistortion correction.

NumberDistortion correction (mm)Nondistortion correction (mm)Actual distance (mm)Error (mm)
Distortion correctionNondistortion correction
19.489.459.500.020.05
222.0122.1622.020.010.14
337.6837.9037.700.020.20

From Table 1, it can be seen that the distortion correction errors are smaller than the nondistortion correction error. With the increasing of distance, the distortion correction error becomes smaller.

2.8.

Surgical Instrument Calibration

The purpose of optical tracking is to obtain the world coordinates of the surgical instrument’s tip. Through 3-D reconstruction, the world coordinates of the markers can be obtained. According to the shape of a surgical instrument, a surgical instrument coordinate system (SICS) can be established, as shown in Fig. 7.

Fig. 7

SICS.

JBO_22_6_065005_f007.png

The coordinates of the surgical instrument tip in SICS are Ptip_s (Xtip_s,Ytip_s,Ztip_s), and Ptip_w (Xtip_w,Ytip_w,Ztip_w) in WCS. The rotation matrix and the translation matrix of SICS with respect to WCS are R and T, then

Eq. (5)

Ptip_w=RPtip_s+T.
R and T can be calculated by markers’ coordinates m1, m2, and m3 (Ref. 18)

Eq. (6)

T=m1+m1m3·m1m2m1m22·m1m2,

Eq. (7)

R=[om3om3om2om2om3om3×om2om2],
where the coordinates of o are numerically equal to T.

The purpose of the surgical instrument calibration is to get the coordinates of Ptip_s. Equations (5)–(7) are used to calculate the world coordinates of the surgical instrument tip by markers’ world coordinates.

The rotating surgical instrument method16 is used to get Ptip_s. The idea is to fix the position of the surgical instrument tip and rotate the surgical instrument. Thus, the same marker on the surgical instrument satisfies the spherical equation [Eq. (8)], in which the coordinates of a surgical instrument tip are the center of the sphere. The world coordinates of the surgical instrument tip can be obtained by solving Eq. (10). Assuming n images are obtained by rotating the surgical instrument, the coordinate of the i’th marker and in the j’th image in the WCS is defined as Pij(Xij,Yij,Zij) (i=1,2,3;j=1,2,,n). The world coordinates of the tip are denoted as (Xtip_w,Ytip_w,Ztip_w). Under the rigid body constraint, the distance between Ptip_w and Pij is ρ

Eq. (8)

(XijXtip_w)2+(YijYtip_w)2+(ZijZtip_w)2=ρi2.
Eq. (8) has i×j equations. For each i, using the j’th (j2) equation minus the (j1)’th equation, the following equation can be obtained

Eq. (9)

[XijXi(j1)]Xtip_w+[YijYi(j1)]Ytip_w+[ZijZi(j1)]Ztip_w=12[Xij2Xi(j1)2+Yij2Yi(j1)2+Zij2Zi(j1)2].
Eq. (9) has i×(j1) equations, which can be expressed in a matrix form

Eq. (10)

WPtip_w=F.
Among them, W is an i×(j1) row by three columns of the matrix and F is the i×(j1) vectors. When j2, Eq. (10) is an over determined equation, and the least square method can be used to solve Ptip.

In this paper, the calibration is carried out by 20 rotating surgical instruments. The i’th rotation matrix and the translation matrix of the SISC relative to the WCS are Ri and Ti, and the tip coordinate can be calculate by

Eq. (11)

Ptip_s=Ri1(Ptip_wTi).

3.

Simulation Results

In order to verify and determine the stability and accuracy of the system, the stability, space distance, and rotation tests were carried out for TSI and MSI. The stability experiment is designed to measure the system stability under the condition of repeated measurement. The accuracy of the system is measured by a space distance experiment. The absolute error is compared by the results of calculated distance between two points and a Vernier caliper. Furthermore, the stability and accuracy of the tip coordinates are tested by a rotation experiment at different angles.

3.1.

Calibration Settings

Twenty pairs of the left and right images of the calibration board are captured at different locations as shown in Fig. 8. Internal and external parameters of camera calibration of each camera are Ileft, Iright and Eleft, Eright, respectively

Ileft=[815.81320310.93480819.2989246.9482001],
Iright=[815.07790314.25260818.7035243.6091001],
Eright=[10.00030.0039119.67520.000310.00270.02360.00390.002710.0209].

Fig. 8

Camera calibration images (a) left camera calibration images and (b) right camera calibration images.

JBO_22_6_065005_f008.png

The left camera’s optical center is used as the origin of the WCS. In this system, Eleft is a fixed value, as shown

Eleft=[100001000010].

3.2.

Stability Test

When the optical tracking system is working, the system must have sufficient stability. If the surgical instrument remains still, the calculated tip coordinates may change due to the changes in the capture environment and the stability of the algorithm. In order to test the stability of the system, 10 different position points are selected randomly and the surgical instrument is kept still in each position. For each position, 100 sets of images are used for repeating. Then, the standard deviations (SD) of X-, Y-, and Z-directions are calculated, respectively, which are used to evaluate the stability of the system. Two kinds of surgical instruments are tested in the experiment. The results are shown in Table 2. Figure 9 shows another representation of Table 2 for MSI.

Table 2

The coordinates stability results for TSI and MSI.

TSIMSI
Position no.X-direction SD (mm)Y-direction SD (mm)Z-direction SD (mm)Position no.X-direction SD (mm)Y-direction SD (mm)Z-direction SD (mm)
10.011800.007310.0921810.014420.008340.07428
20.014020.006180.0768020.010640.008460.06335
30.018210.008230.0786930.011040.008920.06879
40.014490.009540.0851840.010720.007870.05100
50.012780.005790.0771050.014360.011480.08619
60.016100.007940.0970860.011160.010990.07057
70.017480.007570.0576370.010030.008390.05106
80.023770.008440.0808880.014240.009150.05962
90.016350.007640.0707090.015560.010270.05574
100.034870.009670.09490100.016770.010370.09452
Average0.017990.007830.081120.012890.009420.06751

Fig. 9

The 3-D coordinate stability results for MSI. (a) Results of the X-direction measurement, the range of X-direction SD is from 0.01003 to 0.01677, and the range of X-direction CV is from 0.012% to 0.068%; (b) results of the Y-direction measurement, the range of Y-direction SD is from 0.00787 to 0.01148, and the range of Y-direction CV is from 0.011% to 0.016%; and (c) results of the Z-direction measurement, the range of Z-direction SD is from 0.05100 to 0.09452, and the range of Z-direction CV is from 0.014% to 0.027%.

JBO_22_6_065005_f009.png

From the above results, it can be seen that the average SDs of the X-, Y-, and Z-directions in 10 positions are 0.01799, 0.00783, 0.08112 mm for TSI and 0.01289, 0.00942, 0.06751 mm for MSI, respectively. In Table 2, the worst results are 0.09708 and 0.09452 mm for two different instruments.

From Fig. 8, it also can be seen that the range of the X coordinate is about (45, 75 mm), the range of the Y coordinate is about (150, 153 mm), and the range of the Z coordinate is about (330, 390 mm). As a result, it looks like that the SD of the Z-direction is bigger than the other two directions, but the coefficient of variations (CVs) of the three directions from Fig. 9 are almost the same range.

3.3.

Space Distance Test

Since the absolute coordinates obtained by the optical tracking system are in the WCS, it is difficult to directly evaluate the accuracy of the world coordinates. Therefore, in order to test the position accuracy of the simulated surgical instruments, this system adopts the method of indirect measurement. Within the scope of the effective field of the optical tracking system, the tip coordinates in the two places are randomly chosen and the distances are measured. Then, the tracking accuracy of the system is evaluated by comparing the distance with the actual measured distance using a Vernier caliper and grating ruler.

Ten groups of different distances were measured, respectively, by Vernier caliper and grating ruler that includes short distance, medium distance, and long distance, and each tip coordinate is measured 50 times. The average absolute errors using the Vernier caliper are shown in Figs. 10 and 11. The average absolute errors of two surgical instruments measured by Vernier caliper are 0.23 and 0.13 mm.

Fig. 10

Space distance test result of TSI by vernier caliper. (a) Results of the short-distance (0 to 15 mm) measurement, compare the calculated and measured distance, the range of space distance error is from 0.18 to 0.38 mm; (b) results of the medium-distance (20 to 40 mm) measurement, compare the calculated and measured distance, the range of space distance error is from 0.19 to 0.34 mm; and (c) results of the long-distance (40 to 55 mm) measurement, compare the calculated and measured distance, the range of space distance error is from 0.13 to 0.26 mm.

JBO_22_6_065005_f010.png

Fig. 11

Space distance test result of MSI by vernier caliper. (a) Results of the short-distance (0 to 10 mm) measurement, compare the calculated and measured distance, the range of space distance error is from 0.06 to 0.10 mm; (b) results of the medium-distance (10 to 20 mm) measurement, compare the calculated and measured distance, the range of space distance error is from 0.06 to 0.19 mm; and (c) results of the long-distance (20 to 25 mm) measurement, compare the calculated and measured distance, the range of space distance error is from 0.13 to 0.20 mm.

JBO_22_6_065005_f011.png

However, the accuracy results of the proposed optical tracking system have more than four decimal places. To compare with the results of the Vernier caliper, the last several decimal places have been rounded. In order to evaluate the accuracy of the proposed optical tracking system more accurately, we use a more accurate measurement device, a grating ruler. The brand of grating ruler is SION, and the model is KA-300/5U/1020 mm.

The “grating ruler” is rigidly fixed on the “precision optical table” to ensure the stability, and then the TSI or MSI is also fixed to the grating ruler, as shown in Figs. 12 and 13. The results measured by Vernier caliper are used as a reference, and the new distance measurement values are determined by using the grating ruler, as shown in Tables 3 and 4, and Fig. 14. From Tables 3 and 4, it can be seen that higher measurement accuracy is obtained by using the grating ruler. The fluctuation range of the distance root mean square error (RMSE) becomes smaller as shown in Fig. 14.

Fig. 12

Diagram of precision optical table and the TSI fixed on the grating ruler.

JBO_22_6_065005_f012.png

Fig. 13

Diagram of the MSI fixed on the grating ruler.

JBO_22_6_065005_f013.png

Table 3

Space distance test results for TSI.

Group 1 vernier caliperGroup 2 grating ruler
Position no.Measured by vernier caliper (mm)Calculated by the proposed system (mm)Absolute distance error (mm)Distance RMSEMeasured by grating ruler (mm)Calculated by the proposed system (mm)Absolute distance error (mm)Distance RMSE
16.646.430.210.336.646.6990.0590.063
27.667.280.380.407.6657.6980.0330.040
314.6814.500.180.2614.68514.6650.0200.031
424.6224.400.220.2924.62524.6290.0040.020
533.0432.850.190.2633.04533.0760.0310.036
635.1035.320.220.3235.135.0410.0590.062
739.3639.020.340.3739.3639.3360.0240.035
841.8641.990.130.3241.86541.8770.0120.026
942.4242.680.260.3542.42542.3690.0560.059
1053.3453.540.200.3453.34553.4570.1120.117
Average0.230.320.0410.049

Table 4

Space distance test results for MSI.

Position no.Group 1 vernier caliperGroup 2 grating ruler
Measured by vernier caliper (mm)Calculated by the proposed system (mm)Absolute distance error (mm)Distance RMSEMeasured by grating ruler (mm)Calculated by the proposed system (mm)Absolute distance error (mm)Distance RMSE
15.825.760.060.025.7755.8030.0280.035
29.129.220.100.029.2459.2820.0370.041
313.4613.610.150.0213.62513.6150.0100.020
415.0814.910.170.1014.91514.8940.0210.026
515.0215.080.060.1215.10515.0960.0090.023
615.4615.270.190.1215.31515.2760.0390.043
715.9015.820.080.1015.84515.8550.0100.016
821.1221.260.140.1221.27521.2720.0030.018
922.0621.860.200.1221.89521.8570.0380.046
1022.0822.210.130.1322.26522.2200.0450.050
Average0.130.090.0240.032

Fig. 14

Fluctuation ranges of distance RMSE for TSI and MSI. (a) Fluctuation ranges of distance RMSE for TSI and (b) fluctuation ranges of distance RMSE for MSI.

JBO_22_6_065005_f014.png

The average absolute distance error is 0.23 mm for TSI and 0.13 mm for MSI by Vernier caliper, 0.041 mm for TSI and 0.024 mm for MSI by grating ruler, respectively. The distance RMSE is 0.32 mm for TSI and 0.09 mm for MSI by Vernier caliper, 0.049 mm for TSI and 0.032 mm for MSI by grating ruler, respectively. The results show that the proposed optical tracking system has a higher accuracy and it can meet the accuracy requirement of space tracking equipment in surgical navigation.

3.4.

Rotation Test

In the rotational experiment, the stability of the rotation of the surgical instrument and the angular accuracy of the rotation angle are tested.

When the camera captures the marker images from different angles, the size of the marker in the image is constantly changing. In order to verify that the calculated coordinates are accurate for any capturing angle, a rotating stability experiment is designed. Because the size of the MSI is too small to do the experiment, only the TSI is done for this test. As shown in Fig. 15, the tip of the TSI is fixed. Then, let the TSI rotate from 45  deg to 45 deg. Every angle is measured 100 times and the values of the tip coordinates are averaged. In this experiment, the tip of the TSI did not move, so its coordinates in different angles are constant in theory. Seven different rotation angles are tested, and the tip coordinates are shown in Table 5.

Fig. 15

Angle schematic diagram of rotational stability.

JBO_22_6_065005_f015.png

Table 5

Coordinates for the TSI tip in different rotation angles.

Angle (deg)X coordinates (mm)Y coordinates (mm)Z coordinates (mm)
4584.22881195.97334366.77527
3084.08752196.58719366.35975
1084.04392196.56368366.32654
084.10147196.08926367.30858
1084.00152196.54439366.84694
3084.05953196.46245366.81637
4584.18887195.99652366.85869

The SDs of the coordinates of the TSI tip in different rotation angles are 0.08074, 0.28266, and 0.33407 mm in the X-, Y-, and Z-directions, respectively. From the above data, it can be seen that the coordinates of the tip do not change significantly, which shows that the proposed tracking algorithm is accurate enough to guarantee the coordinates of the TSI tip to be unchanged under different capturing angle conditions. The proposed tracking system has a high rotational stability.

In order to get a more accurate rotation angle, TSI or MSI is fixed on the 6-DOF mechanical arm. The brand of the 6-DOF mechanical arm is LOBOT, and the model is MK12352. Twelve angle groups are measured from 5 deg to 60 deg. Every angle is measured 100 times by TSI or MSI, and then averaged. The rotation angle is measured as indicated by the red arrow in Fig. 16 and the results are shown in Table 6. From Table 6, it can be seen that the absolute error of the average angle of 12 groups is 0.36 deg for TSI and 0.28 deg for MSI, respectively.

Fig. 16

Diagram of TSI fixed on a 6-DOF mechanical arm.

JBO_22_6_065005_f016.png

Table 6

Rotation angle measurement result.

Rotation no.Group 1 TSIGroup 2 MSI
Measured by 6-DOF mechanical arm (deg)Calculated by TSI (deg)Rotation angle absolute error (deg)Rotation angle RMSERotation no.Measured by 6-DOF mechanical arm (deg)Calculated by MSI (deg)Rotation angle absolute error (deg)Rotation angle RMSE
15.044.750.290.3115.044.790.250.31
210.089.450.630.64210.0810.370.290.34
315.1215.040.080.16315.1214.800.320.41
420.1620.140.020.12420.1620.300.140.24
525.2024.350.850.85525.2024.870.330.41
630.2429.450.790.79630.2430.570.330.40
735.2835.400.120.16735.2835.610.330.37
840.3240.040.280.32840.3240.030.290.34
945.3644.870.490.50945.3645.570.210.26
1050.4049.850.550.561050.4050.010.390.41
1155.4455.300.140.191155.4455.130.310.38
1260.4860.570.090.211260.4860.290.190.28
Average0.360.40Average0.280.35

3.5.

Tracking Angle and Area Range Test

The tracking angle view and area range of the proposed optical tracking system are shown in Figs. 17 and 18, respectively.

Fig. 17

The angle view range of the proposed optical tracking system. (a) The angle view range for TSI. (b) The angle view range for MSI.

JBO_22_6_065005_f017.png

Fig. 18

The spatial measurement range of the proposed optical tracking system. (a) The spatial measurement range for TSI. (b) The spatial measurement range for MSI.

JBO_22_6_065005_f018.png

The angle view range is limited by the instrument on which there are only three markers. Rotation around the Z-axis ranges from 78.3383  deg to 74.6440 deg for TSI, and from 67.9872  deg to 53.9503 deg for MSI, which is the red area in Fig. 17. Rotation around the X-axis ranges from 86.2429  deg to 88.1640 deg for TSI, and from 87.9051  deg to 89.0361 deg for MSI, which is the green area in Fig. 17. Rotation around the Y-axis ranges from 74.2184  deg to 75.04111 deg for TSI, and from 57.4553  deg to 73.4661 deg for MSI, which is the blue area in Fig. 17.

The measurement of height and width depends on the distance in the Z-direction. In the Z-direction (from near to far), the common distance ranges from 219.0297 to 2577.6776 mm for TSI, from 198.5920 to 612.5765 mm for MSI, respectively. The occasionally farthest distance that can be measured is 3022.9473 mm for TSI and 2954.3603 mm for MSI, which is shown as the blue point in Fig. 18. The dashed line space is more precise than the solid line space, which can be measured with more instrument poses.

Through the system experiment, the measurable range of the proposed optical tracking system is sufficient to meet the scope of surgical navigation.

3.6.

Cost Estimation

Polaris Spectra and Polaris Vicra system are popular commercial surgical tracking system, from Northern Digital Inc. (NDI) company. The prices are different for different types of the system, e.g., systems with active or passive markers. The cheapest is more than $31,340, the most expensive one is $52,496.

The optical positioning system proposed in this paper mainly includes a 1394 card, binocular camera, LED marker, infrared filter, wires, proposed positioning software system, and so on. The cost estimation of the proposed optical tracking system is $3,366 as shown in Table 7.

Table 7

Cost estimation of proposed optical tracking system.

Device nameCost estimationAmountTotal cost estimation
Bumblebee2 (binocular camera)$32371$3237
LED maker$0.033$0.1
Infrared filter$52$10
1394 card$41$4
Proposed positioning software system$1001$100
Wires$15*$15
Estimated total price$3366.1

The note * in Table means it is an estimation of the wires used in our system. It depends in practical applications.

Taking into account the ratio between cost and commercialization, if the ratio is 3, the total price is $10,000. It substantially reduces the price compared with the existing commercial tracking systems.

4.

Discussion

In this paper, an optical tracking system based on a Bumblebee2 binocular camera is designed. An 850-nm near-infrared optical LED is used as the marker of surgical instruments. Meanwhile, an infrared filter is installed in front of the camera lens, which can effectively eliminate the interference of ambient light. In the space location algorithm, the RG method is designed to find the highlighted connected region of markers in the image. In order to eliminate the singular point, the pixel coordinate of the marker’s center is calculated by the GC method. With an optical tracking system, it is difficult to match the markers in a traditional way. A matching method for the 3-D reconstruction based on the position order of the markers is proposed, and the results are satisfying. In the end, the rotating surgical instrument method is used to calibrate the surgical instrument to obtain the position relationship between the tip and the SCS, resulting in tracking of the surgical instrument tip.

In the stability experiment, 10 different positions are measured and calculated for the SDs of tip coordinates for TSI and MSI in the X-, Y-, and Z-directions. The worst results of the two kinds of surgical instruments are 0.09708 and 0.09452 mm, respectively. The average value of SDs are 0.01799, 0.00783, 0.08112 mm in the X-, Y-, Z-directions for TSI, and 0.01289, 0.00942, 0.06751 mm for MSI. For the X- and Y-directions, it can be seen that the SD is very small. The SD is slightly larger in the Z-direction because the coordinate is also much larger than in the other two directions. From the CV results of the three directions, the same conclusion can be made. In the space distance experiment, the distance RMSE is 0.32 mm for TSI and 0.09 mm for MSI by Vernier caliper, 0.049 mm for TSI and 0.032 mm for MSI by grating ruler, respectively. The accuracy of Polaris Spectra and Polaris Vicra system of NDI company can achieve 0.25 mm RMS in pyramid.8 In the proposed optical tracking system, the measurable distance range is from 219.0297 to 2577.6776 mm for TSI, from 198.5920 to 612.5765 mm for MSI in Z-direction (from near to far). The occasionally farthest distance that can be measured is 3022.9473 mm for TSI and 2954.3603 mm for MSI, respectively. In the existing systems, the measurable distance ranges from 950 to 3000 mm for Polaris Spectra system, from 557 to 1336 mm for Polaris Vicra system in Z-direction. Because the surgical instruments are welded by us and are subject to a limitation because the luminescent marker is oriented in a single direction, the measurable area range of TSI and MSI is not as large as that of the Polaris Spectra system and Polaris Vicra system. However, the nearest measurable locations for TSI and MSI are better than Polaris Spectra and Polaris Vicra systems. It is advantageous for surgical operations that commonly have a small operating view. Through the system experiment, it can be seen that the proposed optical tracking system and the corresponding space tracking algorithm have high stability and accuracy. Moreover, comparing with the cost of the proposed optical tracking system and the existing systems, the price has been greatly reduced.

5.

Conclusions

In this paper, a low cost, open optical tracking system based on binocular vision theory is proposed. The system uses the stereo camera and combines with the self-developed image processing methods and easy-to-implement 3-D space tracking algorithm, which accomplishes the high accuracy of surgical instruments tracking. Experimental results show that the system has high stability and accuracy, and it can provide accurate guidance for surgical navigation.

The system and the related algorithm are a meaningful exploration in the field of surgical navigation. Considering the practical application, it has room for improvement. For example, a battery can be used to supply power for the marker, so as to avoid the wire connected to the surgical instruments. The surgical instruments without wire can move more freely. In the future, we will design the power supply circuit for the surgical instruments to install the button batteries. The fast calibration algorithm needs further study. The algorithm of pixel coordinates extraction and the marker matching can also be optimized at the same time, so that the tracking accuracy of the system can be improved. The real-time synchronization needs to be further optimized to achieve higher system accuracy. At present, with more and more accurate operation requirements, the accuracy and stability of the optical tracking system needs continuous improvement.

Disclosures

No conflicts of interest, financial or otherwise are declared by the authors.

Acknowledgments

The authors would like to thank Mr. Hans Hermans for manuscript editing, Boqi Jia and Mengshi Zhang for the new revised experiment, Dr. Yu Wang for helping to buy the equipment of grating ruler and 6-DOF mechanical arm, and we are thankful for Zhang’s calibration method. This work was supported in part by the National Natural Science Foundation of China (No. 61672362 and 61272255), the Beijing Natural Science Foundation (No. 4172012), and the Scientific Research Common Program of Beijing Municipal Commission of Education (No. KM201710025011).

References

1. 

A. Wagner et al., “Image-guided surgery,” Int. J. Oral Maxillofac. Surg., 25 (7), 147 –151 (1996). http://dx.doi.org/10.1016/S0901-5027(96)80062-2 IJOSE9 0901-5027 Google Scholar

2. 

F. A. Jolesz, Intraoperative Imaging and Image-Guided Therapy, Springer, New York (2014). Google Scholar

3. 

M. Maybody, C. Stevenson and S. B. Solomon, “Overview of navigation systems in image-guided interventions,” Tech. Vasc. Interventional Radiol., 16 (3), 136 –143 (2013). http://dx.doi.org/10.1053/j.tvir.2013.02.008 Google Scholar

4. 

L. Appelbaum et al., “Image-guided fusion and navigation: applications in tumor ablation,” Tech. Vasc. Interventional Radiol., 16 (4), 287 –295 (2013). http://dx.doi.org/10.1053/j.tvir.2013.08.011 Google Scholar

5. 

S. J. Phee and K. Yang, “Interventional navigation systems for treatment of unresectable liver tumor,” Med. Biol. Eng. Comput., 48 (2), 103 –111 (2010). http://dx.doi.org/10.1007/s11517-009-0568-3 Google Scholar

6. 

F. Kral et al., “Comparison of optical and electromagnetic tracking for navigated lateral skull base surgery,” Int. J. Med. Rob. Comput. Assist. Surg., 9 (2), 247 –252 (2013). http://dx.doi.org/10.1002/rcs.v9.2 Google Scholar

7. 

Claron Technology Inc., “Microntracker[EB/OL],” (2015) http://www.claronav.com/microntracker/ September ). 2015). Google Scholar

8. 

Northern Digital Inc., “Polaris optical tracking systems[EB/OL],” (2015) http://www.ndigital.com/medical/products/polaris-family/ September ). 2015). Google Scholar

10. 

Z. Zhang, “A flexible new technique for camera calibration,” IEEE Trans. Pattern Anal. Mach. Intell., 22 (11), 1330 –1334 (2000). http://dx.doi.org/10.1109/34.888718 Google Scholar

11. 

“Camera calibration toolbox for Matlab[EB/OL],” (2015) http://www.vision.caltech.edu/bouguetj/calib_doc/ September ). 2015). Google Scholar

12. 

Point Gray Research Inc., “Bumblebee2 1394a[EB/OL],” (2015) http://www.ptgreychina.com//bumblebee2-firewire-stereo-vision-camera-systems September ). 2015). Google Scholar

13. 

Y. Reibel et al., “CCD or CMOS camera noise characterization,” Eur. Phys. J. Appl. Phys., 21 (01), 75 –80 (2003). http://dx.doi.org/10.1051/epjap:2002103 Google Scholar

14. 

J. W. Yi and J. H. Oh, “Estimation of depth and 3D motion parameter of moving object with multiple stereo images,” Image Vision Comput., 14 (7), 501 –516 (1996). http://dx.doi.org/10.1016/0262-8856(95)01073-4 IVCODK 0262-8856 Google Scholar

15. 

U. Dhond and J. Aggarwal, “Structure from stereo-a review,” IEEE Trans. Syst., Man, Cybern., 19 1489 –1510 (1989). http://dx.doi.org/10.1109/21.44067 Google Scholar

16. 

C. C. Slama, C. Theurer and S. W. Henriksen, Manual of Photogrammetry, American Society of Photogrammetry, Virginia (1980). Google Scholar

17. 

J. Heikkila and O. Silvén, “A four-step camera calibration procedure with implicit image correction,” in Proc. IEEE Computer Society Conf. on Computer Vision and Pattern Recognition, 1106 –1112 (1997). http://dx.doi.org/10.1109/CVPR.1997.609468 Google Scholar

18. 

B. Sun et al., “Surgical instrument recognition and calibration for optical tracking system,” in IEEE Int. Conf. on Robotics & Biomimetics, 1376 –1381 (2010). http://dx.doi.org/10.1109/ROBIO.2010.5723530 Google Scholar

Biography

Zhentian Zhou was a graduate student from 2013 to 2016 with the Biomedical Engineering Department, Capital Medical University School, Beijing, China, and received his master’s degree in 2016. He is now an engineer of the First College of Clinical Medical Science, China Three Gorges University, Yichang, China. His research interests include optical tracking, image guided surgery, and medical image processing.

Bo Wu received her PhD from the Institute of Computing Technology, Chinese Academy of Science, Beijing, China, in 2010. She is now an associate professor of the School of Biomedical Engineering, Capital Medical University, Beijing, China. Her research interests include surgical navigation, medical image processing, and three-dimensional video application in telemedicine.

Juan Duan received her MS degree in computer science and technology from the College of Computer Science and Technology, Beijing University of Technology, Beijing, China, in 1997. She is now an associate professor of the Faculty of Information Technology, Beijing University of Technology, Beijing, China. Her research interests include image processing, computer graphics, and computer vision.

Xu Zhang received his MS degree in biophysics from the Institute of Biophysics, Chinese Academy of Sciences. He is now an associate research fellow of the Institute of Biophysics, Chinese Academy of Sciences. His research interests include biochemical and molecular mechanisms of biosensor, biodetection sensor technology, and neurobiology of vision.

Nan Zhang received her PhD from the College of Computer Science and Technology, Beijing University of Technology, Beijing, China, in 2006. From 2007 to 2009, she was a postdoctorate of the Institute of Digital Media, Peking University, Beijing, China. She is now an associate professor of the School of Biomedical Engineering, Capital Medical University, Beijing, China. Her research interests include surgical navigation, medical image processing, and three-dimensional video application in telemedicine.

Zhiyuan Liang is a professor of the School of Biomedical Engineering, Capital Medical University, Beijing, China. His research interests include laser medicine and laser medical instruments. Currently, he is also the vice president of Beijing Optical Society.

CC BY: © The Authors. Published by SPIE under a Creative Commons Attribution 4.0 Unported License. Distribution or reproduction of this work in whole or in part requires full attribution of the original publication, including its DOI.
Zhentian Zhou, Bo Wu, Juan Duan, Xu Zhang, Nan Zhang, and Zhiyuan Liang "Optical surgical instrument tracking system based on the principle of stereo vision," Journal of Biomedical Optics 22(6), 065005 (28 June 2017). https://doi.org/10.1117/1.JBO.22.6.065005
Received: 2 December 2016; Accepted: 26 May 2017; Published: 28 June 2017
Lens.org Logo
CITATIONS
Cited by 35 scholarly publications and 2 patents.
Advertisement
Advertisement
KEYWORDS
Stereo vision systems

Optical tracking

Reconstruction algorithms

Navigation systems

Imaging systems

Infrared cameras

Infrared imaging

RELATED CONTENT


Back to Top