I have an image that shows two circles sharing the same center but having a different radius - an inner and an outer circle. I need to check, if these two circles are "broken", that means, if the shape of the circles are somehow frayed or tattered.
The circles always have the same radius, so I'm using HoughCircles of OpenCV with a given radius for each of the two circles, to determine if the image contains the two circles. The circles can be found without any problem. I'm fairly unexperienced to image processing so I thought, using HoughCircles would only find the circles if their shape is flawless, but HoughCircles also finds the circles if they are some edges or curves on the stroke of the circle.
Is there a better way to check, if the two circles are intact or is HoughCircles a totally wrong way? I played a bit with the threshold parameters of HoughCircles but when the threshold is set too low, the algorithm does not find a circle at all no matter it is intact or broken.
Edit: Here is an abstracted images that might make it clearer. http://1drv.ms/1toMHay The inner circle is broken, the outer ok. HoughCircles might detect both circles although the inner should not be detected.
The idea is, that I have a reference Image with both circles intact, to determine the correct radius, threshold and other parameters for the hough circles function to make sure, these are found with hough circles. With these parameters other images should be analyzed to see, if these also contain two intact circles or if at least one circle looks like the inner circle from the image I provided.
Uploaded Images I uploaded some real images to make it clearer what I'm trying to achieve. http://1drv.ms/1nhJJQ9 These images are takes in two different light situations, with direct and indirect light. Each set has an "intact" image and some broken ones. Now I have to detect, if the image is intact or broken and my first approach is, to look if the two circles are intact or frayed somehow. Is that even possible with those images or is there a better way?