Update docs to match output.

This commit is contained in:
Stefan van der Walt
2013-10-14 13:11:51 +02:00
parent d5e2ab0b13
commit 2a944ef689
+4 -4
View File
@@ -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)