spatialdata-io
spatialdata-io copied to clipboard
Load Xenium mask labels using Dask
Towards #228
Replace the code to load the Xenium segmentation masks to use Dask to greatly reduce the memory consumption of the Xenium reader.
I abandoned the idea of saving each element to free up memory because the Xenium reader is already mostly Dask-compatible, so it will not bring any advantage.