Ask Your Question
0

Fourier Transforms: Depict an image's variance?

asked 2018-04-09 08:48:16 -0500

sazr gravatar image

I'm trying to understand Fourier transforms. If I convert a spatial domain image to the frequency domain using a Fourier transform.

  • Does a Fourier transformed image depict/find the variances (intensity/colour/brightness change) over an image?
  • In OpenCV, when I perform the FT I get a Mat/image back. Do the coordinates in that FT image correspond exactly to the original spatial image? For example, the pixel at location [10,100] on the original image can be found at location [10,100] on the FT image. And that pixel value on the FT image represents the variance of that pixel?
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-04-09 12:22:52 -0500

kbarni gravatar image

Well, the Fourier transform totally transforms your image. It will become a frequency-domain representation of the matrix. So each pixel in the Fourier domain will represent the presence and amplitude of a certain frequency.

To understand it better, try to understand first the 1 dimensional case. The spectrum analyzer of your music player presents the Fourier transform of the music. The different bars don't correspond to the music samples, rather the different frequencies (lows, mids, highs).

It's similar for the images; only you get a 2d result. An image with a uniform color will give a single pixel (the 0 frequency) in the Fourier domain. A horizontal sinusoidal wave pattern with a frequency of 10 pixels will give some peaks on the horizontal axis at the pixel corresponding to this frequency and its multiples.

image description

Anyway, the Fourier transform has a lot of interesting properties (e.g. it allows a very efficient image compression - the JPG format uses a very similar method to compress the images with a very low loss), so I recommend to read the documentation for a more in-depth understanding.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-04-09 08:48:16 -0500

Seen: 64 times

Last updated: Apr 09 '18