OpenCV中两个数组的互相关 [英] Cross Correlation of two arrays in OpenCV
本文介绍了OpenCV中两个数组的互相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法可以计算OpenCV(C ++)中两个数组的归一化互相关? http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/correlate/
Is there a way to calculate the normalized cross correlation of two arrays in OpenCV (C++)? http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/correlate/
我有一个 CvMat
,我想获取所有cols的相关矩阵.我看到了 cvCalcCovarMatrix
,但是我看不到一种将其标准化以获取相关性的方法.
I have a CvMat
and I want to get a correlation matrix of all the cols.
I saw cvCalcCovarMatrix
but I can't see a way to normalize it to get the correlation.
推荐答案
您应使用 查看全文