Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notebooks #46

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 05_basic_registration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<a href=\"http://www.insight-journal.org/rire/\">RIRE</a>) 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 (<a href=\"https://rire.insight-journal.org/\">RIRE</a>) project."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 08_segmentation_and_shape_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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))"
]
},
{
Expand Down