Laparoscopic colorectal surgery has a steep learning curve, and a high level of experience is necessary to prevent complications and to provide oncologic safety [1]. Computer-based image guidance could allow for visualization of risk and target structures and may help to identify the correct resection area to optimize intraoperative as well as postoperative outcome.

Image-guided surgery is widely used in neurosurgery, orthopedics and ear–nose–throat surgery [24], but remains, however, of limited use in laparoscopic surgery. This is largely attributed to the organ shift caused by respiration, heartbeat, as well as tissue deformation by surgical manipulation [57]. Intraoperative imaging capable of assessing these different types of motion is rarely available because it is expensive and not easily integrated into the surgical workflow [8]. Therefore, we decided to track the motion of the organ with an attached sensor.

The aim of the present study was to develop a method that is able to detect organ motion and deformation via intraoperative electromagnetic tracking (EMT) so that there is no need for intraoperative imaging. In addition, the robustness of this method, its limitations and directions for future work and clinical application were evaluated.

Materials and methods

Method for compensation of motion and deformation

Different models were employed to calculate the intraoperative motion and deformation of the rectum by deploying real-time information obtained from an EMT-based organ sensor. Therefore, we treated the rectum as a flexible tube, which was fixed at the pelvic floor and mobile at the rectosigmoidal junction, where it was pulled (Figs. 1, 2).

Fig. 1
figure 1

A Rectal organ made of silicone with fourteen glass targets in perpendicular order and the organ sensor, an electromagnetically tracked catheter in the crossing. Targets 1–5 are counted from the bottom-up to below the horizontal line. Targets 6–10 are the horizontal line from left to right, and targets 11–15 are continuously counted above the horizontal line. B Virtual representation within the pelvic phantom after CT imaging

Fig. 2
figure 2

Schematic visualization of the different correction models with the rectum in initial position (light gray) and stretched (dark gray). The visualization shows correction model A (A), B (B) and C5 (C). For further details on the models C1–C4, see Supplement 1. The gray dots represent the glass targets, whereas the black dot represents the position of the sensor. The black arrows show the motion of the sensor; from this, the motion of the targets is calculated (dotted arrows). The calculated position is marked with dotted circles that match the initial position, but not the real position (model A), roughly match the real position for some targets near the sensor (model B) or almost completely match the real position (model C5). Accordingly, the target registration error (TRE, dot-dashed line) decreases from model A to C

For model A, the information from the EMT was not used. Thus, no compensation was performed and image guidance information was based only on preoperative imaging data. For model B, the motion of the targets along the rectum was assumed to follow the motion vector of the EMT sensor, e.g., to have the same length and orientation. This compensated for the motion but not for deformation of the rectum. For model C, five nested linear regression models with increasing level of complexity (C1–C5, Table 1; Supplement 1) were tested to find out whether the deformation of the rectum could be computed from the motion of the electromagnetic sensor based on linear regression.

Table 1 Summary of the different models to compensate for motion and deformation

To achieve this, the Heidelberg Minimally Invasive Navigation Device (HD-MIND, former use for minimally invasive esophagectomy described in [9]) was programmed using the Medical Imaging Interaction Toolkit (MITK) [10]. The new version of the image guidance system, which is described in the present study, allowed for simultaneous use of an optical and an EMT system to combine precision and wireless convenience of optical tracking for the laparoscopic instruments with EMTs capability for an organ (motion) sensor.

Experimental setup

The experiments were performed using the pelvic module of the Heidelberg Laparoscopy Phantom (OpenHELP) [11]. The OpenHELP was based on segmentation of organs from a computed tomography (CT) scan of a young man, and the elements were fabricated using rapid prototyping. The pelvic module consisted of a plaster-based male pelvis, as well as a rectum (including mesorectum) and muscles of the pelvic floor, which were fabricated of silicone. The connective tissue surrounding the rectum was reconstructed from soft cotton. The whole phantom was immobilized on a vacuum mattress according to the method already established in HD-MIND for minimally invasive esophagectomy [9].

The organ sensor was placed in the wall of the rectum (see “EMT and organ tracking” section). Fourteen glass targets with a diameter of 3 mm were attached to the outer wall of the silicone organ to evaluate the accuracy of the motion compensation in different parts of the organ (Fig. 1). Targets 1–5 were placed above the sensor, and targets 11–15 were placed below the sensor. Targets 6–10 were placed at the level of the sensor: targets 6 and 7 to the left, targets 9 and 10 to the right of the sensor. The sensor was target 8. The distance between two adjacent targets was 5 mm.

