ImageMagick: MagickCore, C API for ImageMagick: Fourier Transform
Author: ImageMagick Studio LLC
Description: Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition, resize, rotate, shear, distort or transform images automagically.
Keywords: magickcore, c, api, for, imagemagick:, fourier, transform, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand

Unix
Mac OS X
iOS
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.

Public Key • Discourse Server • Studio • JqMagick