LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly)
LEAD Technologies, Inc

SmoothCommandFlags Enumeration






Enumerated values that determine the behavior of the smoothing process.

Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum SmoothCommandFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As SmoothCommandFlags
[FlagsAttribute()]
public enum SmoothCommandFlags : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.Workflow.ImageProcessing.SmoothCommandFlags = function() { };
Leadtools.Workflow.ImageProcessing.SmoothCommandFlags.prototype = {
LeadtoolsMemberMarker(replace me) };
[FlagsAttribute()]
public enum class SmoothCommandFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberDescription
FavorLongProcesses 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
            XXXXXXXXXX
            
Favoring short would remove the two "bumps" giving:
            XXXXXXXXXX
            
Favoring long would fill in the "gap" giving:
              XXXXX
            XXXXXXXXXX
            
LeadRegionWhen 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.
NoneNo flags.
SingleRegionWhen 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).
Remarks
You can use a bitwise OR (|) to specify one or more flags.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Workflow.ImageProcessing.SmoothCommandFlags

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Leadtools.Workflow.ImageProcessing Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.