Hough Transform for circle detection

An optimized Hough transform for circle detection.
Updated 5 May 2010

View License

This Hough transform is highly optimized. It uses the midpoint circle algorithm to draw the circles in voting space quickly and without gaps. It also includes an option for searching only part of the image to increase speed if a rough estimate of the circle locations is known.

Cite As

Peter Bone (2024). Hough Transform for circle detection (https://www.mathworks.com/matlabcentral/fileexchange/9833-hough-transform-for-circle-detection), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Implementation example included in comments. Code warnings fixed for new Matlab versions.