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)