General 2D hough transform

版本 1.2.0.0 (1.4 KB) 作者: ja
Performs hough transform with any inputs
694.0 次下载
更新时间 2014/7/24

查看许可证

Memory intensive but fast - contains no for loops. Best suited for non-binary inputs resulting in weighted results, but works just fine for binary images as well - though perhaps slower than needed since a multiplication is probably slower than an 'and' operation.
Two inputs required:
1) The input image to have the hough performed upon (IJ)
2) The kernel image (k). This can be any image - a line, circle, wrench... It doesn't matter as long as it is greyscale and positive. The output marks are with respect to the center of the kernel.
Probably works best for pixel values ranging between 0 and 1, but this isn't likely to be a big deal.

Assumes background is zero.

Best suited for sparse images - the fewer non-zero pixels the more this outperforms other Hough transform functions. So, anything you can set to zero is a good idea, but still works fine if you can't afford to (assuming you have the memory).

引用格式

ja (2024). General 2D hough transform (https://www.mathworks.com/matlabcentral/fileexchange/47120-general-2d-hough-transform), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

clarify description

1.1.0.0

Used a simple logic comparison instead of a division for finding repeats, as this is faster..

1.0.0.0