Skip to content

Commit 951ddb1

Browse files
committed
Improve documentation.
Correct typo and provide more information on type of binary image in SimpleITK.
1 parent 1880d2f commit 951ddb1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

01_spatial_transformations.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@
668668
"original_transformed = np.array(bspline.TransformPoint(pnt))\n",
669669
"secondary_transformed = np.array(displacement_field_transform.TransformPoint(pnt))\n",
670670
"print(\"Original transformation result: {0}\".format(original_transformed))\n",
671-
"print(\"Deformaiton field transformation result: {0}\".format(secondary_transformed))\n",
671+
"print(\"Deformation field transformation result: {0}\".format(secondary_transformed))\n",
672672
"print(\n",
673673
" \"Difference between transformed points is: {0}\".format(\n",
674674
" np.linalg.norm(original_transformed - secondary_transformed)\n",

02_images_and_resampling.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
"cell_type": "markdown",
313313
"metadata": {},
314314
"source": [
315-
"Comparative operators (>, >=, <, <=, ==) are also supported, returning binary images."
315+
"Comparative operators (>, >=, <, <=, ==) are also supported, returning binary images with pixel type of sitkUInt8."
316316
]
317317
},
318318
{

0 commit comments

Comments
 (0)