Stay organized with collections
Save and categorize content based on your preferences.
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.
Usage
Returns
Image.entropy(kernel)
Image
Argument
Type
Details
this: image
Image
The image for which to compute the entropy.
kernel
Kernel
A kernel specifying the window in which to compute.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["Calculates the entropy for each band of an image within a defined window around each pixel."],["Entropy is a measure of randomness or information content, calculated using a specific formula based on pixel value probabilities."],["A kernel determines the size and shape of the window used for entropy calculation, impacting the output image."],["The result is a new image where each pixel represents the entropy of the corresponding window in the original image."]]],[]]