Click or drag to resize
CvInvokePolarToCart Method
Calculates either x-coordinate, y-coordinate or both of every vector magnitude(I)* exp(angle(I)*j), j=sqrt(-1): x(I)=magnitude(I)*cos(angle(I)), y(I)=magnitude(I)*sin(angle(I))

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static void PolarToCart(
	IInputArray magnitude,
	IInputArray angle,
	IOutputArray x,
	IOutputArray y,
	bool angleInDegrees = false


Type: Emgu.CVIInputArray
Input floating-point array of magnitudes of 2D vectors; it can be an empty matrix (=Mat()), in this case, the function assumes that all the magnitudes are =1; if it is not empty, it must have the same size and type as angle
Type: Emgu.CVIInputArray
input floating-point array of angles of 2D vectors.
Type: Emgu.CVIOutputArray
Output array of x-coordinates of 2D vectors; it has the same size and type as angle.
Type: Emgu.CVIOutputArray
Output array of y-coordinates of 2D vectors; it has the same size and type as angle.
angleInDegrees (Optional)
Type: SystemBoolean
The flag indicating whether the angles are measured in radians or in degrees
See Also