Skip to content

Commit aa7f9fd

Browse files
authored
FIX orientation process used "spacing" var name (#8)
1 parent 435f9e2 commit aa7f9fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

3d_image_transforms.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@
547547
"metadata": {},
548548
"outputs": [],
549549
"source": [
550-
"spacing = Orientationd(keys=[\"image\", \"label\"], axcodes=\"PLI\")"
550+
"orientation = Orientationd(keys=[\"image\", \"label\"], axcodes=\"PLI\")"
551551
]
552552
},
553553
{
@@ -577,7 +577,7 @@
577577
}
578578
],
579579
"source": [
580-
"data_dict = spacing(data_dict)\n",
580+
"data_dict = orientation(data_dict)\n",
581581
"print(f\"image shape: {data_dict['image'].shape}\")\n",
582582
"print(f\"label shape: {data_dict['label'].shape}\")\n",
583583
"print(f\"image affine after Spacing:\\n{data_dict['image_meta_dict']['affine']}\")\n",

0 commit comments

Comments
 (0)