Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2023 May 14.
Published in final edited form as: Med Image Comput Comput Assist Interv. 2016 Oct 2;9902:124–132. doi: 10.1007/978-3-319-46726-9_15

Deformable 3D-2D Registration of Known Components for Image Guidance in Spine Surgery

A Uneri 1, J Goerres 2, T De Silva 2, MW Jacobson 2, MD Ketcha 2, S Reaungamornrat 1, G Kleinszig 3, S Vogt 3, AJ Khanna 4, J-P Wolinsky 5, JH Siewerdsen 1,2,5
PMCID: PMC10183252  NIHMSID: NIHMS1896471  PMID: 37195053

Abstract

A 3D-2D image registration method is reported for guiding the placement of surgical devices (e.g., K-wires). The solution registers preoperative CT (and planning data therein) to intraoperative radiographs and computes the pose, shape, and deformation parameters of devices (termed “components”) known to be in the radiographic scene. The deformable known-component registration (dKC-Reg) method was applied in experiments emulating spine surgery to register devices (K-wires and spinal fixation rods) undergoing realistic deformation. A two-stage registration process (i) resolves patient pose from individual radiographs and (ii) registers components represented as polygonal meshes based on a B-spline model. The registration result can be visualized as overlay of the component in CT analogous to surgical navigation but without conventional trackers or fiducials. Target registration error in the tip and orientation of deformable K-wires was (1.5±0.9)mm and 0.6±0.2, respectively. For spinal fixation rods, the registered components achieved Hausdorff distance of 3.4 mm. Future work includes testing in cadaver and clinical data and extension to more generalized deformation and component models.

Keywords: 3D-2D registration, Deformable registration, Image-guided surgery, Surgical navigation, Quality assurance, Spine surgery

1. Introduction

Intraoperative x-ray projection images (radiography and fluoroscopy) are commonly used in neurosurgery and orthopaedic surgery for up-to-date visualization of patient anatomy and surgical devices placed therein. However, accurate interpretation of the 3D orientation of devices within complex anatomy can challenge even experienced surgeons ∘ for example, assessing the trajectory of a K-wire within safe margins of a bone corridor in spine or pelvis surgery, which requires accuracies of 1 mm and 5° [1]. Potential solutions include the use of tracking systems and fiducial markers for surgical navigation, but the additional workflow associated with tool calibration and patient registration in addition to the requirement for extrinsic fiducials are commonly cited as barriers to ease of use and broad utilization. Furthermore, many classes of trackers are limited to rigid bodies due to the affixed external markers. Electromagnetic trackers offer a potential solution to this problem by embedding markers at the tip of tools within the body (e.g., a flexible endoscope); however such systems tend to exhibit somewhat lower registration accuracy and may suffer from metal interference. Intraoperative 3D imaging systems, such as CT, cone-beam CT (CBCT), and MRI, can provide excellent 3D visualization of anatomy and the surgical product but carry additional expense, patient access, workflow, and (possibly) radiation dose that also challenge broad utilization.

An alternative approach can provide 3D localization from intraoperative 2D radiographic images via 3D-2D registration to preoperative 3D images and planning information therein [2]. Such registration methods can extend the functionality of intraoperative 2D imaging that is already common in the surgical arsenal, integrating more naturally with standard workflow and potentially absolving the aforementioned limitations associated with surgical tracking and intraoperative 3D imaging. These methods have recently been used in the context of spine surgery [3] as well as to solve for the pose of rigid implants [4, 5] as a means of verifying the surgical product. Accurate account of deformation remains a significant challenge, with promising results offered by statistical shape models to solve for interpatient anatomical differences [6].

In this work, we combine a 3D-2D image registration method with deformable models of surgical devices (“known components”) to resolve their pose and (deformed) shape within the patient. In a sense, the approach exploits the radiographic imaging system as a “tracker,” the patient as their own “reference marker,” and surgical components themselves as “tracked tools.” The method was applied within the context of spine surgery, using a phantom experiment and mobile C-arm to emulate a spinal fixation procedure. Surgical components (viz., K-wires and spinal fixation rods) were deformably registered based on three intraoperative radiographs. Geometric accuracy was analyzed in terms of target registration error (TRE) as well as concordance with the shape of the deformed component.

2. Methods

2.1. 3D-2D Registration Framework

