Hough Transform for Point Clouds & Images, Hough Transform Matrix
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.
Cite As
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. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Image Category Classification >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | added example picture |