phaseAsync function
Future<Mat>
phaseAsync(
- InputArray x,
- InputArray y, {
- OutputArray? angle,
- bool angleInDegrees = false,
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
Future<Mat> phaseAsync(InputArray x, InputArray y, {OutputArray? angle, bool angleInDegrees = false}) async {
angle ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_phase(x.ref, y.ref, angle!.ref, angleInDegrees, callback),
(c) {
return c.complete(angle);
},
);
}