Implemented Kullback-Leibler divergence

This commit is contained in:
pradeep
2014-05-17 23:44:31 +08:00
parent ada2879faa
commit c5b4b99350
5 changed files with 39 additions and 4 deletions

View File

@@ -204,7 +204,8 @@ enum { HISTCMP_CORREL = 0,
HISTCMP_INTERSECT = 2,
HISTCMP_BHATTACHARYYA = 3,
HISTCMP_HELLINGER = HISTCMP_BHATTACHARYYA,
HISTCMP_CHISQR_ALT = 4
HISTCMP_CHISQR_ALT = 4,
HISTCMP_KL_DIV = 5
};
//! the color conversion code