Introduction - If you have any usage issues, please Google them yourself
ZNCC Normalized cross correlation
m = zncc(w1, w2)
Compute the zero-mean normalized cross-correlation between the two
equally sized image patches w1 and w2. Result is in the range-1 to 1, with
1 indicating identical pixel patterns.