Removing Background (To count cells in image)
Show older comments
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
on 26 Nov 2011
0 votes
You do not have to do, just follow the assistant instructions :)
Here's the example:
Image Analyst
on 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.
See my BlobsDemo for a complete tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Categories
Find more on Image Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!