Detect circles with various radii in grayscale image via Hough Transform
by Tao Peng
27 Nov 2005
(Updated 17 Nov 2010)
Detect circular shapes in a grayscale image. Resolve their center positions and radii.
|
Watch this File
|
| File Information |
| Description |
Circular Hough transform based on the gradient field of an image.
1. Operates on grayscale images, NOT B/W bitmaps.
2. NO loops in the implementation of Circular Hough transform, which means faster operation but at the same time larger memory consumption.
3. Detection of radii works for concentric circles as well. |
| Acknowledgements |
This file inspired
Coin Segmentation.
|
| Required Products |
Image Processing Toolbox
Signal Processing Toolbox
|
| MATLAB release |
MATLAB 7.0.4 (R14SP2)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 06 Dec 2005 |
Updated on Dec. 04, 2005.
A couple of minor changed were made. Algorithm remains untouched. |
| 13 Feb 2006 |
Added the functionality of detecting the radii of circles. |
| 08 Mar 2007 |
Fixed a bug in the code which causes the following problem:
??? Attempted to access SgnCv_LMPos(0); index must be a positive integer or logical.
Error in ==> CircularHough_Grd at 630
cirrad(k) = SgnCv_LMPos(end); |
| 17 Nov 2010 |
Added Signal Processing Toolbox as additional product requirement |
|
Contact us