Flag that indicates how the shift will be done when converting images.
public enum ConvertSignedToUnsignedCommandType
Public Enum ConvertSignedToUnsignedCommandType
typedef NS_ENUM(NSInteger, LTConvertSignedToUnsignedCommandType)
public enum ConvertSignedToUnsignedCommandType
public enum class ConvertSignedToUnsignedCommandType
Value | Member | Description |
---|---|---|
0 | ShiftZeroToCenter | Shift by 32768 (16-bit images) or by 2048 (12-bit images). |
1 | ShiftMinimumToZero | 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). |
2 | ShiftNegativeToZero | Set all the negative pixels to 0 and leave the positive pixels unchanged. (Achieves the same result as ClearNegativePixelsCommand). |
3 | ShiftRangeOnly | Shift data by adding half the range to each pixel without changing bits outside the (LowBit-HighBit) range. |
4 | ShiftRangeProcessOutSide | Shift data by adding half the range to each pixel and set to zero all bits outside the (LowBit-HighBit) range. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document