ImgAdjustLevels

Top  Previous  Next

Prototype

 

ImgAdjustLevels (intImageHandle, intGrayLevels)

 

Description

 

Adjust the number of gray levels.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

intGrayLevels: the number of graylevels required.

 

Returned value

 

The image still remain 8 bits per pixel.

 

Example

 

// Change the number of graylevels

ImgAdjustLevels(_CurrentImage,16);