In statistics, a ranklet is an orientation-selective non-parametric feature which is based on the computation of Mann–Whitney–Wilcoxon (MWW) rank-sum test statistics.[1] Ranklets achieve similar response to Haar wavelets as they share the same pattern of orientation-selectivity, multi-scale nature and a suitable notion of completeness.[2] There were invented by Fabrizio Smeralhi in 2002.
Rank-based (non-parametric) features have become popular in the field of image processing for their robustness in detecting outliers and invariance to monotonic transformations such as brightness, contrast changes and gamma correction.
The MWW is a combination of Wilcoxon rank-sum test and Mann–Whitney U-test. It is a non-parametric alternative to the t-test used to test the hypothesis for the comparison of two independent distributions. It assesses whether two samples of observations, usually referred as Treatment T and Control C, come from the same distribution but do not have to be normally distributed.
The Wilcoxon rank-sum statistics Ws is determined as:[3]
N | |
W | |
i=1 |
\piiViwhere\pii=rankofelementiandVi =\begin{cases} 0&for\pii\inC\\[3pt] 1&for\pii\inT \end{cases}
Subsequently, let MW be the Mann–Whitney statistics defined by:
MW=W | ||||
|
where m is the number of Treatment values.
A ranklet R is defined as the normalization of MW in the range [−1, +1]:
R=
MW | |
mn/2 |
-1
where a positive value means that the Treatment region is brighter than the Control region, and a negative value otherwise.
Suppose
T=\lbrace5,9,1,10,15\rbrace
C=\lbrace20,4,7,13,19,11\rbrace
Intensity | 1 | 4 | 5 | 7 | 9 | 10 | 11 | 13 | 15 | 19 | 20 | |
Sample | T | C | T | C | T | T | C | C | T | C | C | |
Rank | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
Ws=\lbrace1+3+5+6+9\rbrace=24
MW=24-[5 x (5+1)/2]=9
R=[9/[5 x 6/2]]-1=-0.4
Hence, in the above example the Control region was a little bit brighter than the Treatment region.
Since Ranklets are non-linear filters, they can only be applied in the spatial domain. Filtering with Ranklets involves dividing an image window W into Treatment and Control regions as shown in the image below:
Subsequently, Wilcoxon rank-sum test statistics are computed in order to determine the intensity variations among convenientlychosen regions (according to the required orientation) of the samples in W. The intensity values of both regions are thenreplaced by the respective ranking scores. These ranking scores determine a pairwise comparison between the T and C regions. This means that a ranklet essentially counts the number of TxC pairs which are brighter in the T set. Hence a positive value means that the Treatment values are brighter than the Control values, and vice versa.