Detecting Very light particles in an image
Hi Gurus, I'm having a challenge to identify and count the light dust particles in an image (attached). Basic thresholding techniques doesn't seem to work as the background starts getting a lot of noise and the count gets off with a lot of margin. In the attached image the bright 4 dots are not among the area of interest but the light noisy pixels that are in the background. Any suggestions on how to tackle this problem would be highly appreciated.
Thanks, Nooh
Edit (11th April, 2019)
Thanks a lot Grillteller for your response, much appreciated! I think you are doing the opposite. I need to get that "salt & pepper" noise not the bright spots as those spots can easily be captured via thresholding but the noise starts getting massive if I try to highlight the salt-and-pepper spots via thresholding.
If I threshold this image
I get this (Higher threshold values can totally ignore the salt-dust and will highlight the brighter spots only, so I have to go low)
Here the salt noise is highlighted but with a lot of background noise and will surely mess up the count. What I want is to count those lighter salt dust particles only. I can ignore the brighter blobs later as their size is comparatively larger.
A few light spots to be counted are manually highlighted below;
Sorry guys, I didn't get why the question was down-voted. I'm new here so I might have missed some rules. Appreciate if someone can guide.
I updated my answer. I think it is possible to get even better results when refining the parameters of CLAHE and the thresholding :). You could also use morphological operations on the binarized image to get single contours and/or eliminate your brighter blobs.
Did you try to remove the spots from the image and see what you can do after? Threshold the image to get the bright points, then subtract it from the original image.
As S&P noise has high frequency, you can remove low frequency components and accentuate high frequency components. This can be done with unsharp mask or fourier analysis.
Great thoughts, will surely try this as well. Yes, I'm able to remove those brights spots. The only issue I'm having is separating the light spots from the background noise. I'm also trying edge detection via canny and that seems to be a little better in differentiating light spots from background.