Detect lines in grayscale image using Hough Transform

Detection of lines (line segments) in a grayscale image using gradient-based Hough Transform.
24.2K Downloads
Updated 6 Dec 2005

View License

Hough transform for line detection based on image's gradient field.

1. Operates on grayscale images, NOT B/W bitmaps.
2. NO loops involved in the implementation of Hough transform, which makes the operation fast.
3. Able to detect the two ends of line segments.

Cite As

Tao Peng (2024). Detect lines in grayscale image using Hough Transform (https://www.mathworks.com/matlabcentral/fileexchange/9226-detect-lines-in-grayscale-image-using-hough-transform), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: LoadGaus()

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Updated on Dec. 05, 2005.