From 7bbb0aaa6337f1305a389b82ee613de4bab8ab24 Mon Sep 17 00:00:00 2001 From: Marianne Date: Mon, 27 Aug 2012 18:07:13 +0200 Subject: [PATCH] Fixed deprecated threshold. --- skimage/feature/_harris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/feature/_harris.py b/skimage/feature/_harris.py index 14854ac4..8ab40b22 100644 --- a/skimage/feature/_harris.py +++ b/skimage/feature/_harris.py @@ -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