How do I properly binarize my image?
Show older comments
Hello,
I want to analyze the particle size distribution of my sample. I followed the example of 'ImageAnalyst'. The problem for my sample is that the grains I'm mostly interested in aren't binarized properly. The grains are the little dark gray and black circles. How do I get them binarized, so I can count them afterwards?

Accepted Answer
More Answers (1)
Image Analyst
on 20 Jun 2022
0 votes
If regular global thresholding doesn't get them then you might try a bottom hat filter imbothat
3 Comments
Matheo Schaaf
on 20 Jun 2022
Edited: Matheo Schaaf
on 20 Jun 2022
Image Analyst
on 20 Jun 2022
If you don't want to analyze the whole image by finding gray/dark blobs in the whole image, then exactly how are you defining an ROI that is just some part of the image? I was thinking you'd just want to find those dark blobs everywhere they occur in the image, not in some portion of the image.
Matheo Schaaf
on 20 Jun 2022
Edited: Matheo Schaaf
on 20 Jun 2022
Categories
Find more on Image Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
