Skip to content

Ansiotropy fix#1193

Merged
mrariden merged 4 commits intomainfrom
ansiotropy_fix
May 20, 2025
Merged

Ansiotropy fix#1193
mrariden merged 4 commits intomainfrom
ansiotropy_fix

Conversation

@mrariden
Copy link
Collaborator

Anisotropy was running in the CellposeModel.eval() function but was not rescaled after segmentation resulting in incorrectly sized masks. Now, rescaling runs at the end of .eval if anisotropy isn't None.

Also added passing test that failed with previous implementation. The tests require 3d so they only run on local with --runslow pytest flag.

Fixes #1191

@mrariden mrariden self-assigned this May 20, 2025
@mrariden
Copy link
Collaborator Author

All tests passing on ubuntu

@mrariden mrariden merged commit 9d59b2e into main May 20, 2025
7 checks passed
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.

[BUG] Anisotropy is ignored in CLI, creates an error in the GUI

1 participant