From 213390d9f93b70bcf672a9b2c8e0ba4c69be63de Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Thu, 10 Apr 2014 11:46:36 +1000 Subject: [PATCH] Remove deprecated function from applications --- 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 5fa88aa0..ce5014a3 100644 --- a/doc/examples/applications/plot_rank_filters.py +++ b/doc/examples/applications/plot_rank_filters.py @@ -142,11 +142,11 @@ the central one. """ -from skimage.filter.rank import bilateral_mean +from skimage.filter.rank import mean_bilateral noisy_image = img_as_ubyte(data.camera()) -bilat = bilateral_mean(noisy_image.astype(np.uint16), disk(20), s0=10, s1=10) +bilat = mean_bilateral(noisy_image.astype(np.uint16), disk(20), s0=10, s1=10) fig, ax = plt.subplots(2, 2, figsize=(10, 7)) ax1, ax2, ax3, ax4 = ax.ravel()