initUndistortRectifyMapAsync function
Future<(Mat, Mat)>
initUndistortRectifyMapAsync(
- InputArray cameraMatrix,
- InputArray distCoeffs,
- InputArray R,
- InputArray newCameraMatrix,
- (int, int) size,
- int m1type,
InitUndistortRectifyMap computes the joint undistortion and rectification transformation and represents the result in the form of maps for remap
For further details, please see: https://docs.opencv.org/master/d9/d0c/group__calib3d.html#ga7dfb72c9cf9780a347fbe3d1c47e5d5a
Implementation
Future<(Mat, Mat)> initUndistortRectifyMapAsync(
InputArray cameraMatrix,
InputArray distCoeffs,
InputArray R,
InputArray newCameraMatrix,
(int, int) size,
int m1type,
) async =>
cvRunAsync2<(Mat, Mat)>(
(callback) => ccalib3d.initUndistortRectifyMap_Async(
cameraMatrix.ref,
distCoeffs.ref,
R.ref,
newCameraMatrix.ref,
size.cvd.ref,
m1type,
callback,
),
matCompleter2,
);