Woolz Image Processing Version 1.4.0
|
Files | |
file | WlzFourier.c |
Functions for computing Fourier transforms and their inverse. | |
Functions | |
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(). |
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().
iObj | Input Woolz object. |
fwd | Non-zero if the transform is a forward transform, zero if it is to be an inverse transform. |
dstErr | Destination error pointer, may be NULL. |
References _WlzCompoundArray::n, _WlzCompoundArray::o, _WlzObject::type, WLZ_2D_DOMAINOBJ, WLZ_3D_DOMAINOBJ, WLZ_COMPOUND_ARR_1, WLZ_COMPOUND_ARR_2, WLZ_ERR_NONE, WLZ_ERR_OBJECT_NULL, and WLZ_ERR_OBJECT_TYPE.