recognize count white dots in grey background
1 次查看(过去 30 天)
显示 更早的评论
Hi, i' m a college student, and i need your help. I have some images of Microscope (with white points) on gery background and i need to recognize the count of dots. can someone recommend some links about those problems?
thanks!
采纳的回答
Mohammad Abouali
2014-11-10
Generally this should work. Use graythresh and im2bw to make a mask of white dots and then use bwconncomp to count them.
cc = bwconncomp(bw, 4)
cc.NumObjects
2 个评论
Mohammad Abouali
2014-11-10
cc.NumObjects would be the count of dots.
so one way to display it is:
disp(cc.NumObjects)
更多回答(1 个)
Image Analyst
2014-11-10
That's exactly what my Image Segmentation Tutorial does. Find it in my File Exchange Replace the standard coins demo image with yours and change the threshold value and you should be all set.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!