Implement util.calculate.brightnessVariance()