Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Data standardization to AICSImage #56

Description

@MosGeo

Use Case

One big advantage of aicsimageio is the standardization of all image types to a common ndarray with known shape. All images would produce the 5 or 6 (CZI) dimensions. This format is easy to handle in plugins and everything works as expected.

Based on info here: #24 (comment), napari-aicsimageio returns the raw data from the reader rather than the aicsimage which breaks the standardization and thus breaks any plugins that rely on the standardization.

Solution

Have a toggle in napari-aicsimageio to choose to return the raw data or the aicsimage.

for example:

import napari
import napari-aicsimageio
napari-aicsimageio.return_aicsimage_data =  True

# Run napari
...

Alternatives

All plugins that want the standard should use the layer.metadata['aicsimage'].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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