Make parameterizable and normalized for image size.
Adjust, for normalized histograms.