From fcf4c41bd6223e67c4469851b8cdae18f56b59c5 Mon Sep 17 00:00:00 2001 From: Andreas Mueller Date: Mon, 26 Sep 2011 17:22:13 +0200 Subject: [PATCH] somewhat sensible default values for canny edges --- scikits/image/filter/canny.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scikits/image/filter/canny.py b/scikits/image/filter/canny.py index dd3b5608..e660d284 100644 --- a/scikits/image/filter/canny.py +++ b/scikits/image/filter/canny.py @@ -50,7 +50,7 @@ def smooth_with_function_and_mask(image, function, mask): return output_image -def canny(image, sigma, low_threshold, high_threshold, mask=None): +def canny(image, sigma=1., low_threshold=.1, high_threshold=.2, mask=None): '''Edge filter an image using the Canny algorithm. Parameters