Back to Imagemagick

Fourier

www/api/fourier.html

7.1.2-211.9 KB
Original Source

Fourier

Select API Method

ComplexImages

ComplexImages() performs complex mathematics on an image sequence.

The format of the ComplexImages method is:

MagickBooleanType ComplexImages(Image \*images,const ComplexOperator op, ExceptionInfo \*exception)

A description of each parameter follows:

imagethe image. opA complex operator. exceptionreturn any errors or warnings in this structure.

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 ForwardFourierTransformImage method is:

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

A description of each parameter follows:

imagethe image. modulusif true, return as transform as a magnitude / phase pair otherwise a real / imaginary image pair. exceptionreturn 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_imagethe magnitude or real image. phase_imagethe phase or imaginary image. modulusif true, return transform as a magnitude / phase pair otherwise a real / imaginary image pair. exceptionreturn any errors or warnings in this structure.