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

RegionThreshold Property






Gets or sets the value that specifies the stopping point for the region. .NET support WinRT support
Syntax
public int RegionThreshold {get; set;}
'Declaration
 
Public Property RegionThreshold As Integer
'Usage
 
Dim instance As KaufmannRegionCommand
Dim value As Integer
 
instance.RegionThreshold = value
 
value = instance.RegionThreshold
public int RegionThreshold {get; set;}
 get_RegionThreshold();
set_RegionThreshold(value);
public:
property int RegionThreshold {
   int get();
   void set (    int value);
}

Property Value

The stopping point for the region.
Remarks
The region is created using a magic wand technique. The Magic Wand is a selection tool that works by starting from a point and expanding to different areas of the image. If the difference between the color of the new pixel which is about to be included in the region and the pixel color which is pointed to by RegionStart exceeds the difference between the RegionThreshold and the pixel color which is pointed to by RegionStart, the pixel will not be included. For more information, refer to Leadtools.RasterImage.AddMagicWandToRegion(System.Int32,System.Int32,Leadtools.RasterColor,Leadtools.RasterColor,Leadtools.RasterRegionCombineMode) Method.
Example
Refer to KaufmannRegionCommand.
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

KaufmannRegionCommand Class
KaufmannRegionCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

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