Removing Background (To count cells in image)

2 views (last 30 days)
I want to count cells in a image.
Assistant refered to hints(graythresh, im2bw, bwdist, watershed)
But I think, first, I need to elliminate background pixels... How can I do?

Answers (2)

Grzegorz Knor
Grzegorz Knor on 26 Nov 2011
You do not have to do, just follow the assistant instructions :)
Here's the example:

Image Analyst
Image Analyst on 26 Nov 2011
Thresholding (im2bw) does remove background, in a sense. It gives you a binary image where the foreground is 1 and the background is 0.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!