idct function

Mat idct(
  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

Mat idct(
  InputArray src, {
  OutputArray? dst,
  int flags = 0,
}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.cv_idct(src.ref, dst!.ref, flags, ffi.nullptr));
  return dst;
}