ee.Image.entropy

Computes the windowed entropy for each band using the specified kernel centered on each input pixel. Entropy is computed as -sum(p*log2(p)), where p is the normalized probability of occurrence of the values encountered in each window.

UsageReturns
Image.entropy(kernel)Image
ArgumentTypeDetails
this: imageImage

The image for which to compute the entropy.

kernelKernel

A kernel specifying the window in which to compute.