Normalized Cross-Correlation
By TC
== Description ==
Normalized Cross-Correlation (NCC) is by definition the inverse Fourier transform of the convolution of the Fourier transform of two (in this case) images, normalized using the local sums and standard deviations. If this is complete gibberish, not to worry! Thankfully you don't need to understand any of that to make it work (I'm not sure I entirely do). A brief description of the algorithm is provided below, but if you don't care and just want to know how to use the program skip to the Usage section. It is important to note that the NCC algorithm used follows directly with the MATLAB routine normxcorr2.m and for further documentation to better understand the methodology behind NCC please see Fast Normalized Cross-Correlation
T = "template" image (This is the image you are searching for in matrix form) A = "search" image (This is the region in which you are trying to find "template")