diff --git a/05_basic_registration.ipynb b/05_basic_registration.ipynb
index 42d92b5..36372d7 100644
--- a/05_basic_registration.ipynb
+++ b/05_basic_registration.ipynb
@@ -146,7 +146,7 @@
"source": [
"## Read images\n",
"\n",
- "We first read the images, specifying the pixel type that is required for registration (Float32 or Float64) and look at them. In this notebook we use a CT and MR image from the same patient. These are part of the training data from the Retrospective Image Registration Evaluation (RIRE) project."
+ "We first read the images, specifying the pixel type that is required for registration (Float32 or Float64) and look at them. In this notebook we use a CT and MR image from the same patient. These are part of the training data from the Retrospective Image Registration Evaluation (RIRE) project."
]
},
{
diff --git a/08_segmentation_and_shape_analysis.ipynb b/08_segmentation_and_shape_analysis.ipynb
index f24941d..452e962 100644
--- a/08_segmentation_and_shape_analysis.ipynb
+++ b/08_segmentation_and_shape_analysis.ipynb
@@ -261,7 +261,7 @@
"seeds = sitk.RelabelComponent(seeds, minimumObjectSize=15)\n",
"# Run the watershed segmentation using the distance map and seeds.\n",
"ws = sitk.MorphologicalWatershedFromMarkers(dist_img, seeds, markWatershedLine=True)\n",
- "ws = sitk.Mask(ws, sitk.Cast(cleaned_thresh_img, ws.GetPixelID()))"
+ "ws = sitk.Mask(ws, sitk.Cast(cleaned_thresh_img, sitk.sitkUInt8))"
]
},
{