2015-08-19 22:50:39 -0600 | asked a question | compareHist with HISTCMP_CORREL I'm evaluating compareHist() and when I compare a 'flat' histogram with a single spike, the correlation value is 1.0! This is obviously wrong (by hand I get zero divided by zero but it should be approaching zero). Am I doing something wrong? Here's my code: returns 1.0 Plot of the two histograms (spike=red, flat=blue): |
2015-08-19 09:15:00 -0600 | received badge | ● Supporter (source) |