From fdeeaa298a3c647cade38c36280aa59201241df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Mon, 6 Oct 2014 08:29:04 -0400 Subject: [PATCH] Add note about supported data types in rank filter replacements --- skimage/morphology/grey.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/skimage/morphology/grey.py b/skimage/morphology/grey.py index 4dfdbc3d..1f1c45d4 100644 --- a/skimage/morphology/grey.py +++ b/skimage/morphology/grey.py @@ -37,8 +37,9 @@ def erosion(image, selem=None, out=None, shift_x=False, shift_y=False): Notes ----- - The lower algorithm complexity makes the `skimage.filter.rank.minimum` - more efficient for larger images and structuring elements. + For `uint8` and `uint16` data, the lower algorithm complexity makes the + `skimage.filter.rank.minimum` function more efficient for larger images + and structuring elements. Examples -------- @@ -97,8 +98,9 @@ def dilation(image, selem=None, out=None, shift_x=False, shift_y=False): Notes ----- - The lower algorithm complexity makes the `skimage.filter.rank.maximum` - more efficient for larger images and structuring elements. + For `uint8` and `uint16` data, the lower algorithm complexity makes the + `skimage.filter.rank.maximum` function more efficient for larger images + and structuring elements. Examples --------