Skip to content
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
4 changes: 2 additions & 2 deletions Python/05_Results_Visualization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"When visually comparing a segmentation to a reference we would like to be more detailed, identifying the regions where the two agree and the regions where we have over/under segmentation. The function defined in the next cell creates a three label image with labels corresponding to each of these categories. In addition to the image information, we also add entries to the meta-data dictionary which make the result compatible with the Slicer [.seg.nrrd file format](https://apidocs.slicer.org/master/classvtkMRMLSegmentationStorageNode.html#details). Saving the resulting image in a file with the .seg.nrrd extension allows us to use Slicer to overlay the results onto the anatomical image."
"When visually comparing a segmentation to a reference we would like to be more detailed, identifying the regions where the two agree and the regions where we have over/under segmentation. The function defined in the next cell creates a three label image with labels corresponding to each of these categories. In addition to the image information, we also add entries to the meta-data dictionary which make the result compatible with the Slicer [.seg.nrrd file format](https://slicer.readthedocs.io/en/latest/developer_guide/modules/segmentations.html). Saving the resulting image in a file with the .seg.nrrd extension allows us to use Slicer to overlay the results onto the anatomical image."
]
},
{
Expand Down Expand Up @@ -1216,7 +1216,7 @@
" # set metadata dictionary entries so that segmentation is\n",
" # compatible with Slicer seg.nrrd file type.\n",
" # Slicer specific meta-data value definitions are available\n",
" # here https://apidocs.slicer.org/master/classvtkMRMLSegmentationStorageNode.html#details\n",
" # here https://slicer.readthedocs.io/en/latest/developer_guide/modules/segmentations.html\n",
" extent = f\"0 {diff_image.GetWidth()-1} 0 {diff_image.GetHeight()-1} 0 {diff_image.GetDepth()-1}\"\n",
" seg_tags = \"Segmentation category and type - 3D Slicer General Anatomy list~SCT^85756007^Tissue~SCT^85756007^Tissue~^^~Anatomic codes - DICOM master list~^^~^^|\"\n",
" label_metadata_settings = [\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/62_Registration_Tuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
"\n",
"In this example we will plot the similarity metric's value and more importantly the TREs for our reference data. A good choice for the former should be reflected by the later. That is, the TREs should go down as the similarity measure value goes down (not necessarily at the same rates).\n",
"\n",
"Finally, we are also interested in timing our registration. IPython allows us to do this with minimal effort using the <a href=\"http://ipython.org/ipython-doc/stable/interactive/magics.html?highlight=timeit#magic-timeit\">timeit</a> cell magic (IPython has a set of predefined functions that use a command line syntax, and are referred to as magic functions). "
"Finally, we are also interested in timing our registration. IPython allows us to do this with minimal effort using the <a href=\"https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-timeit\">timeit</a> cell magic (IPython has a set of predefined functions that use a command line syntax, and are referred to as magic functions). "
]
},
{
Expand Down
Loading