Stitching is not supported in NGFF nor spatialdata, but in spatialdata we build on libraries like spatial-image (xarray) for which stitching is supported via https://github.com/multiview-stitcher/multiview-stitcher from @m-albert.
This track aims at experimenting with stitching in spatialdata.
- (easy to prototype) we show how we can build an element that represents the stitched way doing some processing on the fly. “You define an element via stitching”. For company-use, with hundreds of tiles, this would be preferred (at the performance cost that on-the-fly stitching is going to be slower than loading a pre-saved dataset)
- (more involved but close) Stitching could be done via transforming multiple elements to a single element. First there is an alignment step and then there is a summarized element. “You reduce the stitched elements into one”. May be preferred when one has a small amount of data and can afford to save the stitched version.
Notes
- One can investigate the impact of doing multiprocessing with ray or joblib vs (or combined with) dask. This can be checked both for small and large arrays.
- @m-albert could you suggest a dataset already used in https://github.com/multiview-stitcher/multiview-stitcher? For a spatial omics dataset we could use one of the datasets used in https://github.com/LieberInstitute/visiumStitched
Stitching is not supported in NGFF nor
spatialdata, but inspatialdatawe build on libraries likespatial-image(xarray) for which stitching is supported via https://github.com/multiview-stitcher/multiview-stitcher from @m-albert.This track aims at experimenting with stitching in
spatialdata.Notes