mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-04 17:57:01 +08:00
hough_circle radius accepts scalars and lists
This commit is contained in:
@@ -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