InsightSoftwareConsortium/SimpleITK-Notebooks

Jupyter notebooks for learning how to use SimpleITK

SimpleITK-Notebooks

What it is: A collection of Jupyter Notebooks that demonstrate how to use the SimpleITK library for image analysis. SimpleITK is a simplified interface to the larger ITK (Insight Toolkit) software, available in many programming languages (C++, Python, R, Java, etc.). These notebooks focus on Python and R.

Purpose: The notebooks serve three main goals:

  • Learn SimpleITK interactively.
  • Use as a basis for teaching.
  • Use as a basis for research.

The repository includes infrastructure for remote data downloads and automated notebook testing, which supports collaborative work.

What you can do with it:

  • Run the notebooks online without installing anything, using Binder or Google Colab (click the shield icon in the first cell of a notebook).
  • Install locally: follow the language-specific READMEs in the Python/ and R/ directories.
  • Read the SimpleITK API documentation and the ITK book for deeper concepts.
  • Adjust notebook width to full browser window via CSS configuration.

Caveats for online use:

  • Some notebooks need heavy computation that free services may not handle.
  • Cells using sitk.Show() will fail unless you have Fiji installed (ignore or modify).
  • Binder is free, no login, but limited resources; Colab requires login and runs each notebook independently.

Community & contributions:

  • Ask questions on ITK discourse.
  • Report bugs via GitHub issues.
  • Contribute code: bug fixes, improved notebooks, or new notebooks (see CONTRIBUTING.md).

Citation: If you use it in research, cite the paper: Yaniv et al., "SimpleITK Image-Analysis Notebooks: a Collaborative Environment for Education and Reproducible Research", J Digit Imaging, 2018. DOI: 10.1007/s10278-017-0037-8.

Related

  • Project
  • Project
  • Project
  • Project