mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-07 04:30:42 +08:00
Minor update to binary morphology docstrings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user