magnitude function
Magnitude calculates the magnitude of 2D vectors.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga6d3b097586bca4409873d64a90fe64c3
Implementation
Mat magnitude(InputArray x, InputArray y, {OutputArray? magnitude}) {
magnitude ??= Mat.empty();
cvRun(() => cffi.Mat_Magnitude(x.ref, y.ref, magnitude!.ref));
return magnitude;
}