Add an ugly histogram to input image