LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RegionThreshold Property
See Also 
Leadtools.ImageProcessing.Core Namespace > KaufmannRegionCommand Class : RegionThreshold Property



Gets or sets the value that specifies the stopping point for the region.

Syntax

Visual Basic (Declaration) 
Public Property RegionThreshold As Integer
Visual Basic (Usage)Copy Code
Dim instance As KaufmannRegionCommand
Dim value As Integer
 
instance.RegionThreshold = value
 
value = instance.RegionThreshold
C# 
public int RegionThreshold {get; set;}
C++/CLI 
public:
property int RegionThreshold {
   int get();
   void set (    int value);
}

Property Value

The stopping point for the region.

Example

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.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also