Manipulates histograms for images.