Image Processing Toolbox Release Notes Previous page   Next Page

Hough Transform

The toolbox now includes three new functions that provide support for the Hough transform.

The hough function implements the Standard Hough Transform (SHT). The Hough transform is designed to detect lines, using the parametric representation of a line:

The variable rho is the distance from the origin to the line along a vector perpendicular to the line. theta is the angle between the x-axis and this vector. The hough function generates a parameter space matrix whose rows and columns correspond to these rho and theta values, respectively.

The houghpeaks functions finds peak values in this space, which represent potential lines in the input image.

The houghlines function finds the endpoints of the line segments corresponding to peaks in the Hough transform, and it automatically fills in small gaps.


Previous page  New Modular Tool Utility Functions Texture Analysis Next page

© 1994-2005 The MathWorks, Inc.