The proposed solution involves a robust, gradient-based 3D-2D registration algorithm composed of two distinct stages that work in tandem to solve for the 3D pose of the patient as well as the components as shown in Fig. 1. In each stage, 2D intraoperative radiographic projections are registered to a particular source of prior information: (i) the patient registration stage (red in Fig. 1) computes the transformation relating one or more radiographs Pθ to the preoperative CT (V) acquired for surgical planning; and (ii) the component registration stage (blue in Fig. 1) computes the pose and parameter vector relating two or more radiographs (the same Pθ) to a parametric model (C(p)) of surgical devices within the patient (referred to as “known components”). As detailed below, both stages iteratively optimize the gradient similarity between the radiographs (P) and digitally reconstructed radiographs (DRRs) of the input 3D information (V or C). The patient registration stage is based on the method in [3] and can optionally include locally rigid/globally deformable transformation of patient information as in [7]. The component registration is based on the (rigid) “known-component” registration (KC-Reg) method in [5], with the main advance reported below involving a deformable transformation model of the known components – e.g., needles, rods, and catheters that would not follow a simple rigid transform.

Fig. 1.

Fig. 1.

Flowchart for the deformable known-component registration (dKC-Reg) algorithm. Red: patient registration. Blue: registration of surgical components. The algorithm first solves for the transformation relating one or more radiograph (P) to the patient CT (V). The pose and deformation parameters of the component are then solved from one or more radiographs Pθ. Note that the system operates free of conventional tracking/navigation systems and fiducial markers and employs simple mobile radiographic imaging systems already common in the operating room.

The algorithm uses radiographic projections (P) (e.g., from a mobile C-arm) as normally acquired within the standard-of-care for anterior-posterior (AP), lateral, and oblique views (θ) of patient anatomy. Similarity between the projection and the DRR of the current estimate is then computed using pixel-wise gradient correlation (GC):

GC(f,m) =12{NCC(xf,xm)+NCC(yf,ym)}    (1)

where, NCC(f,m) =fmfm and is the gradient operator applied to the fixed radiograph (f) and moving DRR (m) images. The similarity metric is iteratively optimized using the covariance matrix adaptation evolution strategy (CMA-ES [8]) with a population of ~200 samples per iteration.

The optimization problem for the first stage uses the preoperative CT volume (V) to establish the radiographic pose of a given projection view Pθ, defined as:

T^θ=argmaxTGC(Pθ,rVdr(Tθ)) (2)

where Tθ are the rigid extrinsic parameters of projective geometry, governed by 6 degrees-of-freedom (DoF) representing translation and rotation (with extension to a globally deformable model in [7]). This process is repeated for each PθP to yield a set of transforms that describe radiographs with respect to the patient coordinate frame in lieu of a predetermined geometric calibration, thereby extending applicability beyond well-calibrated, computer-controlled C-arms and allowing increased DoF in C-arm positioning.

The second stage uses the parameterized component model (C) and optimizes the parameter vector (p) describing the pose, shape (e.g., diameter), and deformation via:

p^=argmaxpθGC(Pθ,rC(p)dr(T^θ)) (3)

Note that the geometric relation established in the previous stage resolves the 3D component within the patient frame of reference and allows simultaneous projection of components and comparison to multiple (2–3) radiographs as expressed by the sum of their similarity. This is important for small, relatively simple surgical device components (unlike large, feature-rich anatomy), since the components have fewer characteristic features and may be ambiguous in certain views (e.g., end on view of a K-wire). This is especially important for deformable components to yield a unique (nondegenerate) solution for pˆ, and the use of multiple (2 or 3) views provides robustness to such degeneracy and accurate 3D localization.

2.2. Deformable Component Model

The component registration method uses a parametric description of surgical devices represented as polygonal meshes, providing a fairly general framework for modeling various 3D shapes and modes of deformation without manufacturer-specific (often proprietary) knowledge of device design. In this study, as illustrated in Fig. 2, we use a simple B-spline model for the component centerline with a tessellated mesh description of its radial extent, yielding a parametric description suitable to a broad range of devices presenting cylindrical symmetry (e.g., K-wires, needles, rods, shunts, catheters, flexible endoscopes, and some robotic manipulators).

Fig. 2.

Fig. 2.

Deformable component models. (a) Example surgical tools (K-wire, flexible screwdriver, drill, and spinal fixation rod) presenting a cylindrical profile. (b) Parametric B-spline component model showing control points αi, attached discs dj, and tangent lines at clamped endpoints. (c) Tessellated 3D model with computed surface normals. (d) Non-convex polygon projection with multiple red line segments indicating line integrals through the mesh.

The B-spline model was chosen due to its locality and compatibility with the optimization framework, with individual control points (DoFs) that can be manipulated without changing the shape of the entire curve:

C(u)=i=0nαiNi,k(u) (4)

where control points αip are a subset of the component parameter vector, pˆ. Cubic splines (k=3) were used for orders n>2 (excepting the first order [n=1] for which k=1 and second order [n=2] for which k=2). The spline is clamped by constraining the first and last knots to u0=u1=uk and un+1-k==un=un+1 such that the curve is tangent to the first and the last legs at the first and last control point. Such clamping ensures that the endpoint and approach angle of the device match that of the corresponding control point.

