Added Color Space Conversion

Implemented color space conversion part. Added 2 classes from example
code of OpenCV book for histogram calculation.