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
n5-java reverses the known spatial metadata that is stored by zarr (the dimensions and the chunks). ome.zarr contains other spatial metadata, e.g. scale and translation. These are read in the native zarr axis order (i.e. reversed compared to dimensions and chunks). As a consequence we need to reverse the indices when reading from e.g. scale.
This can be quite confusing. Instead, we could reverse the ome.zarr spatial metadata when initially parsing it, and then could use the same axis order for everything.
The text was updated successfully, but these errors were encountered:
constantinpape
changed the title
Reverse spatial ome metadata when parsing it to avoid reversing axis orders later
Reverse spatial ome metadata when parsing it to avoid reversing the axis order later
Sep 14, 2022
n5-java reverses the known spatial metadata that is stored by zarr (the
dimensions
and thechunks
). ome.zarr contains other spatial metadata, e.g.scale
andtranslation
. These are read in the native zarr axis order (i.e. reversed compared todimensions
andchunks
). As a consequence we need to reverse the indices when reading from e.g.scale
.This can be quite confusing. Instead, we could reverse the ome.zarr spatial metadata when initially parsing it, and then could use the same axis order for everything.
The text was updated successfully, but these errors were encountered: