polarToCartAsync function

Future<(Mat, Mat)> polarToCartAsync(
  1. InputArray magnitude,
  2. InputArray angle, {
  3. bool angleInDegrees = false,
})

PolatToCart calculates x and y coordinates of 2D vectors from their magnitude and angle.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga581ff9d44201de2dd1b40a50db93d665

Implementation

Future<(Mat x, Mat y)> polarToCartAsync(
  InputArray magnitude,
  InputArray angle, {
  bool angleInDegrees = false,
}) async =>
    cvRunAsync2(
      (callback) => cffi.core_PolarToCart_Async(magnitude.ref, angle.ref, angleInDegrees, callback),
      matCompleter2,
    );