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

Problem saving masks as PNG in Cellpose2.0 GUI #524

Closed
TianxinZhu opened this issue Jun 6, 2022 · 4 comments
Closed

Problem saving masks as PNG in Cellpose2.0 GUI #524

TianxinZhu opened this issue Jun 6, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@TianxinZhu
Copy link

Great work. I successfully divided my cells by using Cellpose2.0 GUI. However, I couldn't find masks in my directory after clicking " Save masks as PNG" in Cellpose2.0 GUI. The Ananconda Prompt printed "saving 2D masks to PNG" but there were no PNG actually being saved.
Txt and npy files can be saved when I tried to click "Save Outlines as text for ImageJ" and "Save masks and image (as *seg.npy)" respectively. Only PNG can not be saved successfully. I will really appreciate that if you can shed some light on my problem. Thank you!

@TianxinZhu
Copy link
Author

FYI,the same problem occurred on both of my Windows PCs. I'm wondering if it is a general problem for Windows 10 users?

@jpylvanainen
Copy link

Same issue here, I posted to image.sc - let's see if we get responses: https://forum.image.sc/t/cellpose-2-0-gui-png-export/68427

I'm using windows 11, so cannot be a windows 10 thing.

@carsen-stringer carsen-stringer added the bug Something isn't working label Jul 3, 2022
carsen-stringer added a commit that referenced this issue Jul 3, 2022
…forcing tiff saving for masks > 2**16 (#524), and new suggestion mode
@carsen-stringer
Copy link
Member

do you have masks > 2**16? I've made it now so that it forces saving as tiff for images with many masks. please test out the github version, or later today, a new pip

@sri9s
Copy link

sri9s commented Sep 2, 2022

Hi @carsen-stringer , save as png is still saving them as tiffs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants