Circle Detection via Standard Hough Transform

Find circles with specific radius in a binary image via Standard Hough Transform.
30.6K Downloads
Updated 31 Aug 2012

View License

Function uses Standard Hough Transform to detect circles in a binary image.
According to the Hough Transform for circles, each pixel in image space
corresponds to a circle in Hough space and vise versa.
upper left corner of image is the origin of coordinate system.

Example :
[y0detect,x0detect,Accumulator] = houghcircle(Imbinary,r,thresh)

Cite As

Amin Sarafraz (2026). Circle Detection via Standard Hough Transform (https://www.mathworks.com/matlabcentral/fileexchange/4985-circle-detection-via-standard-hough-transform), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.0

Implemented suggestion by Peter Bone/ Better documentation

1.0.0.0

Modified version,faster and better performance