[ImageMagick] [sponsor] ImageMagick Logo ImageMagick Sprite
Unix
Mac OS X
iPhone
Windows
Processing
Options
Usage
MagickWand
MagickCore
PerlMagick
Magick++
Unix
Windows
Links

Module fourier Methods

ForwardFourierTransformImage

ForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.

The format of the ForwadFourierTransformImage method is:

  Image *ForwardFourierTransformImage(const Image *image,
    const MagickBooleanType modulus,ExceptionInfo *exception)

A description of each parameter follows:

image

the image.

modulus

if true, return as transform as a magnitude / phase pair otherwise a real / imaginary image pair.

exception

return any errors or warnings in this structure.

InverseFourierTransformImage

InverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.

The format of the InverseFourierTransformImage method is:

  Image *InverseFourierTransformImage(const Image *magnitude_image,
    const Image *phase_image,const MagickBooleanType modulus,
    ExceptionInfo *exception)

A description of each parameter follows:

magnitude_image

the magnitude or real image.

phase_image

the phase or imaginary image.

modulus

if true, return transform as a magnitude / phase pair otherwise a real / imaginary image pair.

exception

return any errors or warnings in this structure.