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

Unable to identify large cells and filter small impurities well #45

Open
ZhangPenglan opened this issue Jul 27, 2024 · 1 comment
Open

Comments

@ZhangPenglan
Copy link

Hi,

Thanks for this super helpful tool, but I have some problems running deepcell mesmer, it would be great if you can help me.

  1. When I run the following code to identify cytoplasm, I find that it can identify smaller cells well, such as immune cells in the liver, but it is not good for hepatocytes (GS staining). Do you have any suggestions for this situation?
  2. When identifying cytoplasm, how can I automatically filter out cells smaller than a certain size, such as 50μm, to filter out some impurities?

docker run -it --gpus all -v C:\Data\deepcell:/data vanvalenlab/deepcell-applications:latest-gpu mesmer --nuclear-image /data/ROI.tiff --membrane-image /data/ROI.tiff --output-directory /data/masks --output-name mask.tif --compartment whole-cell

Thank you very much for your time and help, and I look forward to your reply.

@ngreenwald
Copy link
Contributor

Hi @ZhangPenglan,
You can try playing around with the resolution of the input images to see if that helps performance on hepatocytes.

For filtering out small cells, you should be able to take the output segmentation masks and run them through any of the downstream image analysis pipelines (such as QuPath, HistoCAT, ark-analysis, Mantis-Viewer, etc) and filer the cells based on a cutoff.

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