{ "cells": [ { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "# Introduction to the Insight Toolkit (ITK)" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "subslide" } }, "source": [ "### Learning Objectives\n", "\n", "* Learn how to **run** cells in **a Jupyter Notebook**\n", "* Run a segmentation example that demonstrates **ITK**'s ability to provide **insight into images**\n", "* Understand the **purpose and capabilities** of the toolkit" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## Jupyter Notebooks" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "subslide" } }, "source": [ "These are [Jupyter Notebooks](https://jupyter.org/), an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.\n", "\n", "To run cells in the notebook, press *shift + enter*.\n", "\n", "For more information, see the [Notebook Help](https://nbviewer.jupyter.org/github/ipython/ipython/blob/3.x/examples/Notebook/Index.ipynb)" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## Insight Into Images" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "slideshow": { "slide_type": "slide" } }, "outputs": [], "source": [ "import itk\n", "\n", "from itkwidgets import view" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "slideshow": { "slide_type": "fragment" } }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "4cdfc916fe954f998b62ecd4b18f637e", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Viewer(gradient_opacity=0.8, rendered_image=