undistortPointsAsync static method
Future<Mat>
undistortPointsAsync(
- InputArray distorted,
- InputArray K,
- InputArray D, {
- OutputArray? undistorted,
- InputArray? R,
- InputArray? P,
async version of undistortPoints
Implementation
static Future<Mat> undistortPointsAsync(
InputArray distorted,
InputArray K,
InputArray D, {
OutputArray? undistorted,
InputArray? R,
InputArray? P,
}) async {
R ??= Mat.empty();
P ??= Mat.empty();
undistorted ??= Mat.empty();
return cvRunAsync0<Mat>(
(callback) => ccalib3d.cv_fisheye_undistortPoints(
distorted.ref,
undistorted!.ref,
K.ref,
D.ref,
R!.ref,
P!.ref,
callback,
),
(c) => c.complete(undistorted),
);
}