i was struggling with phase correlation for a while when i tried to get translation shift for some test images i am working with where they gave me irrational results (1214 , -936) instead of (0,0) ...