Good afternoon! Im using an example for a DFT(https://docs.opencv.org/master/d8/d01/tutorial_discrete_fourier_transform.html). I need help. How can I calculate the angle of shift of the amplitude of the spectrum relative to the axes? I want to make a roll rotation sensor processing the video stream.
Thank you all for any answer!