Leadtools.Mrc Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ColorThreshold Property
See Also 
Leadtools.Mrc Namespace > MrcSegmentImageOptions Structure : ColorThreshold Property




Threshold value used to combine colors.

Syntax

Visual Basic (Declaration) 
Public Property ColorThreshold As Integer
Visual Basic (Usage)Copy Code
Dim instance As MrcSegmentImageOptions
Dim value As Integer
 
instance.ColorThreshold = value
 
value = instance.ColorThreshold
C# 
public int ColorThreshold {get; set;}
Managed Extensions for C++ 
public: __property int get_ColorThreshold();
public: __property void set_ColorThreshold( 
   int value
);
C++/CLI 
public:
property int ColorThreshold {
   int get();
   void set (int value);
}

Return Value

The best value is 25. Values saturate at 443.

Example

Refer to MrcSegmenter example.

Remarks

Colors that are closer together than this amount will be combined.

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

Leadtools.Mrc requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features