/itk-jupyter-widgets

Interactive Jupyter widgets to visualize images in 2D and 3D

Primary LanguagePythonApache License 2.0Apache-2.0

itk-jupyter-widgets

License PyPI Build status

Interactive Jupyter widgets to visualize images in 2D and 3D.

Monkey brain volume rendering

These widgets are designed to support image analysis with the Insight Toolkit (ITK), but they also work with other spatial analysis tools in the scientific Python ecosystem.

These widgets are built on itk.js and vtk.js.

itk-jupyter-widgets demo

Installation

To install, use pip:

pip install itkwidgets
jupyter nbextension install --py --sys-prefix itkwidgets
jupyter nbextension enable --py --sys-prefix itkwidgets

For a development installation (requires Node.js):

git clone https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets.git
cd itk-jupyter-widgets
python -m pip install -r requirements-dev.txt -r requirements.txt
python -m pip install -e .
jupyter nbextension install --py --symlink --sys-prefix itkwidgets
jupyter nbextension enable --py --sys-prefix itkwidgets
jupyter nbextension enable --py --sys-prefix widgetsnbextension
python -m pytest

Warning

This project is under active development. Its API and behavior may change at any time. We mean it.