vkt1414 / slicer-idc-viewer

A custom loadable script enabling viewing of IDC data in a locally installed 3D Slicer app
MIT License
0 stars 0 forks source link

View IDC data in a locally installed Slicer Instance

👷‍♂️🚧 WARNING: this repo is in its early development stages. Its functionality may change. Stay tuned for the updates and documentation, and please share your feedback about it by opening issues in this repository🚧

Steps:

  1. Git clone this repo.
    git clone https://github.com/vkt1414/slicer-idc-viewer.git
  2. Add the src folder as one of the module paths in Slicer settings. Refer to the screenshot below for more information:

Screenshot (17)

Screenshot (18)

Screenshot (19)

Screenshot (20)

  1. Restart Slicer
  2. Open a URL like slicer://viewer/?download=$seriesinstanceuid for example

    slicer://viewer/?download=1.2.840.113654.2.55.154809705591242159075253605419469935510

    Prerequisties for Ubuntu users:

    This method requires registering slicer:// as custom web protocol. On windows, slicer installation automatically registers custom web protocol for slicer. However, on Ubuntu, edit the register_slicer_protocol.sh.edit script to provide the location of the Slicer binary.

    nano register_slicer_protocol.sh.edit

    save it as register_slicer_protocol.sh

    Make this file an executable

    chmod +x register_slicer_protocol.sh

    Run the script

    ./register_slicer_protocol.sh