a playground for visualizing and working with nifti images without a server
JavaScript CSS HTML Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
data
examples
img
js
niftidrop
LICENSE.txt
README.md
index.html
requirements.txt
setup.py

README.md

Nifti-Drop

Read nifti and nidm files in browser under development

  • view header details for nifti
  • interactive coordinate browsing
  • save image to file (export)
  • view nidm results
  • uses font brain for nidm and brain imaging icons

Versions

Static Local

The base structure of the repo (including index.html, js, css, data, and img work to run a local, static installation. This version works in browsers works in browsers with FileReader support. Depending on the paths in nidm file, however, there can be cross browser issues leading to unreliable loading of some nidm files. To get around this, a python module has been developed for use on a server.

Python module

This repo also includes a python module to run nifti-drop from a server, and generate an initial page that has some set of relative files embedded in it. This version will continue to function to drop new images from the user, however it cannot be used to dynamically retrieve different files from the server once the page has been loaded. See an [example][examples/run_local.py] for how to generate this viewer.

To install

  pip install git+git://github.com/vsoch/nifti-drop.git
Many Thanks

Papaya Viewer, we salute you!

Coming Soon

  • multiple image browsing

demo