Detecting circles/ellipse/whatever in an image
I need to detect the amount of dots/circles/ellipse as I said in the title.
The quality of the image is as shown below (the circles aren't that round either which makes it hard on HoughCircles to detect it with my current settings or any other settings for that matter. I need a reliable way of detecting the amount of dots.. I have searched the internet for weeks and have finally given up. I could really use directions or if anyone volunteers to write the code for me, I won't mind) :
Any help is appreciated. I write my code in C++.
I don't really think that HoughCircles can't detect that, but anyway... given your settings, a simple thresholding+findContours will almost directly give you the circles blob. You can add some kind of shape analysis to check circularity
What is "findContours"? Have I mentioned I'm new to opencv?