Ask Your Question


asked 2016-02-03 07:41:12 -0600

baro gravatar image

Hello at all! someone could tell me the principal differeces between comparison methods as CV_COMP_CHISQR, CV_COMP_CORREL and CV_COMP_INTERSECT? Could tell me also the mean of this methods and the theory behind it? thanks you soo much

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-02-03 08:11:01 -0600

updated 2016-02-03 08:11:33 -0600

You are using the outdated C-API, let it go and use the new C++ API. Then the documentation of compareHist and the comparison methods explain all you need!

edit flag offensive delete link more


@StevenPuttemans ok, but I need a theoretical explanation to define what is the correlation , the chi square and the intersection . I use three methods already in my program so working.

baro gravatar imagebaro ( 2016-02-03 09:30:09 -0600 )edit

@baro did you even look at the link provided? The formulas clearly describe what the different distance parameters do. If you still do not grasp it, then you will have to look up the original paper describing that distance measure for histogram comparison...

StevenPuttemans gravatar imageStevenPuttemans ( 2016-02-04 04:11:51 -0600 )edit

Question Tools

1 follower


Asked: 2016-02-03 07:41:12 -0600

Seen: 754 times

Last updated: Feb 03 '16