Edit this page

NA-MIC Project Weeks

Back to Projects List

Export models to glTF file

Key Investigators

Project Description

OpenAnatomy is an initiative to change the anatomy atlas through open data, community-based collaborative development, and free distribution of medical knowledge. In the first phase of the project a few existing atlases were converted into a common format and made publicly accessible via a simple web application. The project is starting its next phase, which aims to design a storage format that is suitable for storing anatomical images, shapes, and descriptive information, and develop tools for viewing, creating, and editing these atlases.

3D Slicer supports importing, visualizing, and annotating medical images and export the resulting data in a variety of formats. Therefore, 3D Slicer could serve as a basis of an OpenAnatomy authoring tool.

OpenAnatomy project needs an authoring tool and 3D Slicer almost fulfills all the needs except specific import/export features and some improvements in data annotation capabilities.

Objectives

Improve 3D Slicer’s existing features to support glTF file format export/import and allow defining hierarchies and standard terminology for segmented structures. Tasks are shared between experienced Slicer core developers and junior software developers, and directed by OpenAnatomy experts.

Approach and Plan

  1. Implement glTF exporter module that allows writing segmentations or model hierarchies as glTF files.
  2. Test and optimize workflow based on converting and editing existing anatomical atlases.

Progress and Next Steps

  1. Made available recent VTK glTF import/export methods in Slicer
  2. Implemented module for one-click export of segmentation to glTF
  3. Made available these modules in OpenAnatomy extension for preview releases.

Segmentation in Slicer: Open Anatomy glTF export module

Segmentation in a web viewer: Exported glTF file in a web browser (rendered using babylon.js)

Available in extension manager! Available in extension manager)

Next step is implementing metadata export: writing terminology and links to gltf file to json file.

Background and References