From 97770e9fa5bd282550b4ef4d0d3bd6a009cfb5f9 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Mon, 5 Jan 2015 18:48:47 +1100 Subject: [PATCH] Minor update to binary morphology docstrings --- skimage/morphology/binary.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/skimage/morphology/binary.py b/skimage/morphology/binary.py index cc60d047..b12b2948 100644 --- a/skimage/morphology/binary.py +++ b/skimage/morphology/binary.py @@ -33,7 +33,8 @@ def binary_erosion(image, selem=None, out=None): Returns ------- eroded : ndarray of bool or uint - The result of the morphological erosion with values in ``[0, 1]``. + The result of the morphological erosion taking values in + ``[False, True]``. """ if out is None: @@ -68,8 +69,8 @@ def binary_dilation(image, selem=None, out=None): Returns ------- dilated : ndarray of bool or uint - The result of the morphological dilation with values in ``[0, 1]``. - + The result of the morphological dilation with values in + ``[False, True]``. """ if out is None: out = np.empty(image.shape, dtype=np.bool)