As noted in the title, I am making this issue as a "request for comment"-style thing to encourage discussion. It is just an idea, and the benefits may not outweigh the negatives, so i want to hear others' thoughts.
User story
Viv currently implements loader classes conforming to the PixelSource abstraction. Such an abstraction was necesssary for historical reasons to unify things between the different image formats Bioformats-Zarr, OME-TIFF, OME-Zarr.
However, requiring the intermediate PixelSource may be unnecessary if we can instead unify things at the Zarr-store-level.
Preferred solution
- Refactor the layers so that they accept a Zarrita store, where the root of the store corresponds to an OME-NGFF image.
- Implement stores that "virtually" interpret non-Zarr images as OME-NGFF images, so that Viv still supports the same range of image formats.
Possible alternatives
The status quo, keeping the PixelSource abstraction.
As noted in the title, I am making this issue as a "request for comment"-style thing to encourage discussion. It is just an idea, and the benefits may not outweigh the negatives, so i want to hear others' thoughts.
User story
Viv currently implements loader classes conforming to the PixelSource abstraction. Such an abstraction was necesssary for historical reasons to unify things between the different image formats Bioformats-Zarr, OME-TIFF, OME-Zarr.
However, requiring the intermediate PixelSource may be unnecessary if we can instead unify things at the Zarr-store-level.
Preferred solution
OmeTiffStorevizarr#254 and https://github.com/keller-mark/tiff-as-virtual-zarr.jsPossible alternatives
The status quo, keeping the PixelSource abstraction.