Woolz Image Processing  Version 1.8.3
WlzFourier

Files

file  WlzFourier.c
 Functions for computing Fourier transforms and their inverse.
 

Functions

WlzObjectWlzFourierTransformObj (WlzObject *iObj, int fwd, WlzErrorNum *dstErr)
 Computes either the forward or inverse Fourier transform of a domain object with real (ie not complex) values. When computing a transform the object will be padded to an integer power of two size. The object's values can have any single valued type (and therefore RGBA is not acceptable). For forward transforms the objects frequently have their grey values modified so that the mean value is zero; this is not done in this function. The transformed data are scaled, see AlgFour1D(), AlgFourReal1D(), AlgFour2D() AlgFourReal2D(), AlgFour3D() and AlgFourReal3D(). More...
 

Detailed Description

Function Documentation

◆ WlzFourierTransformObj()

WlzObject* WlzFourierTransformObj ( WlzObject iObj,
int  fwd,
WlzErrorNum dstErr 
)

Computes either the forward or inverse Fourier transform of a domain object with real (ie not complex) values. When computing a transform the object will be padded to an integer power of two size. The object's values can have any single valued type (and therefore RGBA is not acceptable). For forward transforms the objects frequently have their grey values modified so that the mean value is zero; this is not done in this function. The transformed data are scaled, see AlgFour1D(), AlgFourReal1D(), AlgFour2D() AlgFourReal2D(), AlgFour3D() and AlgFourReal3D().

Returns
New Woolz domain object or NULL on error.
Parameters
iObjInput Woolz object.
fwdNon-zero if the transform is a forward transform, zero if it is to be an inverse transform.
dstErrDestination error pointer, may be NULL.

References _WlzCompoundArray::n, _WlzCompoundArray::o, _WlzObject::type, WLZ_2D_DOMAINOBJ, WLZ_COMPOUND_ARR_1, WLZ_COMPOUND_ARR_2, WLZ_ERR_NONE, WLZ_ERR_OBJECT_NULL, and WLZ_ERR_OBJECT_TYPE.