Added histogram equalization