LEADTOOLS WCF Image Processing (Leadtools.Services.ImageProcessing.DataContracts assembly)
LEAD Technologies, Inc

MaximumWallPercent Property






Gets or sets the maximum number of wall slices (expressed as a percent of the total length of the line) that are allowed.
Syntax
[DataMemberAttribute(Name="MaximumWallPercent", IsRequired=true)]
public int MaximumWallPercent {get; set;}
'Declaration
 
<DataMemberAttribute(Name="MaximumWallPercent", IsRequired=True)>
Public Property MaximumWallPercent As Integer
'Usage
 
Dim instance As LineRemoveRequest
Dim value As Integer
 
instance.MaximumWallPercent = value
 
value = instance.MaximumWallPercent
[DataMemberAttribute(Name="MaximumWallPercent", IsRequired=true)]
public int MaximumWallPercent {get; set;}
DataMemberAttribute(Name="MaximumWallPercent", IsRequired=)
 get_MaximumWallPercent();
set_MaximumWallPercent(value);
[DataMemberAttribute(Name="MaximumWallPercent", IsRequired=true)]
public:
property int MaximumWallPercent {
   int get();
   void set (    int value);
}

Property Value

The maximum number of wall slices (expressed as a percent of the total length of the line) that are allowed. A line consists of wall slices and non-wall slices (see description of Wall). This property specifies the maximum number of wall slices (expressed as a percent of the total length of the line) that are allowed. Lines that have a wall percent that is larger than maximumWallPercent will not be removed. For example, consider the line below that is 10 pixels in length, and 1 pixel in height in some places, and five pixels in height in other places.


Setting MinimumLineLength to 10 pixels and Wall to four pixels will identify the line below as a candidate for removal. Note that the wall percent for this line is 60 percent (because six of ten line slices are walls). If MaximumWallPercent is 80 then the line will be removed (actually, the pixels marked as red will be removed). If MaximumWallPercent is 30, then the line will not be removed.


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

LineRemoveRequest Class
LineRemoveRequest Members

 

 


Products | Support | Contact Us | Copyright Notices

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

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: LEADTOOLS Toolkit Features