mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-12 14:20:26 +08:00
DOC: Update hough docstring.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user