Compositor: Get the average value of an input fac I want to take an input factor, such as a mask or pass, and get the average value of the pixels within it. How can this be done?
Blender has a levels node that return:


Mean (Average).
Standard Deviation.