mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-09 07:27:33 +08:00
ENH: give a short definition of rank order in docstring
This commit is contained in:
@@ -11,8 +11,9 @@ Original author: Lee Kamentstky
|
||||
import numpy
|
||||
|
||||
def rank_order(image):
|
||||
"""Return an image of the same shape where each pixel has the
|
||||
rank-order value of the corresponding pixel in the image.
|
||||
"""Return an image of the same shape where each pixel is the
|
||||
index of the pixel value in the ascending order of the unique
|
||||
values of `image`, aka the rank-order value.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user