The function "houghpoint()" will apply the Hough transform to a collection of points, interpolating the offset for each angle bin. This function also allows each point to have an associated weight. The "houghimg()" wrapper can be used to apply the transform to images. If you want a different origin for the transform, consider modifying "houghimg()" to use different coordinates.
Example usage: >> HT = houghpoint(XYcoords,anglebins,offsetbins);
Use ">> help houghpoint" and ">> help houghimg" for more usage details.
Additionally, these function can produce a matrix that can be used to apply the Hough transform to an image using a matrix-vector multiply instead of a function. This is slower for a single image (especially images with many zeros), but for many inputs (of the same size for images, or same point locations for point clouds) it is faster to compute the matrix form once and apply it to the images of interest.
引用格式
Michael (2024). Hough Transform for Point Clouds & Images, Hough Transform Matrix (https://www.mathworks.com/matlabcentral/fileexchange/54401-hough-transform-for-point-clouds-images-hough-transform-matrix), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Image Category Classification >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | added example picture |