linearPolarAsync function

Future<Mat> linearPolarAsync(
  1. InputArray src,
  2. Point2f center,
  3. double maxRadius,
  4. int flags, {
  5. OutputArray? dst,
})

LinearPolar remaps an image to polar coordinates space.

For further details, please see: https:///docs.opencv.org/master/da/d54/group__imgproc__transform.html#gaa38a6884ac8b6e0b9bed47939b5362f3

Implementation

Future<Mat> linearPolarAsync(
  InputArray src,
  Point2f center,
  double maxRadius,
  int flags, {
  OutputArray? dst,
}) {
  dst ??= Mat.empty();
  return cvRunAsync0(
    (callback) => cimgproc.cv_linearPolar(src.ref, dst!.ref, center.ref, maxRadius, flags, callback),
    (c) {
      return c.complete(dst);
    },
  );
}