MATLAB: Simple question: determine the angle of the optical flow vector

Computer Vision Toolboxoptical flowopticalflow

Hi, I have simple question, I am using Horn-Schunck to compute motion using optical flow, using the computer vision tool box. I know that I can get the magnitude by setting on the Magnitude-squared. Can you clearly tell me how can I get the angle of each vector flow?

Best Answer

Do you mean the atan2d() or atan2() function?
Related Question