Skip to content
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

CellPose Napari plugin does not consider scale of original layer #37

Open
sebi06 opened this issue Aug 22, 2022 · 1 comment
Open

CellPose Napari plugin does not consider scale of original layer #37

sebi06 opened this issue Aug 22, 2022 · 1 comment

Comments

@sebi06
Copy link

sebi06 commented Aug 22, 2022

Hi all,

I just tested the CellPose plugin in Napari and it seems the its output does not have the same scale a the original layer (to be segmented): For a detailed description check:

https://forum.image.sc/t/cellpose-napatri-plugin-does-not-consider-scale-of-original-layer/70919?u=sebi06

@aeisenbarth
Copy link

Similar issue, our segmentation results are not properly overlaid with the input, but offset to the origin. In our case, input images are registered to a global coordinate system, making use of affine transforms, which can include an offset and a rotation.

The scale property is just a shortcut to one aspect of the affine transform. The whole affine transform needs to be considered. Since the output is in the same coordinate system as the input, it should be the same transform matrix (possibly one has to adjust for different number of dimensions in case singleton dimensions get dropped).

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

No branches or pull requests

2 participants