Can I Calculate the Fourier Transform of an Image by Hand?

  • Context: Undergrad 
  • Thread starter Thread starter u0362565
  • Start date Start date
  • Tags Tags
    Fourier Image
Click For Summary

Discussion Overview

The discussion revolves around the process of calculating the Fourier transform of an image, particularly whether it can be done by hand and what the underlying mechanics involve. Participants explore the theoretical and practical aspects of Fourier transforms in the context of image analysis.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant expresses a qualitative understanding of Fourier transforms and seeks clarification on the actual process involved in calculating them from real images.
  • Another participant explains that the Fourier transform involves a Fourier expansion of intensity functions for each color channel (RGB) and describes the significance of pixel values in the transform.
  • A third participant mentions the historical context of hand-held instruments for calculating Fourier transforms, indicating that while it is possible to compute by hand, it is tedious and prone to errors.
  • Another participant clarifies that the Fourier transform breaks the image into component sinusoids and maps them to 2D axes, questioning how pixel values are utilized in the formula.
  • One participant asserts that all pixels contribute to the Fourier modes, although some may be multiplied by zero, emphasizing that the operation transforms the information into a different representation.

Areas of Agreement / Disagreement

Participants generally agree on the conceptual framework of the Fourier transform and its application to images, but there are varying levels of understanding regarding the specific values used in the calculations and the feasibility of performing the transform by hand.

Contextual Notes

Some participants express uncertainty about the specific pixel values utilized in the Fourier transform formula and the operational details of how the transform processes each pixel.

u0362565
Messages
51
Reaction score
0
Hi all,

I have a somewhat qualitative understanding of image Fourier transforms and what they represent which for the most part is sufficient for me. However i am interested to know how when i use an image analysis program to produce the Fourier transform of a real image, what is actually going on? Would it be possible by hand to calculate the Fourier transform of an image and if i wanted to do this what would be the process? Ultimately all you have in the real image is pixels which represent changes in intensity over 2 dimensional space? What values from the real image are used in the Fourier transform equation?

Thanks for the help!
 
Physics news on Phys.org
Do you know how Fourier series work mathematically? What the image program does is essentially to make a Fourier expansion of the intensity functions for each channel (RGB). The result is that the middle pixel of the Fourier transform represents the overall average intensity of the image and the other pixels how the colors vary over the image. A high intensity of one color near the center means that color displays large variations on large scales of the image and the further you get from the center the smaller the scale becomes. All of the values from the real image are used in creating the transform and no information is lost.

Technically you could compute the Fourier transform by hand, but it would be extremely tedious and you would likely end up making errors just because of moving a lot of numbers around. A computer is much more suited to do this.
 
Thankfully Joseph didn't mind a little tedium ;) The degree of tedium though does depend upon just how much information you wish to encode and study. By the late 1960s hand-held, real time instruments were available that would handle FFTs. I owned a few that cost considerably less than $200 USD at the time. It would be 20 years before real microprocessing with even 1MB Ram would exist.
 
Hi guys,

What i know is that to produce the Fourier transform you're essentially breaking the image up into its component sinusoids (variations in intensity in space). These are then mapped to 2d axes. Where as you say the origin represents the zero frequency and increasing spatial frequencies are further from the origin. An intuitive understanding of what's going on is not so difficult to comprehend but when i see the Fourier formula and say i have an image, I wouldn't know what values from the image are actually being plugged into the formula. Is it an operation that works on each pixel in turn? But a pixel only tells you two things, its position and its intensity, where is this utilised in the formula?

Thanks
 
Essentially all of the pixels are used for all of the Fourier modes (although some may be multiplied by zero depending on the sinusoid). The operation transforms all of the information in the picture into a different way of displaying the same information.
 
Ok thanks, i think that's all i need to know.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
5K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K