undistortPointsAsync function

Future<Mat> undistortPointsAsync(
  1. InputArray src,
  2. InputArray cameraMatrix,
  3. InputArray distCoeffs, {
  4. InputArray? R,
  5. InputArray? P,
  6. (int, int, double) criteria = (TERM_COUNT + TERM_EPS, 30, 1e-4),
})

Implementation

Future<Mat> undistortPointsAsync(
  InputArray src,
  InputArray cameraMatrix,
  InputArray distCoeffs, {
  InputArray? R,
  InputArray? P,
  (int type, int count, double eps) criteria = (TERM_COUNT + TERM_EPS, 30, 1e-4),
}) async =>
    cvRunAsync(
      (callback) => cffi.undistortPoints_Async(
        src.ref,
        cameraMatrix.ref,
        distCoeffs.ref,
        R?.ref ?? Mat.empty().ref,
        P?.ref ?? Mat.empty().ref,
        criteria.cvd.ref,
        callback,
      ),
      matCompleter,
    );