mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-18 12:30:14 +08:00
Update parameter list in docstring for consistency
This commit is contained in:
@@ -163,22 +163,18 @@ def medial_axis(image, mask=None, return_distance=False):
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
|
|
||||||
image : binary ndarray, shape (M, N)
|
image : binary ndarray, shape (M, N)
|
||||||
|
The image of the shape to be skeletonized.
|
||||||
mask : binary ndarray, shape (M, N), optional
|
mask : binary ndarray, shape (M, N), optional
|
||||||
If a mask is given, only those elements in `image` with a true
|
If a mask is given, only those elements in `image` with a true
|
||||||
value in `mask` are used for computing the medial axis.
|
value in `mask` are used for computing the medial axis.
|
||||||
|
|
||||||
return_distance : bool, optional
|
return_distance : bool, optional
|
||||||
If true, the distance transform is returned as well as the skeleton.
|
If true, the distance transform is returned as well as the skeleton.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
|
|
||||||
out : ndarray of bools
|
out : ndarray of bools
|
||||||
Medial axis transform of the image
|
Medial axis transform of the image
|
||||||
|
|
||||||
dist : ndarray of ints, optional
|
dist : ndarray of ints, optional
|
||||||
Distance transform of the image (only returned if `return_distance`
|
Distance transform of the image (only returned if `return_distance`
|
||||||
is True)
|
is True)
|
||||||
|
|||||||
Reference in New Issue
Block a user