Hello!
I wrote a code for detcting some circle, but i dont understand how the Hough Transform sort the output.
My program is runing like this
- I have six circle that are positioned like this
- i need to detect the cirlces and then make de half distance between the ccenters of circles two by two like this
- the blue dots are the half distances between circles two by two
Now the real example is something like this
For case 1 it works
But when i process a photo like this
Circles are sorted like this :
HERE IS MY CODE : http://pastebin.com/9WrsMtNQ