From a55d426d49077665214900e6e89e2db4f8e8dbd3 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Sat, 16 Jul 2011 11:13:00 -0500 Subject: [PATCH] DOC: Update hough docstring. --- scikits/image/transform/hough_transform.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scikits/image/transform/hough_transform.py b/scikits/image/transform/hough_transform.py index a4f4dbe0..5d7a28ea 100644 --- a/scikits/image/transform/hough_transform.py +++ b/scikits/image/transform/hough_transform.py @@ -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)