From 12209a50dec9f3457476fa9f0a192cd1c335e5ee Mon Sep 17 00:00:00 2001 From: Olivier Debeir Date: Thu, 8 Nov 2012 15:36:09 +0100 Subject: [PATCH] modify example entropy --- doc/examples/applications/plot_rank_filters.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/examples/applications/plot_rank_filters.py b/doc/examples/applications/plot_rank_filters.py index 7b28d776..d52595f2 100644 --- a/doc/examples/applications/plot_rank_filters.py +++ b/doc/examples/applications/plot_rank_filters.py @@ -25,7 +25,7 @@ Rank filters can be used for several purposes such as: Some well known filters are specific cases of rank filters [1]_ e.g. morphological dilation, morphological erosion, median filters. -The different implementation availables in ``skimage`` are compared compare. +The different implementation availables in ``skimage`` are compared. In this example, we will see how to filter a grey level image using some of the linear and non-linear filters availables in skimage. We use the ``camera`` image from ``skimage.data``. @@ -363,6 +363,8 @@ The following example shows this filter applied on 8- and 16- bit images. """ + + from skimage import data from skimage.filter.rank import entropy from skimage.morphology import disk