Question

I have images such as the one below from which I need to count the prominent white spots. Unfortunately my object counting algorithm is becoming confused due to those "fuzzy" white areas. It can sometimes see hundreds of objects there.

example image

So what I'm wondering is whether there's some way to perhaps exaggerate the white spots and suppress the "fuzzy" areas either using filters in GIMP or Python libraries.

Thank you!

Was it helpful?

Solution 3

I ended up using G'MIC's Bilateral Filtering, it was the perfect tool for the job.

OTHER TIPS

Increase the contrast in GIMP.

You probably want an adaptive threshold.

The modules that I know have this in Python are scikit-image and OpenCV.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top