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. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[FlagsAttribute()]
public enum DiscreteFourierTransformCommandFlags
<FlagsAttribute()>
Public Enum DiscreteFourierTransformCommandFlags
[FlagsAttribute()]
public enum DiscreteFourierTransformCommandFlags
typedef NS_OPTIONS(NSUInteger, LTDiscreteFourierTransformCommandFlags)
Leadtools.ImageProcessing.Core.DiscreteFourierTransformCommandFlags = function() { };
Leadtools.ImageProcessing.Core.DiscreteFourierTransformCommandFlags.prototype = {
LeadtoolsMemberMarker(replace me)
};
[FlagsAttribute()]
public enum class DiscreteFourierTransformCommandFlags
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | No change. |
0x00000001 | DiscreteFourierTransform | Convert the image into frequency domain and store the results in the Data property of the FourierTransformInformation object. |
0x00000002 | InverseDiscreteFourierTransform | Construct an image using the frequency components from the Data property of the FourierTransformInformation object. This option will change the values of the Data property. |
0x00000010 | Blue | Use the blue channel. |
0x00000020 | Green | Use the green channel. |
0x00000030 | Red | Use the red channel. |
0x00000040 | Gray | Use the master channel. If this flag is combined with InverseDiscreteFourierTransform, the reconstructed image will be gray.
In order to speed up widely used image processing filters in LEADTOOLS, the grayscale value (master channel) of a colored image is calculated using the following formulas: #define CalcGrayValue(r, g, b) ((L_UCHAR)(((L_UCHAR) (((2 * (L_UINT) (r)) + (5 * (L_UINT) (g)) + (L_UINT) (b) + 4) / 8)))) #define CalcGrayValue16(r, g, b) ((L_UINT16) (((2 * (L_UINT32) (r)) + (5 * (L_UINT32) (g)) + (L_UINT32) (b) + 4) / 8)) #define CalcGrayValue32(r, g, b) ((L_UINT32) (((2 * (L_UINT32) (r)) + (5 * (L_UINT32) (g)) + (L_UINT32) (b) + 4) / 8)) |
0x00000100 | Magnitude | Construct the image from the frequency magnitude data only. |
0x00000200 | Phase | Construct the image from frequency phase data only. |
0x00000300 | Both | Construct the image from both magnitude and phase data. |
0x00001000 | Clip | Clip the constructed image values so they are between 0 and 255. |
0x00002000 | Scale | Scale the constructed image values so they are between 0 and 255. |
0x00010000 | All | Use or compute all harmonics. If this flag is used the range rectangle and the range flags will be ignored. |
0x00020000 | Range | Use or compute the harmonics specified in the range rectangle. |
0x00100000 | InsideX | Use or compute only the X harmonics inside the X range and ignore those outside the range. |
0x00200000 | OutsideX | Use or compute only the X harmonics outside the X range and ignore those inside the range. |
0x01000000 | InsideY | Use or compute only the Y harmonics inside the Y range and ignore those outside the range. |
0x02000000 | OutsideY | Use or compute only the Y harmonics outside the Y range and ignore those inside the range. |
You can use a bitwise OR ( ¦ ) to specify one flag from each group.
Group | Flags |
Flags that represent the transformation type | DiscreteFourierTransform, InverseDiscreteFourierTransform |
Flags that represent the operation channel type | Blue, Green, Red, Gray |
Flags that represent the frequency data type used for constructing the image: this flag is used only if InverseDiscreteFourierTransform is set and will be ignored if DiscreteFourierTransform is set | Magnitude, Phase, Both |
Flags that represent the clipping type. This flag is used only if InverseDiscreteFourierTransform is set and will be ignored if FFTFFT is set | Clip, Scale |
Flags that represent which harmonics are used | All, Range |
Flags that represent the operations on the X Harmonics range | InsideX, OutsideX |
Flags that represent the operations on the Y Harmonics range | InsideY, OutsideY |
Products |
Support |
Feedback: DiscreteFourierTransformCommandFlags Enumeration - Leadtools.ImageProcessing.Core |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.