Shift

Flag that indicates how the shift will be done. Possible values are:

Value

Meaning

SHIFT_ZERO_TO_CENTER

[0x0000] Shift by 32768 (16-bit images) or by 2048 (12-bit images)

SHIFT_MIN_TO_ZERO

[0x0001] Shift all image data to make minimum value in the image 0 and the maximum value to the maximum possible value (65535 for 16-bit, 4095 for 12-bit).

SHIFT_NEG_TO_ZERO

[0x0002] Set all the negative pixels to 0 and leave the positive pixels unchanged.

SHIFT_RANGE_ONLY

[0x0003] Shift data by adding half the range to each pixel without changing bits outside the (LowBit-HighBit) range.

SHIFT_RANGE_PROCESS_OUTSIDE

[0x0004] Shift data by adding half the range to each pixel and set to zero all bits outside the (LowBit-HighBit) range.