| Cv2Magnitude Method |
Calculates the magnitude of 2D vectors.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void Magnitude(
InputArray x,
InputArray y,
OutputArray magnitude
)
Public Shared Sub Magnitude (
x As InputArray,
y As InputArray,
magnitude As OutputArray
)
public:
static void Magnitude(
InputArray^ x,
InputArray^ y,
OutputArray^ magnitude
)
static member Magnitude :
x : InputArray *
y : InputArray *
magnitude : OutputArray -> unit
Parameters
- x
- Type: OpenCvSharpInputArray
floating-point array of x-coordinates of the vectors. - y
- Type: OpenCvSharpInputArray
floating-point array of y-coordinates of the vectors; it must have the same size as x. - magnitude
- Type: OpenCvSharpOutputArray
output array of the same size and type as x.
See Also