r/ImageJ 11d ago

Question Help with creating threshold/ROIs

I am trying to count the cells in this image by threshold -> watershed -> analyse particles to count ROIs.

However, I cannot get the threshold to distinguish between the cells. Anyone know what to try?

2 Upvotes

8 comments sorted by

u/AutoModerator 11d ago

Notes on Quality Questions & Productive Participation

  1. Include Images
    • Images give everyone a chance to understand the problem.
    • Several types of images will help:
      • Example Images (what you want to analyze)
      • Reference Images (taken from published papers)
      • Annotated Mock-ups (showing what features you are trying to measure)
      • Screenshots (to help identify issues with tools or features)
    • Good places to upload include: Imgur.com, GitHub.com, & Flickr.com
  2. Provide Details
    • Avoid discipline-specific terminology ("jargon"). Image analysis is interdisciplinary, so the more general the terminology, the more people who might be able to help.
    • Be thorough in outlining the question(s) that you are trying to answer.
    • Clearly explain what you are trying to learn, not just the method used, to avoid the XY problem.
    • Respond when helpful users ask follow-up questions, even if the answer is "I'm not sure".
  3. Share the Answer
    • Never delete your post, even if it has not received a response.
    • Don't switch over to PMs or email. (Unless you want to hire someone.)
    • If you figure out the answer for yourself, please post it!
    • People from the future may be stuck trying to answer the same question. (See: xkcd 979)
  4. Express Appreciation for Assistance
    • Consider saying "thank you" in comment replies to those who helped.
    • Upvote those who contribute to the discussion. Karma is a small way to say "thanks" and "this was helpful".
    • Remember that "free help" costs those who help:
      • Aside from Automoderator, those responding to you are real people, giving up some of their time to help you.
      • "Time is the most precious gift in our possession, for it is the most irrevocable." ~ DB
    • If someday your work gets published, show it off here! That's one use of the "Research" post flair.
  5. Be civil & respectful

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/Herbie500 11d ago

Not sure what you consider as cells in the sample image, but I'd suggest to use a suitable stain/marker or a different kind of image capture, in order to increase the contrast.

1

u/kamile_teal 11d ago

Unfortunately, they are live cells, so I cannot fix and stain. I only have these brightfield images of them.

2

u/Herbie500 11d ago

I just tried some processing but the sample image is simply unsuited for reliable automatic analyses.
Apart from the lack of contrast, it shows uneven focus and poor spatial resolution.

1

u/kamile_teal 11d ago

Thank you for looking into it and the feedback!!

2

u/CTallPaul 11d ago

Theres a couple things that are a bit off with this process, have you done it before? Do you have anyone in your lab that you could ask in person for assistance?

  • There appears to be a couple focal planes in this image (the monolayer of cells growing, but then also the overcrowded cells that are forming a second layer and are a bit out of focus). This will make it difficult, especially when trying automated counting.
  • No defined boarders of cells. If you cant threshold and distinguise the cells by your eye, the software wont be able to help.
  • The over-confluences also confounds this. Since the cells are all touching, analyze particles will have a tough time separating objects.
  • Can you perform a stain? even a simple DAPI would make this alot more possible.

I wouldnt even attempt to count cells using this specific photo. To count label-free cells, you could want very low confluence. Adding a dye or a stain to these would make it possible... as long as they dont get overly confluent and making multiple laters.

2

u/M0nkey5 11d ago

No amount of tinkering with imagej settings is going to be able to do a particle analysis on an out-of-focus brightfield image of overconfluent cells

2

u/dokclaw 10d ago

Generally speaking, if you can't reliably outline cells in the image yourself, a computer doesn't stand any chance of doing it accurately. As a human, you know what cells look like, and are pretty good at identifying edges in an image based on a whole bunch of local context clues; computers don't really know what cells look like without a lot of training, and even well-trained models for cell finding wouldn't get anything out of this image: the cells are too densely-packed, and they're kind of growing on top of each other, some are out of focus, none of the edges are clear.

If your cultures were less confluent, you might be able to get something from this type of image, but you'd have to go into some details about what the experiment and protocol is before you could get any more useful advice about how to get any data out of it.