ConvertUnsignedToSigned Method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short ConvertUnsignedToSigned (ILEADRaster * pRaster, ConvertUnSignedToSignedConstants Shift);

Overview

Refer to Examining and Altering Bitmaps.

Remarks

Converts an unsigned bitmap to signed

This method updates the bitmap handle's minimum and maximum values with new values that consider bitmap new signed values. After calling this method the IsSigned property will be TRUE.

This method supports 12 and 16-bit grayscale images. Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits.

See Also

Elements:

ConvertSignedToUnsigned method, IsSigned property, LoadSigned property

Topics:

Raster Image Functions: Doing Color Expansion or Reduction