Save omezarr collection - #9
Open
will-moore wants to merge 3 commits into
Open
will-moore wants to merge 3 commits into
will-moore wants to merge 3 commits into
Conversation
✅ Deploy Preview for ome-figure ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just starting to experiment with exporting figures as RFC-8 collections, as defined at https://ngff.openmicroscopy.org/rfc/8/versions/v1-2026-08/index.html
We only support panels that are OME-Zarr v0.5 since these are Zarr v3.
For each multiscale image, we create a list of "singlescale" nodes, each with a "zarr" path being a full URL to the zarr array.
This allows us to include the zarr arrays from v0.5 data into RFC-8 collection without moving any data.
NB: currently a "scene" is not included. I'm not sure whether the top-level figure "coordinateSystem" that contains all the panels is 2D, 3D, 4D or 5D and how to create coordinateTransformations that transform each image into that space.
All the images within the figure can have different dimensions e.g. 2D up to 5D, and with a single Z and/or T index chosen for display (actually figure also supports Z-projections!). I don't want to "projectAxes" to e.g. collapse the Z/T index of each image, but I also don't think the figure itself has a Z or T dimension. We just want to slice a Z/T plane from each panel for display in the figure.