First time here? Check out the FAQ!
answered 2019-01-26 07:55:43 -0600
it's the chi-sqr distance not the distribution here, which matters, and you use it like:
double dist = compareHist(histo_A, histo_B, HISTCMP_CHISQR);
again, have a look at the opencv code