Clear Filters
Clear Filters

extracting the count and size of white dots as a function of its location

3 views (last 30 days)
I have drawn a box in one area of my image and a box on the other location of my image, region A and region B. You can observe that the white dots number and size are different in each box. To confirm this, I have divided my image into 12 equally seperate segments across the image. i want to know what is the number and size of the white dots across the image as a function of their segment location? And possibly display a trend of the size and number of white dots in a graph?How would I do this please? Thank you

Accepted Answer

Image Analyst
Image Analyst on 5 Feb 2023
Edited: Image Analyst on 5 Feb 2023
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.
You can use the Color Thresholder app on the Apps tab of the tool ribbon to get a mask for the white blobs. Export the function then call it in your code. If you can't figure it out, then attach your original, unannotated image.
If you can't figure it out, then tell me how each of the 12 regions are defined/located.
Neo on 8 Feb 2023
I'm wondering what's the difference between graphing the mean diameter of pixels in the image vs. mean diameter of white spots in the image?
Image Analyst
Image Analyst on 8 Feb 2023
I didn't compute the mean diameter of the pixels. I just computed the mean diameter of the white spots. The "size" of a pixel is the field of view (in microns) divided by the number of pixels across the image. It's just a single number so there is nothing to graph.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!