The SmoothCommandFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Enumerated values that determine the behavior of the smoothing process.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum SmoothCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SmoothCommandFlags |
C# | |
---|---|
[FlagsAttribute()] public enum SmoothCommandFlags : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class SmoothCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
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 SmoothActivity.Length == 3 X X XXXXXXXXXXFavoring short would remove the two "bumps" giving: XXXXXXXXXXFavoring long would fill in the "gap" giving: XXXXX XXXXXXXXXX |
LeadRegion | When SmoothActivity returns, SmoothActivity.ImageRegion is updated with a shallow copy of the affected image that also contains a region with all of the removed bumps or nicks. This flag must be used in conjunction with SingleRegion. |
None | No flags. |
SingleRegion | When SmoothActivity returns, either SmoothActivity.ImageRegion or SmoothActivity.Region will reference a region that contains all of the removed bumps or nicks. If LeadRegion is also set, SmoothActivity.ImageRegion will be updated with a shallow copy of the image that has a LEAD region that contains all of the removed bumps or nicks. If LeadRegion is not set, SmoothActivity.Region is updated with a Windows region that contains all of 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 SmoothActivity.ImageRegion or SmoothActivity.Region). |
You can use a bitwise OR (|) to specify one or more flags.
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.ImageProcessing.SmoothCommandFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7