←Select platform

ConvertSignedToUnsignedCommandType Enumeration

Summary

Flag that indicates how the shift will be done when converting images.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public enum ConvertSignedToUnsignedCommandType   
Public Enum ConvertSignedToUnsignedCommandType  
    
    
public enum ConvertSignedToUnsignedCommandType    
typedef NS_ENUM(NSInteger, LTConvertSignedToUnsignedCommandType) 
public enum ConvertSignedToUnsignedCommandType 
Leadtools.ImageProcessing.Core.ConvertSignedToUnsignedCommandType = function() { }; 
Leadtools.ImageProcessing.Core.ConvertSignedToUnsignedCommandType.prototype = {<br/> 
  ShiftZeroToCenter = 0, 
    ShiftMinimumToZero = 1, 
    ShiftNegativeToZero = 2, 
    ShiftRangeOnly = 3, 
    ShiftRangeProcessOutSide = 4, 
     
 }; 
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly