LEADTOOLS MRC (Leadtools.Mrc assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
MrcSegmenter Constructor(RasterImage,RasterColor,RasterColor)
See Also 
Leadtools.Mrc Namespace > MrcSegmenter Class > MrcSegmenter Constructor : MrcSegmenter Constructor(RasterImage,RasterColor,RasterColor)



image
Image that will be segmented.
backColor
Default base background color for the MRC image.
foreColor
Default base foreground color for the MRC image.

The MrcSegmenter Constructor(RasterImage,RasterColor,RasterColor) is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new MrcSegmenter with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal image As RasterImage, _
   ByVal backColor As RasterColor, _
   ByVal foreColor As RasterColor _
)
Visual Basic (Usage)Copy Code
Dim image As RasterImage
Dim backColor As RasterColor
Dim foreColor As RasterColor
 
Dim instance As New MrcSegmenter(image, backColor, foreColor)
C# 
public MrcSegmenter( 
   RasterImage image,
   RasterColor backColor,
   RasterColor foreColor
)
C++/CLI 
public:
MrcSegmenter( 
   RasterImage^ image,
   RasterColor backColor,
   RasterColor foreColor
)

Parameters

image
Image that will be segmented.
backColor
Default base background color for the MRC image.
foreColor
Default base foreground color for the MRC image.

Example

Refer to MrcSegmenter example.

Remarks

This constructor will Initializes the fields needed to the segmentation process.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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