Skip to content

Commit

Permalink
Merge pull request #720 from thewtex/large-roi-note
Browse files Browse the repository at this point in the history
DOC: Add note about roi chunk re-alignment
  • Loading branch information
thewtex authored Dec 19, 2023
2 parents 9aba3d9 + 97b43df commit 2f267e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/integrations/itk/SelectROI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,13 @@
"to_ngff_zarr('roi.zarr', multiscales=roi_multiscales)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"If the goal is just to view or process the ROI, use `get_roi_image`. If the goal is to save the entire roi to disk, use `get_roi_multiscales` followed `to_ngff_zarr`. There is a need to re-align array chunks after roi extraction, which can take some time for the entire multiscale dataset with very large images."
]
},
{
"cell_type": "code",
"execution_count": 17,
Expand Down
7 changes: 7 additions & 0 deletions examples/integrations/itkwasm/SelectROI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,13 @@
"to_ngff_zarr('roi.zarr', multiscales=roi_multiscales)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"If the goal is just to view or process the ROI, use `get_roi_image`. If the goal is to save the entire roi to disk, use `get_roi_multiscales` followed `to_ngff_zarr`. There is a need to re-align array chunks after roi extraction, which can take some time for the entire multiscale dataset with very large images."
]
},
{
"cell_type": "code",
"execution_count": 17,
Expand Down

0 comments on commit 2f267e2

Please sign in to comment.