getRectSubPixAsync function

Future<Mat> getRectSubPixAsync(
  1. InputArray image,
  2. (int, int) patchSize,
  3. Point2f center, {
  4. int patchType = -1,
})

GetRectSubPix retrieves a pixel rectangle from an image with sub-pixel accuracy.

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

Implementation

Future<Mat> getRectSubPixAsync(
  InputArray image,
  (int, int) patchSize,
  Point2f center, {
  int patchType = -1,
}) async =>
    cvRunAsync(
      (callback) => cimgproc.GetRectSubPix_Async(image.ref, patchSize.cvd.ref, center.ref, callback),
      matCompleter,
    );