Phase Correlation is a method to check the similarity of two images with equal size. It can be used for template matching, object tracking, motion estimation, etc. This is a function to compute phase correlation by taking a reference image and a template image. the function can be extended for object tracking applications.