mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 18:25:32 +08:00
remove local threshold in try_all_threshold
This commit is contained in:
@@ -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()
|
||||
|
||||
######################################################################
|
||||
|
||||
Reference in New Issue
Block a user