From 691dc07771b4a40f092314c32a339e7f419f3174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Fri, 11 Apr 2014 10:44:54 -0400 Subject: [PATCH] Use new equalize_hist function in rank filter example --- doc/examples/applications/plot_rank_filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/applications/plot_rank_filters.py b/doc/examples/applications/plot_rank_filters.py index ce5014a3..d3e7b626 100644 --- a/doc/examples/applications/plot_rank_filters.py +++ b/doc/examples/applications/plot_rank_filters.py @@ -193,7 +193,7 @@ from skimage.filter import rank noisy_image = img_as_ubyte(data.camera()) # equalize globally and locally -glob = exposure.equalize(noisy_image) * 255 +glob = exposure.equalize_hist(noisy_image) * 255 loc = rank.equalize(noisy_image, disk(20)) # extract histogram for each image