Removing Background (To count cells in image)

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?

Réponses (2)

Grzegorz Knor
Grzegorz Knor le 26 Nov 2011

0 votes

You do not have to do, just follow the assistant instructions :)
Here's the example:
Image Analyst
Image Analyst le 26 Nov 2011

0 votes

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!

Translated by