getting score and raw data of each circle with CvHoughCircles

asked 2012-10-05 05:16:46 -0500

HugoRune gravatar image

updated 2012-10-05 06:44:04 -0500

I am using the HoughCircles function.

Is there any way I can get more information about the results besides an ordered list of circle center and radius?

I'd like to get the score of each circle, and perhaps the hough space matrix itself.

So far the only way I have found to get the score is to repeatedly run HoughCircle with different minimum scores, but that is impractical.

(I am using the openCvdotnet C# wrapper, but I am not adverse to modifying the wrapper.)

I tried implementing my own hough gradient circle transform, but the results are not as robust as the native openCV function.

edit retag flag offensive close merge delete


i'm interested in the same thing. i've seen someone modified the hough line finder code in order to do that. unfortunately, those 2 routines are a bit different so i wasnt able to copy the modification they did on houghline. i suggest you, if you'd like to jump into the code, to look closer to the variables 'adata' as well as 'accum' in the function 'icvHoughCirclesGradients'

guidovitale gravatar imageguidovitale ( 2016-10-18 05:10:31 -0500 )edit