LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly)

LineRemoveCommandFlags Enumeration

Show in webframe





Flags that determine the behavior of the line removal process.

Syntax
[FlagsAttribute()]
public enum LineRemoveCommandFlags : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<FlagsAttribute()>
Public Enum LineRemoveCommandFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As LineRemoveCommandFlags

            

            
[FlagsAttribute()]
public enum class LineRemoveCommandFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000NoneNo flags.
0x00000001UseDpiThe unit of measure for all properties of the LineRemoveActivity is thousandths of an inch. Use the image's DPI to convert to pixels. This allows the processing of many images with different DPI. If this flag is not set, the unit of measure for all properties of the LineRemoveActivity is pixels.
0x00000002SingleRegionWhen LineRemoveActivity returns, either LineRemoveActivity.ImageRegion or LineRemoveActivity.Region will reference a region that contains all of the removed lines. If LeadRegion is also set, LineRemoveActivity.ImageRegion will be updated with a shallow copy of image that has a LEAD region that contains all of the removed lines. If LeadRegion is not set, LineRemoveActivity.Region is updated with a Windows region that contains all of the removed lines. When the region (either LEAD or Windows) is no longer needed, it must be disposed of (either the region allocated in the LineRemoveActivity.ImageRegion or the LineRemoveActivity.Region).
0x00000004LeadRegionWhen LineRemoveActivity returns, LineRemoveActivity.ImageRegion is updated with a shallow copy of affected image that also contains a region with all of the removed lines. This flag must be used in conjunction with SingleRegion. So set LineRemoveActivity.Flags to SingleRegion | LeadRegion
0x00000200RemoveEntireRemove the entire line, even if the line passes through a character or a wall.
Consider the line below.



Setting Wall as 80 and passing RemoveEntire will remove the red pixels as shown below.


0x00000400UseGapConsider "gaps" in lines when performing line removal. If this flag is set, the gap length value (either the LineRemoveActivity.GapLength property) is used. If this flag is not passed, the gap length value is ignored.
0x00000800UseVarianceConsider line variance when performing line removal. If this flag is passed, the variance value (either the LineRemoveActivity.Variance property) is used. If this flag is not passed, the variance value is ignored.
Remarks
You can use a bitwise OR (|) to specify one or more flags.
Inheritance Hierarchy

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

Requirements

Target Platforms

See Also

Reference

Leadtools.Workflow.ImageProcessing Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2013 All Rights Reserved. LEAD Technologies, Inc.