Skip to content

Interest in supporting image pyramid? #520

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

Closed
mmorehea opened this issue Nov 21, 2019 · 5 comments
Closed

Interest in supporting image pyramid? #520

mmorehea opened this issue Nov 21, 2019 · 5 comments

Comments

@mmorehea
Copy link

Zarr is ideal for operating on data with multiple reads and writes, but doesn't perfectly support visualization of massive datasets. This task usually requires some form of octree or image pyramid.

I could envision an optional function in the library that would take an existing Zarr directory and add a set of down-sampled blocks.

This would remove a lot of storage space requirements for processing then visualization. Without these additional layers, visualization software will need to create a identical copy of all of the high resolution data, followed by the down sampling, more than doubling the needed storage (1 copy in zarr, 1 copy + down sampled layers in another format).

With this optional set of blocks, the storage overhead is very small for 3D data, ~14% of the original high resolution blocks.

Of course this can be down relatively easily by anyone with numpy, but native support would enforce a standard which would be great.

@alimanfoo
Copy link
Member

Hi @mmorehea, thanks a lot for raising this, I think there are many folks who would like to have a common convention for this. This issue goes beyond the Python implementation and relates to the underlying specifications, and we have a separate repo for spec-related discussions here: https://github.com/zarr-developers/zarr-specs. There is an existing issue there which covers this I think and has some relevant discussion: zarr-developers/zarr-specs#23. OK to close this issue in favour of zarr-developers/zarr-specs#23?

@joshmoore
Copy link
Member

👍 for having your feedback on zarr-developers/zarr-specs#23, @mmorehea. Additionally, feel free to speak up on https://forum.image.sc/t/next-generation-file-formats-for-bioimaging/31361/9 -- from my side, the subresolutions are a great feature to start with.

@mmorehea
Copy link
Author

Hi @joshmoore and @alimanfoo ,

Yes, that sounds great, thanks for pointing me in the right direction. Sorry, I tried searching around but did not check that repo -- will close this now and look there.

@rabernat
Copy link
Contributor

Maybe we should add a mention of the spec discussion repo to the zarr-python issue template?

@joshmoore
Copy link
Member

@mmorehea : please see zarr-developers/zarr-specs#50 for current thoughts on pyramids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants