2019-10-09 06:36:04 -0600 | received badge | ● Popular Question (source) |
2015-12-24 07:15:06 -0600 | commented answer | Meaning of cv::idft() with DFT_REAL_OUTPUT option My example also uses 2ch mat like you. i.e. notSym is 2ch. In your example, idft(im,imx) is equal to idft(im,imx, cv::DFT_COMPLEX_OUTPUT);. And no wonder the result has complex component, because I can get the same result by following a basic signal textbook. My question is about the result of idft(im, imx, cv::DFT_REAL_OUTPUT). the result has only real component: [17, 15, 1, -1; 16, 16, 0, -0; -1, 1, -1, 1; 0, -0, 0, -0] I would like to know the meaning of this and how to reproduce the result. |
2015-12-23 17:33:50 -0600 | received badge | ● Editor (source) |
2015-12-23 10:21:10 -0600 | received badge | ● Student (source) |
2015-12-23 05:22:50 -0600 | asked a question | Meaning of cv::idft() with DFT_REAL_OUTPUT option I would like to ask about cv::idft() with DFT_REAL_OUTPUT for non-symmetric matrix. Let me explain in detail. If an input matrix in time domain has only real component, dft of the input matrix has some kind of symmetric structure. For example, And the idft result of the symmetric matrix will have only real component. On the contrary, the idft result of a non-symmetric matrix will have real and imaginary component. However, if I give a non-symmetric matrix to cv::idft() with DFT_REAL_OUTPUT, I get a matrix having only real component. Here are the questions:
|