diff --git a/skimage/filter/edges.py b/skimage/filter/edges.py index fa11c69c..f11ae33a 100644 --- a/skimage/filter/edges.py +++ b/skimage/filter/edges.py @@ -156,6 +156,11 @@ def scharr(image, mask=None): vertical Scharrs to get a magnitude that's somewhat insensitive to direction. + References + ---------- + .. [1] D. Kroon, 2009, Short Paper University Twente, Numerical Optimization + of Kernel Based Image Derivatives. + """ return np.sqrt(hscharr(image, mask)**2 + vscharr(image, mask)**2) @@ -186,6 +191,11 @@ def hscharr(image, mask=None): 0 0 0 -3 -10 -3 + References + ---------- + .. [1] D. Kroon, 2009, Short Paper University Twente, Numerical Optimization + of Kernel Based Image Derivatives. + """ image = img_as_float(image) result = np.abs(convolve(image, @@ -221,6 +231,11 @@ def vscharr(image, mask=None): 10 0 -10 3 0 -3 + References + ---------- + .. [1] D. Kroon, 2009, Short Paper University Twente, Numerical Optimization + of Kernel Based Image Derivatives. + """ image = img_as_float(image) result = np.abs(convolve(image,