Enumerated values that determine the behavior of the smoothing process.
[FlagsAttribute()]
public enum SmoothCommandFlags
<FlagsAttribute()>
Public Enum SmoothCommandFlags
[FlagsAttribute()]
public enum SmoothCommandFlags
typedef NS_OPTIONS(NSUInteger, LTSmoothCommandFlags)
public enum SmoothCommandFlags
Leadtools.ImageProcessing.Core.SmoothCommandFlags = function() { };
Leadtools.ImageProcessing.Core.SmoothCommandFlags.prototype = {
None = 0x00000000,
SingleRegion = 0x00000002,
LeadRegion = 0x00000004,
ImageUnchanged = 0x00000010,
FavorLong = 0x00000100,
};
[FlagsAttribute()]
public enum class SmoothCommandFlags
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | No flags. |
0x00000002 | SingleRegion | For each bump or nick found by the SmoothCommand, if the Status is set to RemoveStatus.Remove , the removed bump or nick is added to an internal single region. If it is set to RemoveStatus.NoRemove, the bump or nick is not added to the single region. When SmoothCommand returns, either ImageRegion or Region will reference a region that contains all the removed bumps or nicks. If LeadRegion is also set, ImageRegion will be updated with a shallow copy of the image that has a LEAD region that contains all the removed bumps or nicks. If LeadRegion is not set, Region is updated with a LEADTOOLS RasterRegion that contains all the removed bumps or nicks. When the region (either LEAD or Windows) is no longer needed, it must be disposed of (either the region allocated in ImageRegion or Region). |
0x00000004 | LeadRegion | When SmoothCommand returns, ImageRegion is updated with a shallow copy of the affected image that also contains a region with all the removed bumps or nicks. This flag must be used in conjunction with SingleRegion. |
0x00000010 | ImageUnchanged | The affected image (Run method image) is unchanged. |
0x00000100 | FavorLong | Processes long bumps or nicks before short bumps or nicks. If this flag is not passed, short is favored over long. For example:
Smooth the following image with Length == 3
|
You can use a bitwise OR ( ¦ ) to specify one or more flags.
Products |
Support |
Feedback: SmoothCommandFlags 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.