The "corr2" function in matlab (R = corr2(A,B)) proves to be very useful for pattern recognition in image processing. This function can be used to analyze two 2-dimensional images of the same size ...