Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why fourier transform is not possible on color images?

Why fourier transform(dft) is not possible on color images? Why only on gray scale images Fourier transforms is possible?

like image 205
siddharth Avatar asked Mar 22 '12 16:03

siddharth


2 Answers

The Fourier Transform works with the intensity of a signal in time or space and converts to intensities of a signal in frequency. There's no single number that can represent the intensity of a color without converting to grayscale.

You can split your image into 3 different images, one for each of the Red, Green, and Blue components. Each of those can be processed with a Fourier Transform independently.

like image 144
Mark Ransom Avatar answered Sep 19 '22 16:09

Mark Ransom


When you apply a Fourier Transform (FT) (or some related transform, e.g. DCT) you are looking at spatial frequencies in the image.

Intuitively, that means that FT re-organizes the spatial information that you have in your image in the form of a matrix which corresponds to coeficients of 2D sinusoids that, if you sum up, you would get the original image.

As Mark Ransom noted, you can apply DFT to each color channel separately. In fact, that basically the approach of the JPEG enconding process, which uses a very similar transform (Discrete Consine Transform - DCT).

This site is relevant to the subject. Note that you can click on the figures to see a larger version.

like image 23
Alceu Costa Avatar answered Sep 19 '22 16:09

Alceu Costa