CountLUTColors method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short CountLUTColors (LUTTypeConstants Flags);

Remarks

Gets the total number of entries between the start color and the end color, and the index of the last occurrence of the start color. The start and end colors are determined internally.

This method updates the LUTColorsFirstIndex property with the index of the last occurrence of the start color. It updates the LUTColorsCount property with the number of entries between the start color and the end color.

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.

This method supports signed data images.

See Also

Elements:

LUTColorsFirstIndex property, LUTColorsCount property

Topics:

Raster Images: Palettes