Skip to content

Commit 366ec03

Browse files
authored
1086 update url (#1087)
Signed-off-by: Wenqi Li <[email protected]> Fixes #1086 ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Notebook runs automatically `./runner [-p <regex_pattern>]` Signed-off-by: Wenqi Li <[email protected]>
1 parent 9d86a38 commit 366ec03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/resample_benchmark.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"\n",
133133
"# dict of file name and corresponding urls\n",
134134
"url_dict = {\n",
135-
" \"SimpleITK.jpg\": \"https://s3.amazonaws.com/simpleitk/public/notebooks/SHA512/f1b5ce1bf9d7ebc0bd66f1c3bc0f90d9e9798efc7d0c5ea7bebe0435f173355b27df632971d1771dc1fc3743c76753e6a28f6ed43c5531866bfa2b38f1b8fd46\", # noqa: E501\n",
135+
" \"monai.png\": \"https://github.com/Project-MONAI/project-monai.github.io/raw/master/assets/logo/MONAI-logo_color.png\", # noqa: E501\n",
136136
" \"mri.nii\": \"https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/Prostate_T2W_AX_1.nii\"\n",
137137
"}\n",
138138
"\n",
@@ -243,7 +243,7 @@
243243
"# from ipywidgets import interact, fixed\n",
244244
"# interact(\n",
245245
"# transformation_display,\n",
246-
"# img_path=fixed(f\"{root_dir}/SimpleITK.jpg\"),\n",
246+
"# img_path=fixed(f\"{root_dir}/monai.png\"),\n",
247247
"# tx=(-128.0, 128.0, 2.0),\n",
248248
"# ty=(-64.0, 64.0),\n",
249249
"# theta=(-np.pi/4.0, np.pi/4.0)\n",
@@ -263,7 +263,7 @@
263263
"The following example randomly sample 10 physical points (locations) on an image and assign ascending displacements in y(H) direction accordingly.\n",
264264
"Resampled intensities obtained by both MONAI and SimpleITK implementations are reported at all 10 points.\n",
265265
"\n",
266-
"First, 10 physical points are randomly sampled from the downloaded SimpleITK logo."
266+
"First, 10 physical points are randomly sampled from the downloaded logo."
267267
]
268268
},
269269
{
@@ -275,7 +275,7 @@
275275
"outputs": [],
276276
"source": [
277277
"# Read image\n",
278-
"img_path = f\"{root_dir}/SimpleITK.jpg\"\n",
278+
"img_path = f\"{root_dir}/monai.png\"\n",
279279
"monai_img = np.asarray(PIL.Image.open(img_path))\n",
280280
"monai_img = monai_img.transpose((2, 0, 1))\n",
281281
"monai_img = torch.tensor(monai_img, dtype=torch.float)\n",

0 commit comments

Comments
 (0)