next up previous contents index
Next: fhisto Up: Reference Previous: cnoise   Contents   Index

fcontrast

$ \bigcirc$Name


fcontrast Apply a contrast change to a Fimage




$ \bigcirc$Command Synopsis


fcontrast in g out



in : input Fimage

g : contrast change (2-Flist)

out : result Fimage (modified input)




$ \bigcirc$Function Summary


Fimage fcontrast (in , g )

Fimage in ;

Flist g ;




$ \bigcirc$Description


This module applies a contrast change (2-Flist) g = (ti, gi)0 $\scriptstyle \leq$ i < n to a Fimage in. The (ti) sequence is assumed to be increasing. The result is a Fimage

out(x, y) = $\displaystyle \tilde{g}$(in(x, y)),

where the graph of $ \tilde{g}$ is the continuous piecewise-linear interpolate of the sequence (ti, gi). The function $ \tilde{g}$ is extended linearly outside [t0, tn-1] by the affine function passing through (t0, g0) and (tn-1, gn-1).




$ \bigcirc$Version 1.0


Last Modification date : Sun Jun 2 20:04:10 2002


$ \bigcirc$Author


Lionel Moisan






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