cv.HoughCircles - MATLAB File Help
cv.HoughCircles

Finds circles in a grayscale image using the Hough transform

circles = cv.HoughCircles(image)
circles = cv.HoughCircles(..., 'OptionName', optionValue, ...)

Input

Output

Options

The function finds circles in a grayscale image using a modification of the Hough transform.

Note

Usually the function detects the centers of circles well. However, it may fail to find correct radii. You can assist to the function by specifying the radius range (MinRadius and MaxRadius) if you know it. Or, you may set MaxRadius to a negative number to return centers only without radius search, and find the correct radius using an additional procedure.

References

[Yuen90]:

HK Yuen, John Princen, John Illingworth, and Josef Kittler. "Comparative study of hough transform methods for circle finding". Image and Vision Computing, 8(1):71-77, 1990.

See also