Ask Your Question

Revision history [back]

Hough Circles Detection CPU and GPU - min distance parameter

Hello!

I do not understand how parameter minimum distance works in GPU HoughCircles function. In CPU version it works properly and means minimum acceptable distance between center of two circles in pixels. With GPU version I cannot get good results even for simply problem what is easy for CPU function. I think the reason is minimum distance parameter which behaves really strange when I am changing it. For example the number of false circles increase even when I use bigger or smaller values than some optimal value which I get experimentally. For value like 20 I am still getting circles with the same position and diffrence in radius 2-5. I know that GPU functions are parallel. I also saw this topic: http://answers.opencv.org/question/20966/opencv-hough-on-gpu-is-unstable/ . But I still not understand why filtration at the end of execution can't be better. It seems that I must make myself auxiliary filtration to remove false circles.

Regards, ksiadz13