You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a large image, currently stored as a Jpeg2000 file. It needs to be copied into a stacked zarr array containing many images.
I've noticed that if I convert the image to a zarr array with proper chunking and then copy it into the stacked zarr array, it is significantly faster than just reading the image into memory and copying into the stacked zarr array.
I know that some of this difference in time must be due to the slower decompression algorithm in jp2. I'm wondering what would be other sources for this speedup.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a large image, currently stored as a Jpeg2000 file. It needs to be copied into a stacked zarr array containing many images.
I've noticed that if I convert the image to a zarr array with proper chunking and then copy it into the stacked zarr array, it is significantly faster than just reading the image into memory and copying into the stacked zarr array.
For example,
compared with:
I know that some of this difference in time must be due to the slower decompression algorithm in jp2. I'm wondering what would be other sources for this speedup.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions