title: Cross Correlation of two arrays in OpenCV
body: <p>Is there a way to calculate the normalized cross correlation of two arrays in OpenCV (C++)?
  <a href="http://local.wasp.uwa.edu.au/%7Epbourke/miscellaneous/correlate/" rel="nofollow noreferrer">http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/correlate/</a></p>
  <p>I have a <code>CvMat</code> and I want to get a correlation matrix of all the cols.
  I saw <code>cvCalcCovarMatrix</code> but I can't see a way to normalize it to get the correlation.</p>