09-01-2008 01:45 PM
I am using Mathscript to generate a rectangular shape and finding the DFT. The result is been displayed on IMAQ.
The image generation worked fine, but the DFT display is not showing properly, I have to look very closely to see a faint picture. However the same code on MATLAB gives me the display very sharply. Even when I multiplied the final display output i.e by say 30, it shows the image, but not very well, for instance , I could not see the sinc like shape.
I have attached the VI in version 8,5 and 8.0, and also the correct picture I am suppose to get in .jpg.
Thank you
09-01-2008 07:00 PM
09-01-2008 07:11 PM
You could get a similar result still working with U8 values, but using the full dynamic range of the image : find the highest value in the array (HAV) and use it to define a good multiplier (= 255/HAV). Here I find 255/5.8 = 44.
Higher than 30 😉