←Select platform

MrcSegmentImageOptions Constructor

Summary

Initializes a new MrcCompressionOptions with explicit parameters.

Syntax

C#
VB
C++
  
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 Leadtools.Mrc.MrcSegmentImageFlags _ 
) 
public: 
MrcSegmentImageOptions(  
   int cleanSize, 
   int segmentQuality, 
   int colorThreshold, 
   int backgroundThreshold, 
   int combineThreshold, 
   Leadtools.Mrc.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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Mrc Assembly