Deep hashing for global registration of untracked 2D laparoscopic ultrasound to CT

João Ramalhinho, Bongjin Koo, Nina Montaña Brown, Shaheer U. Saeed, Ester Bonmati, Kurinchi Gurusamy, Stephen P. Pereira, Brian R. Davidson, Yipeng Hu, Matthew J. ClarksonInt. J. Comput. Assist. Radiol. Surg 2022 · DOI

In laparoscopic liver surgery, navigating complex vascular anatomy is a critical challenge. Surgeons rely on pre-operative 3D CT scans as a "map," but their real-time guidance comes from 2D Laparoscopic Ultrasound (LUS). Aligning these two modalities—global registration—is essential for avoiding major vessels and precisely targeting tumors. However, this process is often hindered by the limited field of view of 2D slices and the lack of external tracking hardware in many operating rooms.

A study by Ramalhinho et al., published in the International Journal of Computer Assisted Radiology and Surgery, proposes a novel solution: Deep Hashing (DH). By converting ultrasound images into compact binary codes, the researchers have developed a faster, more accurate method for global registration without requiring external sensors.

Methodology: The Siamese Autoencoder

Traditional registration methods often rely on handcrafted features, such as vessel centroids and areas. These "Content-Based Image Retrieval" (CBIR) approaches frequently fail because simple geometric statistics cannot capture the complex, curvilinear shapes of hepatic vasculature.

To overcome this, the authors developed a Deep Hashing framework using a Siamese Network architecture. The network is trained to compress vessel images into 32-bit "hash codes" that represent the unique shape and orientation of the vascular structures.

The Siamese Autoencoder architecture uses triplets (query, positive, and negative images) to learn robust, compact binary hash codes for vessel registration.

The model utilizes a triplet training scheme. It processes a query image ($x_q$), a positive match ($x_p$, a deformed version of the query), and a negative match ($x_n$, from a different liver location). The training objective combines three loss functions:

  1. Triplet Contrastive Loss: Minimizes the distance between $x_q$ and $x_p$ in the hash space while maximizing the distance to $x_n$.
  2. Binarization Loss: Forces the network outputs toward discrete values (1 or -1) for efficient hashing.
  3. Reconstruction Loss: Ensures the network retains enough information to reconstruct the original vessel shapes, proving it has "understood" the underlying anatomy.

Experimental Results

The framework was evaluated using retrospective data from five clinical cases, including 11 continuous LUS sweeps. The training was entirely self-supervised, using millions of simulated 2D slices generated from patient-specific CT scans. This approach eliminates the need for large, manually labeled ultrasound datasets.

Success rates across clinical cases show that the Deep Hashing (DH) method, particularly with multi-labeling (DH Multi), significantly outperforms traditional handcrafted CBIR methods.

The results demonstrate a clear advantage for Deep Hashing. Using a 20mm error threshold for successful global registration, the DH model achieved a 61% success rate, compared to just 48% for traditional handcrafted features. Furthermore, when vessel labels (e.g., distinguishing portal vs. hepatic veins) were incorporated, the model's precision improved significantly, often placing the correct match within the top two retrieved candidates.

Conclusion and Future Outlook

By moving from simple statistics to learned shape descriptors, Deep Hashing provides a more robust "fingerprint" for liver anatomy. This method is computationally efficient and generalizable, as the feature encoding is learned automatically from CT data.

While the current model assumes a rigid liver, future iterations aim to incorporate biomechanical modeling to account for tissue deformation during surgery. Additionally, integrating automated real-time vessel segmentation will be a key step toward a fully autonomous, "one-click" surgical navigation tool.

Summary updated

BibTeX
@article{ramalhinho2022deep,
  author = {João Ramalhinho and Bongjin Koo and Nina Montaña Brown and Shaheer U. Saeed and Ester Bonmati and Kurinchi Gurusamy and Stephen P. Pereira and Brian R. Davidson and Yipeng Hu and Matthew J. Clarkson},
  title = {{Deep hashing for global registration of untracked 2D laparoscopic ultrasound to CT}},
  journal = {Int. J. Comput. Assist. Radiol. Surg.},
  year = {2022},
  doi = {10.1007/s11548-022-02605-3},
}
Figure