Converts Cartesian coordinates to polar

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void CartToPolar(
	IntPtr x,
	IntPtr y,
	IntPtr magnitude,
	IntPtr angle,
	bool angleInDegrees,
	IntPtr stream
)
Public Shared Sub CartToPolar ( _
	x As IntPtr, _
	y As IntPtr, _
	magnitude As IntPtr, _
	angle As IntPtr, _
	angleInDegrees As Boolean, _
	stream As IntPtr _
)
public:
static void CartToPolar(
	IntPtr x, 
	IntPtr y, 
	IntPtr magnitude, 
	IntPtr angle, 
	bool angleInDegrees, 
	IntPtr stream
)

Parameters

x
IntPtr
The source GpuMat. Supports only floating-point type
y
IntPtr
The source GpuMat. Supports only floating-point type
magnitude
IntPtr
The destination GpuMat. Supports only floating-point type
angle
IntPtr
The destination GpuMat. Supports only floating-point type
angleInDegrees
Boolean
If true, the output angle is in degrees, otherwise in radian
stream
IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).

See Also