During a Computational Vision lab, while comparing histograms, I stumbled upon a peculiar behavior. The histograms pairwise kernel matrix – which is just a fancy name for the matrix holding *histograms correlations one with another* – did not have ones on the diagonal. This means that one histogram was not fully correlated to itself, which is weird.

The comparison metric I was using is the simple histogram intersection one, defined as

Continue reading “Numpy histogram density does not sum to 1”