Threshold the image for particle counting without splitting/fragmenting the particles

asked 2019-07-28 23:05:30 -0600

me16b001 gravatar image

updated 2019-07-29 13:08:36 -0600

I have the original image, my goal is to identify and count the particles exactly for which I am using blob detection (as they may not be spherical sometimes and also houghs didn't work that well). I tried threshold the image with some fixed value but it misses some fainter particles, so I tried local OSTU by dividing the image in 10x10 grid and I got the second image but the problem is that the particles get fragmented i.e. see the top particle on the right side in the thresholded image, it is actually a single thing but now appears as multiple small particles, and when I use contour for particle count I get incorrect image. Also, some particles appear to be merged are not counted properly.
image description image description

edit retag flag offensive close merge delete