Skip to content

Greyscale tiff (from ImageJ) not opening #66

@danio368

Description

@danio368

This is a follow up on issue #58. The tiff I had provided as an example opens fine with the latest version of napari-tiff (version 0.1.5). Thanks for that!

However, I realized that other tiff do not open at all and generate the following error:

ValueError: units=(<Unit('second')>, <Unit('micron')>, <Unit('micron')>, <Unit('micron')>) must have length ndim=5.

These tiff were created in ImageJ. Looking a bit more carefully, I realized that the ones that open nicely are composite in ImageJ, while the ones leading to an error are greyscale in ImageJ (in ImageJ, multichannel images can be composite, greyscale or color).
Here are two test files, one that works (composite) and one that does not (greyscale).

Test_composite.tif
Test_greyscale.tif

So the workaround is easy (just convert to composite in ImageJ before saving). But the aicsimageio plugin does handle the two types of files. So I don't know if this something you would like to do in napari-tiff as well.
Thought I would let you know. Thanks for your efforts on this plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions