estimateNewCameraMatrixForUndistortRectifyAsync static method
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 version of estimateNewCameraMatrixForUndistortRectify
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,
);