Detect circles with various radii in grayscale image via Hough Transform
by Tao Peng
27 Nov 2005
(Updated 08 Mar 2007)
Code covered by BSD License
Detect circular shapes in a grayscale image. Resolve their center positions and radii.
Download Now
|
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 submission has inspired the following:
Coin Segmentation
|
| Required Products |
Image Processing Toolbox
|
| MATLAB release |
MATLAB 7.0.4 (R14SP2)
|
| Zip File Content |
|
| Other Files |
CircularHough_Grd.m, DrawCircle.m, Frame_0_0022_portion.jpg, license.txt, TestImg_CHT_a2.bmp, TestImg_CHT_a3.bmp, TestImg_CHT_b3.bmp, TestImg_CHT_c3.bmp
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (27) |
| 20 Dec 2005 |
e d
|
|
|
| 20 Dec 2005 |
Gijs H
|
|
|
| 30 Jan 2006 |
Iftach Nachman
|
|
|
| 02 Mar 2006 |
ali volkan
|
|
|
| 29 Apr 2006 |
Nurettin Senyer
|
|
|
| 06 May 2006 |
veli birol
|
|
|
| 09 Jan 2007 |
Dany Simard
|
|
|
| 15 Jan 2007 |
Sander L
|
|
|
| 04 Mar 2007 |
Erinc D
|
|
|
| 07 Mar 2007 |
Tao Peng
|
|
|
| 08 Mar 2007 |
Sander L
|
|
|
| 30 Mar 2007 |
Paul Premakumar
|
|
|
| 25 Apr 2007 |
hani ali
|
|
|
| 03 Jun 2007 |
Dr Samir badawy
|
|
|
| 13 Jun 2007 |
Robert Keck
|
|
|
| 20 Sep 2007 |
Martin Ohmes
|
|
|
| 21 Sep 2007 |
Slobodan Vrhovac
|
|
|
| 13 Nov 2007 |
Nat Angarita
|
|
|
| 25 Apr 2008 |
Joan Wang
|
|
|
| 04 May 2008 |
Vinh Nguyen
|
|
|
| 05 Jun 2008 |
Ohil K
|
|
|
| 08 Jan 2009 |
Lee Borland
|
|
|
| 15 Apr 2009 |
Roxy
|
|
|
| 08 Jul 2009 |
Gregory Van der Steen
|
|
|
| 11 Aug 2009 |
Ken Jarman
|
|
|
| 05 Oct 2009 |
Pavithra
|
|
|
| 12 Oct 2009 |
Samuele Lilliu
|
|
|
| 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); |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com