03-09-2007 10:08 AM
03-12-2007
05:54 PM
- last edited on
08-18-2025
10:28 AM
by
Content Cleaner
Hi Don,
We have two documents that describe in detail how each of the FFT functions work. The Vision Concept Manual (Start>>Programs>>National Instruments>>Vision>>Documentation>>NI Vision>>Concepts_Manual.pdf) describes the IMAQ FFT on pages 117-129. The LabVIEW FFT functions are described here in pages 78-117. These documents explain which functions each of these VI’s use and how the FFT is calculated.
There currently isn’t a way to have an IMAQ display that doesn’t allows you to readjust the window without using a scroll bar. But one thing you could do is change your image back to an array and then you can view it as a intensity graph.
I hope this helps. Let me know if you have any other questions.
Have a great day,
GG
03-13-2007 07:05 PM
03-14-2007 06:40 PM
Hi Don,
The way to convert the image is to use IMAQ ComplexImageToArray. That will remove the error, but that might not give you the results that you are looking for. I am going to look at this in more depth to find out what the underlying differences between the two functions are. As soon as I have more information I will post it.03-15-2007 04:15 PM
03-16-2007 05:50 PM
Hi Don,
The IMAQ FFT does more than just perform the FFT, when the image is displayed it shows the magnitude of the FFT. It is also displaying the optical representation where when the FFT.vi from the signal processing palette is displayed using the IMAQ image display it is shown in the normal representation. The difference between these two displays is explained on pages 119-121 of the Vision Concept manual. This is why the IMAQ FFT is white in the center, and the signal processing FFT has white pixels in all of the corners. IMAQ uses the different format so that it can match the standard form for Machine Vision. Let me know if this helps.
GG03-17-2007 11:22 AM
03-19-2007 05:19 PM
Hi Don,
If I understand your question you are wondering why the intensity is different between the two image displays. The reason the intensity is different is because the IMAQ FFT graph is showing the magnitude of the complex array while the LabVIEW FFT graph is only showing the real values. If I am misinterpreting your question let me know.
GG
03-20-2007 09:09 AM
Hi Gavin:
Can you please give me your phone# so I can call you?
Thanks,
Don
03-20-2007 09:16 AM
ps. the 'r' that is coming from the 'Complex to polar' fx is the magnitude. The magnitude is a REAL number. The magnitude is what I expect is shown in both the vision and intensity graph containers, even though the vision container is in complex space and the intensity graph container is in the real space. Bottom line is both are magnitude and should be the same. They are being shown differently for some reason. The magnitude shown in the vision container I believe to be correct. How can I get the magnitude from the image container to show the same way in an intensity graph? This is the question.
Again, you need to take this problem to LabVIEW R&D, or help me find the right contact in that department to call on this issue.
Sincerely,
Don