mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
hough_circle radius accepts scalars and lists
This commit is contained in:
1 parent
069c575955
commit
29fd2864cd
1 file changed
+2
@@ -163,5 +163,7 @@ def hough_circle(image, radius, normalize=True, full_output=False):
|
||||
(25, 35, 23)
|
||||
|
||||
"""
|
||||
|
||||
radius = np.atleast_1d(np.asarray(radius))
|
||||
return _hough_circle(image, radius.astype(np.intp),
|
||||
normalize=normalize, full_output=full_output)
|
||||
Reference in new issue
Block a user