Ask Your Question

Revision history [back]

How can I modify the edge detection method for the HoughCircles function?

I'm currently using the HoughCircles function in Python OpenCV to detect and measure the radii of some silica microsphere images. However, the detection rate isn't as high as I would like. I've tried playing around with the Canny edge detector parameters and the other parameters in the function as well as applying different blurs and thresholds but I'm still not quite happy.

Is there any way that I can change the edge detection method for the HoughCircles function to a Sobel edge detector? In that light, is the source code for the HoughCircles function available to view and to be modified?

Thank you for your help.

click to hide/show revision 2
retagged

updated 2017-06-24 01:31:33 -0500

berak gravatar image

How can I modify the edge detection method for the HoughCircles function?

I'm currently using the HoughCircles function in Python OpenCV to detect and measure the radii of some silica microsphere images. However, the detection rate isn't as high as I would like. I've tried playing around with the Canny edge detector parameters and the other parameters in the function as well as applying different blurs and thresholds but I'm still not quite happy.

Is there any way that I can change the edge detection method for the HoughCircles function to a Sobel edge detector? In that light, is the source code for the HoughCircles function available to view and to be modified?

Thank you for your help.