HenriquesLab / ZeroCostDL4Mic

ZeroCostDL4Mic: A Google Colab based no-cost toolbox to explore Deep-Learning in Microscopy
MIT License
555 stars 129 forks source link

Predicted mask is complete black image. How to save mask, outline and cell pose image separately #169

Closed pccoe-co closed 2 years ago

pccoe-co commented 2 years ago

Executing Cellpose_2D_ZeroCostDL4Mic.ipynb, the output mask predicted by the model which is saved in my result folder is complete black image but in the notebook it displays the original image, predicted outline, mask and cell pose correctly. How can i save these predicted mask, cell pose and outline files separately in different folders in my drive.

guijacquemet commented 2 years ago

Hi, Thanks for reaching out. Could you share an example? How do you open your predicted mask image? Cheers Guillaume

pccoe-co commented 2 years ago

Thank you for the response. since predicted mask image is saved in result folder in my drive with .tif extension, i am trying to open it using image viewing application on google drive itself

images and there predicted mask can be found here:

Also i want to save images that are displayed as output in the notebook as shown in attached image below in separate result folders. LBC_example_data

guijacquemet commented 2 years ago

Hi @pccoe-co Checking your images, the mask looks fine. The Google Drive image viewer cannot display them properly as they are 16bit Tifs. You need to open them with another viewer. For instance Fiji or Cellprofiler. image Cheers Guillaume