MATLAB: How to count grain in which the image is eroded

digital image processing

Hi, I'm a student and doing a project in image processing. I have to label and count this image .

Best Answer

Unless you expect the count to be something other than 12, you can use bwlabel()