ome-zarr-py
ome-zarr-py copied to clipboard
Polygon and other vector data
Just adding an issue to keep track of the question I raised here:
https://forum.image.sc/t/polygon-and-other-roi-annotations-in-ome-zarr/47990/9
According to the discussion above there does not seem to be a standard for storing polygon and other vector annotations in yet. There seems to be some interest in this.
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/issues-storing-image-stacks-in-ome-zarrarr/84282/3
cc: @LucaMarconato since I think there's some not-yet-standardized work going on in the SpatialData space.
In SpatialData we are using some experimental GeoPandas-backed way of storing shapes, by saving ragged arrays, as produced by GeoPandas, in Zarr. We are currently experimenting in using GeoParquet as a way to store the raw data and still use Zarr metadata (basically instead of storing the tensor data in Zarr, we use GeoParquet for that, keeping the rest as described by NGFF).