undistortImageAsync static method
Future<Mat>
undistortImageAsync(
- InputArray distorted,
- InputArray K,
- InputArray D, {
- InputArray? knew,
- (int, int) newSize = (0, 0),
async version of undistortImage
Implementation
static Future<Mat> undistortImageAsync(
InputArray distorted,
InputArray K,
InputArray D, {
InputArray? knew,
(int, int) newSize = (0, 0),
}) =>
cvRunAsync(
(callback) => cffi.fisheye_undistortImageWithParams_Async(
distorted.ref,
K.ref,
D.ref,
knew?.ref ?? Mat.empty().ref,
newSize.cvd.ref,
callback,
),
matCompleter,
);