vanvalenlab / kiosk-imageJ-plugin

An ImageJ Plugin for interacting with the DeepCell Kiosk
Other
3 stars 2 forks source link

Only nucleus being segmented under mesmer #38

Closed pushkal777 closed 3 years ago

pushkal777 commented 3 years ago

I uploaded a 2-channel stack with DAPI/YFP. After submitting it, I get small segmented regions marking only the nucleus. Not sure what is going wrong. Result window from mesmer plugin: 3

Input stacked image (contains these two images): 1 2

willgraf commented 3 years ago

Thanks for the issue. The root cause is that the zip file produced contains 2 tiff images for Nuclear and Cytoplasm segmentation. However, the ij.io.Opener.openURL method only opens a single file from the zip. I had thought it was opening the whole-cell image but this is definitely nuclear.

I'll bump this up the priority list, but in the meantime, you can download both segmentation images from deepcell.org.

ngreenwald commented 3 years ago

I think this is an issue with cell culture data. Our model was trained only on tissue data, and isn't designed for cell culture. I'm able to get whole-cell segmentation results when running our default image image

pushkal777 commented 3 years ago

Thanks for getting back. What differences do you think are in a cell culture vs 2D tissue culture images for the algorithm? Also, do you have other suggestions on other trained models for cell culture segmentation?

ngreenwald commented 3 years ago

The membrane signal for cell culture looks quite different than in tissue samples, which is why Mesmer is defaulting to just nuclear segmentation for your data. I'd recommend checking out CellPose for cell culture segmentation