2012 Summer Project Week:XNATSlicerIntegration

From NAMIC Wiki
Jump to: navigation, search
Home < 2012 Summer Project Week:XNATSlicerIntegration

Key Investigators

  • Washington University in St. Louis: Daniel Marcus, Sunil Kumar
  • Isomics: Steve Pieper

Objective

Allow data exchange between XNAT and Slicer in the following scenarios:
1) Download and view scans (as DICOMS).
2) Create and upload Slicer Scenes to XNAT, using XNAT-downloaded scans OR locally stored files.
3) Any uploaded Slicer scene package that references XNAT data will be linked to the data via a URL. The module will recognize the remote links and conduct the necessary legwork such that when a scene is downloaded, the referenced files will also be downloaded. This involves parsing the mrmls, linking the referenced directories to XNAT URLs, for uploading scenes and vice-versa for downloading scenes.
4) Update Slicer scenes stored in XNAT. The interface will be contained entirely within Slicer. The end-state aims to leverage XNAT's web interface. The current state uses the XNAT REST API to construct a tree view.

Approach, Plan

Phase 1: Develop a beta module that fulfills the outlined objectives.
Phase 2: Solidify UI and functionality though user testing.
Phase 3: Port the REST API-based UI into a web-based UI.

Progress

As of June 2012, a beta version of this widget is being tested.


Known Issues

Crashing Frequency During "Update Scene" Workflow (MEDIUM)

The module tends to crash more frequently during the "Update Scene" workflow.
Next step: define a replicatable test.

DICOM Details Popup (NICE TO HAVE)

Overview: The XNAT-Slicer module utilizes the DICOM Details Popup (from the DICOM module) after a user downloads a scan folder of DICOM images. While this communication is incredibly useful, we believe a few adjustments to the DICOM module would improve the workflow of the XNAT-Slicer integration.
1 - Refreshing) After downloading a scan in the XNAT-Slicer module, the "DICOM Details" popup refreshes with the downloaded scene only when the popup hasn't yet been loaded in the current Slicer session. However, if the popup has already been opened, and a new DICOM set is downloaded, the "DICOM Details" popup does not contain the new set, in spite of being successfully inserted in the cache/database. When the user restarts Slicer and opens the DICOM module, they will find that the "DICOM Details" popup contains the newly downloaded set. This may be by design, and "fixing" it may be involved.
Next step: Inquire if the popup can be refreshed or a one-off "Details Popup" window can be developed.
2 - Customization) If a user downloads a DICOM folder off of XNAT, it would be nice to have the ability to load a customized "DICOM Details" popup where the only DICOM set presented is the one the user just downloaded. Right now, the popup lists all DICOM sets downloaded by the user.
Next Step: inquire what the effort would be to create such a customized popup.


Crashing Frequency (MEDIUM)


Issue: Module tends to crash more frequently during the "Update Scene" workflow.
Next step: isolate why, repeat test.

Delivery Mechanism

This work will be delivered to the NA-MIC Kit as a (please select the appropriate options by noting YES against them below)

  1. Slicer Module - YES

Known Issues

References