iShift

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

Value

Meaning

SHIFT_ZERO_TO_CENTER

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

SHIFT_MIN_TO_ZERO

[1] 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

[2] Set all the negative pixels to 0 and leave the positive pixels unchanged. (Default).