Six registration fiducials were attached to the pelvic surface (Fig. 3). Each registration fiducial had a defined center that was visible in the CT image and could precisely be targeted with a tracked pointing device in order to register the phantom to the acquired images.

Fig. 3
figure 3

Pelvic module of the OpenHELP phantom with six registration fiducials (black). Different extents of rectal mobilization are shown: A rectum immobilized in cotton wool, B rectum mobilized but not pulled, C medium pull on rectum, D strong pull

EMT and organ tracking

EMT is the method of choice when accurate tracking is needed, but no direct line of sight toward the target is available. Therefore, it was chosen for organ tracking in this study, even if it holds some limitations such as wires to the sensors and susceptibility to distortion in ferromagnetic environments as Franz et al. [12] discuss in a conclusive review of EMT technology and its application in medicine.

The Aurora®-System (Northern Digital Inc., Waterloo, Canada) was used. It comprises a field generator, a reference sensor and an organ sensor. The planar field generator (version 1) was fixed next to the field of interest that was aligned with the EMT’s tracking volume of 500 × 500 × 500 mm as stated by the manufacturer. Whereas previous studies showed that the specified tracking volume of 500 × 500 × 500 mm can be achieved, the tracking volume should be limited to about 190 × 190 × 190 mm to achieve reasonable accuracy in an operating-room (OR) setting [13]. Furthermore, in this study, we positioned the whole setup on a metal-free table to eliminate tracking errors caused by ferromagnetic field distortions. The reference sensor (Aurora® reference body with six degrees of freedom) was positioned between the pelvic phantom and the vacuum mattress. The organ sensor was a catheter wire of the EMT system with five degrees of freedom. It was inserted into the wall of the silicone rectum and fixed by the adhesive properties of the material (Fig. 1A).

Additionally, porcine experiments for endoluminal sensor fixations were undertaken to prove feasibility of the approach, in this case for esophageal surgery (Fig. 4). Here, the tip of the sensor was wrapped with Leukosilk® tape that was fixed to hemoclips (Endotherapy Short Clip HX-610-090S; Olympus Medical, Tokyo, Japan). These clips were then attached to the organ mucosa using a flexible double-channel video endoscopy (PKS 13806 and Gastro Pack; Karl Storz Endoscopy, Tuttlingen, Germany). This animal study was approved by the German Committee on Animal Care, Regierungspräsidium Karlsruhe.

Fig. 4
figure 4

Electromagnetic organ sensor is wrapped with Leukosilk® tape that forms a loop at the end and can be handled with a gastrocscope (A). This loop is then used to fix the sensor to luminal wall of the organ (here esophagus) with a hemoclip (B)

Image guidance experiment

The whole experimental run was performed 14 times. After CT scanning of the phantom with a slice thickness of 1 mm, the imaging data were loaded into the image guidance system. The tip of the EMT organ sensor, the glass targets and each center of the registration fiducials were marked in the images. Then, both tracking systems were aligned with the imaging data and the phantom using point-based registration with the algorithm of Horn [14]. This was performed using both an EMT and an optically tracked pointer, for each of the six registration fiducials. The fiducial registration errors (FRE) for both systems were assessed for each experimental run. Then mean and standard deviations were calculated for each FRE, respectively.

The rectum was subsequently mobilized using laparoscopic instruments. For each experimental run, ten different deformations with increasing stretch were simulated, resulting in a continuous deformation pattern from no pull to strong pull (Fig. 3). Simultaneously, the motion of the EMT organ sensor, e.g., the difference vector between the current position and the initial position, was measured to calculate the deformation based on real-time information (Fig. 2). This difference vector represents the motion of the rectum. To obtain ground truth for evaluating the precision of the proposed method, the positions of the 15 targets (14 glass targets and the EMT sensor as target 8) were measured with the optically tracked pointer.

The target registration error (TRE) of all fifteen targets was calculated for each deformation step as the distance between the real-world position of a target and its virtual position in the image guidance system, which was possible because with the previous registration procedure the coordinate spaces were aligned (Fig. 2).

Statistical analysis

The results were preprocessed and analyzed using the software R [15]. Mean and standard deviation of the TRE were calculated for the acquired measurements. Furthermore, the proportion of TREs below 10 mm was calculated to introduce an additional metric for the systems safety. This value was chosen after discussion with surgical experts who demanded this to be the maximum error acceptable to rely on an image guidance system in their intraoperative decision making. The results of models A and B were tested against each other with Student’s t test. Analysis of variance (ANOVA) was used to test the difference between models C1–C5 with nested complexity.

