number of disks in a grey scale Image
1 次查看(过去 30 天)
显示 更早的评论
I am trying to find the number of black disks in this Image. I have tried "regionprops" but the problem is first I need to convert the Image to a binary one (without significant loss in resolution or accuracy) and then use this function. In addition, "regionprops" cannot distinguish "touching disks" quite well. I am using R2014a version.
Any help or comment would be greatly appreciated. Bests, Ramin
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160569/image.jpeg)
0 个评论
采纳的回答
Image Analyst
2014-4-9
For an image like this, where all the blobs are very close to the same size, you simply threshold to find the entire mass and then divide by the area of a single blob. For all intents and purposes this will give you a very accurate count. There are other methods such as bwulterode() or Marker Controlled Watershed Segmentation but I think they may not be as accurate and are more complicated.
8 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!