We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 435f9e2 commit aa7f9fdCopy full SHA for aa7f9fd
3d_image_transforms.ipynb
@@ -547,7 +547,7 @@
547
"metadata": {},
548
"outputs": [],
549
"source": [
550
- "spacing = Orientationd(keys=[\"image\", \"label\"], axcodes=\"PLI\")"
+ "orientation = Orientationd(keys=[\"image\", \"label\"], axcodes=\"PLI\")"
551
]
552
},
553
{
@@ -577,7 +577,7 @@
577
}
578
],
579
580
- "data_dict = spacing(data_dict)\n",
+ "data_dict = orientation(data_dict)\n",
581
"print(f\"image shape: {data_dict['image'].shape}\")\n",
582
"print(f\"label shape: {data_dict['label'].shape}\")\n",
583
"print(f\"image affine after Spacing:\\n{data_dict['image_meta_dict']['affine']}\")\n",
0 commit comments