Ask Your Question
0

Detecting concentric circles

asked Dec 8 '16

unxnut gravatar image

I am trying to find circles in the attached image.

I have used the function cv::HoughCircles(img, circles, cv::HOUGH_GRADIENT, 1, 1);. However, it is unable to detect the circle in this image or other similar images. Can someone point what I may be doing wrong?

image description

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Dec 9 '16

pi-null-mezon gravatar image

You should decrease the threshold for the circles detection - read this manual

Call function with not default parameters:

cv::HoughCircles(img,_vcircles,CV_HOUGH_GRADIENT,1,1,100,20);

and you will get:image description

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Dec 8 '16

Seen: 2,240 times

Last updated: Dec 09 '16