12-01-2022 11:03 AM
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
12-01-2022 11:33 AM - edited 12-01-2022 11:35 AM
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!
12-01-2022 11:45 AM
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
12-01-2022 12:02 PM
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.
12-01-2022 12:05 PM
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 .
12-01-2022 12:17 PM
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).
12-05-2022 04:04 AM
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.