Fourier Transform, Discrete Forier Transform image processing

Click For Summary

Discussion Overview

The discussion revolves around the conceptual understanding of the Fourier Transform (FT) and its application in image processing, particularly focusing on the interpretation of the FT of images and the relationship between spatial frequencies and pixel intensities.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses familiarity with the Fourier Transform but struggles with its conceptual interpretation, particularly regarding what the output function F(k) represents.
  • The same participant questions how to interpret the Fourier Transform of an image, specifically what constitutes a frequency in the context of pixel values and matrix algebra.
  • Another participant suggests that when working with digital sampled data, the concept of "frequency" may be less meaningful, proposing that "wavelength" could be a more useful idea.
  • A third participant inquires about the specific MATLAB function being used to visualize the FT, indicating that different scales may affect the presentation of the 2-D Fourier transform.
  • The original poster clarifies they are using the FFT2() function in MATLAB, which is a fast Fourier transform, and seeks to understand the underlying mathematics better.

Areas of Agreement / Disagreement

Participants appear to have differing views on the interpretation of frequency in sampled data and the implications for image processing. The discussion remains unresolved regarding the conceptual understanding of the Fourier Transform in this context.

Contextual Notes

There are limitations in the discussion regarding the assumptions made about frequency and wavelength in sampled data, as well as the interpretation of the Fourier Transform output in relation to pixel intensities.

joshthekid
Messages
46
Reaction score
1
Hi all,

Now naturally after completing a physics degree I am very familiar with the form and function of the Fourier Transform (FT) but never have grasped it quite conceptually. I understand that given a function f(x) I can express every functional value as a linear combination of complex sinusoidal functions as in the typical illustration of a square wave and you keep adding sine waves of higher and higher frequencies to get an approximate square wave (that would approach the exact with an infinite number of frequencies). Here is what I struggle with in terms of the continuous FT. When I compute a FT of function I get another function F(k), where k is frequency. I can plot this like any other function but what am I plotting? I think, but I am not positive, that the value of F(k) is the summation of all the linear coefficients C(k) for a particular frequency over all values f(x)? Is this correct?

Second, the real reason I am trying to get everything straight in my head is because I am doing image processing for my research and when I look at the FT, as an image, I am not sure what I am looking at. I know that it represents spatial frequencies in the image, i.e if you make a interference band you get a dot in the center and two dots spaced equidistant from the center. Now, image processing basically comes down to matrix algebra because an image in nothing more than a matrix of intensity values, I(x,y). So when I do the FT I am doing matrix algebra of the image with a matrix composed of several different sinusoidal complex functions. Here is where I am confused, what constitutes a frequency in an image? On a pixel basis, say I have a white dot followed by a black dot pattern that would constitute a certain frequency, I think. However, how does it look from a linear algebra standpoint?

If I have a i by j image A, how do I interpret the image of the FT? So if I follow my logic from the 1D continuous case, assuming it is the correct interpretation, looking at pixels (1,1:j) in A and taking the FT, B=TA, where T is the FT transformation matrix the first matrix element is going to be the summation of all the pixels intensities in that row with a corresponding T element. But when all is said and done and I pull up the image of the Fourier Transform on MATLAB I don't think I am looking at matrix B but instead each pixel (x,y) corresponds to frequency in the x and y directions, i.e if I look at pixel (1,1) in the FT, the intensity corresponds to "how much" a white pixel is followed by a black pixel in the image?

If you have read all this, thanks, I am hoping my interpretation is correct but just want to make sure.
 
Physics news on Phys.org
If you are working with digital sampled data, you might as well measure "time" in units one sampling interval apart. You can then forget about the actual sample rate (number of samples per second) for time dependent data, and the number of pixels per inch (or per mm) in an image.

In other words, "frequency" doesn't mean very much for the maths of sampled data. "Wavelength" (measured by the number of samples) is a more useful idea.
 
joshthekid said:
i.e if I look at pixel (1,1) in the FT, the intensity corresponds to "how much" a white pixel is followed by a black pixel in the image?

Which MATLAB function are you using? I think an image of a 2-D Fourier transform (or anything else) can be presented using various scales.
 
Stephen,

I am using the MATLAB function FFT2() which is the fast Fourier transform which is computationally different from what I described, I am just trying to get and idea for the actual mathematics.
 

Similar threads

  • · Replies 43 ·
2
Replies
43
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K