Ask Your Question

Revision history [back]

Why does OpenCV calcHistDemo differ from other histogram generators

Using the OpenCV calcHistDemo the generated histogram differs from every other (matplotlib, Gimp, Geeqie) histogram I checked against. As you can see below, the blue part in OpenCV is shifted to the left and lower than in the other versions.

Why does the OpenCV version differ?

histogram comparisons:

differences

Base file:

base .png file