Skip to content

Handling ome-zarr files #41

@Rdornier

Description

@Rdornier

Hi @AlbertDominguez

I'm trying to use spotiflow with ome-zarr files as input but it is apparently not supported yet, as I get this error

INFO: Spotiflow: ValueError: No valid image files found in directory \spotiflow-temp\SPOT_5003_1561_283_118_0_ome.zarr. Allowed extensions are: ('tif', 'tiff', 'png', 'jpg', 'jpeg')

I used this command in the CLI

spotiflow-predict.exe spotiflow-temp\SPOT_5003_1561_283_118_0_ome.zarr --out-dir spotiflow-temp --verbose --device cpu

The ome-zarr files are generated using the OMEZarr exporter of QuPath 0.6.0. They are following OME-Zarr 0.4 specs (OME-Zarr 0.5 are not yet implemented in QuPath).

Here is a sample file of ome-tiff (working) and the same region in ome-zarr format.

Do you think it could be possible to integrate the reading of ome-zarr files in spotiflow ?

Rémy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions