CvInvokePolarToCart Method |
http://www.emgu.com
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.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void PolarToCart(
IInputArray magnitude,
IInputArray angle,
IOutputArray x,
IOutputArray y,
bool angleInDegrees = false
)
Public Shared Sub PolarToCart (
magnitude As IInputArray,
angle As IInputArray,
x As IOutputArray,
y As IOutputArray,
Optional angleInDegrees As Boolean = false
)
public:
static void PolarToCart(
IInputArray^ magnitude,
IInputArray^ angle,
IOutputArray^ x,
IOutputArray^ y,
bool angleInDegrees = false
)
static member PolarToCart :
magnitude : IInputArray *
angle : IInputArray *
x : IOutputArray *
y : IOutputArray *
?angleInDegrees : bool
(* Defaults:
let _angleInDegrees = defaultArg angleInDegrees false
*)
-> unit
Parameters
- magnitude
- 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 - angle
- Type: Emgu.CVIInputArray
input floating-point array of angles of 2D vectors. - x
- Type: Emgu.CVIOutputArray
Output array of x-coordinates of 2D vectors; it has the same size and type as angle. - y
- 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