linearPolar function

Mat linearPolar(
  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

Mat linearPolar(InputArray src, Point2f center, double maxRadius, int flags, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => cffi.LinearPolar(src.ref, dst!.ref, center.ref, maxRadius, flags));
  return dst;
}