cornerstone-widget

A Jupyter Widget for the Cornerstone Medical Image Viewing Library


Keywords
ipython, jupyter, widgets, binder-ready, cornerstonejs, ipywidgets, medical-image-computing, medical-imaging
License
Apache-2.0
Install
pip install cornerstone-widget==0.0.1rc1

Documentation

cornerstone_widget Build Status codecov Binder

A Jupyter Widget for the Cornerstone Medical Image Viewing Library

Preview

Overview

The widget lets you easily look at medical and similar images in the browser using the CornerstoneJS library. The library offers lots of fancy functionality like zoom, windowing, panning, regions of interest, painting, polygons and beyond. Currently only a few of these features are implemented but feel free to make pull-requests or issues with suggestions

Notebooks

The notebooks directory contains demo and tutorial, you can use mybinder to get a quick feeling for what works well.

Installation

To install use pip:

$ pip install git+https://github.com/chestrays/cornerstone_widget
$ jupyter nbextension enable --py --sys-prefix cornerstone_widget

For a development installation (requires npm),

$ git clone https://github.com//cornerstone_widget.git
$ cd cornerstone_widget
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix cornerstone_widget
$ jupyter nbextension enable --py --sys-prefix cornerstone_widget
$ jupyter labextension install js