Skip to content

Should channel axes be allowed in image-label data? #417

Closed as duplicate

Description

@dstansby

For image label data, does it make sense to have a channel axis? I can't think of a case where it does make sense, so I think it would be nice to add a statement to the spec along the lines of:

Multiscales metdata in image-label groups MUST NOT contain axes that have "type": "channel"

Activity

  1. d-v-b commented on Jan 13, 2026

    @d-v-b
    Contributor

    This wouldn't necessarily be a "channel" axis but using an array axis to separate overlapping labels is pretty common. For example, a segmentation that labelsentire cells and also vesicles (i.e., stuff usually, but not always, contained inside cells) can't be represented easily with normal integer labels in a single array.

    Instead of adding rules, I think it would be easier to remove them via rfc 3, and let people use the axes they need for their particular data.

  2. will-moore commented on Jan 13, 2026

    @will-moore
    Member

    I have created OME-Zarr data with labels that have a channel axis. In particular, when we export data from OMERO with omero-cli-zarr, the Masks in OMERO can have a C index and in this case we export multi-channel labels.

  3. dstansby commented on Jan 13, 2026

    @dstansby
    ContributorAuthor

    Turns out this already has an issue, sorry for the noise

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions