Count centroids in an image
3 ビュー (過去 30 日間)
古いコメントを表示
Hey I have this binary image, with the centroids detetced but I need a way to count them so I get an output as number of characters is 7. I haven't been able to find a function or any way to do this. 

5 件のコメント
Adam Danz
2019 年 11 月 10 日
@Adam Kelly, it looks like you've got several suggestions here. Let us know if you get stuck or if you're looking for something different.
回答 (1 件)
Arash Rabbani
2019 年 11 月 10 日
Why not simply label the binary image? and 'Num' would be the number of characters.
[Label, Num]=bwlabel(Image)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!