Calculates the sum of all pixels in a buffer, given a histogram.
Histogram
The input histogram.
The sum.
The Histogram Sum node calculates the sum of all pixel values of a buffer, given a histogram to it.
If a color buffer is used, the sum is calculated channel-wise.
Here is an example that calculates the sum of a histogram.