Skip to content

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

License

Notifications You must be signed in to change notification settings

betatim/itk-jupyter-widgets

 
 

Repository files navigation

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

Examples

After installation, try the following examples that demonstrate how to visualize:

Hacking

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 49.9%
  • JavaScript 38.6%
  • C++ 9.2%
  • CMake 2.3%