Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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 AddMagicWandToRegion Method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also