Results

The average FRE was 0.5 mm (SD 0.1 mm) for the optical tracking system and 0.7 mm (SD 0.3 mm) for the EMT system.

TRE of the different models

The average TRE without any correction (model A) was 32.8 mm (SD 20.8 mm) with only 19.6 % of the measurements below 10 mm. For the rigid motion compensation (model B), the average TRE was 6.8 mm (SD 4.8 mm) with 78.7 % of the measurements below 10 mm. Student’s t test revealed a statistically significant difference between the TREs obtained by models A and B (p < 0.001). For the different levels of complexity of model C, the average TRE ranged from 2.9 mm (SD 1.4 mm) with 99.8 % below 10 mm for the model with highest complexity (C5, target-specific linear regression) to 10.3 mm (SD 8.8 mm) with 63.9 % below 10 mm for the level with lowest complexity (C1, unspecific scaling factor). ANOVA showed that each successive more complex level was significantly better than the previous one. However, only C5 was significantly better than the rigid correction of model B (Table 2).

Table 2 Results for the different correction models

TRE of the different targets

A closer examination of models A and B reveals different results for the different targets. Whereas model B has only 78.7 % of measurements of TRE below 10 mm for all targets, eight targets had more than 98 % of measurements of TRE below 10 mm. Figure 5 shows the results for models A and B for three target subgroups: targets 1–5 (above the sensor), targets 6–10 (at the level of the sensor) and targets 11–15 (below the sensor).

Fig. 5
figure 5

Comparison of models A (crosses—without correction) and B (dots—with correction). TRE in mm (y axis) depending on the motion of the organ sensor in millimeter (x axis). The results are stratified by their position in relation to the organ sensor with the distance to the sensor color-coded: A targets above the sensor (targets 1–5), B at the level of the sensor (targets 6–10) and C below the sensor (targets 11–15)

Discussion

Compensation model

Our system showed the feasibility of preoperative imaging in combination with EMT for compensation of intraoperative tissue deformation and the benefit of using different correction models in rectal surgery in a phantom model.

The corrected TRE (model B and C), calculated using the information from the EMT organ sensor, was significantly lower than the uncorrected TRE (model A). Since the results varied between the different targets and calculation models, the necessity for a deformation model for rectal surgery became evident. For the targets at the level of the sensor, more than 98 % of the measured TRE were below 10 mm. The other targets varied more depending on the motion of the organ. For the targets below the sensor, there was an inverse dependence of corrected (model B) and uncorrected (model A) TRE on organ motion. This was due to the fact that the rectum was fixed to the pelvic floor at its bottom, which is not respected by model B. This led to an overcompensation of the TRE with model B; overcompensation was higher, the less the target itself moved.

Thus, model C was used taking the deformation of the organ into account. The results show that only the most complex model C5, employing separately calculated parameters for each of the target points, allowed for more accurate tracking of the whole organ than model B. This may be due to the fact that models C1–C4 applied a linear regression calculated for all of the targets, thus limiting the accuracy to an intermediate level even in high proximity to the sensor. Here, model B already showed good results for the targets 3–11 arranged with five of the targets at the level of the sensor, two targets above and one target below the sensor (Fig. 5).

Thus, it can be questioned whether the increased complexity of model C is at all necessary: If the sensor can be placed in the vicinity of the targeted tumor and planned resection area, the rigid correction of model B could be sufficient. Furthermore, model C would be difficult to translate into clinical application: In order to calculate regression for the deformation model, the deformation would have to be examined beforehand or additional markers (represented by glass targets in this study) have to be introduced which would disturb the clinical workflow.

In summary, the system allowed for real-time tracking of the rectum with a high accuracy in the vicinity of the sensor (Fig. 5B shows targets at level of the sensor). Thus, the system could help less experienced surgeons to identify the oncologically correct height of resection in rectal cancer resection. This is especially relevant for patients who experienced previous surgeries as the operation is here more challenging due to scarring and iatrogenic changes in anatomy. Moreover, in the setting of recurrent cancer or reoperation for complications, the site lacks anatomical features that help the surgeon to navigate. The same is true for difficult operations such as morbidly obese patients or locally advanced tumors. In this case, even experienced surgeons could benefit from image guidance.

Deformation compensation in the literature

Most of the standard approaches to accounting for organ deformation, such as in liver surgery, are not suitable for application in rectal surgery. They consist of surface reconstruction followed by either rigid or non-rigid registration to tomographic images [16, 17]. The rectum, however, has no well-defined surface as the liver does, and its appearance is largely influenced by surgical manipulation.

