From 542ec6fdc53426fc5fae585f44ff1492abc6ca11 Mon Sep 17 00:00:00 2001 From: Olivier Debeir Date: Mon, 12 Nov 2012 14:57:08 +0100 Subject: [PATCH] fix: local otsu doc --- doc/examples/applications/plot_rank_filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/examples/applications/plot_rank_filters.py b/doc/examples/applications/plot_rank_filters.py index 75806486..ee89a4e7 100644 --- a/doc/examples/applications/plot_rank_filters.py +++ b/doc/examples/applications/plot_rank_filters.py @@ -346,11 +346,11 @@ plt.imshow(p8,cmap=plt.cm.gray) plt.xlabel('original') plt.colorbar() plt.subplot(2,2,2) -plt.imshow(loc_otsu,cmap=plt.cm.gray) +plt.imshow(t_loc_otsu,cmap=plt.cm.gray) plt.xlabel('local Otsu ($radius=%d$)'%radius) plt.colorbar() plt.subplot(2,2,3) -plt.imshow(p8>=loc_otsu,cmap=plt.cm.gray) +plt.imshow(p8>=t_loc_otsu,cmap=plt.cm.gray) plt.xlabel('original>=local Otsu'%t_glob_otsu) plt.subplot(2,2,4) plt.imshow(glob_otsu,cmap=plt.cm.gray)