Enum HistCompMethods
Comparison methods for cvCompareHist
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public enum HistCompMethods
Remarks
Fields
Name | Description |
---|---|
Bhattacharyya | Bhattacharyya distance [CV_COMP_BHATTACHARYYA] |
Chisqr | Chi-Square [CV_COMP_CHISQR] |
ChisqrAlt | Alternative Chi-Square \f[d(H_1,H_2) = 2 * \sum _I \frac{\left(H_1(I)-H_2(I)\right)^2}{H_1(I)+H_2(I)}\f] This alternative formula is regularly used for texture comparison. See e.g. @cite Puzicha1997 |
Correl | Correlation [CV_COMP_CORREL] |
Hellinger | Synonym for HISTCMP_BHATTACHARYYA |
Intersect | Intersection [CV_COMP_INTERSECT] |
KLDiv | Kullback-Leibler divergence \f[d(H_1,H_2) = \sum _I H_1(I) \log \left(\frac{H_1(I)}{H_2(I)}\right)\f] |