Click or drag to resize

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
)

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