undistortPointsAsync static method

Future<Mat> undistortPointsAsync(
  1. InputArray distorted,
  2. InputArray K,
  3. InputArray D, {
  4. InputArray? R,
  5. InputArray? P,
})

async version of undistortPoints

Implementation

static Future<Mat> undistortPointsAsync(
  InputArray distorted,
  InputArray K,
  InputArray D, {
  InputArray? R,
  InputArray? P,
}) async =>
    cvRunAsync(
      (callback) => ccalib3d.fisheye_undistortPoints_Async(
        distorted.ref,
        K.ref,
        D.ref,
        R?.ref ?? Mat.empty().ref,
        P?.ref ?? Mat.empty().ref,
        callback,
      ),
      matCompleter,
    );