Ask Your Question

Revision history [back]

Not all score are bounded:

  • CV_COMP_CORREL: [-1;1] where 1 is perfect match and -1 is the worst.
  • CV_COMP_CHISQR: [0;+infinty] where 0 is perfect match and mismatch is unbounded (see doc for equation of comparison)
  • CV_COMP_INTERSECT: [0;1] (if histograms are normalized) where 1 is perfect match and 0 mismatch.
  • CV_COMP_BHATTACHARYYA and CV_COMP_HELLINGER: [0;1] where 0 is perfect match and 1 mismatch.

Equations of methods are here. An explaination with schema is available in ''Learning OpenCV Computer Vision with OpenCV Library, from G. Bradski and A. Kaehler'' p. 203.

Not all score scores are bounded:

  • CV_COMP_CORREL: [-1;1] where 1 is perfect match and -1 is the worst.
  • CV_COMP_CHISQR: [0;+infinty] where 0 is perfect match and mismatch is unbounded (see doc for equation of comparison)
  • CV_COMP_INTERSECT: [0;1] (if histograms are normalized) where 1 is perfect match and 0 mismatch.
  • CV_COMP_BHATTACHARYYA and CV_COMP_HELLINGER: [0;1] where 0 is perfect match and 1 mismatch.

Equations of methods are here. An explaination with schema is available in ''Learning OpenCV Computer Vision with OpenCV Library, from G. Bradski and A. Kaehler'' p. 203.