SciKit-Surgery: compact libraries for surgical navigation

Stephen A. Thompson, Thomas Dowrick, Mian Ahmad, Goufang Xiao, Bongjin Koo, Ester Bonmati, Kim Kahl, Matthew J. ClarksonInt. J. Comput. Assist. Radiol. Surg 2020

TL;DR

This paper introduces SciKit-Surgery, a collection of modular, Python-based libraries designed to accelerate the development and translation of image-guided surgery applications. By prioritizing orthogonality and minimizing dependencies, SciKit-Surgery aims to bridge the gap between research prototypes and clinically approved software, enabling faster deployment from single-surgeon trials to multicenter studies.

What Problem Does This Paper Address?

Developing clinical applications for image-guided interventions (IGI) is a complex process that draws from multiple fields like medical imaging, computer vision, and user interface design. While existing platforms and toolkits exist, they often hinder the translation of research prototypes into production-ready software. This is primarily due to their large codebase, intricate dependency structures, and the significant engineering effort required to adapt them for clinical use and certification. The authors highlight a "valley of death" where promising research applications fail to progress due to these translation challenges. SciKit-Surgery aims to solve this by providing a more agile and manageable approach to building IGI applications.

Methods

SciKit-Surgery is not a monolithic platform but rather a family of compact, orthogonal, stand-alone libraries. The core design principles are:

  • Needs-Driven Development: Libraries are built based on specific research needs, avoiding the inclusion of unnecessary functionality.
  • Modularity and Orthogonality: Each library focuses on a single task ("do one thing and do it well"), with minimal and clear dependencies between them. This orthogonality is key to reducing complexity.
  • Python-Centric: The libraries primarily use Python interfaces and leverage standard data structures like NumPy, making them accessible to a wider range of researchers who may not have extensive C++ experience.
  • Ease of Installation and Use: Libraries are designed to be easily installed via pip from the Python Package Index (PyPI) and are fully documented with provided examples and tutorials.
  • Robust Engineering Practices: The libraries adhere to best practices like version control, issue tracking, and continuous integration testing (via GitLab) to ensure quality and facilitate integration into clinical products.

The paper also compares SciKit-Surgery to existing platforms like 3DSlicer, MITK, and NifTK, using metrics like lines of code and cross-dependencies to illustrate the reduction in complexity.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Orthogonality is King for Translation: The paper strongly emphasizes that strict orthogonality between libraries, rather than just modularity, is crucial for simplifying development and, more importantly, for enabling the translation of research into clinical products. This reduces the risk of unintended consequences when making changes.
  • Python's Role in Democratizing IGI Development: By opting for Python, SciKit-Surgery lowers the barrier to entry for researchers who may be more comfortable with this language than C++, a common hurdle in many existing IGI platforms.
  • Minimizing Dependencies is a Direct Path to Clinical Viability: The core argument is that fewer and simpler dependencies directly translate to less effort in certification, maintenance, and overall clinical translation. This is a significant departure from large, feature-rich platforms.
  • Decentralized Development for Sustainability: The library-based approach, with clear contribution guidelines, aims to foster a community of developers, making the project more sustainable and less prone to the "death of a platform" due to maintenance burdens.

Key Results

  • Reduced Complexity: Two example applications (SmartLiver and SnappySonic) demonstrated that SciKit-Surgery applications have a simpler dependency structure compared to implementations on monolithic platforms like NifTK. For instance, the SmartLiver application using SciKit-Surgery had fewer direct dependencies and a more manageable cross-dependency tree.
  • Rapid Prototyping: The SnappySonic application was developed from idea to a basic demo in just two working days, showcasing the speed of development enabled by SciKit-Surgery.
  • Faster Dissemination: The SnappySonic project was made available on PyPI within two months of its initial development, highlighting the ease of sharing and replicating research built with SciKit-Surgery.
  • Support for Clinical Translation: The SmartLiver application, built with SciKit-Surgery, has entered WEISS's ISO-13485 Quality Management System for further development into an approved clinical application, demonstrating the framework's suitability for this goal.

Limitations and Future Work

  • Limited Functionality Compared to Established Platforms: The authors acknowledge that SciKit-Surgery, at the time of publication, does not offer the same breadth of functionality as existing medical imaging and IGI platforms. However, they argue that its strength lies in its ability to rapidly develop new functionality as needed.
  • Future Work: The paper suggests that future work could involve implementing medical image computing tools within SciKit-Surgery, as this is a notable absence compared to other platforms. They also plan to investigate the best methods for deploying Python-based clinical applications to end-users, as simpler distribution mechanisms might be needed for some scenarios. Ongoing development also includes GPU-accelerated libraries to enable real-time processing.

Summary updated

BibTeX
@article{thompson2020scikit,
  author = {Stephen A. Thompson and Thomas Dowrick and Mian Ahmad and Goufang Xiao and Bongjin Koo and Ester Bonmati and Kim Kahl and Matthew J. Clarkson},
  title = {{SciKit-Surgery: compact libraries for surgical navigation}},
  journal = {Int. J. Comput. Assist. Radiol. Surg.},
  year = {2020},
  url = {https://openreview.net/forum?id=JoMnJhKHhf9},
}
Figure