Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
KaufmannRegionCommand Constructor(Int32,Int32,Int32,Int32,Point,Boolean,RasterRegionCombineMode)
See Also 
Leadtools.ImageProcessing.Core Namespace > KaufmannRegionCommand Class > KaufmannRegionCommand Constructor : KaufmannRegionCommand Constructor(Int32,Int32,Int32,Int32,Point,Boolean,RasterRegionCombineMode)




radius
Value that indicates the size of the neighborhood used for blurring each pixel of the image.
minimumInput
Value that specifies the image's shadows to be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit and 0 to 65535 for 16-bit images.
maximumInput
Value that specifies the image's highlights to be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit and 0 to 65535 for 16-bit images.
regionThreshold
Value that specifies the values that set the stopping point for the region.
regionStart
Value that indicates whether to remove all holes from the region that's created internally.
removeHoles
Value that indicates whether to remove all holes from the region that's created internally.
combineMode
Value that represent the action to take regarding the existing image region, if one is defined.
Initializes a new KaufmannRegionCommand class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal radius As Integer, _
   ByVal minimumInput As Integer, _
   ByVal maximumInput As Integer, _
   ByVal regionThreshold As Integer, _
   ByVal regionStart As Point, _
   ByVal removeHoles As Boolean, _
   ByVal combineMode As RasterRegionCombineMode _
)
Visual Basic (Usage)Copy Code
Dim radius As Integer
Dim minimumInput As Integer
Dim maximumInput As Integer
Dim regionThreshold As Integer
Dim regionStart As Point
Dim removeHoles As Boolean
Dim combineMode As RasterRegionCombineMode
 
Dim instance As KaufmannRegionCommand(radius, minimumInput, maximumInput, regionThreshold, regionStart, removeHoles, combineMode)
C# 
public KaufmannRegionCommand( 
   int radius,
   int minimumInput,
   int maximumInput,
   int regionThreshold,
   Point regionStart,
   bool removeHoles,
   RasterRegionCombineMode combineMode
)
Managed Extensions for C++ 
public: KaufmannRegionCommand( 
   int radius,
   int minimumInput,
   int maximumInput,
   int regionThreshold,
   Point regionStart,
   bool removeHoles,
   RasterRegionCombineMode combineMode
)
C++/CLI 
public:
KaufmannRegionCommand( 
   int radius,
   int minimumInput,
   int maximumInput,
   int regionThreshold,
   Point regionStart,
   bool removeHoles,
   RasterRegionCombineMode combineMode
)

Parameters

radius
Value that indicates the size of the neighborhood used for blurring each pixel of the image.
minimumInput
Value that specifies the image's shadows to be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit and 0 to 65535 for 16-bit images.
maximumInput
Value that specifies the image's highlights to be mapped. Valid values range from 0 to 255 for 8-bit, 0 to 4095 for 12-bit and 0 to 65535 for 16-bit images.
regionThreshold
Value that specifies the values that set the stopping point for the region.
regionStart
Value that indicates whether to remove all holes from the region that's created internally.
removeHoles
Value that indicates whether to remove all holes from the region that's created internally.
combineMode
Value that represent the action to take regarding the existing image region, if one is defined.

Example

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