added histogram example based on opencv

Task reference #222

I am not able to have a consistent results with following code.
Can you have a look on this?

I mean, why convert it to floating point (CV_32FC4) instead of just using 8-bit bgra (CV_8UC4)?