LEADTOOLS MRC (Leadtools.Mrc assembly)

MrcSegmentImageOptions Constructor (MrcSegmentImageOptions)

Show in webframe





Cleaner size used to remove the noise inside the segmented image. Possible values range from 0 to 10, where 0 means to skip the cleaning stage.
Value used to determine whether the segment is a picture segment. Possible values range from 0 to 100. Use 0 to set all possible picture segments to 2-bit without loss of a lot of information. Use 100 to set all picture segments to 2 bit only if they are very very close to 2-bit.
Value used to combine colors. The best value is 25. Values saturate at 443.
Threshold value used to separate image objects from the background. Best values are from 5 to 35.
Threshold value used to merge segments. Best values are from 75 to 125.
Flags that determine the behavior of the process.
Initializes a new MrcCompressionOptions with explicit parameters.
Syntax
public MrcSegmentImageOptions( 
   int cleanSize,
   int segmentQuality,
   int colorThreshold,
   int backgroundThreshold,
   int combineThreshold,
   MrcSegmentImageFlags flags
)
'Declaration
 
Public Function New( _
   ByVal cleanSize As Integer, _
   ByVal segmentQuality As Integer, _
   ByVal colorThreshold As Integer, _
   ByVal backgroundThreshold As Integer, _
   ByVal combineThreshold As Integer, _
   ByVal flags As MrcSegmentImageFlags _
)
'Usage
 
Dim cleanSize As Integer
Dim segmentQuality As Integer
Dim colorThreshold As Integer
Dim backgroundThreshold As Integer
Dim combineThreshold As Integer
Dim flags As MrcSegmentImageFlags
 
Dim instance As New MrcSegmentImageOptions(cleanSize, segmentQuality, colorThreshold, backgroundThreshold, combineThreshold, flags)

            

            
public:
MrcSegmentImageOptions( 
   int cleanSize,
   int segmentQuality,
   int colorThreshold,
   int backgroundThreshold,
   int combineThreshold,
   MrcSegmentImageFlags flags
)

Parameters

cleanSize
Cleaner size used to remove the noise inside the segmented image. Possible values range from 0 to 10, where 0 means to skip the cleaning stage.
segmentQuality
Value used to determine whether the segment is a picture segment. Possible values range from 0 to 100. Use 0 to set all possible picture segments to 2-bit without loss of a lot of information. Use 100 to set all picture segments to 2 bit only if they are very very close to 2-bit.
colorThreshold
Value used to combine colors. The best value is 25. Values saturate at 443.
backgroundThreshold
Threshold value used to separate image objects from the background. Best values are from 5 to 35.
combineThreshold
Threshold value used to merge segments. Best values are from 75 to 125.
flags
Flags that determine the behavior of the process.
Requirements

Target Platforms

See Also

Reference

MrcSegmentImageOptions Structure
MrcSegmentImageOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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