Spatial Frequency Transform by doing FFT twice ?

But as you say, it is mainly for computational efficiency as it allows the use of FFT algorithms which require the matrix size to be a power of 2. In summary, The Spatial Frequency Transform is a method used to determine the location of sound using an array of sensors. It involves performing a Fast Fourier Transform (FFT) twice on the time domain signal to obtain the desired frequency components from each received signal. These components are then concatenated into an array and zero padded to make the FFT computationally efficient. The resulting array is then transformed to the spatial domain using another FFT, providing information on the spatial frequency or wavenumber of the sound. Zero padding is mainly used for computational efficiency, but can also help visualize the shape of the spectral lines.
  • #1
exidez
44
0
Spatial Frequency Transform by doing FFT twice ??

This is for my own knowledge in relations to acoustics. I am trying to determine the location of sound using an array of sensors. Very similar to what they are doing in the webpage given.

Im looking at the material at http://cnx.org/content/m12557/latest/?collection=col10255/latest and I am having a hard time understanding how they got to spatial domain by just doing FFT of the time domain signal, then obtaining the frequency they need and then doing an FFT again on that data. How does this work out ?? the "Mentally Visualizing the Spatial Frequency Transform" example doesn't make sense because there are no supporting facts to why it is like that. Can someone direct to some material that explains this easily?


The page here http://cnx.org/content/m12562/latest/?collection=col10255/latest says They look at frequency content of the received signals( First FFT) then obtain the frequency component from each received signal that corresponds to a desired frequency and concatenating them into an array.

What does it mean by "frequency component". Does it mean the complex number for that desired frequency ? This will mean you just one one value in the array!

It then says "We then zero pad that array to a length that is a power of two in order to make the Fast Fourier Transform (FFT) computationally efficient. Once we have assembled our zero padded array of components fo, we can perform the spatial DFT:"

So they did another FFT on the complex number which had been zero pad and this gives spatial domain ? I am completely lost

It must be right becuase i looked at a MATLAB script that does something similar:

ThisVolts = Volts(IStart:IEnd, :);

%Transform to the frequency domain and keep the first half
Temp1 = fft(ThisVolts);
ThisSpec = Temp1(1:NFreq, :);

%Now do a spatial Fourier transform to get wavenumber spectrum
Temp = fft(ThisSpec.');
Temp = [Temp(NEl/2+2:end, :); Temp(1:NEl/2+1, :)]; %Move to get zero wavenumber in the right place

I am so confused. Any help please?
 
Physics news on Phys.org
  • #2


You are confusing time and spatial domains. Your links describe the 2D spatial domain only. The first transform is applied to one axis (say the x, across columns of the data matrix), then a second to the other axis (y, across rows of the data matrix that is output from the first transform).

[tex]
S(k_x,k_y) = \mathfrak{F}_y \{ \mathfrak{F}_x \{s(x,y) \}\}
[/tex]
The order of transforms doesn't matter, however.

The spatial frequency is usually written k_x, which is also called wavenumber. It is an angular frequency, that is, 2π/l where l is the period (length) of the wave in question, with units of radians/meter. (It's analogous to angular frequency of a time-domain signal ω=2π/p where p is period in seconds and frequency units are radians/second).

Zero-padding is a different matter. Suggest you do some reading on FFT's to come up to speed on that, come back if you have questions.
 
  • #3


ok, that makes a lot more sense. I guess I was fixed on the idea that it was one dimensional that I missed all the references to 2D.

zero padding is just for computer efficiency is that correct? or is it more to it than that?
 
  • #4


Yes, zero padding (in this context) is only for computational efficiency.
 
  • #5


Zero padding also fills in the spectrum, which can be sparse if the data matrix has few rows or columns. This allows you to more clearly see the shape of the spectral lines.
 

Related to Spatial Frequency Transform by doing FFT twice ?

1. What is a spatial frequency transform?

A spatial frequency transform is a mathematical process that converts an image from the spatial domain to the frequency domain. This allows for the identification and analysis of different frequency components within an image.

2. How is spatial frequency transform performed by doing FFT twice?

Spatial frequency transform can be performed by first applying the Fast Fourier Transform (FFT) to the image, which converts it to the frequency domain. Then, another FFT is applied to the resulting frequency domain image, resulting in a transformed image with the spatial frequency information.

3. What is the benefit of using FFT twice for spatial frequency transform?

Using FFT twice allows for a more efficient and accurate transformation of an image from the spatial domain to the frequency domain. It also allows for easier identification and analysis of specific frequency components within the image.

4. What types of images can benefit from spatial frequency transform by doing FFT twice?

Any type of image can benefit from spatial frequency transform, but it is particularly useful for images with repeating patterns or structures, such as images of landscapes, textiles, or biological samples.

5. Are there any limitations to using spatial frequency transform by doing FFT twice?

One limitation is that the image must have a square or rectangular shape in order for the FFT to be applied. Additionally, spatial frequency transform may not be effective for images with high levels of noise or complex, non-repeating patterns.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
Replies
3
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
1K
Replies
1
Views
981
Replies
10
Views
569
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
765
Replies
8
Views
976
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Replies
13
Views
16K
Back
Top