MATLAB: Counting particles on image with sizes range

automatic reportingimage processinImage Processing Toolboximage segmentationsize distrubiton

I need counting particles of an image based on their size range.
Such as 7.5-15, 15-25, 25-50, 50-100, 100-150, 150-200, 200-400, 400-600, 600-1000, >1000 micrometers
how i can count the particles on the image and put each number into excel.
Thank you

Best Answer

regionprops() their Area or other relevant "size" measure. histc() or histcounts() to get the counts (note that those two have different behaviours for the values exactly equal to the final value.) xlswrite() to write into excel.
Related Question