add histogram equalization