Click or drag to resize

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
)

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