Calculates the average value of a buffer, given a histogram of the buffer.
Histogram
The input histogram.
The average value.
The Histogram Average node calculates the average value of a buffer, given a histogram to it.
If a color buffer is used, the average is calculated channel-wise.
Here is an example that calculates the average of histogram.