Furthermore, the rectum as well as the colon resembles a flexible tube and lacks the geometric characteristics that are crucial for surface-based registration [18]. This implies that real-time information from surface reconstruction is unlikely to achieve accurate monitoring of motion and deformation in these organs. Intraoperative imaging that would allow for three-dimensional measurement of the deformation is mostly lacking and not easily integrated into the surgical workflow [8].

Hybrid tracking solutions, namely a combination of optical and EMT, were employed by different groups [1921]. While hybrid tracking is usually intended to address the line-of-sight problem of optical tracking without losing its superior accuracy compared to the EMT, our approach was direct electromagnetic tracking of the target organ. Previous work used either superficial [22] or inserted markers [2325] for organ tracking in image-guided surgery and intervention. Beller et al. [25] placed an EMT sensor next to a hepatic tumor and defined a “no-contact” area around it. When the optically tracked instrument entered this region, the surgeon was warned acoustically. This tracked area was, however, rigidly fixed to the EMT sensor and did not employ a deformation model.

Rassweiler et al. [26] proposed a marker-based approach of rigid organ tracking named inside-out tracking. For tracking, they used intraoperatively positioned surface markers in the laparoscopy video and provided an augmented reality based on intraoperative ultrasound imaging. In rectal surgery, however, the positioning of the markers could lead to injury of the mesorectal plane and therefore compromise oncological outcome [27]. Furthermore, due to the circular dissection of the mesorectal plane, the markers would not be visible most of the time. Thus, a marker-based technique is not applicable.

Shekhar et al. [28] did not use a tracking system at all. They facilitated organ tracking via continuous intraoperative CT imaging, but at the same time causing extensive radiation exposure to both the patient and the surgeon. Nevertheless, integration of CT imaging into the OR was already shown to be feasible in laparoscopic surgery and, in theory, is an alternative to our approach [8].

Clinical translation

The main limitation of the present study is that it is not clear whether the results of this phantom experiment are also applicable in a more realistic setting due to different tissue properties or inferior tracking conditions for both optical and EMT.

Firstly, the anchoring of the sensor and finding landmarks for evaluation of the system is certainly more difficult in real tissue. Thus, we conducted porcine experiments on the esophagus, where attaching the sensor to the mucosa proved feasible (Fig. 5). Despite differences in the organ anatomy from a surgical perspective, this method could easily be transferred to the rectum. Furthermore, laparoscopic clips should replace the glass targets used in this study. They can be securely fixed to the organ, targeted during the experiment itself, and their position can be determined in CT imaging to allow for calculation of image guidance errors as proved in previous studies [29].

Secondly, the clinical environment can compromise the accuracy of EMT. A metal OR table can cause serious distortions to the magnetic field, thus leading to higher tracking errors compromising the overall accuracy of the system. In extreme cases, this might render the whole image guidance system useless because of errors that can be as high as several centimeters. With conventional field generators, this problem can only be addressed by elevating the tracking volume from the table [13]. In clinical reality, this could be achieved using a vacuum mattress that would secure the patient on the table in case of Trendelenburg positioning during the pelvic part of the operation. Also new flat panel field generators have been developed which shield the tracking volume from distortions and could be positioned directly beneath the patient. Using this technology, Maier-Hein et al. [30] reduced the error resulting from the table in a CT suite setting by up to 70 % compared to the field generator used in our study.

Thirdly, the pointer used for evaluation was tracked optically in this study. In a clinical setting, optical instrument tracking could cause problems due to an interrupted line of sight. EMT for instrument tracking on the other hand would mean additional wires being attached to the laparoscopic instruments, which is inconvenient. Thus, we designed a laparoscopic instrument with improved optical tracking capabilities. It has already been tested in porcine studies without organ tracking, reduced the line-of-sight problem and allowed for precise evaluation of the image guidance system [29].

Still, application in animal experiments and subsequently clinical settings is necessary to evaluate the system in vivo. Here, the further development of the concept of EMT organ tracking for image-guided rectal cancer surgery is also determined by its integration into the clinical workflow.

Conclusion

The presented method for organ tracking allows for compensation of rectal motion and deformation for image-guided laparoscopic colorectal surgery in a phantom model. In the future, motion-compensated image guidance might help to lower the complexity of challenging minimally invasive operations, especially for the less experienced surgeons. On the other hand, experienced surgeons might use this technology in difficult cases, for instance with morbidly obese patients, locally advanced or recurrent tumors.