Histogram Equalization works now with both color and greyscale images