title: How to find correlation between two images using Numpy
body: <p>This is inspired by this <a href="https://stackoverflow.com/q/58174390/6561141">question</a>.</p>
  
  <p>I'm trying to find correlation between two grayscale images using Numpy. Using SciPy's <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.correlate2d.html" rel="nofollow noreferrer"><code>correlate2d</code></a> we can find this. I have found Numpy's <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.corrcoef.html" rel="nofollow noreferrer"><code>corrcoef</code></a> but results are different when I compared with <code>correlate2d</code>. Hence this question- Is there <code>correlate2d</code> equivalent in Numpy?</p>