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 think it would also be good to do an `imshow("image", src)` to display the source image side-by-side with the histogram.