11-11-2008 06:34 AM
|
Solved! Go to Solution.
11-11-2008 02:24 PM - edited 11-11-2008 02:25 PM
you've got the right idea. see the attached vi for an illustration of an intensity graph of the fft and the inverse 2D fft and picture displays.
-root
11-11-2008 04:23 PM
Hello Root
Thanks. I had a bit problem in retriving the real part of FFT and plotting it and now its done. Another question i have is is it possible to map the FFT sample in cartesian coordinates to Polar coordinates. I tried to take the Re & Im values from the FFT > converted it to Polar > made it in to an array an plotted to a polar graph. But when i connec the appended array to polar graph,there comes an error with the conflict in array dimensions. Why is it so?
thanks
12-19-2008 03:03 PM - edited 12-19-2008 03:06 PM
12-19-2008 05:57 PM - edited 12-19-2008 05:58 PM
In fact, all 6 of the FOR loops can be easily eliminated (and that while loops need e.g. an event structure or at least a wait.):
12-20-2008 12:19 PM - edited 12-20-2008 12:20 PM
12-28-2008 09:49 PM
What was odd to me was that he did the 2d inverse FFT but did not do the 2d forward FFT at the front end (like you show).....Don
What do you mean "did not do the 2d forward FFT"? You mean the forward FFT VIs did not show polymorphic selectors like inverse FFT VIs did?
There is a polymorphic VI selector for inverse FFT VI because the input of this VI are always complex for both real inverse FFT and complex inverse FFT, the user must select real or complex instance himself. But for forward FFT, the polymorphic VI will select appropriate instance automatically. As a result, polymorhpic VI selector is unnecessary.
12-29-2008 01:15 AM
pine wrote:What do you mean "did not do the 2d forward FFT"? You mean the forward FFT VIs did not show polymorphic selectors like inverse FFT VIs did?
The forward FFT was done with 1D arrays and two for loop, while the reverse fft was done on the 2D array.
(The comment had nothing to do with polymorpic selectors, but with the puzzling question why the forward fft was not done on the 2D array directly.)
01-12-2009 12:42 PM - edited 01-12-2009 12:43 PM
Here is a simple program that performs frequency filtering of an image using the forward and reverse FFT transforms. I've saved a native 8.6 version and attempted to save an 8.0 version. I suspect the 8.0 version will not work properly because LabVIEW acted flakey when saving it out. The main VI is called "FFT madness RUN ME.vi"