remove local threshold in try_all_threshold

This commit is contained in:
François Boulogne
2016-07-05 15:53:02 +02:00
parent 3c554ba8bc
commit 7a4b74f057
3 changed files with 4 additions and 40 deletions
@@ -68,6 +68,5 @@ img = data.page()
# Here, we specify a radius for local thresholding algorithms.
# If it is not specified, only global algorithms are called.
fig, ax = try_all_threshold(img, radius=20,
figsize=(10, 8), verbose=False)
fig, ax = try_all_threshold(img, figsize=(10, 8), verbose=False)
plt.show()
@@ -36,10 +36,7 @@ from skimage.filters import try_all_threshold
img = data.page()
# Here, we specify a radius for local thresholding algorithms.
# If it is not specified, only global algorithms are called.
fig, ax = try_all_threshold(img, radius=20,
figsize=(10, 8), verbose=False)
fig, ax = try_all_threshold(img, figsize=(10, 8), verbose=False)
plt.show()
######################################################################