The MrcSegmentImageOptions Constructor is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new MrcCompressionOptions with explicit parameters.
Syntax
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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also