Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Question About Histogram Comparison return value

I am having confusion in understanding compareHist() Method ,Can't seem to understand whats the meaning of return value by each different method. They all return different value. All i want to know if both histogram are matched then the value should be 1.0 if does not match then it should be 0.0 meaning picture matches perfectly.

Can someone explain me in Scale wise the meaning of each result value of each methods

*CV_COMP_CORREL Correlation

*CV_COMP_CHISQR Chi-Square

*CV_COMP_INTERSECT Intersection

*CV_COMP_BHATTACHARYYA Bhattacharyya distance

*CV_COMP_HELLINGER Synonym for CV_COMP_BHATTACHARYYA