LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D FFT for an image

Hello

Anybody knows how to do the 2D- FFT for an image in LabVIEW?

Thnxxx
0 Kudos
Message 1 of 7
(7,740 Views)

You need to convert your image to a 2D array of DBL. The FFT function (from the signal processing...transforms palette) accepts such 2D arrays.

 

Check the LabVIEW help.

 

(If you have a color image, you probably need to do it for each color component. What is the reason you want to take an FFT?)

Message 2 of 7
(7,716 Views)

altenbach wrote:

...

(If you have a color image, you probably need to do it for each color component. What is the reason you want to take an FFT?)


I don't have much to add to what Christian wrote but I can still share the following. 

 

I have heard that Something like Wavelet transforms are being used for video compression (work weel for all but hockey games since the Wavelets have to change too often).

 

I converted a color image to grey-scale before filtering it with good results.

 

Ben

Message Edited by Ben on 11-10-2008 10:35 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 7
(7,712 Views)

There is an old discussion here where an image contains regular ridges at a certain angle and a 2D FFT would give the periodicity and direction.

 

I cannot find this discussion at the moment. Anyone remember where that was?

Message 4 of 7
(7,705 Views)
Ah, here's an old example. 🙂
Message 5 of 7
(7,695 Views)
Hi,
there is an add-on library IMAQVISON (maybe they another name) that contains
a lot of vi's to do all kinds of alorithms like 2D FFT on images.
Looke at www.ni.com.

Hope this helps.
Marc

<mathew086@yahoo.de> wrote in message
news:0c27d7ca-9aab-454d-8c8d-4e54f9ca09be@b31g2000prb.googlegroups.com...
> Hello
>
> Anybody knows how to do the 2D- FFT for an image in LabVIEW?
>
> Thnxxx

0 Kudos
Message 6 of 7
(7,549 Views)

double click the llb, double click FFT madness RUNME.vi. run it. push the green question mark button for help.

I'm not sure if the 8.0 version will work properly, but the 8.6 version is fine.

-root

Message Edited by Root Canal on 03-09-2009 11:04 AM

global variables make robots angry


0 Kudos
Message 7 of 7
(7,513 Views)