mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-04 13:00:57 +08:00
somewhat sensible default values for canny edges
This commit is contained in:
1 parent
24d771d333
commit
fcf4c41bd6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user