idctAsync function

Future<Mat> idctAsync(
  1. InputArray src, {
  2. OutputArray? dst,
  3. int flags = 0,
})

IDCT calculates the inverse Discrete Cosine Transform of a 1D or 2D array.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga77b168d84e564c50228b69730a227ef2

Implementation

Future<Mat> idctAsync(InputArray src, {OutputArray? dst, int flags = 0}) async {
  dst ??= Mat.empty();
  return cvRunAsync0((callback) => ccore.cv_idct(src.ref, dst!.ref, flags, callback), (c) {
    return c.complete(dst);
  });
}