estimateNewCameraMatrixForUndistortRectifyAsync static method

Future<Mat> estimateNewCameraMatrixForUndistortRectifyAsync(
  1. InputArray K,
  2. InputArray D,
  3. (int, int) imageSize,
  4. InputArray R, {
  5. double balance = 0.0,
  6. (int, int) newSize = (0, 0),
  7. double fovScale = 1.0,
})

Implementation

static Future<Mat> estimateNewCameraMatrixForUndistortRectifyAsync(
  InputArray K,
  InputArray D,
  (int, int) imageSize,
  InputArray R, {
  double balance = 0.0,
  (int, int) newSize = (0, 0),
  double fovScale = 1.0,
}) async =>
    cvRunAsync(
      (callback) => cffi.fisheye_estimateNewCameraMatrixForUndistortRectify_Async(
        K.ref,
        D.ref,
        imageSize.cvd.ref,
        R.ref,
        balance,
        newSize.cvd.ref,
        fovScale,
        callback,
      ),
      matCompleter,
    );