next up previous contents index
Next: binarize Up: Reference Previous: amle_init   Contents   Index

bicontrast

$ \bigcirc$Name


bicontrast Find optimal contrast change between two images




$ \bigcirc$Command Synopsis


bicontrast [-v] [-r r] [-g g] u v [out ]



-v : verbose mode

-r r : output Flist : raw (unconstrained) contrast change

-g g : output Flist : resulting (nondecreasing) contrast change

u : input Fimage 1 (reference)

v : input Fimage 2

out : output (Fimage 2 after contrast change g)




$ \bigcirc$Function Summary


void bicontrast (u , v , verb , r , g , out )

Fimage u , v , out ;

char *verb ;

Flist r , g ;




$ \bigcirc$Description


Given two images u and v, this module computes the optimal nondecreasing contrast change g that minimizes the l2 norm of v - g(u), and returns rhe image out = g(u).


This contrast change is found in two steps: first, the mononicity condition is relaxed and a raw contrast change r (which may not be nondecreasing) is found; then, g is obtained from r by isotonic regression. Please refer to [Moi02] for more details.


As usual, g is returned (if requested with the -g option) as a 2-Flist that may be used with fcontrast. Note that r (which may be returned using -r option) is not a valid contrast change (it is not monotone) and should not be used with fcontrast.




$ \bigcirc$See Also


fvalues.




$ \bigcirc$Version 1.0


Last Modification date : Thu Nov 14 19:27:02 2002


$ \bigcirc$Author


Lionel Moisan






next up previous contents index
Next: binarize Up: Reference Previous: amle_init   Contents   Index
mw 2004-05-05