phase function
Phase calculates the rotation angle of 2D vectors.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga9db9ca9b4d81c3bde5677b8f64dc0137
Implementation
Mat phase(InputArray x, InputArray y, {OutputArray? angle, bool angleInDegrees = false}) {
angle ??= Mat.empty();
cvRun(() => ccore.cv_phase(x.ref, y.ref, angle!.ref, angleInDegrees, ffi.nullptr));
return angle;
}