Skip to content

Fix to allow to run on 3d images #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix to allow to run on 3d images #284

wants to merge 4 commits into from

Conversation

emiglietta
Copy link
Collaborator

  • Adds a new parameter to be passed to the Cellpose call when running on volumetric images: `z_axiz'
  • Allows volumetric display
  • Avoids showind outlines when doing volumetric display to escape shape mismatch error (third panel still shows the raw image but without outlines)

this setting errors if display is enabled bc display does not currently support 3d, but the module does run
this works but outline display still fails bc os shape mismatch
otherwise there is a shape mismatch error.
The third panel still shows the original image, but without the outlines
Copy link
Member

@bethac07 bethac07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test if you haven't already that this doesn't break 2D Cellpose4 support (I have no reason to think it does, just out of caution), feel free to do once pulled. Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants