Table of Contents

Method Magnitude

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Magnitude(InputArray, InputArray, OutputArray)

Calculates the magnitude of 2D vectors.

public static void Magnitude(InputArray x, InputArray y, OutputArray magnitude)

Parameters

x InputArray

floating-point array of x-coordinates of the vectors.

y InputArray

floating-point array of y-coordinates of the vectors; it must have the same size as x.

magnitude OutputArray

output array of the same size and type as x.