Skip to content

Commit 2f267e2

Browse files
authored
Merge pull request #720 from thewtex/large-roi-note
DOC: Add note about roi chunk re-alignment
2 parents 9aba3d9 + 97b43df commit 2f267e2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

examples/integrations/itk/SelectROI.ipynb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,13 @@
599599
"to_ngff_zarr('roi.zarr', multiscales=roi_multiscales)"
600600
]
601601
},
602+
{
603+
"cell_type": "markdown",
604+
"metadata": {},
605+
"source": [
606+
"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."
607+
]
608+
},
602609
{
603610
"cell_type": "code",
604611
"execution_count": 17,

examples/integrations/itkwasm/SelectROI.ipynb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,13 @@
588588
"to_ngff_zarr('roi.zarr', multiscales=roi_multiscales)"
589589
]
590590
},
591+
{
592+
"cell_type": "markdown",
593+
"metadata": {},
594+
"source": [
595+
"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."
596+
]
597+
},
591598
{
592599
"cell_type": "code",
593600
"execution_count": 17,

0 commit comments

Comments
 (0)