undistortPointsAsync function
Future<Mat>
undistortPointsAsync(
- InputArray src,
- InputArray cameraMatrix,
- InputArray distCoeffs, {
- InputArray? R,
- InputArray? P,
- (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,
);