Identification through correlation
Correlation is about finding all the places in an image where a subimage appears:
What this operation is telling us is, that the spatial correlation can be achieved through the multiplication of the Fourier transform of the image by the conjugate transform of the subimage.
In MATLAB, the process of correlation is done through the following command:
g = dftcorr(f,w)
g is the resulting image from the process,
f is the original image, and
w is the subimage.
You can practice these concepts using