DOC: Update hough docstring.

This commit is contained in:
Stefan van der Walt
2011-07-16 11:13:00 -05:00
parent c2b948b6e0
commit a55d426d49
+4 -2
View File
@@ -65,13 +65,13 @@ def hough(img, theta=None):
----------
img : (M, N) ndarray
Input image with nonzero values representing edges.
theta :1D ndarray, dtype=double
theta : 1D ndarray of double
Angles at which to compute the transform, in radians.
Defaults to -pi/2 - pi/2
Returns
-------
H : 2-D ndarray, uint64
H : 2-D ndarray of uint64
Hough transform accumulator.
distances : ndarray
Distance values.
@@ -102,5 +102,7 @@ def hough(img, theta=None):
>>> plt.ylabel('Distance %d (pixel)' % d[0])
>>> plt.show()
.. plot:: hough_tf.py
"""
return _hough(img, theta)