lFlags
Flags that indicate the transformation type, operation channel, frequency data type used to reconstruct the image, and the clipping type. You can use a bit-wise OR (|) to specify one flag from each group.
The following flags represent the transformation type:
Value |
Meaning |
FFT_FFT |
[0x0001] Convert the image into frequency domain. |
FFT_IFFT |
[0x0002] Construct an image from internal frequency components. The image will be stored in pRaster. |
The following flags represent the operation channel type:
Value |
Meaning |
FFT_BLUE |
[0x0010] Work on the blue channel. |
FFT_GREEN |
[0x0020] Work on the green channel. |
FFT_RED |
[0x0030] Work on the red channel. |
FFT_GRAY |
[0x0040] Work on the master Channel. If this flag is combined with FFT_IFFT, the reconstructed image will be gray. |
The following flags represent the frequency data type used for constructing the image. This flag is used only if FFT_IFFT is set and will be ignored if FT_FFT is set:
Value |
Meaning |
FFT_IFFT_MAG |
[0x0100] Construct the image from the frequency magnitude only. |
FFT_IFFT_PHS |
[0x0200] Construct the image from the frequency phase only. |
FFT_IFFT_BOTH |
[0x0300] Construct the image from both magnitude and phase. |
The following flags represent the clipping type. This flag is used only if FFT_IFFT is set and will be ignored if FFT_FFT is set:
Value |
Meaning |
FFT_IFFT_CLIP |
[0x1000] Clip the constructed image values to be between 0 and 255. |
FFT_IFFT_SCL |
[0x2000] Scale the constructed image. Valid values are between 0 and 255. |