To construct the 3D cylindrical mesh about the centerline, the spline is sampled at locations dj corresponding to an arbitrary number of discs with radius rp, where Cdj and C'(dj) define the position and orientation of each disc such that each disc is orthogonal to the spline as shown in Fig. 2. The discs are tessellated using triangles, and the surface normals of the resulting mesh are computed.

A novel polygon projector was defined to compute the DRR for the component model at each iteration of the optimization. The projector handles potential non-convex configurations that may occur (i.e., when the component bends on itself in the radiographic views) as follows:

rCdrt=1Tsgn(rn{Ct})ψ(r,Ct)r02 (5)

which computes the line integral through the mesh by summing the contribution of all triangles (T) for a given ray (r). The intersection point (ψ) between r and any given triangle on the component surface Ct is computed using the Möller-Trumbore intersection algorithm. If a triangle is not intersected by r, then ψ=r0 (i.e., ray origin, which in this context is the x-ray source), thereby zeroing its contribution to the DRR. The sgn operation uses the surface normal n at Ct to distinguish between and inbound and outbound rays on the mesh such that only the interior of the surface is integrated, thus handling non-convexity.

2.3. Experimental Evaluation

Experiments were conducted to test and evaluate the dKC-Reg algorithm in scenarios emulating the placement of transpedicle K-wires, pedicle screws, and spinal fixation rods in spine surgery. As shown in Fig. 3a, an anthropomorphic spine phantom placed within a soft-tissue holder (Sawbones, Pacific Research Laboratories, WA USA) formed the experimental model, with a CT scan acquired prior to placement of instrumentation (Toshiba Aquilion ONE CT scanner). Projection radiographs were acquired in the course of device placement using a mobile C-arm (Cios Alpha, Siemens, Erlangen Germany) yielding both the 1, 2, or 3 views employed for patient and component registration (Fig. 1) as well as a full orbital scan for CBCT “truth” definition following placement of each device. K-wires were placed in lumbar vertebrae (L1–L5) with the K-wire purposely bent to effect deformation. Device trajectories included medial (L1) and lateral (L2) breaches. Finally, spinal rods were bent to approximate correction of spinal curvature.

Fig. 3.

Fig. 3.

Deformable registration for K-wire guidance. (a) Experimental setup using a mobile C-arm and spine phantom. (b) Axial views of the pre-op CT showing the registered position of deformed registered components (yellow) in comparison to truth (magenta). (c–d) TRE of the K-wire tip TREx, mm and trajectory TREϕ, ° evaluated as a function of B-spline order. The deformable registration is found to be stable over a fairly broad range of spline order (n=3-7) but fails from overfitting for order 8.

Geometric accuracy of the registration was quantified in terms of targeting accuracy (at the tip of the K-wire) and proximity to the true shape of the component (for both the K-wire and fixation rods). The true position and shape were defined from thresholding, segmentation, and centerline extraction in a CBCT image acquired using the same C-arm for each device placement. The k-wire tips were conspicuous in these images, despite the usual metal artifacts. For the K-wires, registration accuracy was evaluated in terms of the error in component tip and angular trajectory, quantified using positional and angular variations on TRE:

TREx =C(α0)Ctrue(α0)2TREϕ =cos1C(α0)Ctrue  '(α0)C(α0)Ctrue  '(α0) (6)

where α0 is the spline control point for the K-wire tip. For both the K-wires and spinal fixation rods, registration accuracy was also evaluated in terms of the concordance between the true centerline and spline registration result along the entire length of the device. At each point along the component, the distance to the true centerline was computed Δx, as well as Hausdorff distance (HD) used to quantify the degree of overlap of the modeled component:

HD=maxa(minbC(a)Ctrue(b)2) (7)

where C is the model and Ctrue   is the segmented medial line.

3. Results

3.1. K-Wires

Registration results for the K-wire guidance task are presented in Fig. 3b, demonstrating successful registration in each vertebral level with overall translational error <2 mm and trajectory angulation error <1° [Fig. 3cd].

The method also correctly indicated the suboptimal trajectories at L1 (medial breach) and L2 (lateral breach). The non-convex projector correctly handled retrograde curving of tools in generated samples prior to converging at the solution. Analysis of sensitivity to B-spline order (n) showed robust performance for n=4-7; lower-order splines failed to model the deformation of the wire, and higher-order splines (n8) were subject to sporadic excursions from a realistic curve. A nominal spline order n=3 or 4 yielded statistically significant improvement (p<0.05) in TREx(1.51±0.90 mm) and TREϕ(0.58±0.22°) compared to a 2nd-order spline.

3.2. Spinal Rods

