How to count exudates in retina binary image?
1 view (last 30 days)
Show older comments
I 've got the following retina images, after implementing LAB and applying segmentation, I've got a binary image. The white is the exudates and I need to count each of them. Can you help me with code to count them accurately without including the borders and extra pixels.
3 Comments
Answers (1)
Image Analyst
on 9 Aug 2013
I think you need to call imfill() to make them solid - it looks like all you have are the edge outlines. Then call regionprops(). See my image segmentation tutorial in my File Exchange if you want an example.
3 Comments
Image Analyst
on 10 Aug 2013
I never heard of kasa, and the link just shows an image and a histogram. regionprops() will give you the EquivDiameter and the Centroid which is all you need if you want to get the circle fit. Then just use rectangle() or plot() to put up the circle in the overlay over your image.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!