Python:cv2.compareHist(H1, H2, method)
Parameters: | H1 – First compared histogram. H2 – Second compared histogram of the same size as H1 . method – Comparison method that could be one of the following: cv2.HISTCMP_CORREL Correlation cv2.HISTCMP_CHISQR Chi-Square cv2.HISTCMP_CHISQR_ALT Alternative Chi-Square cv2.HISTCMP_INTERSECT Intersection cv2.HISTCMP_BHATTACHARYYA Bhattacharyya distance cv2.HISTCMP_HELLINGER Synonym for CV_COMP_BHATTACHARYYA cv2.HISTCMP_KL_DIV Kullback-Leibler divergence
|
---|
https://blog.sciencenet.cn/blog-688185-968425.html
上一篇:
win7 64位系统matlab运行surfacelet mex编译下一篇:
matlab调用json文件