Function Reference
— Function File: [H, R] = houghtf(I, angles)

Calculate the straight line Hough transform of a binary image I.

The angles are given in degrees and defaults to -90:90.

H is the resulting Hough transform, and R is the radial distances.

The algorithm is described in Digital Image Processing by Gonzales & Woods (2nd ed., p. 587)