uFlags
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 |
[$0000001] Convert the image into frequency domain |
DFT_IDFT |
[$0000002] Construct an image using the frequency components |
The following flags represent the operation channel type:
Value |
Meaning |
DFT_BLUE |
[$0000010] Use the blue channel. |
DFT_GREEN |
[$0000020] Use the green channel. |
DFT_RED |
[$0000030] Use the red channel. |
DFT_GRAY |
[$0000040] 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 |
[$0000100] Construct the image from the frequency magnitude data only. |
DFT_IDFT_PHS |
[$0000200] Construct the image from frequency phase data only. |
DFT_IDFT_BOTH |
[$0000300] 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 |
[$0001000] Clip the constructed image values so they are between 0 and 255. |
DFT_IDFT_SCL |
[$0002000] Scale the constructed image values so they are between 0 and 255. |
The following flags represent which harmonics are used:
Value |
Meaning |
DFT_ALL |
[$0010000] Use or compute all harmonics. If this flag is used the range rectangle and the range flags will be ignored. |
DFT_RANGE |
[$0020000] 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 |
[$0100000] Use or compute only X harmonics inside the X range and ignore those outside the range. |
DFT_OUTSIDE_X |
[$0200000] 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 |
[$1000000] Use or compute only Y harmonics inside the Y range and ignore those outside the range. |
DFT_OUTSIDE_Y |
[$2000000] Use or compute only the Y harmonics outside the Y range and ignore those inside the range. |