entropy edit page

caclulate entropy of ODF

The entropy of an ODF f is defined as:

\[ e = - \int f(g) \ln f(g) dg\]

Syntax

e = entropy(odf,varargin)

Input

odf ODF

Output

entropy double

Options

resolution resolution of the discretization

See also

ODF.textureindex ODF.volume