Applying the dKC-Reg method to curved spinal fixation rods also yielded good agreement with the true curvature of the component as visualized and quantified in Fig. 4. The convergence of the algorithm is illustrated in Fig. 4b, which shows GC similarity increasing monotonically and reaching a stable maximum for >~50 iterations, beyond which performance assessed in terms of Hausdorff distance is better than 5 mm. Analysis of the results with respect to the B-spline order (n) show agreement with the K-wire results. Similar to Fig. 3cd, the registration results were stable for spline orders in the range n=3-7. For n=3, overall concordance was Δx=(2.46±0.72) mm, and HD=3.35 mm, which demarks the greatest separation from truth.

Fig. 4.

Fig. 4.

Deformable registration of spinal fixation rods. (a) Volumetric rendering of the post-op CT with the true component (top, magenta), and the registered component visualized in pre-op CT (bottom, yellow) for spline order n=3. (b) Convergence behavior of the optimizer illustrated in terms of the similarity metric (GC) and the HD measured as a function of iteration number. (c) Mean deviations from true position measured along the length of spinal rod.

4. Conclusion

A new method for 3D image guidance was presented that utilizes simple mobile radiography/fluoroscopy systems already common in the operating theatre to derive accurate localization and guidance of surgical devices within the body. The algorithm detailed in this work uses low-order parameterization of surgical components and includes deformation of the components (e.g., bending wire) within the solution. Experimental evaluation in a phantom emulating spine surgery yielded registration accuracy better than 2 mm and 2° in the tip and orientation of (deformed) device components. The focus of the experiments were on the deformable component, and while the phantom used is admittedly simple, the patient registration have been shown to be very robust in clinical data that included anatomical deformation [7, 9]. While the system offers the means for navigation without the common workflow limitations of conventional tracking systems and assumption of rigid tools, it does not provide real-time visualization, rather updates with each radiographic view. Future work includes testing in clinical data and application to other clinical applications, such as the placement of catheters, shunts, or stents, where the cylindrical component model described above may be expected to hold. The framework will also be extended to support more general component shapes and modes of deformation, potentially employing more generalized deformation models, such as non-uniform rational basis splines (NURBS), which has shown promise in the field of computer-aided design.

Acknowledgments

Acknowledgements.

Research supported by NIH grant R01-EB-017226 and academic-industry partnership with Siemens Healthcare (XP Division, Erlangen Germany).

References

  • 1.Rampersaud YR, Simon DA, Foley KT: Accuracy requirements for image-guided spinal pedicle screw placement. Spine (Phila. Pa. 1976) 26, 352–359 (2001) [DOI] [PubMed] [Google Scholar]
  • 2.Markelj P, Tomaževič D, Likar B, Pernuš F: A review of 3D/2D registration methods for image-guided interventions. Med. Image Anal 16, 642–661 (2012) [DOI] [PubMed] [Google Scholar]
  • 3.Otake Y, Schafer S, Stayman JW, Zbijewski W, Kleinszig G, Graumann R, Khanna AJ, Siewerdsen JH: Automatic localization of vertebral levels in x-ray fluoroscopy using 3D-2D registration: a tool to reduce wrong-site surgery. Phys. Med. Biol 57, 5485–5508 (2012) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Jaramaz B, Eckman K: 2D/3D registration for measurement of implant alignment after total hip replacement. In: Larsen R, Nielsen M, Sporring J (eds.) MICCAI 2006. LNCS, vol. 4191, pp. 653–661. Springer, Heidelberg: (2006) [DOI] [PubMed] [Google Scholar]
  • 5.Uneri A, De Silva T, Stayman JW, Kleinszig G, Vogt S, Khanna AJ, Gokaslan ZL, Wolinsky J-P, Siewerdsen JH: Known-component 3D-2D registration for quality assurance of spine surgery pedicle screw placement. Phys. Med. Biol 60, 8007–8024 (2015) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Sadowsky O, Chintalapani G, Taylor RH: Deformable 2D-3D registration of the pelvis with a limited field of view, using shape statistics. Med. Image Comput. Comput. Assist. Interv 10, 519–526 (2007) [DOI] [PubMed] [Google Scholar]
  • 7.Ketcha MD, De Silva T, Uneri A, Kleinszig G, Vogt S, Wolinsky J-P, Siewerdsen JH: Automatic masking for robust 3D-2D image registration in image-guided spine surgery. In: SPIE Medical Imaging, San Diego, CA, USA: (2016) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Hansen N, Ostermeier A: Completely derandomized self-adaptation in evolution strategies. Evol. Comput 9, 159–195 (2001) [DOI] [PubMed] [Google Scholar]
  • 9.De Silva T, Lo S-FL, Aygun N, Aghion DM, Boah A, Petteys R, Uneri A, Ketcha MD, Yi T, Vogt S, Kleinszig G, Wei W, Weiten M, Ye X, Bydon A, Sciubba DM, Witham TF, Wolinsky J-P, Siewerdsen JH: Utility of the levelcheck algorithm for decision support in vertebral localization. Spine (Phila. Pa. 1976) (2016) [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES