mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-02 01:20:33 +08:00
Fixed deprecated threshold.
This commit is contained in:
@@ -105,5 +105,5 @@ def harris(image, min_distance=10, threshold=0.1, eps=1e-6,
|
||||
harrisim = _compute_harris_response(image, eps=eps,
|
||||
gaussian_deviation=gaussian_deviation)
|
||||
coordinates = peak.peak_local_max(harrisim, min_distance=min_distance,
|
||||
threshold=threshold)
|
||||
threshold_rel=threshold)
|
||||
return coordinates
|
||||
|
||||
Reference in New Issue
Block a user