←Select platform

RegionThreshold Property

Summary
Gets or sets the value that specifies the stopping point for the region.
Syntax
C#
VB
C++
public int RegionThreshold { get; set; } 
Public Property RegionThreshold As Integer 
public: 
property int RegionThreshold { 
   int get(); 
   void set (    int ); 
} 

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

Example

Refer to KaufmannRegionCommand.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.