correct whiten by normalizing the output by the variance of the image