android dft()
hi everyone, i hv a problem. why i can't use dft function... here is a piece of program i'm use opencv-tutorial-mixed-processing.
case VIEW_MODE_SALIENCY:
// input frame has scale format
ImgRe = inputFrame.gray();
//ImgIm = inputFrame.();
ImgIm = Mat.zeros(ImgRe.size(), CvType.CV_8U);
//List<Mat> ImgReImgIm = Arrays.asList(ImgRe, ImgIm);
//Core.merge(ImgReImgIm, Fourier);
Core.dft(ImgRe, tmp1, Core.DFT_REAL_OUTPUT, 0);
click saliency item on android and i got hang. . .
both in and output need to be float type (or double)