Flag that indicates how the shift will be done when converting images.
public enum ConvertSignedToUnsignedCommandTypePublic Enum ConvertSignedToUnsignedCommandTypepublic enum ConvertSignedToUnsignedCommandTypetypedef NS_ENUM(NSInteger, LTConvertSignedToUnsignedCommandType)public enum ConvertSignedToUnsignedCommandTypeLeadtools.ImageProcessing.Core.ConvertSignedToUnsignedCommandType = function() { };Leadtools.ImageProcessing.Core.ConvertSignedToUnsignedCommandType.prototype = {ShiftZeroToCenter = 0,ShiftMinimumToZero = 1,ShiftNegativeToZero = 2,ShiftRangeOnly = 3,ShiftRangeProcessOutSide = 4,};
public enum class ConvertSignedToUnsignedCommandTypeMembers
| 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. |
|
Products |
Support |
Feedback: ConvertSignedToUnsignedCommandType Enumeration - Leadtools.ImageProcessing.Core |
Introduction |
Help Version 19.0.2017.3.21
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.