| Cv2Phase Method |
Calculates the rotation angle of 2D vectors.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void Phase(
InputArray x,
InputArray y,
OutputArray angle,
bool angleInDegrees = false
)
Public Shared Sub Phase (
x As InputArray,
y As InputArray,
angle As OutputArray,
Optional angleInDegrees As Boolean = false
)
public:
static void Phase(
InputArray^ x,
InputArray^ y,
OutputArray^ angle,
bool angleInDegrees = false
)
static member Phase :
x : InputArray *
y : InputArray *
angle : OutputArray *
?angleInDegrees : bool
(* Defaults:
let _angleInDegrees = defaultArg angleInDegrees false
*)
-> unit
Parameters
- x
- Type: OpenCvSharpInputArray
input floating-point array of x-coordinates of 2D vectors. - y
- Type: OpenCvSharpInputArray
input array of y-coordinates of 2D vectors; it must have the same size and the same type as x. - angle
- Type: OpenCvSharpOutputArray
output array of vector angles; it has the same size and same type as x. - angleInDegrees (Optional)
- Type: SystemBoolean
when true, the function calculates the angle in degrees, otherwise, they are measured in radians.
See Also