Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv_32s and comparehist

I managed to produce histograms of cv_32s by following this tutorial (http://opencv-code.com/tutorials/drawing-histograms-in-opencv/), but the problem is after getting the two histograms I would like to compare them using a compare function, but comparehist would not take a histogram of cv_32s format. If I change the format to cv_32f it would not give the right answer for Kullback Leibler(cv_kl_div) comparison. So how can I compare 2 cv_32s histograms with Kullback Leibler?