Advertisement

OpenCV直方图分析

阅读量:

为什么需要直方图比较?

如果你有两张图 就可以对两张直方图进行比较 衡量图像之间的相关性


二十四、直方图比较

Comparison of correlations HISTCMP_CORREL, 当两个数组 H1 和 H2 完全相同时, 相关性达到最高程度, 其值达到 1.

A Chi-square test of association (Chi-quare test) assesses the degree of association between two categorical variables. When H1 and H2 are identical, the statistic attains the highest level of correlation, assuming a value of zero.

Intersection十字交叉性HISTCMP_INTERSECT(不准确,慎用)

Bhattacharyya系数巴氏距离指标HISTCMP_BHATTACHARYYA
当两个样本序列在各方面特性上完全一致时,其计算结果将达到最大值。


关于 RGB、HSV和HSL颜色空间的说明

该颜色空间基于三基色线性组合原理,在硬件层面实现了对所有可见颜色的合成能力;然而,在亮度发生变动时,该系统的三个通道值也会相应

全部评论 (0)

还没有任何评论哟~