Skip to content

[BUG] Axis inconsistency when using channel_axis #1402

@tomermilo

Description

@tomermilo

When channel_axis is provided, Cellpose appears to mis-handle the image axes. In this case, it runs
image = io.imread_3D(image_name) (line 214 in __main__), which moves the channel axis to the last position (axis 3). However, in lines 217–218, channel_axis is not updated accordingly because it is not None, leading to an inconsistency between the image shape and the specified axes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions