MrcSegmentImageOptions Constructor

Summary
Initializes a new MrcCompressionOptions with explicit parameters.
Syntax
C#
C++/CLI
Python
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

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Mrc Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.