Hough transform for circles

버전 (187 KB) 작성자: David Young
A Hough transform function for detecting circles, optimised to allow search over radii.

다운로드 수: 22K

업데이트 날짜: 2016/3/4

라이선스 보기

The Hough transform may be used to detect circular shapes in images, after binarisation, for example by an edge detector. Often, functions to do this operation require the radius of the circle to be specified.
The function circle_hough allows a range of radii to be specified, so that the radius does not need to be known exactly in advance. It is likely to be faster than calling a standard function repeatedly for different radii.
Multiple circles may be detected by finding peaks in the 3D accumulator array. A function, circle_houghpeaks, is provided for this. A demonstration of the two functions is included as a script, circle_houghdemo.
The zip file includes an efficient and accurate implementation of circle approximation, without gaps, on an integer grid.

인용 양식

David Young (2023). Hough transform for circles (https://www.mathworks.com/matlabcentral/fileexchange/26978-hough-transform-for-circles), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보

Fixed bug in options code in circle_hough. Enhanced circlepoints for more generality when used for graphics.
MathWorks update: Added Live Script.

Added circle_houghpeaks and circle_houghdemo, minor change to circle_hough to allow radius normalisation to be requested.