dftAsync 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
Future<Mat> dftAsync(InputArray src, {OutputArray? dst, int flags = 0, int nonzeroRows = 0}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_dft(src.ref, dst!.ref, flags, nonzeroRows, callback),
(c) {
return c.complete(dst);
},
);
}