Hello. I am writing code that implements phase correlation to find rotation, scale and translation, but I have a problem with rotation and scale estimation. After debugging, I noticed that the M parameter of logPolar function affects the result. How much this parameter must be? Is there a formula?