LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT 4D Array

hello

I am working in a project where I need to edit video in lbaview. I have ended up in a point where I need to apply FFT on a 4D array. unfortunately in labview this function was not supported.
can someone help me with this the array consists of (3x300x66x74) the values are written like this (frames,RGB,row,column).

thank you for your help

0 Kudos
Message 1 of 7
(1,599 Views)

I assume these are 32bit integers, right? If "RGB" means 24bit color, doing an FFT on the packed RGB data seems a bit silly. Can you explain the use case?

 

FFTs on multidimensional arrays can be done in any order, one dimension at a time (see also). You have all the tools already!

0 Kudos
Message 2 of 7
(1,577 Views)

The project is "Pulse Measurement of a Human". Using Eularian video magnification, this application requires two types of filtering: the spatial filtering and the temporal filtering.
The spatial filtering is done with the Laplacian and Gaussian pyramid (the step was performed very well) for the temporal filtering an entire video had to be transformed via FFT to apply a Bnadpass filter.

in Matlab and Python both support this application.


thanks

0 Kudos
Message 3 of 7
(1,569 Views)

We talked about that long ago, right? Was there anything not clear?

 

So we have 2D frames as a function of time for a total of 3 dimensions. Where does the 4th dimension come in. No fancy tech words please.

0 Kudos
Message 4 of 7
(1,561 Views)

you have right , what we spoke already was 3D array ( balck and white) now i improved my programm to work with color and as you know with colored Video we have plus dimensions (RGB) the colors .

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

My old example already showed it for RGB. You don't have 4D, just 3x 3D, one for each color plane.

 

(Sorry posting by phone. I am sure you remember the link).

0 Kudos
Message 6 of 7
(1,548 Views)

hello

I am sending you my code program to perform from 4D array (as video) 1D signal to the temporal filtering. the filtering is performed in frequency domain.

unfortunately as 1D my code works great but when I apply 4D array you notice that no change statfinden.

Download All
0 Kudos
Message 7 of 7
(1,472 Views)