Skip to content

UnityIGTConnector is a Unity integration of the OpenIGTLink protocol, allowing for real-time communication and advanced visualization of medical data in mixed reality applications. Perfect for enhancing surgical support with HoloLens 2

License

Notifications You must be signed in to change notification settings

vincenzocivale/UnityIGTConnector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityIGTConnector

License: GPL-3.0

This repository contains the implementation of the OpenIGTLink communication protocol within Unity. This integration enables the reception and transmission of HEADER, TRANSFORM, IMAGE, POLYDATA, and STRING messages within the Unity scene, unlocking new possibilities for mixed reality applications in the medical field.

Overview

OpenIGTLink is an open-source network communication protocol specifically designed for image-guided interventions. Its goal is to provide unified, real-time communication (URTC) in operating rooms for image-guided surgeries, where imaging devices, sensors, surgical robots, and computers from various manufacturers can work cooperatively.

Integrating OpenIGTLink into Unity offers the following benefits:

  • Extensibility: Allows extending the functionality of any open-source software that supports Python or C++, enabling the visualization and interaction with content within a mixed reality application.
  • Code Reusability: Avoids the need to re-implement complex functions within Unity, which, being a game engine, is not primarily designed for specialized medical applications.
  • Interoperability: Facilitates communication between different platforms and devices used in medical environments.
  • Advanced Visualization: Leverages Unity's graphical capabilities to represent complex medical data in a mixed reality environment.

Examples

3D Slicer in Unity

A first example of usage for this implementation is the integration with the UnityVolumeRendering project in combination with the 3D Slicer software. This combination allows for:

  • Receiving volumes from software like 3D Slicer via OpenIGTLink
  • Perform effective volume segmentation using machine learning models trained in Python
  • Visualizing these volumes within the Unity scene
  • Leveraging the volumetric rendering capabilities of UnityVolumeRendering

This approach enables the creation of advanced surgical support applications without needing to reimplement features that already exist in other systems.

Features

  • Reception and transmission of OpenIGTLink messages in Unity

  • Support for message types:

    • TRANSFORM: Enables synchronization of the position and orientation of objects.
    • IMAGE: Facilitates the reception of volumes reconstructed from biomedical images.
    • POLYDATA: Supports the transmission of various types of meshes (e.g., surface models).
  • Integration with the UnityVolumeRendering project for volume rendering.

  • Compatibility with HoloLens 2 for mixed reality surgical applications.

Aknowledgements

This project builds upon the following previous works and resources:

  • SlicerIGT: A 3D Slicer extension providing modules for image-guided therapy research, serving as a foundation for many OpenIGTLink integrations.
  • UnityVolumeRendering: A project focused on volume rendering in Unity, which has been integrated into this implementation to visualize medical imaging data.
  • OpenIGTLink: The official repository for the OpenIGTLink protocol, which forms the backbone of this communication system.
  • OpenIGTLink-Unity: An initial implementation of OpenIGTLink in Unity, supporting only the sending and receiving of transform messages.
  • HoloLens2and3DSlicer-PedicleScrewPlacementPlanning: A project demonstrating the use of HoloLens 2 in combination with 3D Slicer, also limited to transform messages.

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

By using, modifying, or distributing this software, you agree to the terms of the GPL-3.0 license, which requires that:

  • Any modifications and derivative works must also be distributed under the GPL-3.0.
  • The complete source code of the project and any modifications must be made available.
  • Contributors provide an express grant of patent rights.

About

UnityIGTConnector is a Unity integration of the OpenIGTLink protocol, allowing for real-time communication and advanced visualization of medical data in mixed reality applications. Perfect for enhancing surgical support with HoloLens 2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published