**Name**

**frank** Generalized rank of a Fimage

**Command Synopsis**

**frank** [-c] [-w *w*] [-g *g*] [-r *rank*] *u*

-c : normalize as a Cimage (into [0..256[)

-ww: weight: g = w*H + (1-w)*H-, default 0.5

-gg: output contrast change

-rrank: output rank Fimage = g(u)

u: input Fimage

**Function Summary**

void frank (u , rank , g , w , c )

Fimage u , rank ;

Flist g ;

float *w ;

int *c ;

**Description**

The repartition function of a Fimage *u*
defined on the domain
= {0..*M* - 1}×{0..*N* - 1} is
the nondecreasing function

`-w`

option. If the `-c`

option us selected, then
If requested by the `-g`

option, the function *g* is returned
as the 2-Flist
(*t*_{i}, *g*(*t*_{i})), where (*t*_{i}) is the (increasing) sorted
sequence of all values taken by *u*.

**See Also**

**Version 1.0**

Last Modification date : Thu Apr 10 00:13:40 2003

**Author**

Lionel Moisan