Skip to content

Revisit: Squeezing #110

@jo-mueller

Description

@jo-mueller

So...with #106 and #107 merged and released, I thought it would be a good idea to revisit this topic. Originally, the idea behind squeezing (among others) was, that many downstream processing algorithms don't squeeze data on their end, which might lead to errors due to dimension missmatches.
That being said, I think there is still a strong case for actually squeezing out singleton dimensions. And with the named axes in, we can do so without getting ourselves in trouble when trying to parse and upload annotations later.

I thought the following could be done:

  1. Squeeze out (leading?) singleton dimensions and update the axis_labels.
  2. In save_rois, inspect this property and process annotations accordingly. I guess for Points and for Shapes there wouldn't be much of a different, anyway, but for the Labels (arguably the most prominent use case) it would make a big difference.

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