dft function

Mat dft(
  1. InputArray src, {
  2. OutputArray? dst,
  3. int flags = 0,
  4. int nonzeroRows = 0,
})

DFT performs a forward or inverse Discrete Fourier Transform (DFT) of a 1D or 2D floating-point array.

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

Implementation

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