dft function
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;
}