-
Notifications
You must be signed in to change notification settings - Fork 1
Description
🚀 Feature
Add writers to ndevio. They will use bioio-ome-tiff.writers.OmeTiffWriter and bioio-ome-zarr. In particular, these will focus on creating a round trip: ndevio-writers to ndevio-readers experience.
Motivation
There exists no good (IMO) I<->O in napari yet. In addition, because this maintains metadata via Bioio, then we can keep pace with the metadata lifecycle it provides, which has thus far been sufficient for napari.
Furthermore, we should be able to provide some kind of metadata, like "is_label" to confer to napari that this data should be represented as a certain layer, and write bespoke interpretations if needed; to start off this means image and labels layers. Hopefully later a shapes/points IO operation can be added, though I'm not sure these OME formats would be best for it.
Pitch
- a napari
writerpathway for one of ome-tiff or ome-zarr - individual classes subclassing the BioIO writers for use in ndevio
- convenience methods on
nImagefor quick saving by just specifiying a path
Start with a MWP for Zarr, in particular, but use the work in napari-ndev for setting up the Ome-tiff writing. However, there is considerable ome-tiff writing duplication across the files, so it will need centralized.