|
1 | 1 | {
|
2 | 2 | "cells": [
|
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": {}, |
| 6 | + "source": [ |
| 7 | + "Copyright (c) MONAI Consortium \n", |
| 8 | + "Licensed under the Apache License, Version 2.0 (the \"License\"); \n", |
| 9 | + "you may not use this file except in compliance with the License. \n", |
| 10 | + "You may obtain a copy of the License at \n", |
| 11 | + " http://www.apache.org/licenses/LICENSE-2.0 \n", |
| 12 | + "Unless required by applicable law or agreed to in writing, software \n", |
| 13 | + "distributed under the License is distributed on an \"AS IS\" BASIS, \n", |
| 14 | + "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \n", |
| 15 | + "See the License for the specific language governing permissions and \n", |
| 16 | + "limitations under the License.\n" |
| 17 | + ] |
| 18 | + }, |
3 | 19 | {
|
4 | 20 | "cell_type": "markdown",
|
5 | 21 | "metadata": {
|
|
63 | 79 | "source": [
|
64 | 80 | "# 1. Setup\n",
|
65 | 81 | "\n",
|
66 |
| - "These are the initial steps for running notebooks within various Jupyter environments." |
| 82 | + "These are the initial steps for running notebooks within various Jupyter environments.\n", |
| 83 | + "\n", |
| 84 | + "## Setup environment" |
67 | 85 | ]
|
68 | 86 | },
|
69 | 87 | {
|
|
93 | 111 | "# that manages all DICOM field values, include acquistion details \n",
|
94 | 112 | "# such as voxel image, image orientation, and image directions,\n",
|
95 | 113 | "# which are critical to image processing and display.\n",
|
96 |
| - "!{sys.executable} -m pip install --upgrade -q \"itk\"\n", |
| 114 | + "\n", |
| 115 | + "# installations required for monai\n", |
| 116 | + "!{sys.executable} -m pip install --upgrade -q \"monai[nibabel,itk,tqdm,pandas,skimage]\"\n", |
97 | 117 | "\n",
|
98 | 118 | "# These are the libraries used to read DICOM Seg objects.\n",
|
99 |
| - "!{sys.executable} -m pip install --upgrade -q pydicom\n", |
100 |
| - "!{sys.executable} -m pip install --upgrade -q pydicom-seg\n", |
| 119 | + "!{sys.executable} -m pip install --upgrade -q pydicom pydicom-seg\n", |
101 | 120 | "\n",
|
102 |
| - "# Install requests for downloaded data.\n", |
| 121 | + "# Install tcia_utils to download the datasets.\n", |
103 | 122 | "!{sys.executable} -m pip install --upgrade -q tcia_utils\n",
|
104 | 123 | "\n",
|
105 |
| - "# Install for pandas dataframes\n", |
106 |
| - "!{sys.executable} -m pip install --upgrade -q pandas\n", |
107 |
| - "\n", |
108 | 124 | "# This is the installation required for itkWidgets.\n",
|
109 |
| - "!{sys.executable} -m pip install --upgrade --pre -q \"itkwidgets[all]==1.0a20\" imjoy_elfinder\n", |
110 |
| - "\n", |
111 |
| - "# installations required for monai\n", |
112 |
| - "!{sys.executable} -m pip install --upgrade -q \"monai[nibabel,itk,tqdm]\"\n", |
113 |
| - "!{sys.executable} -m pip install -q scikit-image" |
| 125 | + "!{sys.executable} -m pip install --upgrade --pre -q \"itkwidgets[all]==1.0a20\" imjoy_elfinder" |
| 126 | + ] |
| 127 | + }, |
| 128 | + { |
| 129 | + "cell_type": "markdown", |
| 130 | + "metadata": {}, |
| 131 | + "source": [ |
| 132 | + "## Setup imports" |
114 | 133 | ]
|
115 | 134 | },
|
116 | 135 | {
|
|
0 commit comments