lFlags

Flags that indicate the transformation type, operation channel, frequency data type used to reconstruct the image, the clipping type, the used or computed frequencies range, the operation on the specified X harmonics range , and the operation on the specified Y harmonics range. You can use a bitwise OR (|) to specify one flag from each group.

The following flags represent the transformation type:

Value

Meaning

DFT_DFT

[0x0000001] Convert the image into frequency domain

DFT_IDFT

[0x0000002] Construct an image using the frequency components

The following flags represent the operation channel type:

Value

Meaning

DFT_BLUE

[0x0000010] Use the blue channel.

DFT_GREEN

[0x0000020] Use the green channel.

DFT_RED

[0x0000030] Use the red channel.

DFT_GRAY

[0x0000040] Use 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 DFT_IDFT is set and will be ignored if DFT_DFT is set:

Value

Meaning

DFT_IDFT_MAG

[0x0000100] Construct the image from the frequency magnitude data only.

DFT_IDFT_PHS

[0x0000200] Construct the image from frequency phase data only.

DFT_IDFT_BOTH

[0x0000300] Construct the image from both magnitude and phase data.

The following flags represent the clipping type. This flag is used only if DFT_IDFT is set and ignored if DFT_DFT is set:

Value

Meaning

DFT_IDFT_CLIP

[0x0001000] Clip the constructed image values so they are between 0 and 255.

DFT_IDFT_SCL

[0x0002000] Scale the constructed image values so they are between 0 and 255.

The following flags represent which harmonics are used:

Value

Meaning

DFT_ALL

[0x0010000] Use or compute all harmonics. If this flag is used the range rectangle and the range flags will be ignored.

DFT_RANGE

[0x0020000] Use or compute the harmonics specified in the range rectangle.

The following flags represent the operations on the X Harmonics range:

Value

Meaning

DFT_INSIDE_X

[0x0100000] Use or compute only X harmonics inside the X range and ignore those outside the range.

DFT_OUTSIDE_X

[0x0200000] Use or compute only the X harmonics outside the X range and ignore those inside the range.

The following flags represent the operations on the Y Harmonics range:

Value

Meaning

DFT_INSIDE_Y

[0x1000000] Use or compute only Y harmonics inside the Y range and ignore those outside the range.

DFT_OUTSIDE_Y

[0x2000000] Use or compute only the Y harmonics outside the Y range and ignore those inside the range.