Gini Coefficient Filter
Calculates the Gini coefficient per pixel.
Category |
|
Node |
|
Parameters |
(none) |
Inputs |
Input: the input |
Outputs |
Output: the Gini coefficient output |
Effect of the Filter
This filter calculates the Gini coefficient for each pixel according to the formula:
where is the number of channels, is an individual channel value and is the average of a given channel.
For example, the following spectrum would have a Gini coefficient of 0.047553: