03-31-2021 12:00 PM
Is it possible to do a 2D Hanning window in LabVIEW? We are ending up with a 512 row by 32 column matrix and need to do a 2D FFT of it. We are currently feeding it into a loop where a Hanning window is applied and 1D FFT's are being done. The matrix is then transposed, but LabVIEW forces it to do a conjugate transpose since the data is in x+iy form and we do not want this to happen. The data is then fed into another loop where a Hanning window is applied and FFT's are thus performed in the other direction. We would like to cut out the steps involving the loops so then we can avoid the conjugate transpose altogether. I've attached an image of the two loops.
Our end goal is to do apply a 2D Hanning window on our 512x32 array and then do an FFT.
03-31-2021 08:56 PM
04-02-2021 07:59 AM
As you might imagine, doing a 2D Windowing for a 2D FFT is a little more complicated than doing (and understanding) a 1D Window on your data before doing the FFT. A search in Google can yield some interesting reading, including a 1979 Master's Thesis called "Two Dimensional Window Functions" (as well as a number of Wikipedia entries).
Bob Schor