mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-16 11:21:25 +08:00
Update docs to match output.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user