mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 02:01:00 +08:00
Correct example for threshold_adaptive
This commit is contained in:
@@ -26,7 +26,7 @@ image = data.page()
|
||||
global_thresh = threshold_otsu(image)
|
||||
binary_global = image > global_thresh
|
||||
|
||||
block_size = 40
|
||||
block_size = 35
|
||||
binary_adaptive = threshold_adaptive(image, block_size, offset=10)
|
||||
|
||||
fig, axes = plt.subplots(nrows=3, figsize=(7, 8))
|
||||
|
||||
Reference in New Issue
Block a user