next up previous contents index
Next: finfo Up: Reference Previous: fdiff   Contents   Index

fentropy

$ \bigcirc$Name


fentropy Compute the entropy of an image




$ \bigcirc$Command Synopsis


fentropy A .



A : input fimage

. (screen output) : output entropy value




$ \bigcirc$Function Summary


float fentropy (A )

Fimage A ;




$ \bigcirc$Description


This module computes the entropy of an image of floating point values, using the classical formula:

H = - $\displaystyle {\frac{{\sum_{c} h(c) \log_2 \frac{h(c)}{N}}}{{N}}}$,

where h is the histogram computed using the module fvalues; N is the number of pixels in the image.




$ \bigcirc$See Also


fvalues.

cvsfrecode, cvsorgcode, fencode, finfo.


$ \bigcirc$Version 1.4


Last Modification date : Fri Jan 25 13:18:06 2002


$ \bigcirc$Author


Jacques Froment






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