|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 11, |
| 5 | + "execution_count": null, |
6 | 6 | "id": "196c6071", |
7 | 7 | "metadata": {}, |
8 | 8 | "outputs": [], |
|
18 | 18 | }, |
19 | 19 | { |
20 | 20 | "cell_type": "code", |
21 | | - "execution_count": 14, |
| 21 | + "execution_count": null, |
22 | 22 | "id": "d6f35e01", |
23 | 23 | "metadata": {}, |
24 | 24 | "outputs": [], |
|
31 | 31 | }, |
32 | 32 | { |
33 | 33 | "cell_type": "code", |
34 | | - "execution_count": 15, |
| 34 | + "execution_count": null, |
35 | 35 | "id": "52104b31", |
36 | 36 | "metadata": {}, |
37 | | - "outputs": [ |
38 | | - { |
39 | | - "data": { |
40 | | - "application/vnd.jupyter.widget-view+json": { |
41 | | - "model_id": "5c911f073d074ca5ab86bcc998be38ce", |
42 | | - "version_major": 2, |
43 | | - "version_minor": 0 |
44 | | - }, |
45 | | - "text/plain": [ |
46 | | - "Viewer(geometries=[], gradient_opacity=0.22, point_sets=[], rendered_image=<itk.itkImagePython.itkImageF2; pro…" |
47 | | - ] |
48 | | - }, |
49 | | - "metadata": {}, |
50 | | - "output_type": "display_data" |
51 | | - } |
52 | | - ], |
| 37 | + "outputs": [], |
53 | 38 | "source": [ |
54 | 39 | "InputPixelType = itk.ctype('float')\n", |
55 | 40 | "\n", |
|
60 | 45 | }, |
61 | 46 | { |
62 | 47 | "cell_type": "code", |
63 | | - "execution_count": 16, |
| 48 | + "execution_count": null, |
64 | 49 | "id": "4297e2ac", |
65 | 50 | "metadata": {}, |
66 | | - "outputs": [ |
67 | | - { |
68 | | - "data": { |
69 | | - "application/vnd.jupyter.widget-view+json": { |
70 | | - "model_id": "48427848c38f4403a2e455f169e59503", |
71 | | - "version_major": 2, |
72 | | - "version_minor": 0 |
73 | | - }, |
74 | | - "text/plain": [ |
75 | | - "Viewer(geometries=[], gradient_opacity=0.22, point_sets=[], rendered_image=<itk.itkImagePython.itkImageF2; pro…" |
76 | | - ] |
77 | | - }, |
78 | | - "metadata": {}, |
79 | | - "output_type": "display_data" |
80 | | - } |
81 | | - ], |
| 51 | + "outputs": [], |
82 | 52 | "source": [ |
83 | 53 | "smoothed = itk.curvature_anisotropic_diffusion_image_filter(input_image,\n", |
84 | 54 | " time_step=0.125,\n", |
|
89 | 59 | }, |
90 | 60 | { |
91 | 61 | "cell_type": "code", |
92 | | - "execution_count": 17, |
| 62 | + "execution_count": null, |
93 | 63 | "id": "99186583", |
94 | 64 | "metadata": {}, |
95 | | - "outputs": [ |
96 | | - { |
97 | | - "data": { |
98 | | - "application/vnd.jupyter.widget-view+json": { |
99 | | - "model_id": "387458e9005f493abba1faa10f5e6528", |
100 | | - "version_major": 2, |
101 | | - "version_minor": 0 |
102 | | - }, |
103 | | - "text/plain": [ |
104 | | - "Viewer(geometries=[], gradient_opacity=0.22, point_sets=[], rendered_image=<itk.itkImagePython.itkImageF2; pro…" |
105 | | - ] |
106 | | - }, |
107 | | - "metadata": {}, |
108 | | - "output_type": "display_data" |
109 | | - } |
110 | | - ], |
| 65 | + "outputs": [], |
111 | 66 | "source": [ |
112 | 67 | "sigma = 1.0\n", |
113 | 68 | "\n", |
|
118 | 73 | }, |
119 | 74 | { |
120 | 75 | "cell_type": "code", |
121 | | - "execution_count": 18, |
| 76 | + "execution_count": null, |
122 | 77 | "id": "8a219f34", |
123 | 78 | "metadata": {}, |
124 | | - "outputs": [ |
125 | | - { |
126 | | - "data": { |
127 | | - "application/vnd.jupyter.widget-view+json": { |
128 | | - "model_id": "b8e81a5c3231401ba52272957a34700b", |
129 | | - "version_major": 2, |
130 | | - "version_minor": 0 |
131 | | - }, |
132 | | - "text/plain": [ |
133 | | - "Viewer(geometries=[], gradient_opacity=0.22, point_sets=[], rendered_image=<itk.itkImagePython.itkImageF2; pro…" |
134 | | - ] |
135 | | - }, |
136 | | - "metadata": {}, |
137 | | - "output_type": "display_data" |
138 | | - } |
139 | | - ], |
| 79 | + "outputs": [], |
140 | 80 | "source": [ |
141 | 81 | "alpha = -0.5\n", |
142 | 82 | "beta = 3.0\n", |
|
152 | 92 | }, |
153 | 93 | { |
154 | 94 | "cell_type": "code", |
155 | | - "execution_count": 19, |
| 95 | + "execution_count": null, |
156 | 96 | "id": "499443a8", |
157 | 97 | "metadata": {}, |
158 | 98 | "outputs": [], |
|
176 | 116 | }, |
177 | 117 | { |
178 | 118 | "cell_type": "code", |
179 | | - "execution_count": 20, |
| 119 | + "execution_count": null, |
180 | 120 | "id": "d2c5e205", |
181 | 121 | "metadata": {}, |
182 | | - "outputs": [ |
183 | | - { |
184 | | - "data": { |
185 | | - "application/vnd.jupyter.widget-view+json": { |
186 | | - "model_id": "5a85dd6a06c24123b6f15ee9e3347c49", |
187 | | - "version_major": 2, |
188 | | - "version_minor": 0 |
189 | | - }, |
190 | | - "text/plain": [ |
191 | | - "Viewer(geometries=[], gradient_opacity=0.22, point_sets=[], rendered_image=<itk.itkImagePython.itkImageF2; pro…" |
192 | | - ] |
193 | | - }, |
194 | | - "metadata": {}, |
195 | | - "output_type": "display_data" |
196 | | - } |
197 | | - ], |
| 122 | + "outputs": [], |
198 | 123 | "source": [ |
199 | 124 | "propagation_scaling = 2.0\n", |
200 | 125 | "number_of_iterations = 800\n", |
|
213 | 138 | }, |
214 | 139 | { |
215 | 140 | "cell_type": "code", |
216 | | - "execution_count": 21, |
| 141 | + "execution_count": null, |
217 | 142 | "id": "1269f1b4", |
218 | 143 | "metadata": {}, |
219 | 144 | "outputs": [], |
|
229 | 154 | }, |
230 | 155 | { |
231 | 156 | "cell_type": "code", |
232 | | - "execution_count": 22, |
| 157 | + "execution_count": null, |
233 | 158 | "id": "58bdf582", |
234 | 159 | "metadata": {}, |
235 | | - "outputs": [ |
236 | | - { |
237 | | - "data": { |
238 | | - "application/vnd.jupyter.widget-view+json": { |
239 | | - "model_id": "c02ac62a77bb498c90c602398a5764ee", |
240 | | - "version_major": 2, |
241 | | - "version_minor": 0 |
242 | | - }, |
243 | | - "text/plain": [ |
244 | | - "Viewer(geometries=[], gradient_opacity=0.22, point_sets=[], rendered_image=<itk.itkImagePython.itkImageUC2; pr…" |
245 | | - ] |
246 | | - }, |
247 | | - "metadata": {}, |
248 | | - "output_type": "display_data" |
249 | | - } |
250 | | - ], |
| 160 | + "outputs": [], |
251 | 161 | "source": [ |
252 | 162 | "view(thresholded)" |
253 | 163 | ] |
|
0 commit comments