←Select platform

ConvertSignedToUnsignedCommandType Enumeration

Summary
Flag that indicates how the shift will be done when converting images.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public enum ConvertSignedToUnsignedCommandType   
typedef NS_ENUM(NSInteger, LTConvertSignedToUnsignedCommandType) { 
 LTConvertSignedToUnsignedCommandTypeShiftZeroToCenter = 0x0000,  
 LTConvertSignedToUnsignedCommandTypeShiftMinimumToZero = 0x0001,  
 LTConvertSignedToUnsignedCommandTypeShiftNegativeToZero = 0x0002,  
 LTConvertSignedToUnsignedCommandTypeShiftRangeOnly = 0x0003,  
 LTConvertSignedToUnsignedCommandTypeShiftRangeProcessOutSide = 0x0004 
}; 
public final class ConvertSignedToUnsignedCommandType 
    extends java.lang.Enum<ConvertSignedToUnsignedCommandType> 
public enum class ConvertSignedToUnsignedCommandType   
class ConvertSignedToUnsignedCommandType(Enum): 
   ShiftZeroToCenter = 0 
   ShiftMinimumToZero = 1 
   ShiftNegativeToZero = 2 
   ShiftRangeOnly = 3 
   ShiftRangeProcessOutSide = 4 
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 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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