From 724733f1d627453bc3824cd91a463f30bae2b623 Mon Sep 17 00:00:00 2001 From: emmanuelle Date: Sat, 8 Oct 2011 19:31:25 +0200 Subject: [PATCH] ENH: give a short definition of rank order in docstring --- scikits/image/filter/rank_order.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scikits/image/filter/rank_order.py b/scikits/image/filter/rank_order.py index 315e8f4c..3da98974 100644 --- a/scikits/image/filter/rank_order.py +++ b/scikits/image/filter/rank_order.py @@ -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 ----------