Segment spores in image

Hello I hava this image :


or this one :

how to segment spores with OpenCV, not deep learning please
thank you
Best regards

Looks like a good use case for the watershed algorithm.

Check out the tutorial, I’ll be happy to help you as soon as you have more specific questions.

I tried the algorithm, this is what I obtain :


As you can see it doesn’t works

on this image :

and by a blob approach ?

nobody has an answer please ?

I mean, that looks promising! You could extract all black pixels as a mask and use it as a background model for GrabCut, or run some connectedcomponents algorithm.

I succeeded by grabcut