9

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

siddharth
  • 579
  • 1
  • 8
  • 18
  • 3
    Presumably because colour images are made up of three colour channels (e.g. RGB) whereas gray scale images contain only a single colour channel. Try applying the Fourier transform to each of your colour channels in your colour image. – Chris Mar 22 '12 at 16:55

4 Answers4

10

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.

Mark Ransom
  • 299,747
  • 42
  • 398
  • 622
6

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.

Alceu Costa
  • 9,733
  • 19
  • 65
  • 83
4

The usual Fourier trasnform is defined using complex exponentials. If we allow the quaternions in the exponent, instead of simply i=sqrt{-1}, we get a tool called the quaternion Fourier transform. It apparently has some use in the Fourier analysis of color images.

The problem of defining the Fourier transform of a colour image

dls
  • 363
  • 2
  • 8
2

It is possible if you expand your notion of a Fourier transform (search for multidimensional Fourier transform image or spatiochromatic image) but not as common as their traditional counterparts.

Emre
  • 5,976
  • 7
  • 29
  • 42