Method Phase
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Phase(InputArray, InputArray, OutputArray, bool)
Calculates the rotation angle of 2D vectors.
public static void Phase(InputArray x, InputArray y, OutputArray angle, bool angleInDegrees = false)
Parameters
xInputArrayinput floating-point array of x-coordinates of 2D vectors.
yInputArrayinput array of y-coordinates of 2D vectors; it must have the same size and the same type as x.
angleOutputArrayoutput array of vector angles; it has the same size and same type as x.
angleInDegreesboolwhen true, the function calculates the angle in degrees, otherwise, they are measured in radians.