From 75b3fcd4dde6b20765e707dbba2eee0a6f82225c Mon Sep 17 00:00:00 2001 From: Marianne Corvellec Date: Sat, 29 Jun 2013 18:34:41 -0400 Subject: [PATCH] Included Tony's edits. --- skimage/filter/_canny.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/filter/_canny.py b/skimage/filter/_canny.py index 1c5e5c19..185bfd40 100644 --- a/skimage/filter/_canny.py +++ b/skimage/filter/_canny.py @@ -54,22 +54,22 @@ def canny(image, sigma=1., low_threshold=None, high_threshold=None, mask=None): Parameters ----------- - image : two-dimensional array + image : 2D array Greyscale input image to detect edges on; can be of any dtype. sigma : float Standard deviation of the Gaussian filter. low_threshold : float Lower bound for hysteresis thresholding (linking edges). - If None, low_threshold is set to 10%. + If None, low_threshold is set to 10% of dtype's max. high_threshold : float Upper bound for hysteresis thresholding (linking edges). - If None, high_threshold is set to 20%. + If None, high_threshold is set to 20% of dtype's max. mask : array, dtype=bool, optional Mask to limit the application of Canny to a certain area. Returns ------- - output : array (image) + output : 2D array (image) The binary edge map. See also