diff --git a/skimage/morphology/binary.py b/skimage/morphology/binary.py index 6bd5d234..d74874a6 100644 --- a/skimage/morphology/binary.py +++ b/skimage/morphology/binary.py @@ -25,8 +25,8 @@ def binary_erosion(image, selem, out=None): Returns ------- - eroded : ndarray of bool - The result of the morphological erosion. + eroded : ndarray of bool or intp + The result of the morphological erosion with values in [0, 1]. """ selem = (selem != 0) @@ -69,8 +69,8 @@ def binary_dilation(image, selem, out=None): Returns ------- - dilated : ndarray of bool - The result of the morphological dilation. + dilated : ndarray of bool or intp + The result of the morphological dilation with values in [0, 1]. """ selem = (selem != 0)