←Select platform

ConvertSignedToUnsignedCommandType Enumeration

Summary
Flag that indicates how the shift will be done when converting images.
Syntax
C#
VB
Objective-C
C++
Java
public enum ConvertSignedToUnsignedCommandType   
Public Enum ConvertSignedToUnsignedCommandType  
typedef NS_ENUM(NSInteger, LTConvertSignedToUnsignedCommandType) 
public enum ConvertSignedToUnsignedCommandType 
public enum class ConvertSignedToUnsignedCommandType   
Members
ValueMemberDescription
0ShiftZeroToCenter Shift by 32768 (16-bit images) or by 2048 (12-bit images).
1ShiftMinimumToZero Shift all image data to make the minimum value in the image 0 and the maximum value to the maximum possible value (65535 for 16-bit, 4095 for 12-bit).
2ShiftNegativeToZero Set all the negative pixels to 0 and leave the positive pixels unchanged. (Achieves the same result as ClearNegativePixelsCommand).
3ShiftRangeOnly Shift data by adding half the range to each pixel without changing bits outside the (LowBit-HighBit) range.
4ShiftRangeProcessOutSide Shift data by adding half the range to each pixel and set to zero all bits outside the (LowBit-HighBit) range.
Requirements

Target Platforms

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

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