To get color histgram of arbitrary image