From df18b53aedb22284d14bbfabe145632c43bb6845 Mon Sep 17 00:00:00 2001 From: Himanshu Mishra Date: Tue, 26 Jan 2016 01:59:18 +0530 Subject: [PATCH] Correct example for threshold_adaptive --- doc/examples/segmentation/plot_threshold_adaptive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/segmentation/plot_threshold_adaptive.py b/doc/examples/segmentation/plot_threshold_adaptive.py index 9bf7b0c6..6f473abb 100644 --- a/doc/examples/segmentation/plot_threshold_adaptive.py +++ b/doc/examples/segmentation/plot_threshold_adaptive.py @@ -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))