From 2a944ef689314c8dee4b809a56647f9581178b92 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 14 Oct 2013 13:11:24 +0200 Subject: [PATCH] Update docs to match output. --- skimage/morphology/binary.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)