Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help : IMAQ IFFT showing error

Solved!
Go to solution

while executing Inverse FFT an error pops up.Please  help me  by possible solutions. Thanks in advance...

0 Kudos
Message 1 of 7
(5,367 Views)

If you are doing an inverse FFT, the input image has to be Complex Single.  It won't work with other image types.  Are you sure you don't want the FFT instead?

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 7
(5,362 Views)

Hi Bruce, Thanks for your reply..

I tried IMAQ FFT and showed no error. But in my code I have to take the Inverse Fourier Transform of the Image( converted frm the array as shown in th image). Using FFT for IFFT is a Right soln.

 

0 Kudos
Message 3 of 7
(5,352 Views)
Solution
Accepted by topic author sree99

If you need the inverse FFT, then use the inverse FFT.  I just wanted to make sure you had the right function.

 

Change the type of your input image to Complex Single, and it should work.

 

Bruce

Bruce Ammons
Ammons Engineering
Message 4 of 7
(5,344 Views)

Thnx Bruce I got it right..

 

I have 2 more questions

1) The array (2D) multiplication I did in the pgm is correct?? or I have to go for matrix multiplication

2) How to input an image to math script?

 

 

0 Kudos
Message 5 of 7
(5,323 Views)

Hello,

 

the basic multiplication is performed element-by-element whereas the matrix operations are different.

 

To use the mathscript node, please see the image below:

 

Example_VI_BD.png

 

Note that mathscript nodes are slower than native functions or .dll's.

 

Best regards,

K

 


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
Message 6 of 7
(5,315 Views)

THNX  klemen!!

0 Kudos
Message 7 of 7
(5,291 Views)