Skip to content

Feature request: lazy parsing of the pyramidal OME-TIFF morphology focus in Xenium #407

Description

@LucaMarconato

See context:

Saving and reloading is the general recommendation for SpatialData objects coming from spatialdata-io. Nevertheless there is more to say here. In the case of Xenium >= 2.x.x and the morphology_focus image, we could actually take advantage of the pyramidal OME-TIFF format and construct the multiscale image directly from each scale and chunk (instead of lazily loading the large image and downscaling to a custom chunk size). This is currently not done as the spatialdata.models.Image2DModel.parse() method does not accept a DataTree object, but only a DataArray. If we extend this we can then also add this feature to spatialdata-io. Saving and reloading the object would still be preferable, but it would not be necessary for the case you reported.

Originally posted by @LucaMarconato in #1161

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions