compareHist(hist1, hist2, HISTCMP_INTERSECT)

来源:互联网 发布:js二维数组不合法的是 编辑:程序博客网 时间:2024/06/05 14:58

compareHist(hist1,hist2, HISTCMP_INTERSECT);

                              ?(这个参数是什么意思)

HISTCMP_INTERSECT

参考1:

http://docs.opencv.org/3.0.0/d6/dc7/group__imgproc__hist.html#gga994f53817d621e2e4228fc646342d386ae6ca1479390f52007fc572f49501c85b

  • HISTCMP_INTERSECT其实就是OpenCV3.X版本的

CV_COMP_INTERSECT 

是OpenCV2.X版本

参考2:

http://docs.opencv.org/2.4/modules/imgproc/doc/histograms.html#comparehist

比较“参考1”和“参考2”中的数学公式可知:


0 0
原创粉丝点击