undistortImageAsync static method

Future<Mat> undistortImageAsync(
  1. InputArray distorted,
  2. InputArray K,
  3. InputArray D, {
  4. InputArray? knew,
  5. (int, int) newSize = (0, 0),
})

async version of undistortImage

Implementation

static Future<Mat> undistortImageAsync(
  InputArray distorted,
  InputArray K,
  InputArray D, {
  InputArray? knew,
  (int, int) newSize = (0, 0),
}) =>
    cvRunAsync(
      (callback) => ccalib3d.fisheye_undistortImageWithParams_Async(
        distorted.ref,
        K.ref,
        D.ref,
        knew?.ref ?? Mat.empty().ref,
        newSize.cvd.ref,
        callback,
      ),
      matCompleter,
    );